Lines Matching refs:LRI
2245 LockstepReverseIterator LRI(UnconditionalPreds); in SinkCommonCodeFromPredecessors() local
2246 while (LRI.isValid() && in SinkCommonCodeFromPredecessors()
2247 canSinkInstructions(*LRI, PHIOperands)) { in SinkCommonCodeFromPredecessors()
2248 LLVM_DEBUG(dbgs() << "SINK: instruction can be sunk: " << *(*LRI)[0] in SinkCommonCodeFromPredecessors()
2250 InstructionsToSink.insert((*LRI).begin(), (*LRI).end()); in SinkCommonCodeFromPredecessors()
2252 --LRI; in SinkCommonCodeFromPredecessors()
2265 auto ProfitableToSinkInstruction = [&](LockstepReverseIterator &LRI) { in SinkCommonCodeFromPredecessors() argument
2267 for (auto *I : *LRI) in SinkCommonCodeFromPredecessors()
2294 LRI.reset(); in SinkCommonCodeFromPredecessors()
2298 if (!ProfitableToSinkInstruction(LRI)) { in SinkCommonCodeFromPredecessors()
2304 InstructionsProfitableToSink.insert((*LRI).begin(), (*LRI).end()); in SinkCommonCodeFromPredecessors()
2305 --LRI; in SinkCommonCodeFromPredecessors()
2323 !ProfitableToSinkInstruction(LRI) && in SinkCommonCodeFromPredecessors()
2325 ++LRI; in SinkCommonCodeFromPredecessors()
2332 for (auto *I : *LRI) in SinkCommonCodeFromPredecessors()
2334 if (!ProfitableToSinkInstruction(LRI)) { in SinkCommonCodeFromPredecessors()
2339 ++LRI; in SinkCommonCodeFromPredecessors()
2358 LRI.reset(); in SinkCommonCodeFromPredecessors()
2362 if (!isSafeToSpeculativelyExecute((*LRI)[0])) { in SinkCommonCodeFromPredecessors()
2366 --LRI; in SinkCommonCodeFromPredecessors()
2402 LRI.reset(); in SinkCommonCodeFromPredecessors()