Home
last modified time | relevance | path

Searched refs:getParentLoop (Results 1 – 25 of 43) sorted by relevance

12

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLoopPassManager.cpp106 while (auto *ParentLoop = OuterMostLoop->getParentLoop()) in runWithLoopNestPasses()
142 U.setParentLoop((IsLoopNestPass[I] ? *OuterMostLoop : L).getParentLoop()); in runWithLoopNestPasses()
186 U.setParentLoop(L.getParentLoop()); in runWithoutLoopNestPasses()
288 assert(!(LoopNestMode && L->getParentLoop()) && in run()
297 Updater.ParentL = L->getParentLoop(); in run()
H A DLoopSimplifyCFG.cpp86 Current = Current->getParentLoop()) in removeBlockFromLoops()
98 BBL = BBL->getParentLoop(); in getInnermostLoopFor()
100 BBL = BBL->getParentLoop(); in getInnermostLoopFor()
411 while (FixLCSSALoop->getParentLoop() != StillReachable) in handleDeadExits()
412 FixLCSSALoop = FixLCSSALoop->getParentLoop(); in handleDeadExits()
454 for (auto *PL = DL->getParentLoop(); PL; PL = PL->getParentLoop()) in deleteDeadLoopBlocks()
457 DL->getParentLoop()->removeChildLoop(DL); in deleteDeadLoopBlocks()
H A DSimpleLoopUnswitch.cpp370 Loop *OldParentL = L.getParentLoop(); in hoistLoopToNewParent()
409 OldContainingL = OldContainingL->getParentLoop()) { in hoistLoopToNewParent()
444 Current = Current->getParentLoop(); in getTopMostExitingLoop()
1386 assert((!ParentL || ParentL == OrigL.getParentLoop() || in buildClonedLoops()
1387 ParentL->contains(OrigL.getParentLoop())) && in buildClonedLoops()
1476 for (Loop *PL = ClonedL; PL; PL = PL->getParentLoop()) in buildClonedLoops()
1675 for (Loop *ParentL = &L; ParentL; ParentL = ParentL->getParentLoop()) { in deleteDeadBlocksFromLoop()
1872 if (!LoopBlockSet.empty() && L.getParentLoop() != ParentL) { in rebuildLoopAfterUnswitch()
1874 for (Loop *IL = L.getParentLoop(); IL != ParentL; in rebuildLoopAfterUnswitch()
1875 IL = IL->getParentLoop()) { in rebuildLoopAfterUnswitch()
[all …]
H A DTLSVariableHoist.cpp166 while (Loop *Parent = L->getParentLoop()) in getNearestLoopDomInst()
H A DLoopUnrollPass.cpp1147 Loop *ParentL = L->getParentLoop(); in tryToUnrollLoop()
1488 Loop *ParentL = L.getParentLoop(); in run()
1612 Loop *ParentL = L.getParentLoop(); in run()
H A DLoopInterchange.cpp383 if (L->getParentLoop()) in run()
393 if (LoopList[I]->getParentLoop() != LoopList[I - 1]) in run()
1239 Loop *OuterLoopParent = OuterLoop->getParentLoop(); in restructureLoops()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DLoopInfo.cpp768 while (OuterParent->getParentLoop() != &Unloop) in removeBlocksFromAncestors()
769 OuterParent = OuterParent->getParentLoop(); in removeBlocksFromAncestors()
774 for (Loop *OldParent = Unloop.getParentLoop(); OldParent != OuterParent; in removeBlocksFromAncestors()
775 OldParent = OldParent->getParentLoop()) { in removeBlocksFromAncestors()
811 while (Subloop->getParentLoop() != &Unloop) { in getNearestLoop()
812 Subloop = Subloop->getParentLoop(); in getNearestLoop()
841 assert(L->getParentLoop() == &Unloop && "cannot skip into nested loops"); in getNearestLoop()
852 L = L->getParentLoop(); in getNearestLoop()
922 Loop *ParentLoop = Unloop->getParentLoop(); in erase()
H A DDivergenceAnalysis.cpp119 Loop = Loop->getParentLoop()) { in isTemporalDivergent()
257 DivLoop = DivLoop->getParentLoop(); in propagateLoopExitDivergence()
H A DLoopPass.cpp85 if (*I == L.getParentLoop()) { in addLoop()
H A DMustExecute.cpp432 L = L->getParentLoop(); in MustExecuteAnnotatedWriter()
445 L = L->getParentLoop(); in MustExecuteAnnotatedWriter()
H A DLoopNestAnalysis.cpp319 (InnerLoop.getParentLoop() != &OuterLoop)) in checkLoopsStructure()
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DLoopInfoImpl.h279 L = L->getParentLoop(); in addBasicBlockToLoop()
526 Subloop->getParentLoop()->getSubLoopsVector().push_back(Subloop); in insertIntoLoop()
536 Subloop = Subloop->getParentLoop(); in insertIntoLoop()
538 for (; Subloop; Subloop = Subloop->getParentLoop()) in insertIntoLoop()
672 ParentL = ParentL->getParentLoop(); in compareLoops()
673 OtherParentL = OtherParentL->getParentLoop(); in compareLoops()
H A DLoopInfo.h114 LoopT *getParentLoop() const { return ParentLoop; } in getParentLoop() function
145 return contains(L->getParentLoop()); in contains()
185 bool isOutermost() const { return getParentLoop() == nullptr; } in isOutermost()
1060 for (LoopT *L = I->second; L; L = L->getParentLoop()) in removeBlock()
1075 return isNotAlreadyContainedIn(SubLoop->getParentLoop(), ParentLoop); in isNotAlreadyContainedIn()
H A DCFG.h141 for (const auto *Lp = LI.getLoopFor(Src); Lp; Lp = Lp->getParentLoop()) { in containsIrreducibleCFG()
H A DRegionInfoImpl.h145 while (L && contains(L->getParentLoop())) { in outermostLoopInRegion()
146 L = L->getParentLoop(); in outermostLoopInRegion()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLoopUnrollAndJam.cpp606 Loop *OutestLoop = SubLoop->getParentLoop() in UnrollAndJamLoop()
607 ? SubLoop->getParentLoop()->getParentLoop() in UnrollAndJamLoop()
608 ? SubLoop->getParentLoop()->getParentLoop() in UnrollAndJamLoop()
609 : SubLoop->getParentLoop() in UnrollAndJamLoop()
H A DLoopUnroll.cpp161 Loop *NewLoopParent = NewLoops.lookup(OldLoop->getParentLoop()); in addClonedBlockToLoopInfo()
831 Loop *OuterL = L->getParentLoop(); in UnrollLoop()
865 while (FixLCSSALoop->getParentLoop() != LatchLoop) in UnrollLoop()
866 FixLCSSALoop = FixLCSSALoop->getParentLoop(); in UnrollLoop()
H A DUnifyLoopExits.cpp205 if (auto ParentLoop = L->getParentLoop()) { in unifyLoopExits()
H A DLoopPeel.cpp703 Loop *ParentLoop = L->getParentLoop(); in cloneLoopBlocks()
1023 if (Loop *ParentLoop = L->getParentLoop()) in peelLoop()
H A DLoopUnrollRuntime.cpp327 Loop *ParentLoop = L->getParentLoop(); in CloneLoopBlocks()
709 if (auto *ParentL = L->getParentLoop()) in UnrollRuntimeLoopRemainder()
H A DBreakCriticalEdges.cpp278 if (Loop *P = DestLoop->getParentLoop()) in SplitKnownCriticalEdge()
H A DLoopUtils.cpp673 if (Loop *ParentLoop = L->getParentLoop()) { in deleteDeadLoop()
863 Loop *OuterL = InnerLoop->getParentLoop(); in hasIterationCountInvariantInParent()
1356 const SCEV *ExitValue = SE->getSCEVAtScope(Inst, L->getParentLoop()); in rewriteLoopExitValues()
H A DCloneFunction.cpp960 Loop *ParentLoop = OrigLoop->getParentLoop(); in cloneLoopWithPreheader()
990 Loop *OrigParent = CurLoop->getParentLoop(); in cloneLoopWithPreheader()
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Scalar/
H A DLoopPassManager.h312 assert(NewL->getParentLoop() == CurrentL && "All of the new loops must "
333 assert(NewL->getParentLoop() == ParentL &&
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DMachineLICM.cpp323 for (MachineLoop *L = CurLoop->getParentLoop(); L; L = L->getParentLoop()) in INITIALIZE_PASS_DEPENDENCY()

12