• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/

Lines Matching defs:LatchBrExitIdx

459   // `Latch's terminator instruction is `LatchBr', and it's `LatchBrExitIdx'th
463 unsigned LatchBrExitIdx = std::numeric_limits<unsigned>::max();
490 Result.LatchBrExitIdx = LatchBrExitIdx;
655 unsigned LatchBrExitIdx,
672 LLVM_DEBUG(dbgs() << "irce: LatchExitBrIdx: " << LatchBrExitIdx << "\n");
680 if (LatchBrExitIdx == 1)
683 assert(LatchBrExitIdx == 0 &&
684 "LatchBrExitIdx should be either 0 or 1");
705 unsigned LatchBrExitIdx,
720 LLVM_DEBUG(dbgs() << "irce: LatchExitBrIdx: " << LatchBrExitIdx << "\n");
728 if (LatchBrExitIdx == 1)
731 assert(LatchBrExitIdx == 0 && "LatchBrExitIdx should be 0 or 1");
780 unsigned LatchBrExitIdx = LatchBr->getSuccessor(0) == Header ? 1 : 0;
783 BPI ? BPI->getEdgeProbability(LatchBr->getParent(), LatchBrExitIdx)
890 if (Pred == ICmpInst::ICMP_NE && LatchBrExitIdx == 1)
902 else if (Pred == ICmpInst::ICMP_EQ && LatchBrExitIdx == 0) {
926 (LTPred && LatchBrExitIdx == 1) || (GTPred && LatchBrExitIdx == 0);
940 LatchBrExitIdx, &L, SE)) {
944 if (LatchBrExitIdx == 0) {
952 "Right value can be decreased only for LatchBrExitIdx == 0!");
958 if (Pred == ICmpInst::ICMP_NE && LatchBrExitIdx == 1)
966 else if (Pred == ICmpInst::ICMP_EQ && LatchBrExitIdx == 0) {
989 (GTPred && LatchBrExitIdx == 1) || (LTPred && LatchBrExitIdx == 0);
1005 LatchBrExitIdx, &L, SE)) {
1010 if (LatchBrExitIdx == 0) {
1018 "Right value can be increased only for LatchBrExitIdx == 0!");
1021 BasicBlock *LatchExit = LatchBr->getSuccessor(LatchBrExitIdx);
1046 Result.LatchBrExitIdx = LatchBrExitIdx;
1305 LS.LatchBr->setSuccessor(LS.LatchBrExitIdx, RRI.ExitSelector);
1310 Value *CondForBranch = LS.LatchBrExitIdx == 1