Lines Matching refs:LatchBr
418 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()
1042 LS.LatchBr->setSuccessor(LS.LatchBrExitIdx, RRI.ExitSelector); in changeIterationSpaceEnd()
1043 B.SetInsertPoint(LS.LatchBr); in changeIterationSpaceEnd()
1051 LS.LatchBr->setCondition(CondForBranch); in changeIterationSpaceEnd()