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-7.0/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp490 BranchInst *LatchBr = nullptr; member
517 Result.LatchBr = cast<BranchInst>(Map(LatchBr)); in map()
852 BranchInst *LatchBr = dyn_cast<BranchInst>(Latch->getTerminator()); in parseLoopStructure() local
853 if (!LatchBr || LatchBr->isUnconditional()) { in parseLoopStructure()
858 unsigned LatchBrExitIdx = LatchBr->getSuccessor(0) == Header ? 1 : 0; in parseLoopStructure()
861 BPI ? BPI->getEdgeProbability(LatchBr->getParent(), LatchBrExitIdx) in parseLoopStructure()
870 ICmpInst *ICI = dyn_cast<ICmpInst>(LatchBr->getCondition()); in parseLoopStructure()
1094 BasicBlock *LatchExit = LatchBr->getSuccessor(LatchBrExitIdx); in parseLoopStructure()
1112 Result.LatchBr = LatchBr; in parseLoopStructure()
1354 LS.LatchBr->setSuccessor(LS.LatchBrExitIdx, RRI.ExitSelector); in changeIterationSpaceEnd()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp359 auto *LatchBr = dyn_cast<BranchInst>(Latch->getTerminator()); in isUniformLoop() local
360 if (!LatchBr || LatchBr->isUnconditional()) { in isUniformLoop()
366 auto *LatchCmp = dyn_cast<CmpInst>(LatchBr->getCondition()); in isUniformLoop()