| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | FixIrreducible.cpp | 118 static void reconnectChildLoops(LoopInfo &LI, Loop *ParentLoop, Loop *NewLoop, in INITIALIZE_PASS_DEPENDENCY() 121 auto &CandidateLoops = ParentLoop ? ParentLoop->getSubLoopsVector() in INITIALIZE_PASS_DEPENDENCY() 168 Loop *ParentLoop, in createNaturalLoopInternal() argument 206 if (ParentLoop) { in createNaturalLoopInternal() 207 ParentLoop->addChildLoop(NewLoop); in createNaturalLoopInternal() 225 if (LI.getLoopFor(BB) == ParentLoop) { in createNaturalLoopInternal() 236 reconnectChildLoops(LI, ParentLoop, NewLoop, Blocks, Headers); in createNaturalLoopInternal() 239 if (ParentLoop) { in createNaturalLoopInternal() 240 ParentLoop->verifyLoop(); in createNaturalLoopInternal()
|
| H A D | UnifyLoopExits.cpp | 198 if (auto ParentLoop = L->getParentLoop()) { in unifyLoopExits() local 200 ParentLoop->addBasicBlockToLoop(G, LI); in unifyLoopExits() 202 ParentLoop->verifyLoop(); in unifyLoopExits()
|
| H A D | LoopPeel.cpp | 589 Loop *ParentLoop = L->getParentLoop(); in cloneLoopBlocks() local 600 if (ParentLoop && LI->getLoopFor(*BB) == L) in cloneLoopBlocks() 601 ParentLoop->addBasicBlockToLoop(NewBB, *LI); in cloneLoopBlocks() 629 cloneLoop(ChildLoop, ParentLoop, VMap, LI, nullptr); in cloneLoopBlocks() 904 if (Loop *ParentLoop = L->getParentLoop()) in peelLoop() local 905 L = ParentLoop; in peelLoop()
|
| H A D | CloneFunction.cpp | 913 Loop *ParentLoop = OrigLoop->getParentLoop(); in cloneLoopWithPreheader() local 918 if (ParentLoop) in cloneLoopWithPreheader() 919 ParentLoop->addChildLoop(NewLoop); in cloneLoopWithPreheader() 931 if (ParentLoop) in cloneLoopWithPreheader() 932 ParentLoop->addBasicBlockToLoop(NewPH, *LI); in cloneLoopWithPreheader()
|
| H A D | LoopUnrollRuntime.cpp | 326 Loop *ParentLoop = L->getParentLoop(); in CloneLoopBlocks() local 328 NewLoops[ParentLoop] = ParentLoop; in CloneLoopBlocks()
|
| H A D | LoopUtils.cpp | 675 if (Loop *ParentLoop = L->getParentLoop()) { in deleteDeadLoop() local 676 Loop::iterator I = find(*ParentLoop, L); in deleteDeadLoop() 677 assert(I != ParentLoop->end() && "Couldn't find loop"); in deleteDeadLoop() 678 ParentLoop->removeChildLoop(I); in deleteDeadLoop()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | LoopInfo.h | 74 LoopT *ParentLoop; variable 100 CurLoop = CurLoop->ParentLoop) in getLoopDepth() 119 while (L->ParentLoop) in getOutermostLoop() 120 L = L->ParentLoop; in getOutermostLoop() 126 while (L->ParentLoop) in getOutermostLoop() 127 L = L->ParentLoop; in getOutermostLoop() 134 ParentLoop = L; in setParentLoop() 426 Child->ParentLoop = nullptr; in removeChildLoop() 531 ParentLoop = nullptr; in ~LoopBase() 1041 assert(!NewLoop->ParentLoop && !OldLoop->ParentLoop && in changeTopLevelLoop() [all …]
|
| H A D | LoopInfoImpl.h | 274 assert(OldChild->ParentLoop == this && "This loop is already broken!"); in replaceChildLoopWith() 275 assert(!NewChild->ParentLoop && "NewChild already has a parent!"); in replaceChildLoopWith() 279 OldChild->ParentLoop = nullptr; in replaceChildLoopWith() 280 NewChild->ParentLoop = static_cast<LoopT *>(this); in replaceChildLoopWith() 361 if (ParentLoop) { in verifyLoop() 362 assert(is_contained(*ParentLoop, this) && in verifyLoop()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | LoopInfo.cpp | 918 Loop *ParentLoop = Unloop->getParentLoop(); in erase() local 919 for (Loop::iterator I = ParentLoop->begin();; ++I) { in erase() 920 assert(I != ParentLoop->end() && "Couldn't find loop"); in erase() 922 ParentLoop->removeChildLoop(I); in erase()
|
| H A D | LoopCacheAnalysis.cpp | 66 Loop *ParentLoop = LastLoop->getParentLoop(); in getInnerMostLoop() local 68 if (ParentLoop == nullptr) { in getInnerMostLoop()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | InstrProfiling.cpp | 479 Loop *ParentLoop = LI.getLoopFor(BB); in promoteCounterLoadStores() local 480 if (!ParentLoop) in promoteCounterLoadStores() 482 LoopPromotionCandidates[ParentLoop].emplace_back(CounterLoad, CounterStore); in promoteCounterLoadStores()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlan.cpp | 514 Loop *ParentLoop = State->LI->getLoopFor(VectorPH); in execute() local 518 if (ParentLoop) in execute() 519 ParentLoop->addChildLoop(State->CurrentVectorLoop); in execute()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | R600MachineCFGStructurizer.cpp | 1038 MachineLoop *ParentLoop = LoopRep->getParentLoop(); in mergeLoop() local 1039 if (ParentLoop) in mergeLoop() 1040 MLI->changeLoopFor(LoopHeader, ParentLoop); in mergeLoop()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonHardwareLoops.cpp | 1973 MachineLoop *ParentLoop = L->getParentLoop(); in createPreheaderForLoop() local 1974 if (ParentLoop) in createPreheaderForLoop() 1975 ParentLoop->addBasicBlockToLoop(NewPH, MLI->getBase()); in createPreheaderForLoop()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | InductiveRangeCheckElimination.cpp | 1370 Loop *ParentLoop = OriginalLoop.getParentLoop(); in addToParentLoopIfNeeded() local 1371 if (!ParentLoop) in addToParentLoopIfNeeded() 1375 ParentLoop->addBasicBlockToLoop(BB, LI); in addToParentLoopIfNeeded()
|