Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DSyncDependenceAnalysis.cpp181 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 …]
DLoopInfo.cpp907 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()
DLoopCacheAnalysis.cpp60 Loop *ParentLoop = LastLoop->getParentLoop(); in getInnerMostLoop() local
62 if (ParentLoop == nullptr) { in getInnerMostLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DLoopInfo.h75 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 …]
DLoopInfoImpl.h268 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUnrollPeel.cpp503 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()
DLoopUnrollRuntime.cpp312 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()
DCloneFunction.cpp758 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()
DLoopUtils.cpp678 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp460 Loop *ParentLoop = LI.getLoopFor(BB); in promoteCounterLoadStores() local
461 if (!ParentLoop) in promoteCounterLoadStores()
463 LoopPromotionCandidates[ParentLoop].emplace_back(CounterLoad, CounterStore); in promoteCounterLoadStores()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp1302 Loop *ParentLoop = L->getParentLoop(); in UnswitchNontrivialCondition() local
1303 if (ParentLoop) { in UnswitchNontrivialCondition()
1306 ParentLoop->addBasicBlockToLoop(NewBlocks[0], *LI); in UnswitchNontrivialCondition()
DInductiveRangeCheckElimination.cpp1357 Loop *ParentLoop = OriginalLoop.getParentLoop(); in addToParentLoopIfNeeded() local
1358 if (!ParentLoop) in addToParentLoopIfNeeded()
1362 ParentLoop->addBasicBlockToLoop(BB, LI); in addToParentLoopIfNeeded()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp1071 MachineLoop *ParentLoop = LoopRep->getParentLoop(); in mergeLoop() local
1072 if (ParentLoop) in mergeLoop()
1073 MLI->changeLoopFor(LoopHeader, ParentLoop); in mergeLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp1992 MachineLoop *ParentLoop = L->getParentLoop(); in createPreheaderForLoop() local
1993 if (ParentLoop) in createPreheaderForLoop()
1994 ParentLoop->addBasicBlockToLoop(NewPH, MLI->getBase()); in createPreheaderForLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2985 Loop *ParentLoop = OrigLoop->getParentLoop(); in createVectorizedLoopSkeleton() local
2989 if (ParentLoop) { in createVectorizedLoopSkeleton()
2990 ParentLoop->addChildLoop(Lp); in createVectorizedLoopSkeleton()