/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LoopUnrollAndJam.cpp | 50 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 …]
|
D | LCSSA.cpp | 327 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()
|
D | LoopUnroll.cpp | 585 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/llvm-project/llvm/lib/Transforms/Utils/ |
D | LoopUnrollAndJam.cpp | 75 Loop *SubLoop = L.getSubLoops()[0]; in partitionLoopBlocks() local 76 BasicBlock *SubLoopLatch = SubLoop->getLoopLatch(); in partitionLoopBlocks() 79 if (!SubLoop->contains(BB)) { in partitionLoopBlocks() 89 BasicBlock *SubLoopPreHeader = SubLoop->getLoopPreheader(); in partitionLoopBlocks() 123 static bool partitionOuterLoopBlocks(Loop *L, Loop *SubLoop, in partitionOuterLoopBlocks() argument 128 SubLoopBlocks.insert(SubLoop->block_begin(), SubLoop->block_end()); in partitionOuterLoopBlocks() 233 Loop *SubLoop = *L->begin(); in UnrollAndJamLoop() local 264 SE->forgetLoop(SubLoop); in UnrollAndJamLoop() 308 bool SubLoopContinueOnTrue = SubLoop->contains( in UnrollAndJamLoop() 309 SubLoop->getLoopLatch()->getTerminator()->getSuccessor(0)); in UnrollAndJamLoop() [all …]
|
D | LCSSA.cpp | 350 for (Loop *SubLoop: L) in formLCSSA() 351 assert(SubLoop->isRecursivelyLCSSAForm(DT, *LI) && "Subloop not in LCSSA!"); in formLCSSA() 416 for (Loop *SubLoop : L.getSubLoops()) in formLCSSARecursively() 417 Changed |= formLCSSARecursively(*SubLoop, DT, LI, SE); in formLCSSARecursively()
|
D | LoopUnroll.cpp | 571 for (Loop *SubLoop : *L) in UnrollLoop() 572 LoopsToSimplify.insert(SubLoop); in UnrollLoop() 931 for (Loop *SubLoop : LoopsToSimplify) in UnrollLoop() 932 simplifyLoop(SubLoop, DT, LI, SE, AC, nullptr, PreserveLCSSA); in UnrollLoop()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopUnrollAndJamPass.cpp | 155 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 …]
|
D | InductiveRangeCheckElimination.cpp | 1381 for (Loop *SubLoop : *Original) in createClonedLoopStructure() 1382 createClonedLoopStructure(SubLoop, &New, VM, /* IsSubloop */ true); in createClonedLoopStructure()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | LoopUnrollAndJamPass.cpp | 157 Loop *L, Loop *SubLoop, const TargetTransformInfo &TTI, DominatorTree &DT, in computeUnrollAndJamCount() argument 251 if (SubLoop->getBlocks().size() != 1) { in computeUnrollAndJamCount() 262 for (BasicBlock *BB : SubLoop->getBlocks()) { in computeUnrollAndJamCount() 331 Loop *SubLoop = L->getSubLoops()[0]; in tryToUnrollAndJamLoop() local 333 ApproximateLoopSize(SubLoop, NumInlineCandidates, NotDuplicatable, in tryToUnrollAndJamLoop() 357 MDNode *OrigSubLoopID = SubLoop->getLoopID(); in tryToUnrollAndJamLoop() 366 SubLoop->setLoopID(NewInnerEpilogueLoopID.getValue()); in tryToUnrollAndJamLoop() 370 BasicBlock *SubLoopLatch = SubLoop->getLoopLatch(); in tryToUnrollAndJamLoop() 373 unsigned InnerTripCount = SE.getSmallConstantTripCount(SubLoop, SubLoopLatch); in tryToUnrollAndJamLoop() 377 L, SubLoop, TTI, DT, LI, SE, EphValues, &ORE, OuterTripCount, in tryToUnrollAndJamLoop() [all …]
|
D | InductiveRangeCheckElimination.cpp | 1396 for (Loop *SubLoop : *Original) in createClonedLoopStructure() 1397 createClonedLoopStructure(SubLoop, &New, VM, /* IsSubloop */ true); in createClonedLoopStructure()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | LoopInfo.h | 485 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/llvm-project/llvm/include/llvm/Analysis/ |
D | LoopInfo.h | 505 for (auto *SubLoop : SubLoops) in ~LoopBase() 506 SubLoop->~LoopT(); in ~LoopBase() 1040 static bool isNotAlreadyContainedIn(const LoopT *SubLoop, in isNotAlreadyContainedIn() argument 1042 if (!SubLoop) in isNotAlreadyContainedIn() 1044 if (SubLoop == ParentLoop) in isNotAlreadyContainedIn() 1046 return isNotAlreadyContainedIn(SubLoop->getParentLoop(), ParentLoop); in isNotAlreadyContainedIn()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUTargetTransformInfo.cpp | 82 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/ |
D | LoopInfo.h | 610 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-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUTargetTransformInfo.cpp | 98 if (llvm::none_of(L->getSubLoops(), [PHI](const Loop* SubLoop) { in dependsOnLocalPhi() argument 99 return SubLoop->contains(PHI); })) in dependsOnLocalPhi() 145 if (llvm::any_of(L->getSubLoops(), [BB](const Loop* SubLoop) { in getUnrollingPreferences() argument 146 return SubLoop->contains(BB); })) in getUnrollingPreferences() 223 if (llvm::any_of(L->getSubLoops(), [Inst](const Loop* SubLoop) { in getUnrollingPreferences() argument 224 return SubLoop->contains(Inst); })) in getUnrollingPreferences()
|
/external/llvm/lib/Transforms/Utils/ |
D | LCSSA.cpp | 267 for (Loop *SubLoop : L.getSubLoops()) in formLCSSARecursively() 268 Changed |= formLCSSARecursively(*SubLoop, DT, LI, SE); in formLCSSARecursively()
|
/external/llvm-project/llvm/docs/ |
D | TransformMetadata.rst | 238 SubLoop(i, j); 249 SubLoop(i, j); 250 SubLoop(i+1, j); 258 SubLoop(i, j);
|
/external/llvm-project/polly/lib/Analysis/ |
D | ScopDetection.cpp | 1355 for (auto &SubLoop : *L) { in countBeneficialSubLoops() 1356 LoopStats Stats = countBeneficialSubLoops(SubLoop, SE, MinProfitableTrips); in countBeneficialSubLoops() 1382 for (auto &SubLoop : SubLoops) in countBeneficialLoops() local 1383 if (R->contains(SubLoop)) { in countBeneficialLoops() 1385 countBeneficialSubLoops(SubLoop, SE, MinProfitableTrips); in countBeneficialLoops()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | RegAllocGreedy.cpp | 3153 for (MachineLoop *SubLoop : *L) { in reportNumberOfSplillsReloads() 3159 reportNumberOfSplillsReloads(SubLoop, SubReloads, SubFoldedReloads, in reportNumberOfSplillsReloads()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | RegAllocGreedy.cpp | 3146 for (MachineLoop *SubLoop : *L) { in reportNumberOfSplillsReloads() 3152 reportNumberOfSplillsReloads(SubLoop, SubReloads, SubFoldedReloads, in reportNumberOfSplillsReloads()
|