Searched refs:ParentLoop (Results 1 - 16 of 16) sorted by relevance

/openbsd-current/gnu/llvm/llvm/lib/Transforms/Utils/
H A DFixIrreducible.cpp118 static void reconnectChildLoops(LoopInfo &LI, Loop *ParentLoop, Loop *NewLoop, argument
121 auto &CandidateLoops = ParentLoop ? ParentLoop->getSubLoopsVector()
168 Loop *ParentLoop,
206 if (ParentLoop) {
207 ParentLoop->addChildLoop(NewLoop);
225 if (LI.getLoopFor(BB) == ParentLoop) {
236 reconnectChildLoops(LI, ParentLoop, NewLoop, Blocks, Headers);
239 if (ParentLoop) {
240 ParentLoop
167 createNaturalLoopInternal(LoopInfo &LI, DominatorTree &DT, Loop *ParentLoop, SetVector<BasicBlock *> &Blocks, SetVector<BasicBlock *> &Headers) argument
[all...]
H A DUnifyLoopExits.cpp205 if (auto ParentLoop = L->getParentLoop()) {
207 ParentLoop->addBasicBlockToLoop(G, LI);
209 ParentLoop->verifyLoop();
H A DLoopPeel.cpp703 Loop *ParentLoop = L->getParentLoop();
712 // is a child of a ParentLoop after peeling. If a block is a child of
714 if (ParentLoop && LI->getLoopFor(*BB) == L)
715 ParentLoop->addBasicBlockToLoop(NewBB, *LI);
743 cloneLoop(ChildLoop, ParentLoop, VMap, LI, nullptr);
1023 if (Loop *ParentLoop = L->getParentLoop())
1024 L = ParentLoop;
H A DCloneFunction.cpp960 Loop *ParentLoop = OrigLoop->getParentLoop(); local
965 if (ParentLoop)
966 ParentLoop->addChildLoop(NewLoop);
978 if (ParentLoop)
979 ParentLoop->addBasicBlockToLoop(NewPH, *LI);
H A DLoopUnrollRuntime.cpp327 Loop *ParentLoop = L->getParentLoop(); local
329 NewLoops[ParentLoop] = ParentLoop;
H A DLoopUtils.cpp673 if (Loop *ParentLoop = L->getParentLoop()) {
674 Loop::iterator I = find(*ParentLoop, L);
675 assert(I != ParentLoop->end() && "Couldn't find loop");
676 ParentLoop->removeChildLoop(I);
/openbsd-current/gnu/llvm/llvm/include/llvm/Analysis/
H A DLoopInfo.h75 LoopT *ParentLoop; member in class:llvm::LoopBase
100 for (const LoopT *CurLoop = ParentLoop; CurLoop;
101 CurLoop = CurLoop->ParentLoop)
114 LoopT *getParentLoop() const { return ParentLoop; }
120 while (L->ParentLoop)
121 L = L->ParentLoop;
127 while (L->ParentLoop)
128 L = L->ParentLoop;
135 ParentLoop = L;
414 assert(!NewChild->ParentLoop
1069 isNotAlreadyContainedIn(const LoopT *SubLoop, const LoopT *ParentLoop) argument
[all...]
H A DLoopInfoImpl.h291 assert(OldChild->ParentLoop == this && "This loop is already broken!");
292 assert(!NewChild->ParentLoop && "NewChild already has a parent!");
296 OldChild->ParentLoop = nullptr;
297 NewChild->ParentLoop = static_cast<LoopT *>(this);
373 if (ParentLoop) {
374 assert(is_contained(*ParentLoop, this) &&
/openbsd-current/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLoopPassManager.cpp106 while (auto *ParentLoop = OuterMostLoop->getParentLoop())
107 OuterMostLoop = ParentLoop;
H A DInductiveRangeCheckElimination.cpp1374 Loop *ParentLoop = OriginalLoop.getParentLoop(); local
1375 if (!ParentLoop)
1379 ParentLoop->addBasicBlockToLoop(BB, LI);
/openbsd-current/gnu/llvm/llvm/lib/Analysis/
H A DLoopInfo.cpp922 Loop *ParentLoop = Unloop->getParentLoop();
923 for (Loop::iterator I = ParentLoop->begin();; ++I) {
924 assert(I != ParentLoop->end() && "Couldn't find loop");
926 ParentLoop->removeChildLoop(I);
H A DLoopCacheAnalysis.cpp66 Loop *ParentLoop = LastLoop->getParentLoop(); local
68 if (ParentLoop == nullptr) {
/openbsd-current/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp479 Loop *ParentLoop = LI.getLoopFor(BB); local
480 if (!ParentLoop)
482 LoopPromotionCandidates[ParentLoop].emplace_back(CounterLoad, CounterStore);
/openbsd-current/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DVPlan.cpp522 Loop *ParentLoop = State->LI->getLoopFor(VectorPH); local
526 if (ParentLoop)
527 ParentLoop->addChildLoop(State->CurrentVectorLoop);
/openbsd-current/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DR600MachineCFGStructurizer.cpp1038 MachineLoop *ParentLoop = LoopRep->getParentLoop(); local
1039 if (ParentLoop)
1040 MLI->changeLoopFor(LoopHeader, ParentLoop);
/openbsd-current/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonHardwareLoops.cpp1976 MachineLoop *ParentLoop = L->getParentLoop(); local
1977 if (ParentLoop)
1978 ParentLoop->addBasicBlockToLoop(NewPH, MLI->getBase());

Completed in 317 milliseconds