Lines Matching refs:NewMI
649 MachineInstr *NewMI = TII->commuteInstruction(*MI, false, RegBIdx, RegCIdx); in commuteInstruction() local
651 if (NewMI == nullptr) { in commuteInstruction()
656 DEBUG(dbgs() << "2addr: COMMUTED TO: " << *NewMI); in commuteInstruction()
657 assert(NewMI == MI && in commuteInstruction()
697 MachineInstr *NewMI = TII->convertToThreeAddress(MFI, *mi, LV); in convertInstTo3Addr() local
700 if (!NewMI) in convertInstTo3Addr()
704 DEBUG(dbgs() << "2addr: TO 3-ADDR: " << *NewMI); in convertInstTo3Addr()
708 LIS->ReplaceMachineInstrInMaps(*mi, *NewMI); in convertInstTo3Addr()
710 if (NewMI->findRegisterUseOperand(RegB, false, TRI)) in convertInstTo3Addr()
714 Sunk = sink3AddrInstruction(NewMI, RegB, mi); in convertInstTo3Addr()
719 DistanceMap.insert(std::make_pair(NewMI, Dist)); in convertInstTo3Addr()
720 mi = NewMI; in convertInstTo3Addr()
1328 MachineBasicBlock::iterator NewMI = NewMIs[1]; in tryInstructionTransform() local
1330 tryInstructionTransform(NewMI, mi, NewSrcIdx, NewDstIdx, Dist, true); in tryInstructionTransform()