Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp418 BranchInst *LatchBr; member
428 : Tag(""), Header(nullptr), Latch(nullptr), LatchBr(nullptr), in LoopStructure()
437 Result.LatchBr = cast<BranchInst>(Map(LatchBr)); in map()
640 BranchInst *LatchBr = dyn_cast<BranchInst>(Latch->getTerminator()); in parseLoopStructure() local
641 if (!LatchBr || LatchBr->isUnconditional()) { in parseLoopStructure()
646 unsigned LatchBrExitIdx = LatchBr->getSuccessor(0) == Header ? 1 : 0; in parseLoopStructure()
649 BPI.getEdgeProbability(LatchBr->getParent(), LatchBrExitIdx); in parseLoopStructure()
656 ICmpInst *ICI = dyn_cast<ICmpInst>(LatchBr->getCondition()); in parseLoopStructure()
797 BasicBlock *LatchExit = LatchBr->getSuccessor(LatchBrExitIdx); in parseLoopStructure()
815 Result.LatchBr = LatchBr; in parseLoopStructure()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp452 BranchInst *LatchBr = nullptr; member
479 Result.LatchBr = cast<BranchInst>(Map(LatchBr)); in map()
765 BranchInst *LatchBr = dyn_cast<BranchInst>(Latch->getTerminator()); in parseLoopStructure() local
766 if (!LatchBr || LatchBr->isUnconditional()) { in parseLoopStructure()
771 unsigned LatchBrExitIdx = LatchBr->getSuccessor(0) == Header ? 1 : 0; in parseLoopStructure()
774 BPI ? BPI->getEdgeProbability(LatchBr->getParent(), LatchBrExitIdx) in parseLoopStructure()
783 ICmpInst *ICI = dyn_cast<ICmpInst>(LatchBr->getCondition()); in parseLoopStructure()
1007 BasicBlock *LatchExit = LatchBr->getSuccessor(LatchBrExitIdx); in parseLoopStructure()
1025 Result.LatchBr = LatchBr; in parseLoopStructure()
1286 LS.LatchBr->setSuccessor(LS.LatchBrExitIdx, RRI.ExitSelector); in changeIterationSpaceEnd()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp315 auto *LatchBr = dyn_cast<BranchInst>(Latch->getTerminator()); in isUniformLoop() local
316 if (!LatchBr || LatchBr->isUnconditional()) { in isUniformLoop()
322 auto *LatchCmp = dyn_cast<CmpInst>(LatchBr->getCondition()); in isUniformLoop()