Searched refs:Subloop (Results 1 – 3 of 3) sorted by relevance
360 LoopT *Subloop = LI->getLoopFor(PredBB); in discoverAndMapSubloop() local361 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 …]
506 Loop *Subloop = *llvm::prior(Unloop->end()); in updateSubloopParents() local509 assert(SubloopParents.count(Subloop) && "DFS failed to visit subloop"); in updateSubloopParents()510 if (SubloopParents[Subloop]) in updateSubloopParents()511 SubloopParents[Subloop]->addChildLoop(Subloop); in updateSubloopParents()513 LI->addTopLevelLoop(Subloop); in updateSubloopParents()528 Loop *Subloop = 0; in getNearestLoop() local530 Subloop = NearLoop; in getNearestLoop()532 while (Subloop->getParentLoop() != Unloop) { in getNearestLoop()533 Subloop = Subloop->getParentLoop(); in getNearestLoop()534 assert(Subloop && "subloop is not an ancestor of the original loop"); in getNearestLoop()[all …]
504 Loop *Subloop = *std::prev(Unloop.end()); in updateSubloopParents() local507 assert(SubloopParents.count(Subloop) && "DFS failed to visit subloop"); in updateSubloopParents()508 if (Loop *Parent = SubloopParents[Subloop]) in updateSubloopParents()509 Parent->addChildLoop(Subloop); in updateSubloopParents()511 LI->addTopLevelLoop(Subloop); in updateSubloopParents()526 Loop *Subloop = nullptr; in getNearestLoop() local528 Subloop = NearLoop; in getNearestLoop()530 while (Subloop->getParentLoop() != &Unloop) { in getNearestLoop()531 Subloop = Subloop->getParentLoop(); in getNearestLoop()532 assert(Subloop && "subloop is not an ancestor of the original loop"); in getNearestLoop()[all …]