Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DSyncDependenceAnalysis.cpp182 void visitSuccessor(const BasicBlock &SuccBlock, const Loop *ParentLoop, in visitSuccessor()
186 if (ParentLoop && !ParentLoop->contains(&SuccBlock)) { in visitSuccessor()
222 SuccessorIterable NodeSuccessors, const Loop *ParentLoop) { in computeJoinPoints()
234 if (ParentLoop && !ParentLoop->contains(SuccBlock)) { in computeJoinPoints()
269 if (ParentLoop && in computeJoinPoints()
270 (ParentLoop != BlockLoop && ParentLoop->contains(BlockLoop))) { in computeJoinPoints()
276 visitSuccessor(*BlockLoopExit, ParentLoop, *DefBlock); in computeJoinPoints()
282 visitSuccessor(*SuccBlock, ParentLoop, *DefBlock); in computeJoinPoints()
308 ParentLoop ? ParentLoop->getHeader() : nullptr; in computeJoinPoints()
309 if (ParentLoop && ParentLoop->contains(PdBoundBlock)) { in computeJoinPoints()
[all …]
H A DLoopInfo.cpp660 Loop *ParentLoop = Unloop->getParentLoop(); in erase() local
661 for (Loop::iterator I = ParentLoop->begin();; ++I) { in erase()
662 assert(I != ParentLoop->end() && "Couldn't find loop"); in erase()
664 ParentLoop->removeChildLoop(I); in erase()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DLoopInfo.h70 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()
334 NewChild->ParentLoop = static_cast<LoopT *>(this); in addChildLoop()
346 Child->ParentLoop = nullptr; in removeChildLoop()
424 LoopBase() : ParentLoop(nullptr) {} in LoopBase()
450 ParentLoop = nullptr; in ~LoopBase()
736 assert(!NewLoop->ParentLoop && !OldLoop->ParentLoop && in changeTopLevelLoop()
[all …]
H A DLoopInfoImpl.h284 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()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DLoopUnrollPeel.cpp408 Loop *ParentLoop = L->getParentLoop(); in cloneLoopBlocks() local
416 if (ParentLoop) in cloneLoopBlocks()
417 ParentLoop->addBasicBlockToLoop(NewBB, *LI); in cloneLoopBlocks()
669 if (Loop *ParentLoop = L->getParentLoop()) { in peelLoop() local
670 SE->forgetLoop(ParentLoop); in peelLoop()
673 simplifyLoop(ParentLoop, DT, LI, SE, AC, PreserveLCSSA); in peelLoop()
H A DLoopUnrollRuntime.cpp313 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()
H A DCloneFunction.cpp746 Loop *ParentLoop = OrigLoop->getParentLoop(); in cloneLoopWithPreheader() local
749 if (ParentLoop) in cloneLoopWithPreheader()
750 ParentLoop->addChildLoop(NewLoop); in cloneLoopWithPreheader()
762 if (ParentLoop) in cloneLoopWithPreheader()
763 ParentLoop->addBasicBlockToLoop(NewPH, *LI); in cloneLoopWithPreheader()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp422 Loop *ParentLoop = LI.getLoopFor(BB); in promoteCounterLoadStores() local
423 if (!ParentLoop) in promoteCounterLoadStores()
425 LoopPromotionCandidates[ParentLoop].emplace_back(CounterLoad, CounterStore); in promoteCounterLoadStores()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DLoopUnswitch.cpp1293 Loop *ParentLoop = L->getParentLoop(); in UnswitchNontrivialCondition() local
1294 if (ParentLoop) { in UnswitchNontrivialCondition()
1297 ParentLoop->addBasicBlockToLoop(NewBlocks[0], *LI); in UnswitchNontrivialCondition()
H A DInductiveRangeCheckElimination.cpp1346 Loop *ParentLoop = OriginalLoop.getParentLoop(); in addToParentLoopIfNeeded() local
1347 if (!ParentLoop) in addToParentLoopIfNeeded()
1351 ParentLoop->addBasicBlockToLoop(BB, LI); in addToParentLoopIfNeeded()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDILCFGStructurizer.cpp1071 MachineLoop *ParentLoop = LoopRep->getParentLoop(); in mergeLoop() local
1072 if (ParentLoop) in mergeLoop()
1073 MLI->changeLoopFor(LoopHeader, ParentLoop); in mergeLoop()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonHardwareLoops.cpp1992 MachineLoop *ParentLoop = L->getParentLoop(); in createPreheaderForLoop() local
1993 if (ParentLoop) in createPreheaderForLoop()
1994 ParentLoop->addBasicBlockToLoop(NewPH, MLI->getBase()); in createPreheaderForLoop()
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp2768 Loop *ParentLoop = OrigLoop->getParentLoop(); in createVectorizedLoopSkeleton() local
2772 if (ParentLoop) { in createVectorizedLoopSkeleton()
2773 ParentLoop->addChildLoop(Lp); in createVectorizedLoopSkeleton()
2774 ParentLoop->addBasicBlockToLoop(ScalarPH, *LI); in createVectorizedLoopSkeleton()
2775 ParentLoop->addBasicBlockToLoop(MiddleBlock, *LI); in createVectorizedLoopSkeleton()