Lines Matching refs:getLoopFor
421 if (Loop *ExitL = LI.getLoopFor(ExitBB)) in hoistLoopToNewParent()
435 assert(OldParentL == LI.getLoopFor(&Preheader) && in hoistLoopToNewParent()
482 Loop *TopMost = LI.getLoopFor(ExitBB); in getTopMostExitingLoop()
1372 if (LI.getLoopFor(BB) == &OrigL) in cloneLoopNest()
1444 if (Loop *ExitL = LI.getLoopFor(ExitBB)) { in buildClonedLoops()
1532 if (LI.getLoopFor(BB) == &OrigL) { in buildClonedLoops()
1647 assert(LI.getLoopFor(BB) == OuterL && in buildClonedLoops()
1843 if (Loop *InnerL = LI.getLoopFor(BB)) in recomputeLoopBlockSet()
1920 if (Loop *ExitL = LI.getLoopFor(ExitBB)) { in rebuildLoopAfterUnswitch()
2000 Loop &ExitL = *LI.getLoopFor(ExitBB); in rebuildLoopAfterUnswitch()
2024 ExitL.contains(LI.getLoopFor(PredBB))) && in rebuildLoopAfterUnswitch()
2045 if (Loop *BBL = LI.getLoopFor(BB)) in rebuildLoopAfterUnswitch()
2059 if (Loop *BBL = LI.getLoopFor(BB)) in rebuildLoopAfterUnswitch()
2086 if (auto *NewParentL = LI.getLoopFor(HoistedL->getLoopPreheader())) in rebuildLoopAfterUnswitch()
2249 assert(LI.getLoopFor(ParentBB) == &L && "Branch in an inner loop!"); in unswitchNontrivialInvariants()
2932 if (LI.getLoopFor(BB) != &L) in collectUnswitchCandidates()
3088 assert(LI.getLoopFor(Candidate.TI->getParent()) == &L && in injectPendingInvariantConditions()
3244 if (LI.getLoopFor(BB) != &L) in collectUnswitchCandidatesWithInjections()