Home | History | Annotate | Download | only in Scalar

Lines Matching refs:ParentBB

364   auto *ParentBB = BI.getParent();
365 if (!areLoopExitPHIsLoopInvariant(L, *ParentBB, *LoopExitBB))
438 BranchInst::Create(ContinueBB, ParentBB);
456 rewritePHINodesForUnswitchedExitBlock(*UnswitchedBB, *ParentBB, *OldPH);
459 *ParentBB, *OldPH, FullUnswitch);
465 DTUpdates.push_back({DT.Delete, ParentBB, LoopExitBB});
525 auto *ParentBB = SI.getParent();
531 areLoopExitPHIsLoopInvariant(L, *ParentBB, *SuccBB))
536 areLoopExitPHIsLoopInvariant(L, *ParentBB, *SI.getDefaultDest()) &&
626 rewritePHINodesForUnswitchedExitBlock(*DefaultExitBB, *ParentBB, *OldPH);
631 *DefaultExitBB, *SplitBB, *ParentBB, *OldPH, /*FullUnswitch*/ true);
646 rewritePHINodesForUnswitchedExitBlock(*ExitBB, *ParentBB, *OldPH);
657 *ExitBB, *SplitExitBB, *ParentBB, *OldPH, /*FullUnswitch*/ true);
725 DTUpdates.push_back({DT.Delete, ParentBB, UnswitchedExitBB});
730 DTUpdates.push_back({DT.Delete, ParentBB, UnswitchedBB});
872 ArrayRef<BasicBlock *> ExitBlocks, BasicBlock *ParentBB,
987 auto *ClonedParentBB = cast<BasicBlock>(VMap.lookup(ParentBB));
988 for (auto *SuccBB : successors(ParentBB)) {
1790 auto *ParentBB = TI.getParent();
1842 assert(LI.getLoopFor(ParentBB) == &L && "Branch in an inner loop!");
1893 return PredBB == ParentBB || DT.dominates(SuccBB, PredBB);
1918 L, LoopPH, SplitBB, ExitBlocks, ParentBB, SuccBB, RetainedSuccBB,
1935 UnswitchedSuccBB->removePredecessor(ParentBB,
1937 DTUpdates.push_back({DominatorTree::Delete, ParentBB, UnswitchedSuccBB});
1949 ParentBB,
1956 DTUpdates.push_back({DominatorTree::Delete, ParentBB, SuccBB});
1961 SplitBB->getInstList().splice(SplitBB->end(), ParentBB->getInstList(), TI);
1990 BranchInst::Create(RetainedSuccBB, ParentBB);