Home
last modified time | relevance | path

Searched refs:LatchIdx (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp470 int LatchIdx = PN->getBasicBlockIndex(LatchBlock); in isAlmostDeadIV() local
471 assert(LatchIdx != -1 && "LatchBlock is not a case in this PHINode"); in isAlmostDeadIV()
472 Value *IncV = PN->getIncomingValue(LatchIdx); in isAlmostDeadIV()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp823 int LatchIdx = Phi->getBasicBlockIndex(L->getLoopLatch()); in isLoopCounter() local
824 Value *IncV = Phi->getIncomingValue(LatchIdx); in isLoopCounter()