Home
last modified time | relevance | path

Searched refs:Subloop (Results 1 – 5 of 5) 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/swiftshader/third_party/LLVM/lib/Analysis/
DLoopInfo.cpp506 Loop *Subloop = *llvm::prior(Unloop->end()); in updateSubloopParents() local
509 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() local
530 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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DLoopInfoImpl.h445 LoopT *Subloop = LI->getLoopFor(PredBB); in discoverAndMapSubloop() local
446 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 …]
/external/llvm/lib/Analysis/
DLoopInfo.cpp504 Loop *Subloop = *std::prev(Unloop.end()); in updateSubloopParents() local
507 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() local
528 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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DLoopInfo.cpp501 Loop *Subloop = *std::prev(Unloop.end()); in updateSubloopParents() local
504 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() local
525 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 …]