Lines Matching refs:NewMI
168 bool NewMI, unsigned Idx1, in commuteInstructionImpl() argument
219 if (NewMI) { in commuteInstructionImpl()
250 MachineInstr *TargetInstrInfo::commuteInstruction(MachineInstr &MI, bool NewMI, in commuteInstruction() argument
262 return commuteInstructionImpl(MI, NewMI, OpIdx1, OpIdx2); in commuteInstruction()
521 MachineInstr *NewMI = in foldPatchpoint() local
523 MachineInstrBuilder MIB(MF, NewMI); in foldPatchpoint()
556 NewMI->tieOperands(TiedTo, NewMI->getNumOperands() - 1); in foldPatchpoint()
560 return NewMI; in foldPatchpoint()
601 MachineInstr *NewMI = nullptr; in foldMemoryOperand() local
607 NewMI = foldPatchpoint(MF, MI, Ops, FI, *this); in foldMemoryOperand()
608 if (NewMI) in foldMemoryOperand()
609 MBB->insert(MI, NewMI); in foldMemoryOperand()
612 NewMI = foldMemoryOperandImpl(MF, MI, Ops, MI, FI, LIS, VRM); in foldMemoryOperand()
615 if (NewMI) { in foldMemoryOperand()
616 NewMI->setMemRefs(MF, MI.memoperands()); in foldMemoryOperand()
619 NewMI->mayStore()) && in foldMemoryOperand()
622 NewMI->mayLoad()) && in foldMemoryOperand()
628 NewMI->addMemOperand(MF, MMO); in foldMemoryOperand()
632 NewMI->cloneInstrSymbols(MF, MI); in foldMemoryOperand()
634 return NewMI; in foldMemoryOperand()
669 MachineInstr *NewMI = nullptr; in foldMemoryOperand() local
677 NewMI = foldPatchpoint(MF, MI, Ops, FrameIndex, *this); in foldMemoryOperand()
678 if (NewMI) in foldMemoryOperand()
679 NewMI = &*MBB.insert(MI, NewMI); in foldMemoryOperand()
682 NewMI = foldMemoryOperandImpl(MF, MI, Ops, MI, LoadMI, LIS); in foldMemoryOperand()
685 if (!NewMI) in foldMemoryOperand()
690 NewMI->setMemRefs(MF, LoadMI.memoperands()); in foldMemoryOperand()
693 NewMI->setMemRefs(MF, MI.memoperands()); in foldMemoryOperand()
697 NewMI->addMemOperand(MF, *I); in foldMemoryOperand()
700 return NewMI; in foldMemoryOperand()