Lines Matching refs:NewMI
745 MachineInstr *NewMI = TII->commuteInstruction(*MI, false, RegBIdx, RegCIdx); in commuteInstruction() local
747 if (NewMI == nullptr) { in commuteInstruction()
752 LLVM_DEBUG(dbgs() << "2addr: COMMUTED TO: " << *NewMI); in commuteInstruction()
753 assert(NewMI == MI && in commuteInstruction()
790 MachineInstr *NewMI = TII->convertToThreeAddress(*mi, LV, LIS); in convertInstTo3Addr() local
791 if (!NewMI) in convertInstTo3Addr()
795 LLVM_DEBUG(dbgs() << "2addr: TO 3-ADDR: " << *NewMI); in convertInstTo3Addr()
800 assert(NewMI->getNumExplicitDefs() == 1); in convertInstTo3Addr()
804 unsigned NewIdx = NewMI->defs().begin()->getOperandNo(); in convertInstTo3Addr()
807 unsigned NewInstrNum = NewMI->getDebugInstrNum(); in convertInstTo3Addr()
817 mi = NewMI; in convertInstTo3Addr()
1433 MachineBasicBlock::iterator NewMI = NewMIs[1]; in tryInstructionTransform() local
1435 tryInstructionTransform(NewMI, mi, NewSrcIdx, NewDstIdx, Dist, true); in tryInstructionTransform()