Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DLoopInfo.cpp503 while (OuterParent->getParentLoop() != &Unloop) in removeBlocksFromAncestors()
504 OuterParent = OuterParent->getParentLoop(); in removeBlocksFromAncestors()
509 for (Loop *OldParent = Unloop.getParentLoop(); OldParent != OuterParent; in removeBlocksFromAncestors()
510 OldParent = OldParent->getParentLoop()) { in removeBlocksFromAncestors()
546 while (Subloop->getParentLoop() != &Unloop) { in getNearestLoop()
547 Subloop = Subloop->getParentLoop(); in getNearestLoop()
576 assert(L->getParentLoop() == &Unloop && "cannot skip into nested loops"); in getNearestLoop()
587 L = L->getParentLoop(); in getNearestLoop()
617 if (!Unloop->getParentLoop()) { in erase()
660 Loop *ParentLoop = Unloop->getParentLoop(); in erase()
H A DDivergenceAnalysis.cpp146 Loop = Loop->getParentLoop()) { in isTemporalDivergent()
333 const auto *BranchLoop = ExitingLoop.getParentLoop(); in propagateLoopDivergence()
H A DMustExecute.cpp342 L = L->getParentLoop(); in MustExecuteAnnotatedWriter()
355 L = L->getParentLoop(); in MustExecuteAnnotatedWriter()
H A DLoopPass.cpp78 if (!L.getParentLoop()) { in addLoop()
86 if (*I == L.getParentLoop()) { in addLoop()
H A DDelinearization.cpp85 for (Loop *L = LI->getLoopFor(BB); L != nullptr; L = L->getParentLoop()) { in print()
H A DCFG.cpp117 while (const Loop *Parent = L->getParentLoop()) in getOutermostLoop()
H A DSyncDependenceAnalysis.cpp350 *Loop.getHeader(), LoopExits, Loop.getParentLoop()); in join_blocks()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DLoopInfoImpl.h272 L = L->getParentLoop(); in addBasicBlockToLoop()
464 while (LoopT *Parent = Subloop->getParentLoop()) in discoverAndMapSubloop()
522 if (Subloop->getParentLoop()) in insertIntoLoop()
523 Subloop->getParentLoop()->getSubLoopsVector().push_back(Subloop); in insertIntoLoop()
533 Subloop = Subloop->getParentLoop(); in insertIntoLoop()
535 for (; Subloop; Subloop = Subloop->getParentLoop()) in insertIntoLoop()
675 ParentL = ParentL->getParentLoop(); in compareLoops()
676 OtherParentL = OtherParentL->getParentLoop(); in compareLoops()
708 assert(!(*I)->getParentLoop() && "Top-level loop has a parent!"); in verify()
H A DLoopInfo.h101 LoopT *getParentLoop() const { return ParentLoop; } in getParentLoop() function
116 return contains(L->getParentLoop()); in contains()
714 assert(!L->getParentLoop() && "Not a top-level loop!"); in removeLoop()
742 assert(!New->getParentLoop() && "Loop already in subloop!"); in addTopLevelLoop()
752 for (LoopT *L = I->second; L; L = L->getParentLoop()) in removeBlock()
767 return isNotAlreadyContainedIn(SubLoop->getParentLoop(), ParentLoop); in isNotAlreadyContainedIn()
H A DCFG.h134 for (const auto *Lp = LI.getLoopFor(Src); Lp; Lp = Lp->getParentLoop()) { in containsIrreducibleCFG()
H A DRegionInfoImpl.h148 while (L && contains(L->getParentLoop())) { in outermostLoopInRegion()
149 L = L->getParentLoop(); in outermostLoopInRegion()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DSimpleLoopUnswitch.cpp273 Loop *OldParentL = L.getParentLoop(); in hoistLoopToNewParent()
1676 for (Loop *IL = L.getParentLoop(); IL != ParentL; in rebuildLoopAfterUnswitch()
1677 IL = IL->getParentLoop()) { in rebuildLoopAfterUnswitch()
1687 L.getParentLoop()->removeChildLoop(&L); in rebuildLoopAfterUnswitch()
1837 if (Loop *ParentL = L.getParentLoop()) in rebuildLoopAfterUnswitch()
1938 Loop *ParentL = L.getParentLoop(); in unswitchNontrivialInvariants()
2250 if (!UpdatedL->getParentLoop()) in unswitchNontrivialInvariants()
2255 if (!L.getParentLoop()) in unswitchNontrivialInvariants()
2263 OuterL = OuterL->getParentLoop()) in unswitchNontrivialInvariants()
2277 if (UpdatedL->getParentLoop() == ParentL) in unswitchNontrivialInvariants()
[all …]
H A DLICM.cpp397 assert((!L->getParentLoop() || L->getParentLoop()->isLCSSAForm(*DT)) && in runOnLoop()
402 if (CurAST.get() && L->getParentLoop() && !DeleteAST) in runOnLoop()
650 if (CurLoop->getParentLoop()) in getOrCreateHoistedBlock()
651 CurLoop->getParentLoop()->addBasicBlockToLoop(New, *LI); in getOrCreateHoistedBlock()
H A DInductiveRangeCheckElimination.cpp1346 Loop *ParentLoop = OriginalLoop.getParentLoop(); in addToParentLoopIfNeeded()
1524 OriginalLoop.getParentLoop(), PreLoop.Map, in run()
1530 createClonedLoopStructure(&OriginalLoop, OriginalLoop.getParentLoop(), in run()
H A DLoopInterchange.cpp456 if (skipLoop(L) || L->getParentLoop()) in runOnLoop()
1170 Loop *OuterLoopParent = OuterLoop->getParentLoop(); in restructureLoops()
H A DLoopUnrollPass.cpp1242 Loop *ParentL = L.getParentLoop(); in run()
1377 Loop *ParentL = L.getParentLoop(); in run()
/freebsd-12.1/contrib/llvm/include/llvm/Transforms/Scalar/
H A DLoopPassManager.h189 assert(NewL->getParentLoop() == CurrentL && "All of the new loops must "
210 assert(NewL->getParentLoop() == ParentL &&
341 Updater.ParentL = L->getParentLoop();
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DLoopUnroll.cpp204 Loop *NewLoopParent = NewLoops.lookup(OldLoop->getParentLoop()); in addClonedBlockToLoopInfo()
838 Loop *OuterL = L->getParentLoop(); in UnrollLoop()
870 while (FixLCSSALoop->getParentLoop() != LatchLoop) in UnrollLoop()
871 FixLCSSALoop = FixLCSSALoop->getParentLoop(); in UnrollLoop()
H A DLoopUnrollPeel.cpp408 Loop *ParentLoop = L->getParentLoop(); in cloneLoopBlocks()
669 if (Loop *ParentLoop = L->getParentLoop()) { in peelLoop()
H A DLoopUnrollRuntime.cpp313 Loop *ParentLoop = L->getParentLoop(); in CloneLoopBlocks()
460 if (UseEpilogRemainder && L->getParentLoop()) in canSafelyUnrollMultiExitLoop()
H A DBreakCriticalEdges.cpp251 if (Loop *P = DestLoop->getParentLoop()) in SplitCriticalEdge()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DLoopExtractor.cpp89 if (L->getParentLoop()) in runOnLoop()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUAnnotateUniformValues.cpp101 P = P->getParentLoop(); in isClobberedInFunction()
H A DSIFixWWMLiveness.cpp266 while (auto Parent = Loop->getParentLoop()) { in processDef()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DMachineLICM.cpp299 for (MachineLoop *L = CurLoop->getParentLoop(); L; L = L->getParentLoop()) in INITIALIZE_PASS_DEPENDENCY()

12