/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | SyncDependenceAnalysis.cpp | 181 void visitSuccessor(const BasicBlock &SuccBlock, const Loop *ParentLoop, in visitSuccessor() 185 if (ParentLoop && !ParentLoop->contains(&SuccBlock)) { in visitSuccessor() 221 SuccessorIterable NodeSuccessors, const Loop *ParentLoop) { in computeJoinPoints() 224 …LLVM_DEBUG(dbgs() << "SDA:computeJoinPoints. Parent loop: " << (ParentLoop ? ParentLoop->getName()… in computeJoinPoints() 230 if (ParentLoop && !ParentLoop->contains(SuccBlock)) { in computeJoinPoints() 273 if (ParentLoop && in computeJoinPoints() 274 (ParentLoop != BlockLoop && ParentLoop->contains(BlockLoop))) { in computeJoinPoints() 280 visitSuccessor(*BlockLoopExit, ParentLoop, *DefBlock); in computeJoinPoints() 286 visitSuccessor(*SuccBlock, ParentLoop, *DefBlock); in computeJoinPoints() 310 ParentLoop ? ParentLoop->getHeader() : nullptr; in computeJoinPoints() [all …]
|
D | LoopInfo.cpp | 907 Loop *ParentLoop = Unloop->getParentLoop(); in erase() local 908 for (Loop::iterator I = ParentLoop->begin();; ++I) { in erase() 909 assert(I != ParentLoop->end() && "Couldn't find loop"); in erase() 911 ParentLoop->removeChildLoop(I); in erase()
|
D | LoopCacheAnalysis.cpp | 60 Loop *ParentLoop = LastLoop->getParentLoop(); in getInnerMostLoop() local 62 if (ParentLoop == nullptr) { in getInnerMostLoop()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | FixIrreducible.cpp | 117 static void reconnectChildLoops(LoopInfo &LI, Loop *ParentLoop, Loop *NewLoop, in INITIALIZE_PASS_DEPENDENCY() 120 auto &CandidateLoops = ParentLoop ? ParentLoop->getSubLoopsVector() in INITIALIZE_PASS_DEPENDENCY() 160 Loop *ParentLoop, in createNaturalLoopInternal() argument 198 if (ParentLoop) { in createNaturalLoopInternal() 199 ParentLoop->addChildLoop(NewLoop); in createNaturalLoopInternal() 217 if (LI.getLoopFor(BB) == ParentLoop) { in createNaturalLoopInternal() 228 reconnectChildLoops(LI, ParentLoop, NewLoop, Blocks, Headers); in createNaturalLoopInternal() 231 if (ParentLoop) { in createNaturalLoopInternal() 232 ParentLoop->verifyLoop(); in createNaturalLoopInternal()
|
D | UnifyLoopExits.cpp | 196 if (auto ParentLoop = L->getParentLoop()) { in unifyLoopExits() local 198 ParentLoop->addBasicBlockToLoop(G, LI); in unifyLoopExits() 200 ParentLoop->verifyLoop(); in unifyLoopExits()
|
D | LoopPeel.cpp | 515 Loop *ParentLoop = L->getParentLoop(); in cloneLoopBlocks() local 526 if (ParentLoop && LI->getLoopFor(*BB) == L) in cloneLoopBlocks() 527 ParentLoop->addBasicBlockToLoop(NewBB, *LI); in cloneLoopBlocks() 546 cloneLoop(ChildLoop, ParentLoop, VMap, LI, nullptr); in cloneLoopBlocks() 827 if (Loop *ParentLoop = L->getParentLoop()) in peelLoop() local 828 L = ParentLoop; in peelLoop()
|
D | LoopUnrollRuntime.cpp | 313 Loop *ParentLoop = L->getParentLoop(); in CloneLoopBlocks() local 315 NewLoops[ParentLoop] = ParentLoop; in CloneLoopBlocks() 317 NewLoops[L] = ParentLoop; in CloneLoopBlocks() 328 if (CreateRemainderLoop || LI->getLoopFor(*BB) != L || ParentLoop) in CloneLoopBlocks()
|
D | CloneFunction.cpp | 762 Loop *ParentLoop = OrigLoop->getParentLoop(); in cloneLoopWithPreheader() local 767 if (ParentLoop) in cloneLoopWithPreheader() 768 ParentLoop->addChildLoop(NewLoop); in cloneLoopWithPreheader() 780 if (ParentLoop) in cloneLoopWithPreheader() 781 ParentLoop->addBasicBlockToLoop(NewPH, *LI); in cloneLoopWithPreheader()
|
/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-10.0/llvm/include/llvm/Analysis/ |
D | LoopInfo.h | 75 LoopT *ParentLoop; variable 100 for (const LoopT *CurLoop = ParentLoop; CurLoop; in getLoopDepth() 101 CurLoop = CurLoop->ParentLoop) in getLoopDepth() 106 LoopT *getParentLoop() const { return ParentLoop; } in getParentLoop() 111 ParentLoop = L; in setParentLoop() 377 assert(!NewChild->ParentLoop && "NewChild already has a parent!"); in addChildLoop() 378 NewChild->ParentLoop = static_cast<LoopT *>(this); in addChildLoop() 388 assert(Child->ParentLoop == this && "Child is not a child of this loop!"); in removeChildLoop() 390 Child->ParentLoop = nullptr; in removeChildLoop() 468 LoopBase() : ParentLoop(nullptr) {} in LoopBase() [all …]
|
D | LoopInfoImpl.h | 268 assert(OldChild->ParentLoop == this && "This loop is already broken!"); in replaceChildLoopWith() 269 assert(!NewChild->ParentLoop && "NewChild already has a parent!"); in replaceChildLoopWith() 273 OldChild->ParentLoop = nullptr; in replaceChildLoopWith() 274 NewChild->ParentLoop = static_cast<LoopT *>(this); in replaceChildLoopWith() 356 if (ParentLoop) { in verifyLoop() 357 assert(is_contained(*ParentLoop, this) && in verifyLoop()
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | LoopInfo.h | 74 LoopT *ParentLoop; variable 99 for (const LoopT *CurLoop = ParentLoop; CurLoop; in getLoopDepth() 100 CurLoop = CurLoop->ParentLoop) in getLoopDepth() 113 LoopT *getParentLoop() const { return ParentLoop; } in getParentLoop() 118 ParentLoop = L; in setParentLoop() 397 assert(!NewChild->ParentLoop && "NewChild already has a parent!"); in addChildLoop() 398 NewChild->ParentLoop = static_cast<LoopT *>(this); in addChildLoop() 408 assert(Child->ParentLoop == this && "Child is not a child of this loop!"); in removeChildLoop() 410 Child->ParentLoop = nullptr; in removeChildLoop() 488 LoopBase() : ParentLoop(nullptr) {} in LoopBase() [all …]
|
D | LoopInfoImpl.h | 274 assert(OldChild->ParentLoop == this && "This loop is already broken!"); in replaceChildLoopWith() 275 assert(!NewChild->ParentLoop && "NewChild already has a parent!"); in replaceChildLoopWith() 279 OldChild->ParentLoop = nullptr; in replaceChildLoopWith() 280 NewChild->ParentLoop = static_cast<LoopT *>(this); in replaceChildLoopWith() 362 if (ParentLoop) { in verifyLoop() 363 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/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-10.0/llvm/lib/Transforms/Utils/ |
D | LoopUnrollPeel.cpp | 503 Loop *ParentLoop = L->getParentLoop(); in cloneLoopBlocks() local 511 if (ParentLoop) in cloneLoopBlocks() 512 ParentLoop->addBasicBlockToLoop(NewBB, *LI); in cloneLoopBlocks() 772 if (Loop *ParentLoop = L->getParentLoop()) in peelLoop() local 773 L = ParentLoop; in peelLoop()
|
D | LoopUnrollRuntime.cpp | 312 Loop *ParentLoop = L->getParentLoop(); in CloneLoopBlocks() local 314 NewLoops[ParentLoop] = ParentLoop; in CloneLoopBlocks() 316 NewLoops[L] = ParentLoop; in CloneLoopBlocks() 327 if (CreateRemainderLoop || LI->getLoopFor(*BB) != L || ParentLoop) in CloneLoopBlocks()
|
D | CloneFunction.cpp | 758 Loop *ParentLoop = OrigLoop->getParentLoop(); in cloneLoopWithPreheader() local 763 if (ParentLoop) in cloneLoopWithPreheader() 764 ParentLoop->addChildLoop(NewLoop); in cloneLoopWithPreheader() 776 if (ParentLoop) in cloneLoopWithPreheader() 777 ParentLoop->addBasicBlockToLoop(NewPH, *LI); in cloneLoopWithPreheader()
|
D | LoopUtils.cpp | 678 if (Loop *ParentLoop = L->getParentLoop()) { in deleteDeadLoop() local 679 Loop::iterator I = find(ParentLoop->begin(), ParentLoop->end(), L); in deleteDeadLoop() 680 assert(I != ParentLoop->end() && "Couldn't find loop"); in deleteDeadLoop() 681 ParentLoop->removeChildLoop(I); in deleteDeadLoop()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | LoopInfo.cpp | 929 Loop *ParentLoop = Unloop->getParentLoop(); in erase() local 930 for (Loop::iterator I = ParentLoop->begin();; ++I) { in erase() 931 assert(I != ParentLoop->end() && "Couldn't find loop"); in erase() 933 ParentLoop->removeChildLoop(I); in erase()
|
D | LoopCacheAnalysis.cpp | 65 Loop *ParentLoop = LastLoop->getParentLoop(); in getInnerMostLoop() local 67 if (ParentLoop == nullptr) { in getInnerMostLoop()
|