Searched refs:Subloop (Results 1 – 5 of 5) 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 …]
445 LoopT *Subloop = LI->getLoopFor(PredBB); in discoverAndMapSubloop() local446 if (!Subloop) { in discoverAndMapSubloop()461 while (LoopT *Parent = Subloop->getParentLoop()) in discoverAndMapSubloop()462 Subloop = Parent; in discoverAndMapSubloop()465 if (Subloop == L) in discoverAndMapSubloop()469 Subloop->setParentLoop(L); in discoverAndMapSubloop()471 NumBlocks += Subloop->getBlocksVector().capacity(); in discoverAndMapSubloop()472 PredBB = Subloop->getHeader(); in discoverAndMapSubloop()478 if (LI->getLoopFor(Pred) != Subloop) in discoverAndMapSubloop()515 LoopT *Subloop = LI->getLoopFor(Block); in insertIntoLoop() local[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 …]
501 Loop *Subloop = *std::prev(Unloop.end()); in updateSubloopParents() local504 assert(SubloopParents.count(Subloop) && "DFS failed to visit subloop"); in updateSubloopParents()505 if (Loop *Parent = SubloopParents[Subloop]) in updateSubloopParents()506 Parent->addChildLoop(Subloop); in updateSubloopParents()508 LI->addTopLevelLoop(Subloop); in updateSubloopParents()523 Loop *Subloop = nullptr; in getNearestLoop() local525 Subloop = NearLoop; in getNearestLoop()527 while (Subloop->getParentLoop() != &Unloop) { in getNearestLoop()528 Subloop = Subloop->getParentLoop(); in getNearestLoop()529 assert(Subloop && "subloop is not an ancestor of the original loop"); in getNearestLoop()[all …]