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

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

Completed in 307 milliseconds