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