Lines Matching refs:NewMI
598 MachineInstr *NewMI = TII->commuteInstruction(MI); in CommuteInstruction() local
600 if (NewMI == 0) { in CommuteInstruction()
605 DEBUG(dbgs() << "2addr: COMMUTED TO: " << *NewMI); in CommuteInstruction()
607 if (NewMI != MI) { in CommuteInstruction()
610 LV->replaceKillInstruction(RegC, MI, NewMI); in CommuteInstruction()
612 mbbi->insert(mi, NewMI); // Insert the new inst in CommuteInstruction()
614 mi = NewMI; in CommuteInstruction()
615 DistanceMap.insert(std::make_pair(NewMI, Dist)); in CommuteInstruction()
653 MachineInstr *NewMI = TII->convertToThreeAddress(mbbi, mi, LV); in ConvertInstTo3Addr() local
654 if (NewMI) { in ConvertInstTo3Addr()
656 DEBUG(dbgs() << "2addr: TO 3-ADDR: " << *NewMI); in ConvertInstTo3Addr()
659 if (NewMI->findRegisterUseOperand(RegB, false, TRI)) in ConvertInstTo3Addr()
663 Sunk = Sink3AddrInstruction(mbbi, NewMI, RegB, mi); in ConvertInstTo3Addr()
668 DistanceMap.insert(std::make_pair(NewMI, Dist)); in ConvertInstTo3Addr()
669 mi = NewMI; in ConvertInstTo3Addr()
980 MachineBasicBlock::iterator NewMI = NewMIs[1]; in TryInstructionTransform() local
982 TryInstructionTransform(NewMI, mi, mbbi, in TryInstructionTransform()