Home
last modified time | relevance | path

Searched refs:LoopExitBB (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DVPlanHCFGBuilder.cpp327 BasicBlock *LoopExitBB = TheLoop->getUniqueExitBlock(); in buildPlainCFG() local
328 assert(LoopExitBB && "Loops with multiple exits are not supported."); in buildPlainCFG()
329 VPBasicBlock *LoopExitVPBB = BB2VPBB[LoopExitBB]; in buildPlainCFG()
332 setVPBBPredsFromBB(LoopExitVPBB, LoopExitBB); in buildPlainCFG()
H A DVPlan.cpp799 BasicBlock *LoopExitBB) { in updateDominatorTree() argument
831 DT->changeImmediateDominator(LoopExitBB, LoopLatchBB); in updateDominatorTree()
H A DVPlan.h2737 BasicBlock *LoopExitBB);
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DSimpleLoopUnswitch.cpp478 auto *LoopExitBB = BI.getSuccessor(0); in unswitchTrivialBranch() local
479 if (L.contains(LoopExitBB)) { in unswitchTrivialBranch()
482 LoopExitBB = BI.getSuccessor(1); in unswitchTrivialBranch()
483 if (L.contains(LoopExitBB)) { in unswitchTrivialBranch()
524 if (Loop *ExitL = getTopMostExitingLoop(LoopExitBB, LI)) in unswitchTrivialBranch()
545 if (FullUnswitch && LoopExitBB->getUniquePredecessor()) { in unswitchTrivialBranch()
548 UnswitchedBB = LoopExitBB; in unswitchTrivialBranch()
551 SplitBlock(LoopExitBB, &LoopExitBB->front(), &DT, &LI, MSSAU); in unswitchTrivialBranch()
613 MSSAU->removeEdge(ParentBB, LoopExitBB); in unswitchTrivialBranch()
615 DT.deleteEdge(ParentBB, LoopExitBB); in unswitchTrivialBranch()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DShrinkWrap.cpp434 for (MachineBasicBlock *LoopExitBB: ExitBlocks) { in updateSaveRestorePoints()
435 IPdom = FindIDom<>(*IPdom, LoopExitBB->successors(), *MPDT); in updateSaveRestorePoints()
H A DModuloSchedule.cpp259 MachineBasicBlock *LoopExitBB = *LoopExitI; in generateEpilog() local
262 MachineBasicBlock *EpilogStart = LoopExitBB; in generateEpilog()
274 PredBB->replaceSuccessor(LoopExitBB, NewBB); in generateEpilog()
275 NewBB->addSuccessor(LoopExitBB); in generateEpilog()
277 if (EpilogStart == LoopExitBB) in generateEpilog()
310 LoopExitBB->replacePhiUsesWith(BB, PredBB); in generateEpilog()
325 TII->insertBranch(*LastEpilogBB, LoopExitBB, nullptr, Cond1, DebugLoc()); in generateEpilog()