Lines Matching refs:getLoopFor
340 if (Loop *ExitL = LI.getLoopFor(ExitBB)) in hoistLoopToNewParent()
354 assert(OldParentL == LI.getLoopFor(&Preheader) && in hoistLoopToNewParent()
400 Loop *TopMost = LI.getLoopFor(ExitBB); in getTopMostExitingLoop()
715 Loop *ExitL = LI.getLoopFor(DefaultExitBB); in unswitchTrivialSwitch()
732 Loop *ExitL = LI.getLoopFor(CaseI->getCaseSuccessor()); in unswitchTrivialSwitch()
1260 if (LI.getLoopFor(BB) == &OrigL) in cloneLoopNest()
1332 if (Loop *ExitL = LI.getLoopFor(ExitBB)) { in buildClonedLoops()
1420 if (LI.getLoopFor(BB) == &OrigL) { in buildClonedLoops()
1535 assert(LI.getLoopFor(BB) == OuterL && in buildClonedLoops()
1729 if (Loop *InnerL = LI.getLoopFor(BB)) in recomputeLoopBlockSet()
1805 if (Loop *ExitL = LI.getLoopFor(ExitBB)) { in rebuildLoopAfterUnswitch()
1885 Loop &ExitL = *LI.getLoopFor(ExitBB); in rebuildLoopAfterUnswitch()
1909 ExitL.contains(LI.getLoopFor(PredBB))) && in rebuildLoopAfterUnswitch()
1930 if (Loop *BBL = LI.getLoopFor(BB)) in rebuildLoopAfterUnswitch()
1944 if (Loop *BBL = LI.getLoopFor(BB)) in rebuildLoopAfterUnswitch()
1971 if (auto *NewParentL = LI.getLoopFor(HoistedL->getLoopPreheader())) in rebuildLoopAfterUnswitch()
2092 assert(LI.getLoopFor(ParentBB) == &L && "Branch in an inner loop!"); in unswitchNontrivialInvariants()
2106 Loop *NewOuterExitL = LI.getLoopFor(ExitBB); in unswitchNontrivialInvariants()
2697 if (LI.getLoopFor(BB) != &L) in unswitchBestCondition()