Home
last modified time | relevance | path

Searched refs:LatchBrExitIdx (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopConstrainer.cpp21 unsigned LatchBrExitIdx, Loop *L, in isSafeDecreasingBound() argument
37 LLVM_DEBUG(dbgs() << "LatchExitBrIdx: " << LatchBrExitIdx << "\n"); in isSafeDecreasingBound()
48 if (LatchBrExitIdx == 1) in isSafeDecreasingBound()
51 assert(LatchBrExitIdx == 0 && "LatchBrExitIdx should be either 0 or 1"); in isSafeDecreasingBound()
70 unsigned LatchBrExitIdx, Loop *L, in isSafeIncreasingBound() argument
84 LLVM_DEBUG(dbgs() << "LatchExitBrIdx: " << LatchBrExitIdx << "\n"); in isSafeIncreasingBound()
95 if (LatchBrExitIdx == 1) in isSafeIncreasingBound()
98 assert(LatchBrExitIdx == 0 && "LatchBrExitIdx should be 0 or 1"); in isSafeIncreasingBound()
159 unsigned LatchBrExitIdx = LatchBr->getSuccessor(0) == Header ? 1 : 0; in parseLoopStructure() local
266 if (Pred == ICmpInst::ICMP_NE && LatchBrExitIdx == 1) in parseLoopStructure()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp964 BPI->getEdgeProbability(LS.Latch, LS.LatchBrExitIdx); in parseLoopStructure()
602 unsigned LatchBrExitIdx = std::numeric_limits<unsigned>::max(); global() member
793 isSafeDecreasingBound(const SCEV * Start,const SCEV * BoundSCEV,const SCEV * Step,ICmpInst::Predicate Pred,unsigned LatchBrExitIdx,Loop * L,ScalarEvolution & SE) isSafeDecreasingBound() argument
842 isSafeIncreasingBound(const SCEV * Start,const SCEV * BoundSCEV,const SCEV * Step,ICmpInst::Predicate Pred,unsigned LatchBrExitIdx,Loop * L,ScalarEvolution & SE) isSafeIncreasingBound() argument
928 unsigned LatchBrExitIdx = LatchBr->getSuccessor(0) == Header ? 1 : 0; parseLoopStructure() local
H A DLoopPredication.cpp896 unsigned LatchBrExitIdx = in parseLoopLatchICmp()
905 auto *LatchExitBlock = LatchTerm->getSuccessor(LatchBrExitIdx); in parseLoopLatchICmp()
978 unsigned LatchBrExitIdx = isLoopProfitableToPredicate() local