Lines Matching refs:LRI
2310 LockstepReverseIterator LRI(UnconditionalPreds); in SinkCommonCodeFromPredecessors() local
2311 while (LRI.isValid() && in SinkCommonCodeFromPredecessors()
2312 canSinkInstructions(*LRI, PHIOperands)) { in SinkCommonCodeFromPredecessors()
2313 LLVM_DEBUG(dbgs() << "SINK: instruction can be sunk: " << *(*LRI)[0] in SinkCommonCodeFromPredecessors()
2315 InstructionsToSink.insert((*LRI).begin(), (*LRI).end()); in SinkCommonCodeFromPredecessors()
2317 --LRI; in SinkCommonCodeFromPredecessors()
2330 auto ProfitableToSinkInstruction = [&](LockstepReverseIterator &LRI) { in SinkCommonCodeFromPredecessors() argument
2332 for (Use &U : (*LRI)[0]->operands()) { in SinkCommonCodeFromPredecessors()
2358 LRI.reset(); in SinkCommonCodeFromPredecessors()
2362 if (!ProfitableToSinkInstruction(LRI)) { in SinkCommonCodeFromPredecessors()
2368 InstructionsProfitableToSink.insert((*LRI).begin(), (*LRI).end()); in SinkCommonCodeFromPredecessors()
2369 --LRI; in SinkCommonCodeFromPredecessors()
2387 !ProfitableToSinkInstruction(LRI) && in SinkCommonCodeFromPredecessors()
2389 ++LRI; in SinkCommonCodeFromPredecessors()
2396 for (auto *I : *LRI) in SinkCommonCodeFromPredecessors()
2398 if (!ProfitableToSinkInstruction(LRI)) { in SinkCommonCodeFromPredecessors()
2403 ++LRI; in SinkCommonCodeFromPredecessors()
2422 LRI.reset(); in SinkCommonCodeFromPredecessors()
2426 if (!isSafeToSpeculativelyExecute((*LRI)[0])) { in SinkCommonCodeFromPredecessors()
2430 --LRI; in SinkCommonCodeFromPredecessors()
2466 LRI.reset(); in SinkCommonCodeFromPredecessors()