Home
last modified time | relevance | path

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

12

/NextBSD/contrib/llvm/lib/Analysis/
HDLoopInfo.cpp506 while (OuterParent->getParentLoop() != Unloop) in removeBlocksFromAncestors()
507 OuterParent = OuterParent->getParentLoop(); in removeBlocksFromAncestors()
512 for (Loop *OldParent = Unloop->getParentLoop(); OldParent != OuterParent; in removeBlocksFromAncestors()
513 OldParent = OldParent->getParentLoop()) { in removeBlocksFromAncestors()
550 while (Subloop->getParentLoop() != Unloop) { in getNearestLoop()
551 Subloop = Subloop->getParentLoop(); in getNearestLoop()
581 assert(L->getParentLoop() == Unloop && "cannot skip into nested loops"); in getNearestLoop()
592 L = L->getParentLoop(); in getNearestLoop()
615 if (!Unloop->getParentLoop()) { in updateUnloop()
658 Loop *ParentLoop = Unloop->getParentLoop(); in updateUnloop()
HDLoopPass.cpp121 else if (!L->getParentLoop()) in insertLoopIntoQueue()
128 if (*I == L->getParentLoop()) { in insertLoopIntoQueue()
HDDelinearization.cpp96 for (Loop *L = LI->getLoopFor(BB); L != nullptr; L = L->getParentLoop()) { in print()
HDCFG.cpp115 while (const Loop *Parent = L->getParentLoop()) in getOutermostLoop()
HDDependenceAnalysis.cpp722 SrcLoop = SrcLoop->getParentLoop(); in establishNestingLevels()
726 DstLoop = DstLoop->getParentLoop(); in establishNestingLevels()
730 SrcLoop = SrcLoop->getParentLoop(); in establishNestingLevels()
731 DstLoop = DstLoop->getParentLoop(); in establishNestingLevels()
763 isLoopInvariant(Expression, LoopNest->getParentLoop()); in isLoopInvariant()
777 LoopNest = LoopNest->getParentLoop(); in collectCommonLoops()
/NextBSD/contrib/llvm/include/llvm/Analysis/
HDLoopInfoImpl.h201 L = L->getParentLoop(); in addBasicBlockToLoop()
377 while (LoopT *Parent = Subloop->getParentLoop()) in discoverAndMapSubloop()
438 if (Subloop->getParentLoop()) in insertIntoLoop()
439 Subloop->getParentLoop()->getSubLoopsVector().push_back(Subloop); in insertIntoLoop()
449 Subloop = Subloop->getParentLoop(); in insertIntoLoop()
451 for (; Subloop; Subloop = Subloop->getParentLoop()) in insertIntoLoop()
523 assert(!(*I)->getParentLoop() && "Top-level loop has a parent!"); in verify()
HDLoopInfo.h97 LoopT *getParentLoop() const { return ParentLoop; } in getParentLoop() function
108 return contains(L->getParentLoop()); in contains()
568 assert(!L->getParentLoop() && "Not a top-level loop!"); in removeLoop()
598 assert(!New->getParentLoop() && "Loop already in subloop!"); in addTopLevelLoop()
608 for (LoopT *L = I->second; L; L = L->getParentLoop()) in removeBlock()
621 return isNotAlreadyContainedIn(SubLoop->getParentLoop(), ParentLoop); in isNotAlreadyContainedIn()
HDRegionInfoImpl.h146 while (L && contains(L->getParentLoop())) { in outermostLoopInRegion()
147 L = L->getParentLoop(); in outermostLoopInRegion()
/NextBSD/contrib/llvm/lib/Transforms/Utils/
HDLoopUnroll.cpp335 Loop *NewLoopParent = NewLoops.lookup(OldLoop->getParentLoop()); in UnrollLoop()
531 Loop *OuterL = L->getParentLoop(); in UnrollLoop()
551 while (OuterL->getParentLoop() != LatchLoop) in UnrollLoop()
552 OuterL = OuterL->getParentLoop(); in UnrollLoop()
HDLoopUnrollRuntime.cpp154 Loop *ParentLoop = L->getParentLoop(); in CloneLoopBlocks()
333 if (Loop *ParentLoop = L->getParentLoop()) in UnrollRuntimeLoopProlog()
HDBreakCriticalEdges.cpp283 if (Loop *P = DestLoop->getParentLoop()) in SplitCriticalEdge()
HDLoopSimplify.cpp303 if (Loop *Parent = L->getParentLoop()) in separateNestedLoop()
HDCloneFunction.cpp746 Loop *ParentLoop = OrigLoop->getParentLoop(); in cloneLoopWithPreheader()
HDBasicBlockUtils.cpp373 PredLoop = PredLoop->getParentLoop(); in UpdateAnalysisInformation()
/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDLICM.cpp276 assert((!L->getParentLoop() || L->getParentLoop()->isLCSSAForm(*DT)) && in runOnLoop()
285 if (L->getParentLoop()) in runOnLoop()
HDIndVarSimplify.cpp599 (!L->getParentLoop() || L->getParentLoop() == LI->getLoopFor(ExitBB)); in RewriteLoopExitValues()
638 const SCEV *ExitValue = SE->getSCEVAtScope(Inst, L->getParentLoop()); in RewriteLoopExitValues()
957 L = L->getParentLoop()) in getExtend()
HDLoopUnswitch.cpp912 Loop *NewLoop = CloneLoop(L, L->getParentLoop(), VMap, LI, LPM); in UnswitchNontrivialCondition()
918 Loop *ParentLoop = L->getParentLoop(); in UnswitchNontrivialCondition()
HDLoopInterchange.cpp1004 Loop *OuterLoopParent = OuterLoop->getParentLoop(); in restructureLoops()
/NextBSD/contrib/llvm/lib/Transforms/IPO/
HDLoopExtractor.cpp87 if (L->getParentLoop()) in runOnLoop()
/NextBSD/contrib/llvm/lib/CodeGen/
HDMachineLICM.cpp329 for (MachineLoop *L = CurLoop->getParentLoop(); L; L = L->getParentLoop()) in INITIALIZE_PASS_DEPENDENCY()
HDMachineBasicBlock.cpp920 if (MachineLoop *P = DestLoop->getParentLoop()) in SplitCriticalEdge()
/NextBSD/contrib/llvm/lib/Target/PowerPC/
HDPPCCTRLoops.cpp183 if (!L->getParentLoop()) in runOnFunction()
/NextBSD/contrib/llvm/lib/Target/AMDGPU/
HDAMDILCFGStructurizer.cpp398 LoopRep = LoopRep->getParentLoop(); in isActiveLoophead()
1139 MachineLoop *ParentLoop = LoopRep->getParentLoop(); in mergeLoop()
/NextBSD/contrib/llvm/lib/Target/Hexagon/
HDHexagonHardwareLoops.cpp358 if (!L->getParentLoop()) { in runOnMachineFunction()
1955 MachineLoop *ParentLoop = L->getParentLoop(); in createPreheaderForLoop()
/NextBSD/contrib/llvm/lib/CodeGen/AsmPrinter/
HDAsmPrinter.cpp2314 PrintParentLoopComment(OS, Loop->getParentLoop(), FunctionNumber); in PrintParentLoopComment()
2361 PrintParentLoopComment(OS, Loop->getParentLoop(), AP.getFunctionNumber()); in emitBasicBlockLoopComments()

12