Lines Matching refs:getLoopFor
281 if (Loop *ExitL = LI.getLoopFor(ExitBB)) in hoistLoopToNewParent()
295 assert(OldParentL == LI.getLoopFor(&Preheader) && in hoistLoopToNewParent()
422 if (Loop *ExitL = LI.getLoopFor(LoopExitBB)) in unswitchTrivialBranch()
614 Loop *ExitL = LI.getLoopFor(DefaultExitBB); in unswitchTrivialSwitch()
628 Loop *ExitL = LI.getLoopFor(CaseI->getCaseSuccessor()); in unswitchTrivialSwitch()
1122 if (LI.getLoopFor(BB) == &OrigL) in cloneLoopNest()
1194 if (Loop *ExitL = LI.getLoopFor(ExitBB)) { in buildClonedLoops()
1282 if (LI.getLoopFor(BB) == &OrigL) { in buildClonedLoops()
1397 assert(LI.getLoopFor(BB) == OuterL && in buildClonedLoops()
1583 if (Loop *InnerL = LI.getLoopFor(BB)) in recomputeLoopBlockSet()
1659 if (Loop *ExitL = LI.getLoopFor(ExitBB)) { in rebuildLoopAfterUnswitch()
1740 Loop &ExitL = *LI.getLoopFor(ExitBB); in rebuildLoopAfterUnswitch()
1764 ExitL.contains(LI.getLoopFor(PredBB))) && in rebuildLoopAfterUnswitch()
1785 if (Loop *BBL = LI.getLoopFor(BB)) in rebuildLoopAfterUnswitch()
1799 if (Loop *BBL = LI.getLoopFor(BB)) in rebuildLoopAfterUnswitch()
1826 if (auto *NewParentL = LI.getLoopFor(HoistedL->getLoopPreheader())) in rebuildLoopAfterUnswitch()
1935 assert(LI.getLoopFor(ParentBB) == &L && "Branch in an inner loop!"); in unswitchNontrivialInvariants()
1949 Loop *NewOuterExitL = LI.getLoopFor(ExitBB); in unswitchNontrivialInvariants()
2513 if (LI.getLoopFor(BB) != &L) in unswitchBestCondition()