Lines Matching refs:getLoopFor
362 if (Loop *ExitL = LI.getLoopFor(ExitBB)) in hoistLoopToNewParent()
376 assert(OldParentL == LI.getLoopFor(&Preheader) && in hoistLoopToNewParent()
422 Loop *TopMost = LI.getLoopFor(ExitBB); in getTopMostExitingLoop()
740 Loop *ExitL = LI.getLoopFor(DefaultExitBB); in unswitchTrivialSwitch()
757 Loop *ExitL = LI.getLoopFor(CaseI->getCaseSuccessor()); in unswitchTrivialSwitch()
1286 if (LI.getLoopFor(BB) == &OrigL) in cloneLoopNest()
1358 if (Loop *ExitL = LI.getLoopFor(ExitBB)) { in buildClonedLoops()
1446 if (LI.getLoopFor(BB) == &OrigL) { in buildClonedLoops()
1561 assert(LI.getLoopFor(BB) == OuterL && in buildClonedLoops()
1755 if (Loop *InnerL = LI.getLoopFor(BB)) in recomputeLoopBlockSet()
1831 if (Loop *ExitL = LI.getLoopFor(ExitBB)) { in rebuildLoopAfterUnswitch()
1911 Loop &ExitL = *LI.getLoopFor(ExitBB); in rebuildLoopAfterUnswitch()
1935 ExitL.contains(LI.getLoopFor(PredBB))) && in rebuildLoopAfterUnswitch()
1956 if (Loop *BBL = LI.getLoopFor(BB)) in rebuildLoopAfterUnswitch()
1970 if (Loop *BBL = LI.getLoopFor(BB)) in rebuildLoopAfterUnswitch()
1997 if (auto *NewParentL = LI.getLoopFor(HoistedL->getLoopPreheader())) in rebuildLoopAfterUnswitch()
2119 assert(LI.getLoopFor(ParentBB) == &L && "Branch in an inner loop!"); in unswitchNontrivialInvariants()
2133 Loop *NewOuterExitL = LI.getLoopFor(ExitBB); in unswitchNontrivialInvariants()
2747 if (LI.getLoopFor(BB) != &L) in unswitchBestCondition()