Lines Matching defs:LRI
1898 LockstepReverseIterator LRI(Succs);
1899 while (LRI.isValid()) {
1900 Instruction *I0 = (*LRI)[0];
1901 if (any_of(*LRI, [I0](Instruction *I) {
1906 --LRI;
2516 LockstepReverseIterator LRI(UnconditionalPreds);
2517 while (LRI.isValid() &&
2518 canSinkInstructions(*LRI, PHIOperands)) {
2519 LLVM_DEBUG(dbgs() << "SINK: instruction can be sunk: " << *(*LRI)[0]
2521 InstructionsToSink.insert((*LRI).begin(), (*LRI).end());
2523 --LRI;
2546 auto ProfitableToSinkInstruction = [&](LockstepReverseIterator &LRI) {
2548 for (Use &U : (*LRI)[0]->operands()) {
2581 LRI.reset();
2585 if (!ProfitableToSinkInstruction(LRI)) {
2591 InstructionsProfitableToSink.insert((*LRI).begin(), (*LRI).end());
2592 --LRI;
2610 !ProfitableToSinkInstruction(LRI) &&
2612 ++LRI;
2619 for (auto *I : *LRI)
2621 if (!ProfitableToSinkInstruction(LRI)) {
2626 ++LRI;
2645 LRI.reset();
2649 if (!isSafeToSpeculativelyExecute((*LRI)[0])) {
2653 --LRI;
2689 LRI.reset();