Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLoopSimplify.cpp677 unsigned PreheaderIdx = ~0U; in InsertUniqueBackedgeBlock() local
684 PreheaderIdx = i; in InsertUniqueBackedgeBlock()
697 assert(PreheaderIdx != ~0U && "PHI has no preheader entry??"); in InsertUniqueBackedgeBlock()
698 if (PreheaderIdx != 0) { in InsertUniqueBackedgeBlock()
699 PN->setIncomingValue(0, PN->getIncomingValue(PreheaderIdx)); in InsertUniqueBackedgeBlock()
700 PN->setIncomingBlock(0, PN->getIncomingBlock(PreheaderIdx)); in InsertUniqueBackedgeBlock()
/external/llvm/lib/Transforms/Utils/
DLoopSimplify.cpp401 unsigned PreheaderIdx = ~0U; in insertUniqueBackedgeBlock() local
408 PreheaderIdx = i; in insertUniqueBackedgeBlock()
421 assert(PreheaderIdx != ~0U && "PHI has no preheader entry??"); in insertUniqueBackedgeBlock()
422 if (PreheaderIdx != 0) { in insertUniqueBackedgeBlock()
423 PN->setIncomingValue(0, PN->getIncomingValue(PreheaderIdx)); in insertUniqueBackedgeBlock()
424 PN->setIncomingBlock(0, PN->getIncomingBlock(PreheaderIdx)); in insertUniqueBackedgeBlock()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp723 int PreheaderIdx = ExitVal->getBasicBlockIndex(LoopPreheader); in rewriteFirstIterationLoopExitValues() local
724 if (PreheaderIdx != -1) { in rewriteFirstIterationLoopExitValues()
728 ExitVal->getIncomingValue(PreheaderIdx)); in rewriteFirstIterationLoopExitValues()