Home
last modified time | relevance | path

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

1234

/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DLoopInfo.cpp484 while (OuterParent->getParentLoop() != &Unloop) in removeBlocksFromAncestors()
485 OuterParent = OuterParent->getParentLoop(); in removeBlocksFromAncestors()
490 for (Loop *OldParent = Unloop.getParentLoop(); OldParent != OuterParent; in removeBlocksFromAncestors()
491 OldParent = OldParent->getParentLoop()) { in removeBlocksFromAncestors()
527 while (Subloop->getParentLoop() != &Unloop) { in getNearestLoop()
528 Subloop = Subloop->getParentLoop(); in getNearestLoop()
557 assert(L->getParentLoop() == &Unloop && "cannot skip into nested loops"); in getNearestLoop()
568 L = L->getParentLoop(); in getNearestLoop()
598 if (!Unloop->getParentLoop()) { in erase()
641 Loop *ParentLoop = Unloop->getParentLoop(); in erase()
DMustExecute.cpp219 L = L->getParentLoop(); in MustExecuteAnnotatedWriter()
232 L = L->getParentLoop(); in MustExecuteAnnotatedWriter()
DLoopPass.cpp77 if (!L.getParentLoop()) { in addLoop()
85 if (*I == L.getParentLoop()) { in addLoop()
DDelinearization.cpp85 for (Loop *L = LI->getLoopFor(BB); L != nullptr; L = L->getParentLoop()) { in print()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DLoopInfoImpl.h272 L = L->getParentLoop(); in addBasicBlockToLoop()
461 while (LoopT *Parent = Subloop->getParentLoop()) in discoverAndMapSubloop()
519 if (Subloop->getParentLoop()) in insertIntoLoop()
520 Subloop->getParentLoop()->getSubLoopsVector().push_back(Subloop); in insertIntoLoop()
530 Subloop = Subloop->getParentLoop(); in insertIntoLoop()
532 for (; Subloop; Subloop = Subloop->getParentLoop()) in insertIntoLoop()
672 ParentL = ParentL->getParentLoop(); in compareLoops()
673 OtherParentL = OtherParentL->getParentLoop(); in compareLoops()
705 assert(!(*I)->getParentLoop() && "Top-level loop has a parent!"); in verify()
DLoopInfo.h101 LoopT *getParentLoop() const { return ParentLoop; } in getParentLoop() function
116 return contains(L->getParentLoop()); in contains()
708 assert(!L->getParentLoop() && "Not a top-level loop!"); in removeLoop()
736 assert(!New->getParentLoop() && "Loop already in subloop!"); in addTopLevelLoop()
746 for (LoopT *L = I->second; L; L = L->getParentLoop()) in removeBlock()
761 return isNotAlreadyContainedIn(SubLoop->getParentLoop(), ParentLoop); in isNotAlreadyContainedIn()
DCFG.h135 for (const auto *Lp = LI.getLoopFor(Src); Lp; Lp = Lp->getParentLoop()) { in containsIrreducibleCFG()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSimpleLoopUnswitch.cpp250 Loop *OldParentL = L.getParentLoop(); in hoistLoopToNewParent()
289 OldContainingL = OldContainingL->getParentLoop()) { in hoistLoopToNewParent()
1128 assert((!ParentL || ParentL == OrigL.getParentLoop() || in buildClonedLoops()
1129 ParentL->contains(OrigL.getParentLoop())) && in buildClonedLoops()
1218 for (Loop *PL = ClonedL; PL; PL = PL->getParentLoop()) in buildClonedLoops()
1396 for (Loop *ParentL = &L; ParentL; ParentL = ParentL->getParentLoop()) { in deleteDeadBlocksFromLoop()
1584 if (!LoopBlockSet.empty() && L.getParentLoop() != ParentL) { in rebuildLoopAfterUnswitch()
1586 for (Loop *IL = L.getParentLoop(); IL != ParentL; in rebuildLoopAfterUnswitch()
1587 IL = IL->getParentLoop()) { in rebuildLoopAfterUnswitch()
1597 L.getParentLoop()->removeChildLoop(&L); in rebuildLoopAfterUnswitch()
[all …]
/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-7.0/llvm/include/llvm/Transforms/Scalar/
DLoopPassManager.h189 assert(NewL->getParentLoop() == CurrentL && "All of the new loops must "
210 assert(NewL->getParentLoop() == ParentL &&
333 Updater.ParentL = 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()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Scalar/
DLoopPassManagerTest.cpp1143 L.getParentLoop()->addChildLoop(NewLoop); in TEST_F()
1153 L.getParentLoop()->addBasicBlockToLoop(NewLoop01PHBB, AR.LI); in TEST_F()
1155 L.getParentLoop()->verifyLoop(); in TEST_F()
1186 L.getParentLoop()->addChildLoop(NewLoops[0]); in TEST_F()
1187 L.getParentLoop()->addChildLoop(NewLoops[1]); in TEST_F()
1220 L.getParentLoop()->addBasicBlockToLoop(NewLoop03PHBB, AR.LI); in TEST_F()
1222 L.getParentLoop()->addBasicBlockToLoop(NewLoop04PHBB, AR.LI); in TEST_F()
1227 L.getParentLoop()->verifyLoop(); in TEST_F()
1440 Loop *ParentL = L.getParentLoop(); in TEST_F()
1490 auto *ParentL = L.getParentLoop(); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopUnroll.cpp204 Loop *NewLoopParent = NewLoops.lookup(OldLoop->getParentLoop()); in addClonedBlockToLoopInfo()
829 Loop *OuterL = L->getParentLoop(); in UnrollLoop()
861 while (FixLCSSALoop->getParentLoop() != LatchLoop) in UnrollLoop()
862 FixLCSSALoop = FixLCSSALoop->getParentLoop(); in UnrollLoop()
DLoopUnrollPeel.cpp408 Loop *ParentLoop = L->getParentLoop(); in cloneLoopBlocks()
663 if (Loop *ParentLoop = L->getParentLoop()) { in peelLoop()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DLoopExtractor.cpp89 if (L->getParentLoop()) in runOnLoop()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUAnnotateUniformValues.cpp102 P = P->getParentLoop(); in isClobberedInFunction()

1234