/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | LoopInfo.h | 69 LoopT *ParentLoop; variable 82 LoopBase() : ParentLoop(0) {} 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() 354 assert(OldChild->ParentLoop == this && "This loop is already broken!"); in replaceChildLoopWith() 355 assert(NewChild->ParentLoop == 0 && "NewChild already has a parent!"); in replaceChildLoopWith() 360 OldChild->ParentLoop = 0; in replaceChildLoopWith() 361 NewChild->ParentLoop = static_cast<LoopT *>(this); in replaceChildLoopWith() 368 assert(NewChild->ParentLoop == 0 && "NewChild already has a parent!"); in addChildLoop() [all …]
|
D | LoopPass.h | 123 void insertLoop(Loop *L, Loop *ParentLoop);
|
/external/llvm/include/llvm/Analysis/ |
D | LoopInfo.h | 69 LoopT *ParentLoop; variable 86 LoopBase() : ParentLoop(nullptr) {} in LoopBase() 97 for (const LoopT *CurLoop = ParentLoop; CurLoop; in getLoopDepth() 98 CurLoop = CurLoop->ParentLoop) in getLoopDepth() 103 LoopT *getParentLoop() const { return ParentLoop; } in getParentLoop() 106 void setParentLoop(LoopT *L) { ParentLoop = L; } in setParentLoop() 267 assert(!NewChild->ParentLoop && "NewChild already has a parent!"); in addChildLoop() 268 NewChild->ParentLoop = static_cast<LoopT *>(this); in addChildLoop() 277 assert(Child->ParentLoop == this && "Child is not a child of this loop!"); in removeChildLoop() 279 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 | 133 Loop &addLoop(Loop *ParentLoop);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | LoopInfo.h | 70 LoopT *ParentLoop; variable 95 for (const LoopT *CurLoop = ParentLoop; CurLoop; in getLoopDepth() 96 CurLoop = CurLoop->ParentLoop) in getLoopDepth() 101 LoopT *getParentLoop() const { return ParentLoop; } in getParentLoop() 106 ParentLoop = L; in setParentLoop() 333 assert(!NewChild->ParentLoop && "NewChild already has a parent!"); in addChildLoop() 334 NewChild->ParentLoop = static_cast<LoopT *>(this); in addChildLoop() 344 assert(Child->ParentLoop == this && "Child is not a child of this loop!"); in removeChildLoop() 346 Child->ParentLoop = nullptr; in removeChildLoop() 418 LoopBase() : ParentLoop(nullptr) {} in LoopBase() [all …]
|
D | LoopInfoImpl.h | 284 assert(OldChild->ParentLoop == this && "This loop is already broken!"); in replaceChildLoopWith() 285 assert(!NewChild->ParentLoop && "NewChild already has a parent!"); in replaceChildLoopWith() 289 OldChild->ParentLoop = nullptr; in replaceChildLoopWith() 290 NewChild->ParentLoop = static_cast<LoopT *>(this); in replaceChildLoopWith() 372 if (ParentLoop) { in verifyLoop() 373 assert(is_contained(*ParentLoop, this) && in verifyLoop()
|
/external/llvm/lib/Transforms/Utils/ |
D | LoopUnrollRuntime.cpp | 283 Loop *ParentLoop = L->getParentLoop(); in CloneLoopBlocks() local 286 if (ParentLoop) in CloneLoopBlocks() 287 ParentLoop->addChildLoop(NewLoop); in CloneLoopBlocks() 300 else if (ParentLoop) in CloneLoopBlocks() 301 ParentLoop->addBasicBlockToLoop(NewBB, *LI); in CloneLoopBlocks() 484 if (Loop *ParentLoop = L->getParentLoop()) in UnrollRuntimeLoopRemainder() local 485 SE->forgetLoop(ParentLoop); in UnrollRuntimeLoopRemainder()
|
D | CloneFunction.cpp | 663 Loop *ParentLoop = OrigLoop->getParentLoop(); in cloneLoopWithPreheader() local 666 if (ParentLoop) in cloneLoopWithPreheader() 667 ParentLoop->addChildLoop(NewLoop); in cloneLoopWithPreheader() 679 if (ParentLoop) in cloneLoopWithPreheader() 680 ParentLoop->addBasicBlockToLoop(NewPH, *LI); in cloneLoopWithPreheader()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | LoopUnrollPeel.cpp | 408 Loop *ParentLoop = L->getParentLoop(); in cloneLoopBlocks() local 416 if (ParentLoop) in cloneLoopBlocks() 417 ParentLoop->addBasicBlockToLoop(NewBB, *LI); in cloneLoopBlocks() 663 if (Loop *ParentLoop = L->getParentLoop()) { in peelLoop() local 664 SE->forgetLoop(ParentLoop); in peelLoop() 667 simplifyLoop(ParentLoop, DT, LI, SE, AC, PreserveLCSSA); in peelLoop()
|
D | LoopUnrollRuntime.cpp | 295 Loop *ParentLoop = L->getParentLoop(); in CloneLoopBlocks() local 297 NewLoops[ParentLoop] = ParentLoop; in CloneLoopBlocks() 299 NewLoops[L] = ParentLoop; in CloneLoopBlocks() 310 if (CreateRemainderLoop || LI->getLoopFor(*BB) != L || ParentLoop) in CloneLoopBlocks()
|
D | CloneFunction.cpp | 745 Loop *ParentLoop = OrigLoop->getParentLoop(); in cloneLoopWithPreheader() local 748 if (ParentLoop) in cloneLoopWithPreheader() 749 ParentLoop->addChildLoop(NewLoop); in cloneLoopWithPreheader() 761 if (ParentLoop) in cloneLoopWithPreheader() 762 ParentLoop->addBasicBlockToLoop(NewPH, *LI); in cloneLoopWithPreheader()
|
/external/llvm/lib/Analysis/ |
D | LoopPass.cpp | 74 Loop &LPPassManager::addLoop(Loop *ParentLoop) { in addLoop() argument 79 if (!ParentLoop) { in addLoop() 86 ParentLoop->addChildLoop(L); in addLoop()
|
D | LoopInfo.cpp | 638 Loop *ParentLoop = Unloop->getParentLoop(); in markAsRemoved() local 639 for (Loop::iterator I = ParentLoop->begin();; ++I) { in markAsRemoved() 640 assert(I != ParentLoop->end() && "Couldn't find loop"); in markAsRemoved() 642 ParentLoop->removeChildLoop(I); in markAsRemoved()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | LoopPass.cpp | 110 void LPPassManager::insertLoop(Loop *L, Loop *ParentLoop) { in insertLoop() argument 115 if (ParentLoop) in insertLoop() 116 ParentLoop->addChildLoop(L); in insertLoop()
|
D | LoopInfo.cpp | 649 Loop *ParentLoop = Unloop->getParentLoop(); in updateUnloop() local 650 for (Loop::iterator I = ParentLoop->begin();; ++I) { in updateUnloop() 651 assert(I != ParentLoop->end() && "Couldn't find loop"); in updateUnloop() 653 ParentLoop->removeChildLoop(I); in updateUnloop()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | LoopInfo.cpp | 641 Loop *ParentLoop = Unloop->getParentLoop(); in erase() local 642 for (Loop::iterator I = ParentLoop->begin();; ++I) { in erase() 643 assert(I != ParentLoop->end() && "Couldn't find loop"); in erase() 645 ParentLoop->removeChildLoop(I); in erase()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 636 Loop *ParentLoop = L->getParentLoop(); in UnswitchNontrivialCondition() local 637 if (ParentLoop) { in UnswitchNontrivialCondition() 640 ParentLoop->addBasicBlockToLoop(NewBlocks[0], LI->getBase()); in UnswitchNontrivialCondition()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | InstrProfiling.cpp | 417 Loop *ParentLoop = LI.getLoopFor(BB); in promoteCounterLoadStores() local 418 if (!ParentLoop) in promoteCounterLoadStores() 420 LoopPromotionCandidates[ParentLoop].emplace_back(CounterLoad, CounterStore); in promoteCounterLoadStores()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 1092 Loop *ParentLoop = L->getParentLoop(); in UnswitchNontrivialCondition() local 1093 if (ParentLoop) { in UnswitchNontrivialCondition() 1096 ParentLoop->addBasicBlockToLoop(NewBlocks[0], *LI); in UnswitchNontrivialCondition()
|
D | InductiveRangeCheckElimination.cpp | 1140 Loop *ParentLoop = OriginalLoop.getParentLoop(); in addToParentLoopIfNeeded() local 1141 if (!ParentLoop) in addToParentLoopIfNeeded() 1145 ParentLoop->addBasicBlockToLoop(BB, OriginalLoopInfo); in addToParentLoopIfNeeded()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 1265 Loop *ParentLoop = L->getParentLoop(); in UnswitchNontrivialCondition() local 1266 if (ParentLoop) { in UnswitchNontrivialCondition() 1269 ParentLoop->addBasicBlockToLoop(NewBlocks[0], *LI); in UnswitchNontrivialCondition()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDILCFGStructurizer.cpp | 1071 MachineLoop *ParentLoop = LoopRep->getParentLoop(); in mergeLoop() local 1072 if (ParentLoop) in mergeLoop() 1073 MLI->changeLoopFor(LoopHeader, ParentLoop); in mergeLoop()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDILCFGStructurizer.cpp | 1099 MachineLoop *ParentLoop = LoopRep->getParentLoop(); in mergeLoop() local 1100 if (ParentLoop) in mergeLoop() 1101 MLI->changeLoopFor(LoopHeader, ParentLoop); in mergeLoop()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonHardwareLoops.cpp | 1955 MachineLoop *ParentLoop = L->getParentLoop(); in createPreheaderForLoop() local 1956 if (ParentLoop) in createPreheaderForLoop() 1957 ParentLoop->addBasicBlockToLoop(NewPH, MLI->getBase()); in createPreheaderForLoop()
|