Lines Matching defs:IM
212 Instruction *IM = dyn_cast<Instruction>(IW->getOperand(Idx));
213 if (!IM || IM->getOpcode() == Instruction::PHI)
216 // If IM is in another BB, no need to move it, because this pass only
218 if (IM->getParent() != I->getParent())
221 assert(IM != I && "Unexpected cycle while re-ordering instructions");
223 if (!IM->comesBefore(I)) {
224 InstructionsToMove.insert(IM);
225 Worklist.emplace_back(IM);
232 Instruction *IM = &*(BBI++);
233 if (!InstructionsToMove.contains(IM))
235 IM->moveBefore(I->getIterator());