Lines Matching defs:ScanFrom
350 /// If DT and ScanFrom are specified this method performs context-sensitive
351 /// analysis and returns true if it is safe to load immediately before ScanFrom.
354 /// a quick local scan of the basic block containing \c ScanFrom, to determine
361 Instruction *ScanFrom,
366 const Instruction* CtxI = DT ? ScanFrom : nullptr;
371 if (!ScanFrom)
383 BasicBlock::iterator BBI = ScanFrom->getIterator(),
384 E = ScanFrom->getParent()->begin();
438 Instruction *ScanFrom,
446 return isSafeToLoadUnconditionally(V, Alignment, Size, DL, ScanFrom, AC, DT,
463 BasicBlock::iterator &ScanFrom,
473 ScanBB, ScanFrom, MaxInstsToScan, AA, IsLoad,
593 BasicBlock *ScanBB, BasicBlock::iterator &ScanFrom, unsigned MaxInstsToScan,
601 while (ScanFrom != ScanBB->begin()) {
604 Instruction *Inst = &*--ScanFrom;
608 // Restore ScanFrom to expected value in case next test succeeds
609 ScanFrom++;
618 --ScanFrom;
653 ++ScanFrom;
665 ++ScanFrom;