Home
last modified time | relevance | path

Searched refs:SubLoop (Results 1 – 10 of 10) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUnrollAndJam.cpp50 static bool partitionOuterLoopBlocks(Loop *L, Loop *SubLoop, in partitionOuterLoopBlocks() argument
55 BasicBlock *SubLoopLatch = SubLoop->getLoopLatch(); in partitionOuterLoopBlocks()
56 SubLoopBlocks.insert(SubLoop->block_begin(), SubLoop->block_end()); in partitionOuterLoopBlocks()
59 if (!SubLoop->contains(BB)) { in partitionOuterLoopBlocks()
69 BasicBlock *SubLoopPreHeader = SubLoop->getLoopPreheader(); in partitionOuterLoopBlocks()
181 Loop *SubLoop = *L->begin(); in UnrollAndJamLoop() local
212 SE->forgetLoop(SubLoop); in UnrollAndJamLoop()
256 bool SubLoopContinueOnTrue = SubLoop->contains( in UnrollAndJamLoop()
257 SubLoop->getLoopLatch()->getTerminator()->getSuccessor(0)); in UnrollAndJamLoop()
264 partitionOuterLoopBlocks(L, SubLoop, ForeBlocks, SubLoopBlocks, AftBlocks, in UnrollAndJamLoop()
[all …]
DLCSSA.cpp327 for (Loop *SubLoop: L) in formLCSSA()
328 assert(SubLoop->isRecursivelyLCSSAForm(DT, *LI) && "Subloop not in LCSSA!"); in formLCSSA()
391 for (Loop *SubLoop : L.getSubLoops()) in formLCSSARecursively()
392 Changed |= formLCSSARecursively(*SubLoop, DT, LI, SE); in formLCSSARecursively()
DLoopUnroll.cpp585 for (Loop *SubLoop : *L) in UnrollLoop()
586 LoopsToSimplify.insert(SubLoop); in UnrollLoop()
951 for (Loop *SubLoop : LoopsToSimplify) in UnrollLoop()
952 simplifyLoop(SubLoop, DT, LI, SE, AC, nullptr, PreserveLCSSA); in UnrollLoop()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopUnrollAndJamPass.cpp155 Loop *L, Loop *SubLoop, const TargetTransformInfo &TTI, DominatorTree &DT, in computeUnrollAndJamCount() argument
247 if (SubLoop->getBlocks().size() != 1) { in computeUnrollAndJamCount()
258 for (BasicBlock *BB : SubLoop->getBlocks()) { in computeUnrollAndJamCount()
285 Loop *SubLoop = L->getSubLoops()[0]; in tryToUnrollAndJamLoop() local
286 if (!SubLoop->isLoopSimplifyForm()) in tryToUnrollAndJamLoop()
291 BasicBlock *SubLoopLatch = SubLoop->getLoopLatch(); in tryToUnrollAndJamLoop()
292 BasicBlock *SubLoopExit = SubLoop->getExitingBlock(); in tryToUnrollAndJamLoop()
338 ApproximateLoopSize(SubLoop, NumInlineCandidates, NotDuplicatable, in tryToUnrollAndJamLoop()
362 MDNode *OrigSubLoopID = SubLoop->getLoopID(); in tryToUnrollAndJamLoop()
371 SubLoop->setLoopID(NewInnerEpilogueLoopID.getValue()); in tryToUnrollAndJamLoop()
[all …]
DInductiveRangeCheckElimination.cpp1381 for (Loop *SubLoop : *Original) in createClonedLoopStructure()
1382 createClonedLoopStructure(SubLoop, &New, VM, /* IsSubloop */ true); in createClonedLoopStructure()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DLoopInfo.h485 for (auto *SubLoop : SubLoops) in ~LoopBase()
486 SubLoop->~LoopT(); in ~LoopBase()
1010 static bool isNotAlreadyContainedIn(const LoopT *SubLoop, in isNotAlreadyContainedIn() argument
1012 if (!SubLoop) in isNotAlreadyContainedIn()
1014 if (SubLoop == ParentLoop) in isNotAlreadyContainedIn()
1016 return isNotAlreadyContainedIn(SubLoop->getParentLoop(), ParentLoop); in isNotAlreadyContainedIn()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp82 if (llvm::none_of(L->getSubLoops(), [PHI](const Loop* SubLoop) { in dependsOnLocalPhi() argument
83 return SubLoop->contains(PHI); })) in dependsOnLocalPhi()
109 if (llvm::any_of(L->getSubLoops(), [BB](const Loop* SubLoop) { in getUnrollingPreferences() argument
110 return SubLoop->contains(BB); })) in getUnrollingPreferences()
184 if (llvm::any_of(L->getSubLoops(), [Inst](const Loop* SubLoop) { in getUnrollingPreferences() argument
185 return SubLoop->contains(Inst); })) in getUnrollingPreferences()
/external/llvm/include/llvm/Analysis/
DLoopInfo.h610 static bool isNotAlreadyContainedIn(const LoopT *SubLoop, in isNotAlreadyContainedIn() argument
612 if (!SubLoop) return true; in isNotAlreadyContainedIn()
613 if (SubLoop == ParentLoop) return false; in isNotAlreadyContainedIn()
614 return isNotAlreadyContainedIn(SubLoop->getParentLoop(), ParentLoop); in isNotAlreadyContainedIn()
/external/llvm/lib/Transforms/Utils/
DLCSSA.cpp267 for (Loop *SubLoop : L.getSubLoops()) in formLCSSARecursively()
268 Changed |= formLCSSARecursively(*SubLoop, DT, LI, SE); in formLCSSARecursively()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DRegAllocGreedy.cpp3153 for (MachineLoop *SubLoop : *L) { in reportNumberOfSplillsReloads()
3159 reportNumberOfSplillsReloads(SubLoop, SubReloads, SubFoldedReloads, in reportNumberOfSplillsReloads()