Lines Matching refs:NewMI
122 bool NewMI, in commuteInstructionImpl() argument
165 if (NewMI) { in commuteInstructionImpl()
189 bool NewMI, in commuteInstruction() argument
201 return commuteInstructionImpl(MI, NewMI, OpIdx1, OpIdx2); in commuteInstruction()
461 MachineInstr *NewMI = in foldPatchpoint() local
463 MachineInstrBuilder MIB(MF, NewMI); in foldPatchpoint()
489 return NewMI; in foldPatchpoint()
512 MachineInstr *NewMI = nullptr; in foldMemoryOperand() local
517 NewMI = foldPatchpoint(MF, MI, Ops, FI, *this); in foldMemoryOperand()
518 if (NewMI) in foldMemoryOperand()
519 MBB->insert(MI, NewMI); in foldMemoryOperand()
522 NewMI = foldMemoryOperandImpl(MF, MI, Ops, MI, FI); in foldMemoryOperand()
525 if (NewMI) { in foldMemoryOperand()
526 NewMI->setMemRefs(MI->memoperands_begin(), MI->memoperands_end()); in foldMemoryOperand()
529 NewMI->mayStore()) && in foldMemoryOperand()
532 NewMI->mayLoad()) && in foldMemoryOperand()
539 NewMI->addMemOperand(MF, MMO); in foldMemoryOperand()
541 return NewMI; in foldMemoryOperand()
789 MachineInstr *NewMI = nullptr; in foldMemoryOperand() local
796 NewMI = foldPatchpoint(MF, MI, Ops, FrameIndex, *this); in foldMemoryOperand()
797 if (NewMI) in foldMemoryOperand()
798 NewMI = MBB.insert(MI, NewMI); in foldMemoryOperand()
801 NewMI = foldMemoryOperandImpl(MF, MI, Ops, MI, LoadMI); in foldMemoryOperand()
804 if (!NewMI) return nullptr; in foldMemoryOperand()
808 NewMI->setMemRefs(LoadMI->memoperands_begin(), in foldMemoryOperand()
813 NewMI->setMemRefs(MI->memoperands_begin(), in foldMemoryOperand()
817 NewMI->addMemOperand(MF, *I); in foldMemoryOperand()
820 return NewMI; in foldMemoryOperand()