Home
last modified time | relevance | path

Searched refs:Subloop (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DLoopInfoImpl.h432 LoopT *Subloop = LI->getLoopFor(PredBB); in discoverAndMapSubloop() local
433 if (!Subloop) { in discoverAndMapSubloop()
448 while (LoopT *Parent = Subloop->getParentLoop()) in discoverAndMapSubloop()
449 Subloop = Parent; in discoverAndMapSubloop()
452 if (Subloop == L) in discoverAndMapSubloop()
456 Subloop->setParentLoop(L); in discoverAndMapSubloop()
458 NumBlocks += Subloop->getBlocksVector().capacity(); in discoverAndMapSubloop()
459 PredBB = Subloop->getHeader(); in discoverAndMapSubloop()
465 if (LI->getLoopFor(Pred) != Subloop) in discoverAndMapSubloop()
502 LoopT *Subloop = LI->getLoopFor(Block); in insertIntoLoop() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopInfo.cpp767 Loop *Subloop = *std::prev(Unloop.end()); in updateSubloopParents() local
770 assert(SubloopParents.count(Subloop) && "DFS failed to visit subloop"); in updateSubloopParents()
771 if (Loop *Parent = SubloopParents[Subloop]) in updateSubloopParents()
772 Parent->addChildLoop(Subloop); in updateSubloopParents()
774 LI->addTopLevelLoop(Subloop); in updateSubloopParents()
789 Loop *Subloop = nullptr; in getNearestLoop() local
791 Subloop = NearLoop; in getNearestLoop()
793 while (Subloop->getParentLoop() != &Unloop) { in getNearestLoop()
794 Subloop = Subloop->getParentLoop(); in getNearestLoop()
795 assert(Subloop && "subloop is not an ancestor of the original loop"); in getNearestLoop()
[all …]