Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopSimplifyCFG.cpp92 Current = Current->getParentLoop()) in removeBlockFromLoops()
104 BBL = BBL->getParentLoop(); in getInnermostLoopFor()
106 BBL = BBL->getParentLoop(); in getInnermostLoopFor()
413 while (FixLCSSALoop->getParentLoop() != StillReachable) in handleDeadExits()
414 FixLCSSALoop = FixLCSSALoop->getParentLoop(); in handleDeadExits()
455 for (auto *PL = DL->getParentLoop(); PL; PL = PL->getParentLoop()) in deleteDeadLoopBlocks()
458 DL->getParentLoop()->removeChildLoop(DL); in deleteDeadLoopBlocks()
H A DLoopPassManager.cpp114 U.setParentLoop(L.getParentLoop()); in runWithLoopNestPasses()
163 U.setParentLoop(L.getParentLoop()); in runWithoutLoopNestPasses()
259 assert(!(LoopNestMode && L->getParentLoop()) && in run()
268 Updater.ParentL = L->getParentLoop(); in run()
H A DSimpleLoopUnswitch.cpp283 Loop *OldParentL = L.getParentLoop(); in hoistLoopToNewParent()
322 OldContainingL = OldContainingL->getParentLoop()) { in hoistLoopToNewParent()
356 Current = Current->getParentLoop(); in getTopMostExitingLoop()
1285 assert((!ParentL || ParentL == OrigL.getParentLoop() || in buildClonedLoops()
1286 ParentL->contains(OrigL.getParentLoop())) && in buildClonedLoops()
1375 for (Loop *PL = ClonedL; PL; PL = PL->getParentLoop()) in buildClonedLoops()
1571 for (Loop *ParentL = &L; ParentL; ParentL = ParentL->getParentLoop()) { in deleteDeadBlocksFromLoop()
1764 if (!LoopBlockSet.empty() && L.getParentLoop() != ParentL) { in rebuildLoopAfterUnswitch()
1766 for (Loop *IL = L.getParentLoop(); IL != ParentL; in rebuildLoopAfterUnswitch()
1767 IL = IL->getParentLoop()) { in rebuildLoopAfterUnswitch()
[all …]
H A DLoopInterchange.cpp440 if (L->getParentLoop()) in run()
449 if (LoopList[I]->getParentLoop() != LoopList[I - 1]) in run()
1248 Loop *OuterLoopParent = OuterLoop->getParentLoop(); in restructureLoops()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DLoopInfo.cpp770 while (OuterParent->getParentLoop() != &Unloop) in removeBlocksFromAncestors()
771 OuterParent = OuterParent->getParentLoop(); in removeBlocksFromAncestors()
776 for (Loop *OldParent = Unloop.getParentLoop(); OldParent != OuterParent; in removeBlocksFromAncestors()
777 OldParent = OldParent->getParentLoop()) { in removeBlocksFromAncestors()
813 while (Subloop->getParentLoop() != &Unloop) { in getNearestLoop()
814 Subloop = Subloop->getParentLoop(); in getNearestLoop()
843 assert(L->getParentLoop() == &Unloop && "cannot skip into nested loops"); in getNearestLoop()
854 L = L->getParentLoop(); in getNearestLoop()
924 Loop *ParentLoop = Unloop->getParentLoop(); in erase()
H A DDivergenceAnalysis.cpp120 Loop = Loop->getParentLoop()) { in isTemporalDivergent()
258 DivLoop = DivLoop->getParentLoop(); in propagateLoopExitDivergence()
H A DDelinearization.cpp71 for (Loop *L = LI->getLoopFor(BB); L != nullptr; L = L->getParentLoop()) { in printDelinearization()
H A DCFG.cpp131 while (const Loop *Parent = L->getParentLoop()) in getOutermostLoop()
H A DMustExecute.cpp425 L = L->getParentLoop(); in MustExecuteAnnotatedWriter()
438 L = L->getParentLoop(); in MustExecuteAnnotatedWriter()
H A DLoopPass.cpp88 if (*I == L.getParentLoop()) { in addLoop()
H A DLoopNestAnalysis.cpp239 (InnerLoop.getParentLoop() != &OuterLoop)) in checkLoopsStructure()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DLoopInfoImpl.h263 L = L->getParentLoop(); in addBasicBlockToLoop()
458 while (LoopT *Parent = Subloop->getParentLoop()) in discoverAndMapSubloop()
517 Subloop->getParentLoop()->getSubLoopsVector().push_back(Subloop); in insertIntoLoop()
527 Subloop = Subloop->getParentLoop(); in insertIntoLoop()
529 for (; Subloop; Subloop = Subloop->getParentLoop()) in insertIntoLoop()
662 ParentL = ParentL->getParentLoop(); in compareLoops()
663 OtherParentL = OtherParentL->getParentLoop(); in compareLoops()
H A DLoopInfo.h113 LoopT *getParentLoop() const { return ParentLoop; } in getParentLoop() function
128 return contains(L->getParentLoop()); in contains()
168 bool isOutermost() const { return getParentLoop() == nullptr; } in isOutermost()
1032 for (LoopT *L = I->second; L; L = L->getParentLoop()) in removeBlock()
1047 return isNotAlreadyContainedIn(SubLoop->getParentLoop(), ParentLoop); in isNotAlreadyContainedIn()
H A DCFG.h153 for (const auto *Lp = LI.getLoopFor(Src); Lp; Lp = Lp->getParentLoop()) { in containsIrreducibleCFG()
H A DRegionInfoImpl.h147 while (L && contains(L->getParentLoop())) { in outermostLoopInRegion()
148 L = L->getParentLoop(); in outermostLoopInRegion()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DLoopUnrollAndJam.cpp616 Loop *OutestLoop = SubLoop->getParentLoop() in UnrollAndJamLoop()
617 ? SubLoop->getParentLoop()->getParentLoop() in UnrollAndJamLoop()
618 ? SubLoop->getParentLoop()->getParentLoop() in UnrollAndJamLoop()
619 : SubLoop->getParentLoop() in UnrollAndJamLoop()
H A DLoopUnroll.cpp151 Loop *NewLoopParent = NewLoops.lookup(OldLoop->getParentLoop()); in addClonedBlockToLoopInfo()
899 Loop *OuterL = L->getParentLoop(); in UnrollLoop()
931 while (FixLCSSALoop->getParentLoop() != LatchLoop) in UnrollLoop()
932 FixLCSSALoop = FixLCSSALoop->getParentLoop(); in UnrollLoop()
H A DUnifyLoopExits.cpp196 if (auto ParentLoop = L->getParentLoop()) { in unifyLoopExits()
H A DLoopPeel.cpp518 Loop *ParentLoop = L->getParentLoop(); in cloneLoopBlocks()
845 if (Loop *ParentLoop = L->getParentLoop()) in peelLoop()
H A DLoopUtils.cpp746 if (Loop *ParentLoop = L->getParentLoop()) { in deleteDeadLoop()
760 while (Loop *Parent = L->getParentLoop()) in getOutermostLoop()
896 Loop *OuterL = InnerLoop->getParentLoop(); in hasIterationCountInvariantInParent()
1357 const SCEV *ExitValue = SE->getSCEVAtScope(Inst, L->getParentLoop()); in rewriteLoopExitValues()
H A DLoopUnrollRuntime.cpp315 Loop *ParentLoop = L->getParentLoop(); in CloneLoopBlocks()
456 if (UseEpilogRemainder && L->getParentLoop()) in canSafelyUnrollMultiExitLoop()
H A DBreakCriticalEdges.cpp284 if (Loop *P = DestLoop->getParentLoop()) in SplitKnownCriticalEdge()
H A DCloneFunction.cpp804 Loop *ParentLoop = OrigLoop->getParentLoop(); in cloneLoopWithPreheader()
834 Loop *OrigParent = CurLoop->getParentLoop(); in cloneLoopWithPreheader()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Scalar/
H A DLoopPassManager.h286 assert(NewL->getParentLoop() == CurrentL && "All of the new loops must "
307 assert(NewL->getParentLoop() == ParentL &&
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMachineLICM.cpp321 for (MachineLoop *L = CurLoop->getParentLoop(); L; L = L->getParentLoop()) in INITIALIZE_PASS_DEPENDENCY()

12