Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DLoopSimplify.cpp390 unsigned PreheaderIdx = ~0U; in insertUniqueBackedgeBlock() local
397 PreheaderIdx = i; in insertUniqueBackedgeBlock()
410 assert(PreheaderIdx != ~0U && "PHI has no preheader entry??"); in insertUniqueBackedgeBlock()
411 if (PreheaderIdx != 0) { in insertUniqueBackedgeBlock()
412 PN->setIncomingValue(0, PN->getIncomingValue(PreheaderIdx)); in insertUniqueBackedgeBlock()
413 PN->setIncomingBlock(0, PN->getIncomingBlock(PreheaderIdx)); in insertUniqueBackedgeBlock()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp759 int PreheaderIdx = ExitVal->getBasicBlockIndex(LoopPreheader); in rewriteFirstIterationLoopExitValues() local
760 if (PreheaderIdx != -1) { in rewriteFirstIterationLoopExitValues()
765 ExitVal->getIncomingValue(PreheaderIdx)); in rewriteFirstIterationLoopExitValues()