Home
last modified time | relevance | path

Searched refs:ParentLoop (Results 1 – 12 of 12) sorted by relevance

/external/llvm/include/llvm/Analysis/
DLoopInfo.h67 LoopT *ParentLoop; variable
85 LoopBase() : ParentLoop(nullptr) {} in LoopBase()
96 for (const LoopT *CurLoop = ParentLoop; CurLoop; in getLoopDepth()
97 CurLoop = CurLoop->ParentLoop) in getLoopDepth()
102 LoopT *getParentLoop() const { return ParentLoop; } in getParentLoop()
105 void setParentLoop(LoopT *L) { ParentLoop = L; } in setParentLoop()
281 assert(!NewChild->ParentLoop && "NewChild already has a parent!"); in addChildLoop()
282 NewChild->ParentLoop = static_cast<LoopT *>(this); in addChildLoop()
292 assert(Child->ParentLoop == this && "Child is not a child of this loop!"); in removeChildLoop()
294 Child->ParentLoop = nullptr; in removeChildLoop()
[all …]
DLoopInfoImpl.h212 assert(OldChild->ParentLoop == this && "This loop is already broken!"); in replaceChildLoopWith()
213 assert(!NewChild->ParentLoop && "NewChild already has a parent!"); in replaceChildLoopWith()
218 OldChild->ParentLoop = nullptr; in replaceChildLoopWith()
219 NewChild->ParentLoop = static_cast<LoopT *>(this); in replaceChildLoopWith()
298 if (ParentLoop) { in verifyLoop()
299 assert(std::find(ParentLoop->begin(), ParentLoop->end(), this) != in verifyLoop()
300 ParentLoop->end() && in verifyLoop()
DLoopPass.h132 Loop &addLoop(Loop *ParentLoop);
/external/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp154 Loop *ParentLoop = L->getParentLoop(); in CloneLoopBlocks() local
157 if (ParentLoop) in CloneLoopBlocks()
158 ParentLoop->addChildLoop(NewLoop); in CloneLoopBlocks()
171 else if (ParentLoop) in CloneLoopBlocks()
172 ParentLoop->addBasicBlockToLoop(NewBB, *LI); in CloneLoopBlocks()
331 if (Loop *ParentLoop = L->getParentLoop()) in UnrollRuntimeLoopProlog() local
332 SE->forgetLoop(ParentLoop); in UnrollRuntimeLoopProlog()
DCloneFunction.cpp759 Loop *ParentLoop = OrigLoop->getParentLoop(); in cloneLoopWithPreheader() local
762 if (ParentLoop) in cloneLoopWithPreheader()
763 ParentLoop->addChildLoop(NewLoop); in cloneLoopWithPreheader()
775 if (ParentLoop) in cloneLoopWithPreheader()
776 ParentLoop->addBasicBlockToLoop(NewPH, *LI); in cloneLoopWithPreheader()
/external/llvm/lib/Analysis/
DLoopPass.cpp66 Loop &LPPassManager::addLoop(Loop *ParentLoop) { in addLoop() argument
71 if (!ParentLoop) { in addLoop()
78 ParentLoop->addChildLoop(L); in addLoop()
DLoopInfo.cpp687 Loop *ParentLoop = Unloop->getParentLoop(); in updateUnloop() local
688 for (Loop::iterator I = ParentLoop->begin();; ++I) { in updateUnloop()
689 assert(I != ParentLoop->end() && "Couldn't find loop"); in updateUnloop()
691 ParentLoop->removeChildLoop(I); in updateUnloop()
/external/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp1035 Loop *ParentLoop = L->getParentLoop(); in UnswitchNontrivialCondition() local
1036 if (ParentLoop) { in UnswitchNontrivialCondition()
1039 ParentLoop->addBasicBlockToLoop(NewBlocks[0], *LI); in UnswitchNontrivialCondition()
DInductiveRangeCheckElimination.cpp1169 Loop *ParentLoop = OriginalLoop.getParentLoop(); in addToParentLoopIfNeeded() local
1170 if (!ParentLoop) in addToParentLoopIfNeeded()
1174 ParentLoop->addBasicBlockToLoop(BB, OriginalLoopInfo); in addToParentLoopIfNeeded()
/external/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp1139 MachineLoop *ParentLoop = LoopRep->getParentLoop(); in mergeLoop() local
1140 if (ParentLoop) in mergeLoop()
1141 MLI->changeLoopFor(LoopHeader, ParentLoop); in mergeLoop()
/external/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp1953 MachineLoop *ParentLoop = L->getParentLoop(); in createPreheaderForLoop() local
1954 if (ParentLoop) in createPreheaderForLoop()
1955 ParentLoop->addBasicBlockToLoop(NewPH, MLI->getBase()); in createPreheaderForLoop()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2865 Loop *ParentLoop = OrigLoop->getParentLoop(); in createEmptyLoop() local
2869 if (ParentLoop) { in createEmptyLoop()
2870 ParentLoop->addChildLoop(Lp); in createEmptyLoop()
2871 ParentLoop->addBasicBlockToLoop(ScalarPH, *LI); in createEmptyLoop()
2872 ParentLoop->addBasicBlockToLoop(MiddleBlock, *LI); in createEmptyLoop()