Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopUnrollAndJam.cpp52 static bool partitionOuterLoopBlocks(Loop *L, Loop *SubLoop, in partitionOuterLoopBlocks() argument
57 BasicBlock *SubLoopLatch = SubLoop->getLoopLatch(); in partitionOuterLoopBlocks()
58 SubLoopBlocks.insert(SubLoop->block_begin(), SubLoop->block_end()); in partitionOuterLoopBlocks()
61 if (!SubLoop->contains(BB)) { in partitionOuterLoopBlocks()
71 BasicBlock *SubLoopPreHeader = SubLoop->getLoopPreheader(); in partitionOuterLoopBlocks()
180 Loop *SubLoop = *L->begin(); in UnrollAndJamLoop() local
210 SE->forgetLoop(SubLoop); in UnrollAndJamLoop()
253 bool SubLoopContinueOnTrue = SubLoop->contains( in UnrollAndJamLoop()
254 SubLoop->getLoopLatch()->getTerminator()->getSuccessor(0)); in UnrollAndJamLoop()
261 partitionOuterLoopBlocks(L, SubLoop, ForeBlocks, SubLoopBlocks, AftBlocks, in UnrollAndJamLoop()
[all …]
DLoopUnroll.cpp592 for (Loop *SubLoop : *L) in UnrollLoop()
593 LoopsToSimplify.insert(SubLoop); in UnrollLoop()
875 for (Loop *SubLoop : LoopsToSimplify) in UnrollLoop()
876 simplifyLoop(SubLoop, DT, LI, SE, AC, PreserveLCSSA); in UnrollLoop()
DLCSSA.cpp365 for (Loop *SubLoop : L.getSubLoops()) in formLCSSARecursively()
366 Changed |= formLCSSARecursively(*SubLoop, DT, LI, SE); in formLCSSARecursively()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopUnrollAndJamPass.cpp146 Loop *L, Loop *SubLoop, const TargetTransformInfo &TTI, DominatorTree &DT, in computeUnrollAndJamCount() argument
225 if (SubLoop->getBlocks().size() != 1) { in computeUnrollAndJamCount()
234 for (BasicBlock *BB : SubLoop->getBlocks()) { in computeUnrollAndJamCount()
261 Loop *SubLoop = L->getSubLoops()[0]; in tryToUnrollAndJamLoop() local
262 if (!SubLoop->isLoopSimplifyForm()) in tryToUnrollAndJamLoop()
267 BasicBlock *SubLoopLatch = SubLoop->getLoopLatch(); in tryToUnrollAndJamLoop()
268 BasicBlock *SubLoopExit = SubLoop->getExitingBlock(); in tryToUnrollAndJamLoop()
310 ApproximateLoopSize(SubLoop, NumInlineCandidates, NotDuplicatable, in tryToUnrollAndJamLoop()
335 unsigned InnerTripCount = SE.getSmallConstantTripCount(SubLoop, SubLoopLatch); in tryToUnrollAndJamLoop()
339 L, SubLoop, TTI, DT, LI, SE, EphValues, &ORE, OuterTripCount, in tryToUnrollAndJamLoop()
DInductiveRangeCheckElimination.cpp1466 for (Loop *SubLoop : *Original) in createClonedLoopStructure()
1467 createClonedLoopStructure(SubLoop, &New, VM, /* IsSubloop */ true); in createClonedLoopStructure()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DLoopInfo.h757 static bool isNotAlreadyContainedIn(const LoopT *SubLoop, in isNotAlreadyContainedIn() argument
759 if (SubLoop == 0) return true; in isNotAlreadyContainedIn()
760 if (SubLoop == ParentLoop) return false; in isNotAlreadyContainedIn()
761 return isNotAlreadyContainedIn(SubLoop->getParentLoop(), ParentLoop); in isNotAlreadyContainedIn()
809 if (LoopT *SubLoop = in ConsiderForLoop() local
811 if (SubLoop->getHeader() == X && isNotAlreadyContainedIn(SubLoop, L)){ in ConsiderForLoop()
813 assert(SubLoop->ParentLoop && SubLoop->ParentLoop != L); in ConsiderForLoop()
814 LoopT *SLP = SubLoop->ParentLoop; // SubLoopParent in ConsiderForLoop()
816 std::find(SLP->SubLoops.begin(), SLP->SubLoops.end(), SubLoop); in ConsiderForLoop()
821 SubLoop->ParentLoop = L; in ConsiderForLoop()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp83 if (llvm::none_of(L->getSubLoops(), [PHI](const Loop* SubLoop) { in dependsOnLocalPhi() argument
84 return SubLoop->contains(PHI); })) in dependsOnLocalPhi()
110 if (llvm::any_of(L->getSubLoops(), [BB](const Loop* SubLoop) { in getUnrollingPreferences() argument
111 return SubLoop->contains(BB); })) in getUnrollingPreferences()
182 if (llvm::any_of(L->getSubLoops(), [Inst](const Loop* SubLoop) { in getUnrollingPreferences() argument
183 return SubLoop->contains(Inst); })) in getUnrollingPreferences()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DLoopInfo.h435 for (auto *SubLoop : SubLoops) in ~LoopBase()
436 SubLoop->~LoopT(); in ~LoopBase()
755 static bool isNotAlreadyContainedIn(const LoopT *SubLoop, in isNotAlreadyContainedIn() argument
757 if (!SubLoop) in isNotAlreadyContainedIn()
759 if (SubLoop == ParentLoop) in isNotAlreadyContainedIn()
761 return isNotAlreadyContainedIn(SubLoop->getParentLoop(), ParentLoop); in isNotAlreadyContainedIn()
/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-7.0/llvm/lib/CodeGen/
DRegAllocGreedy.cpp3101 for (MachineLoop *SubLoop : *L) { in reportNumberOfSplillsReloads()
3107 reportNumberOfSplillsReloads(SubLoop, SubReloads, SubFoldedReloads, in reportNumberOfSplillsReloads()