Lines Matching refs:Insert
109 static bool IsSafeToMove(const MachineInstr *Def, const MachineInstr *Insert, in IsSafeToMove() argument
111 assert(Def->getParent() == Insert->getParent()); in IsSafeToMove()
113 MachineBasicBlock::const_iterator D(Def), I(Insert); in IsSafeToMove()
138 MachineInstr *Insert = &MI; in runOnMachineFunction() local
140 if (Insert->getOpcode() == TargetOpcode::PHI) in runOnMachineFunction()
145 if (Insert->getOpcode() == TargetOpcode::INLINEASM) in runOnMachineFunction()
151 for (MachineOperand &Op : reverse(Insert->uses())) { in runOnMachineFunction()
163 ImposeStackInputOrdering(Insert); in runOnMachineFunction()
207 if (!IsSafeToMove(Def, Insert, AA)) in runOnMachineFunction()
213 MBB.insert(MachineBasicBlock::instr_iterator(Insert), in runOnMachineFunction()
217 Insert = Def; in runOnMachineFunction()