Lines Matching defs:SecondI
402 memoryIsNotModifiedBetween(Instruction *FirstI, Instruction *SecondI,
405 // Do a backwards scan through the CFG from SecondI to FirstI. Look for
406 // instructions which can modify the memory location accessed by SecondI.
418 BasicBlock::iterator SecondBBI(SecondI);
420 BasicBlock *SecondBB = SecondI->getParent();
422 if (auto *MemSet = dyn_cast<MemSetInst>(SecondI))
425 MemLoc = MemoryLocation::get(SecondI);
446 // Ignore instructions after SecondI if this is the first visit of SecondBB.
452 // In this case we also have to look at instructions after SecondI.
457 if (I->mayWriteToMemory() && I != SecondI)