| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | FixIrreducible.cpp | 132 static void reconnectChildLoops(LoopInfo &LI, Loop *ParentLoop, Loop *NewLoop, in INITIALIZE_PASS_DEPENDENCY() 134 auto &CandidateLoops = ParentLoop ? ParentLoop->getSubLoopsVector() in INITIALIZE_PASS_DEPENDENCY() 180 Loop *ParentLoop = LI.getLoopFor(CycleHeader); in updateLoopInfo() local 181 if (ParentLoop && ParentLoop->getHeader() == CycleHeader) in updateLoopInfo() 182 ParentLoop = ParentLoop->getParentLoop(); in updateLoopInfo() 186 if (ParentLoop) { in updateLoopInfo() 187 ParentLoop->addChildLoop(NewLoop); in updateLoopInfo() 204 if (LI.getLoopFor(BB) == ParentLoop) { in updateLoopInfo() 215 reconnectChildLoops(LI, ParentLoop, NewLoop, C.getHeader()); in updateLoopInfo() 219 if (ParentLoop) { in updateLoopInfo() [all …]
|
| H A D | UnifyLoopExits.cpp | 190 if (auto ParentLoop = L->getParentLoop()) { in unifyLoopExits() local 192 ParentLoop->addBasicBlockToLoop(G, LI); in unifyLoopExits() 194 ParentLoop->verifyLoop(); in unifyLoopExits()
|
| H A D | LoopPeel.cpp | 849 Loop *ParentLoop = L->getParentLoop(); in cloneLoopBlocks() local 860 if (ParentLoop && LI->getLoopFor(*BB) == L) in cloneLoopBlocks() 861 ParentLoop->addBasicBlockToLoop(NewBB, *LI); in cloneLoopBlocks() 889 cloneLoop(ChildLoop, ParentLoop, VMap, LI, nullptr); in cloneLoopBlocks() 1298 if (Loop *ParentLoop = L->getParentLoop()) in peelLoop() local 1299 L = ParentLoop; in peelLoop()
|
| H A D | CloneFunction.cpp | 1041 Loop *ParentLoop = OrigLoop->getParentLoop(); in cloneLoopWithPreheader() local 1046 if (ParentLoop) in cloneLoopWithPreheader() 1047 ParentLoop->addChildLoop(NewLoop); in cloneLoopWithPreheader() 1059 if (ParentLoop) in cloneLoopWithPreheader() 1060 ParentLoop->addBasicBlockToLoop(NewPH, *LI); in cloneLoopWithPreheader()
|
| H A D | LoopUnrollRuntime.cpp | 351 Loop *ParentLoop = L->getParentLoop(); in CloneLoopBlocks() local 353 NewLoops[ParentLoop] = ParentLoop; in CloneLoopBlocks()
|
| H A D | LoopConstrainer.cpp | 696 Loop *ParentLoop = OriginalLoop.getParentLoop(); in addToParentLoopIfNeeded() local 697 if (!ParentLoop) in addToParentLoopIfNeeded() 701 ParentLoop->addBasicBlockToLoop(BB, LI); in addToParentLoopIfNeeded()
|
| H A D | LoopUtils.cpp | 698 if (Loop *ParentLoop = L->getParentLoop()) { in deleteDeadLoop() local 699 Loop::iterator I = find(*ParentLoop, L); in deleteDeadLoop() 700 assert(I != ParentLoop->end() && "Couldn't find loop"); in deleteDeadLoop() 701 ParentLoop->removeChildLoop(I); in deleteDeadLoop()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | GenericLoopInfo.h | 60 LoopT *ParentLoop; variable 85 for (const LoopT *CurLoop = ParentLoop; CurLoop; in getLoopDepth() 86 CurLoop = CurLoop->ParentLoop) in getLoopDepth() 99 LoopT *getParentLoop() const { return ParentLoop; } in getParentLoop() 105 while (L->ParentLoop) in getOutermostLoop() 106 L = L->ParentLoop; in getOutermostLoop() 112 while (L->ParentLoop) in getOutermostLoop() 113 L = L->ParentLoop; in getOutermostLoop() 120 ParentLoop = L; in setParentLoop() 393 assert(!NewChild->ParentLoop && "NewChild already has a parent!"); in addChildLoop() [all …]
|
| H A D | GenericLoopInfoImpl.h | 315 assert(OldChild->ParentLoop == this && "This loop is already broken!"); in replaceChildLoopWith() 316 assert(!NewChild->ParentLoop && "NewChild already has a parent!"); in replaceChildLoopWith() 320 OldChild->ParentLoop = nullptr; in replaceChildLoopWith() 321 NewChild->ParentLoop = static_cast<LoopT *>(this); in replaceChildLoopWith() 393 if (ParentLoop) { in verifyLoop() 394 assert(is_contained(ParentLoop->getSubLoops(), this) && in verifyLoop()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopPassManager.cpp | 105 while (auto *ParentLoop = OuterMostLoop->getParentLoop()) in runWithLoopNestPasses() local 106 OuterMostLoop = ParentLoop; in runWithLoopNestPasses()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | LoopInfo.cpp | 933 Loop *ParentLoop = Unloop->getParentLoop(); in erase() local 934 for (Loop::iterator I = ParentLoop->begin();; ++I) { in erase() 935 assert(I != ParentLoop->end() && "Couldn't find loop"); in erase() 937 ParentLoop->removeChildLoop(I); in erase()
|
| H A D | LoopCacheAnalysis.cpp | 66 Loop *ParentLoop = LastLoop->getParentLoop(); in getInnerMostLoop() local 68 if (ParentLoop == nullptr) { in getInnerMostLoop()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopIdiomVectorize.cpp | 1231 if (auto ParentLoop = CurLoop->getParentLoop()) { in expandFindFirstByte() local 1232 ParentLoop->addBasicBlockToLoop(BB0, *LI); in expandFindFirstByte() 1233 ParentLoop->addChildLoop(OuterLoop); in expandFindFirstByte() 1234 ParentLoop->addBasicBlockToLoop(BB3, *LI); in expandFindFirstByte()
|
| H A D | VPlan.cpp | 445 Loop *ParentLoop = State.CurrentParentLoop; in connectToPredecessors() local 452 ParentLoop = State.LI->getLoopFor( in connectToPredecessors() 456 if (ParentLoop && !State.LI->getLoopFor(NewBB)) in connectToPredecessors() 457 ParentLoop->addBasicBlockToLoop(NewBB, *State.LI); in connectToPredecessors()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | R600MachineCFGStructurizer.cpp | 1027 MachineLoop *ParentLoop = LoopRep->getParentLoop(); in mergeLoop() local 1028 if (ParentLoop) in mergeLoop() 1029 MLI->changeLoopFor(LoopHeader, ParentLoop); in mergeLoop()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonHardwareLoops.cpp | 2009 MachineLoop *ParentLoop = L->getParentLoop(); in createPreheaderForLoop() local 2010 if (ParentLoop) in createPreheaderForLoop() 2011 ParentLoop->addBasicBlockToLoop(NewPH, *MLI); in createPreheaderForLoop()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | InstrProfiling.cpp | 896 Loop *ParentLoop = LI.getLoopFor(BB); in promoteCounterLoadStores() local 897 if (!ParentLoop) in promoteCounterLoadStores() 899 LoopPromotionCandidates[ParentLoop].emplace_back(CounterLoad, CounterStore); in promoteCounterLoadStores()
|