Lines Matching refs:LRI
2066 LockstepReverseIterator LRI(UnconditionalPreds); in SinkCommonCodeFromPredecessors() local
2067 while (LRI.isValid() && in SinkCommonCodeFromPredecessors()
2068 canSinkInstructions(*LRI, PHIOperands)) { in SinkCommonCodeFromPredecessors()
2069 LLVM_DEBUG(dbgs() << "SINK: instruction can be sunk: " << *(*LRI)[0] in SinkCommonCodeFromPredecessors()
2071 InstructionsToSink.insert((*LRI).begin(), (*LRI).end()); in SinkCommonCodeFromPredecessors()
2073 --LRI; in SinkCommonCodeFromPredecessors()
2086 auto ProfitableToSinkInstruction = [&](LockstepReverseIterator &LRI) { in SinkCommonCodeFromPredecessors() argument
2088 for (auto *I : *LRI) in SinkCommonCodeFromPredecessors()
2115 LRI.reset(); in SinkCommonCodeFromPredecessors()
2119 if (!ProfitableToSinkInstruction(LRI)) { in SinkCommonCodeFromPredecessors()
2125 InstructionsProfitableToSink.insert((*LRI).begin(), (*LRI).end()); in SinkCommonCodeFromPredecessors()
2126 --LRI; in SinkCommonCodeFromPredecessors()
2144 !ProfitableToSinkInstruction(LRI) && in SinkCommonCodeFromPredecessors()
2146 ++LRI; in SinkCommonCodeFromPredecessors()
2153 for (auto *I : *LRI) in SinkCommonCodeFromPredecessors()
2155 if (!ProfitableToSinkInstruction(LRI)) { in SinkCommonCodeFromPredecessors()
2160 ++LRI; in SinkCommonCodeFromPredecessors()
2179 LRI.reset(); in SinkCommonCodeFromPredecessors()
2183 if (!isSafeToSpeculativelyExecute((*LRI)[0])) { in SinkCommonCodeFromPredecessors()
2187 --LRI; in SinkCommonCodeFromPredecessors()
2223 LRI.reset(); in SinkCommonCodeFromPredecessors()