Home
last modified time | relevance | path

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

123

/external/llvm/lib/Analysis/
DLoopInfo.cpp487 while (OuterParent->getParentLoop() != &Unloop) in removeBlocksFromAncestors()
488 OuterParent = OuterParent->getParentLoop(); in removeBlocksFromAncestors()
493 for (Loop *OldParent = Unloop.getParentLoop(); OldParent != OuterParent; in removeBlocksFromAncestors()
494 OldParent = OldParent->getParentLoop()) { in removeBlocksFromAncestors()
530 while (Subloop->getParentLoop() != &Unloop) { in getNearestLoop()
531 Subloop = Subloop->getParentLoop(); in getNearestLoop()
561 assert(L->getParentLoop() == &Unloop && "cannot skip into nested loops"); in getNearestLoop()
572 L = L->getParentLoop(); in getNearestLoop()
595 if (!Unloop->getParentLoop()) { in markAsRemoved()
638 Loop *ParentLoop = Unloop->getParentLoop(); in markAsRemoved()
DDelinearization.cpp95 for (Loop *L = LI->getLoopFor(BB); L != nullptr; L = L->getParentLoop()) { in print()
DCFG.cpp116 while (const Loop *Parent = L->getParentLoop()) in getOutermostLoop()
DLoopPass.cpp89 if (*I == L->getParentLoop()) { in addLoop()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DLoopInfo.cpp494 for (Loop *OldParent = Unloop->getParentLoop(); OldParent != NewParent; in removeBlocksFromAncestors()
495 OldParent = OldParent->getParentLoop()) { in removeBlocksFromAncestors()
532 while (Subloop->getParentLoop() != Unloop) { in getNearestLoop()
533 Subloop = Subloop->getParentLoop(); in getNearestLoop()
564 assert(L->getParentLoop() == Unloop && "cannot skip into nested loops"); in getNearestLoop()
575 L = L->getParentLoop(); in getNearestLoop()
607 if (!Unloop->getParentLoop()) { in updateUnloop()
649 Loop *ParentLoop = Unloop->getParentLoop(); in updateUnloop()
670 assert(!(*I)->getParentLoop() && "Top-level loop has a parent!"); in verifyAnalysis()
DLoopPass.cpp127 else if (!L->getParentLoop()) in insertLoopIntoQueue()
134 if (*I == L->getParentLoop()) { in insertLoopIntoQueue()
DLoopDependenceAnalysis.cpp142 for (const Loop *L = this->L; L != 0; L = L->getParentLoop()) in getLoops()
DRegionInfo.cpp123 while (L && contains(L->getParentLoop())) { in outermostLoopInRegion()
124 L = L->getParentLoop(); in outermostLoopInRegion()
/external/llvm/include/llvm/Analysis/
DLoopInfoImpl.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()
DLoopInfo.h103 LoopT *getParentLoop() const { return ParentLoop; } in getParentLoop() function
112 return contains(L->getParentLoop()); in contains()
562 assert(!L->getParentLoop() && "Not a top-level loop!"); in removeLoop()
591 assert(!New->getParentLoop() && "Loop already in subloop!"); in addTopLevelLoop()
601 for (LoopT *L = I->second; L; L = L->getParentLoop()) in removeBlock()
614 return isNotAlreadyContainedIn(SubLoop->getParentLoop(), ParentLoop); in isNotAlreadyContainedIn()
DRegionInfoImpl.h145 while (L && contains(L->getParentLoop())) { in outermostLoopInRegion()
146 L = L->getParentLoop(); in outermostLoopInRegion()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DLoopInfo.h99 LoopT *getParentLoop() const { return ParentLoop; } in getParentLoop() function
107 return contains(L->getParentLoop()); in contains()
705 assert(L->getParentLoop() == 0 && "Not a top-level loop!"); in removeLoop()
738 assert(New->getParentLoop() == 0 && "Loop already in subloop!"); in addTopLevelLoop()
748 for (LoopT *L = I->second; L; L = L->getParentLoop()) in removeBlock()
761 return isNotAlreadyContainedIn(SubLoop->getParentLoop(), ParentLoop); in isNotAlreadyContainedIn()
861 assert(Child->getParentLoop() == L && "Not proper child loop?"); in ConsiderForLoop()
900 LoopT *OldParent = NewChild->getParentLoop(); in MoveSiblingLoopInto()
901 assert(OldParent && OldParent == NewParent->getParentLoop() && in MoveSiblingLoopInto()
1114 L = L->getParentLoop();
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DShrinkWrapping.cpp107 MachineLoop* PLP = LP->getParentLoop(); in getTopLevelLoopPreheader()
110 PLP = PLP->getParentLoop(); in getTopLevelLoopPreheader()
118 MachineLoop* PLP = LP->getParentLoop(); in getTopLevelLoopParent()
121 PLP = PLP->getParentLoop(); in getTopLevelLoopParent()
457 for (MachineLoop* PLP = LP->getParentLoop(); PLP; in calculateSets()
458 PLP = PLP->getParentLoop()) { in calculateSets()
DSplitter.cpp479 if (MachineLoop *parentLoop = loop.getParentLoop()) { in insertPreHeader()
487 parentLoop = parentLoop->getParentLoop(); in insertPreHeader()
591 MachineLoop *splitParentLoop = loop.getParentLoop(); in splitEdge()
594 splitParentLoop = splitParentLoop->getParentLoop(); in splitEdge()
605 splitParentLoop = splitParentLoop->getParentLoop(); in splitEdge()
DCodePlacementOpt.cpp369 if (!(*I)->getParentLoop()) in OptimizeIntraLoopEdges()
/external/llvm/lib/Transforms/Utils/
DLoopUnroll.cpp410 Loop *NewLoopParent = NewLoops.lookup(OldLoop->getParentLoop()); in UnrollLoop()
642 Loop *OuterL = L->getParentLoop(); in UnrollLoop()
673 while (OuterL->getParentLoop() != LatchLoop) in UnrollLoop()
674 OuterL = OuterL->getParentLoop(); in UnrollLoop()
DLoopUnrollRuntime.cpp283 Loop *ParentLoop = L->getParentLoop(); in CloneLoopBlocks()
484 if (Loop *ParentLoop = L->getParentLoop()) in UnrollRuntimeLoopRemainder()
DBreakCriticalEdges.cpp264 if (Loop *P = DestLoop->getParentLoop()) in SplitCriticalEdge()
/external/llvm/lib/Transforms/IPO/
DLoopExtractor.cpp88 if (L->getParentLoop()) in runOnLoop()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DLoopExtractor.cpp83 if (L->getParentLoop()) in runOnLoop()
/external/llvm/lib/Transforms/Scalar/
DLICM.cpp275 assert((!L->getParentLoop() || L->getParentLoop()->isLCSSAForm(*DT)) && in runOnLoop()
280 if (L->getParentLoop() && !DeleteAST) in runOnLoop()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DBreakCriticalEdges.cpp325 if (Loop *P = DestLoop->getParentLoop()) in SplitCriticalEdge()
/external/llvm/lib/CodeGen/
DShrinkWrap.cpp395 Loop = Loop->getParentLoop()) { in isProperBackedge()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DIndVarSimplify.cpp551 const SCEV *ExitValue = SE->getSCEVAtScope(Inst, L->getParentLoop()); in RewriteLoopExitValues()
661 const SCEV *ExitVal = SE->getSCEVAtScope(AR, L->getParentLoop()); in RewriteIVExpressions()
870 L = L->getParentLoop()) in getExtend()
DLoopUnswitch.cpp635 Loop *NewLoop = CloneLoop(L, L->getParentLoop(), VMap, LI, LPM); in UnswitchNontrivialCondition()
636 Loop *ParentLoop = L->getParentLoop(); in UnswitchNontrivialCondition()

123