Searched refs:ParentLoop (Results 1 – 9 of 9) sorted by relevance
/external/llvm/include/llvm/Analysis/ |
D | LoopInfo.h | 68 LoopT *ParentLoop; variable 82 LoopBase() : ParentLoop(nullptr) {} in LoopBase() 93 for (const LoopT *CurLoop = ParentLoop; CurLoop; in getLoopDepth() 94 CurLoop = CurLoop->ParentLoop) in getLoopDepth() 99 LoopT *getParentLoop() const { return ParentLoop; } in getParentLoop() 102 void setParentLoop(LoopT *L) { ParentLoop = L; } in setParentLoop() 268 assert(!NewChild->ParentLoop && "NewChild already has a parent!"); in addChildLoop() 269 NewChild->ParentLoop = static_cast<LoopT *>(this); in addChildLoop() 279 assert(Child->ParentLoop == this && "Child is not a child of this loop!"); in removeChildLoop() 281 Child->ParentLoop = nullptr; in removeChildLoop() [all …]
|
D | LoopInfoImpl.h | 212 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()
|
D | LoopPass.h | 130 void insertLoop(Loop *L, Loop *ParentLoop);
|
/external/llvm/lib/Transforms/Utils/ |
D | LoopUnrollRuntime.cpp | 159 if (Loop *ParentLoop = L->getParentLoop()) in CloneLoopBlocks() local 160 ParentLoop->addBasicBlockToLoop(NewBB, LI->getBase()); in CloneLoopBlocks() 266 if (Loop *ParentLoop = L->getParentLoop()) in UnrollRuntimeLoopProlog() local 267 SE->forgetLoop(ParentLoop); in UnrollRuntimeLoopProlog() 341 if (Loop *ParentLoop = L->getParentLoop()) { in UnrollRuntimeLoopProlog() local 343 ParentLoop->addBasicBlockToLoop(NewBB, LI->getBase()); in UnrollRuntimeLoopProlog()
|
/external/llvm/lib/Analysis/ |
D | LoopPass.cpp | 100 void LPPassManager::insertLoop(Loop *L, Loop *ParentLoop) { in insertLoop() argument 105 if (ParentLoop) in insertLoop() 106 ParentLoop->addChildLoop(L); in insertLoop()
|
D | LoopInfo.cpp | 671 Loop *ParentLoop = Unloop->getParentLoop(); in updateUnloop() local 672 for (Loop::iterator I = ParentLoop->begin();; ++I) { in updateUnloop() 673 assert(I != ParentLoop->end() && "Couldn't find loop"); in updateUnloop() 675 ParentLoop->removeChildLoop(I); in updateUnloop()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 833 Loop *ParentLoop = L->getParentLoop(); in UnswitchNontrivialCondition() local 834 if (ParentLoop) { in UnswitchNontrivialCondition() 837 ParentLoop->addBasicBlockToLoop(NewBlocks[0], LI->getBase()); in UnswitchNontrivialCondition()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 2119 Loop *ParentLoop = OrigLoop->getParentLoop(); in createEmptyLoop() local 2123 if (ParentLoop) { in createEmptyLoop() 2124 ParentLoop->addChildLoop(Lp); in createEmptyLoop() 2125 ParentLoop->addBasicBlockToLoop(ScalarPH, LI->getBase()); in createEmptyLoop() 2126 ParentLoop->addBasicBlockToLoop(VectorPH, LI->getBase()); in createEmptyLoop() 2127 ParentLoop->addBasicBlockToLoop(MiddleBlock, LI->getBase()); in createEmptyLoop() 2185 if (ParentLoop) in createEmptyLoop() 2186 ParentLoop->addBasicBlockToLoop(CheckBlock, LI->getBase()); in createEmptyLoop() 2205 if (ParentLoop) in createEmptyLoop() 2206 ParentLoop->addBasicBlockToLoop(CheckBlock, LI->getBase()); in createEmptyLoop() [all …]
|
/external/llvm/lib/Target/R600/ |
D | AMDILCFGStructurizer.cpp | 1138 MachineLoop *ParentLoop = LoopRep->getParentLoop(); in mergeLoop() local 1139 if (ParentLoop) in mergeLoop() 1140 MLI->changeLoopFor(LoopHeader, ParentLoop); in mergeLoop()
|