Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Analysis/
DLoopInfoImpl.h360 LoopT *Subloop = LI->getLoopFor(PredBB); in discoverAndMapSubloop() local
361 if (!Subloop) { in discoverAndMapSubloop()
377 while (LoopT *Parent = Subloop->getParentLoop()) in discoverAndMapSubloop()
378 Subloop = Parent; in discoverAndMapSubloop()
381 if (Subloop == L) in discoverAndMapSubloop()
385 Subloop->setParentLoop(L); in discoverAndMapSubloop()
387 NumBlocks += Subloop->getBlocks().capacity(); in discoverAndMapSubloop()
388 PredBB = Subloop->getHeader(); in discoverAndMapSubloop()
396 if (LI->getLoopFor(*PI) != Subloop) in discoverAndMapSubloop()
434 LoopT *Subloop = LI->getLoopFor(Block); in insertIntoLoop() local
[all …]
/external/llvm/lib/Analysis/
DLoopInfo.cpp555 Loop *Subloop = *std::prev(Unloop->end()); in updateSubloopParents() local
558 assert(SubloopParents.count(Subloop) && "DFS failed to visit subloop"); in updateSubloopParents()
559 if (Loop *Parent = SubloopParents[Subloop]) in updateSubloopParents()
560 Parent->addChildLoop(Subloop); in updateSubloopParents()
562 LI->addTopLevelLoop(Subloop); in updateSubloopParents()
577 Loop *Subloop = nullptr; in getNearestLoop() local
579 Subloop = NearLoop; in getNearestLoop()
581 while (Subloop->getParentLoop() != Unloop) { in getNearestLoop()
582 Subloop = Subloop->getParentLoop(); in getNearestLoop()
583 assert(Subloop && "subloop is not an ancestor of the original loop"); in getNearestLoop()
[all …]