| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | LoopNestAnalysis.cpp | 42 LoopNest::LoopNest(Loop &Root, ScalarEvolution &SE) in LoopNest() function in LoopNest 47 std::unique_ptr<LoopNest> LoopNest::getLoopNest(Loop &Root, in getLoopNest() 49 return std::make_unique<LoopNest>(Root, SE); in getLoopNest() 103 bool LoopNest::arePerfectlyNested(const Loop &OuterLoop, const Loop &InnerLoop, in arePerfectlyNested() 109 LoopNest::LoopNestEnum LoopNest::analyzeLoopNestForPerfectNest( in analyzeLoopNestForPerfectNest() 181 LoopNest::InstrVectorTy LoopNest::getInterveningInstructions( in getInterveningInstructions() 241 LoopNest::getPerfectLoops(ScalarEvolution &SE) const { in getPerfectLoops() 261 unsigned LoopNest::getMaxPerfectDepth(const Loop &Root, ScalarEvolution &SE) { in getMaxPerfectDepth() 288 const BasicBlock &LoopNest::skipEmptyBlockUntil(const BasicBlock *From, in skipEmptyBlockUntil() 363 LoopNest::skipEmptyBlockUntil(OuterLoopHeader, InnerLoopPreHeader); in checkLoopsStructure() [all …]
|
| H A D | DependenceAnalysis.cpp | 886 const Loop *LoopNest) const { in isLoopInvariant() 891 if (!LoopNest) in isLoopInvariant() 896 return SE->isLoopInvariant(Expression, LoopNest->getOutermostLoop()); in isLoopInvariant() 904 const Loop *LoopNest, in collectCommonLoops() argument 906 while (LoopNest) { in collectCommonLoops() 907 unsigned Level = LoopNest->getLoopDepth(); in collectCommonLoops() 908 if (Level <= CommonLevels && !SE->isLoopInvariant(Expression, LoopNest)) in collectCommonLoops() 910 LoopNest = LoopNest->getParentLoop(); in collectCommonLoops() 989 bool DependenceInfo::checkSubscript(const SCEV *Expr, const Loop *LoopNest, in checkSubscript() argument 993 return isLoopInvariant(Expr, LoopNest); in checkSubscript() [all …]
|
| H A D | LoopInfo.cpp | 404 if (&LoopNest::skipEmptyBlockUntil(ExitFromLatch, GuardOtherSucc, in getLoopGuardBranch()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | LoopNestAnalysis.h | 29 class LLVM_ABI LoopNest { 34 LoopNest(Loop &Root, ScalarEvolution &SE); 36 LoopNest() = delete; 39 static std::unique_ptr<LoopNest> getLoopNest(Loop &Root, ScalarEvolution &SE); 199 LLVM_ABI raw_ostream &operator<<(raw_ostream &, const LoopNest &); 208 using Result = LoopNest;
|
| H A D | DependenceAnalysis.h | 560 bool isLoopInvariant(const SCEV *Expression, const Loop *LoopNest) const; 577 const Loop *LoopNest, 583 const Loop *LoopNest, 589 const Loop *LoopNest, 988 bool checkSubscript(const SCEV *Expr, const Loop *LoopNest,
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
| H A D | LoopInterchange.h | 18 class LoopNest; variable 21 PreservedAnalyses run(LoopNest &L, LoopAnalysisManager &AM,
|
| H A D | LoopFlatten.h | 21 class LoopNest; variable 27 PreservedAnalyses run(LoopNest &LN, LoopAnalysisManager &LAM,
|
| H A D | LoopUnrollAndJamPass.h | 17 class LoopNest; variable 25 PreservedAnalyses run(LoopNest &L, LoopAnalysisManager &AM,
|
| H A D | LICM.h | 43 class LoopNest; variable 94 PreservedAnalyses run(LoopNest &L, LoopAnalysisManager &AM,
|
| H A D | LoopPassManager.h | 120 detail::PassModel<LoopNest, PassT, LoopAnalysisManager, in addPass() 142 detail::PassConcept<LoopNest, LoopAnalysisManager, 169 static const Loop &getLoopFromIR(LoopNest &LN) { in getLoopFromIR()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopPassManager.cpp | 84 std::unique_ptr<LoopNest> LoopNestPtr; in runWithLoopNestPasses() 107 LoopNestPtr = LoopNest::getLoopNest(*OuterMostLoop, AR.SE); in runWithLoopNestPasses()
|
| H A D | LoopUnrollAndJamPass.cpp | 423 static bool tryToUnrollAndJamLoop(LoopNest &LN, DominatorTree &DT, LoopInfo &LI, in tryToUnrollAndJamLoop() 454 PreservedAnalyses LoopUnrollAndJamPass::run(LoopNest &LN, in run()
|
| H A D | LoopInterchange.cpp | 530 bool run(LoopNest &LN) { in run() 689 LoopNest::skipEmptyBlockUntil(InnerLoopExit, OuterLoopLatch); in tightlyNested() 1932 PreservedAnalyses LoopInterchangePass::run(LoopNest &LN, in run()
|
| H A D | LoopFlatten.cpp | 995 PreservedAnalyses LoopFlattenPass::run(LoopNest &LN, LoopAnalysisManager &LAM, in run()
|
| H A D | LICM.cpp | 331 PreservedAnalyses LNICMPass::run(LoopNest &LN, LoopAnalysisManager &AM, in run()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Passes/ |
| H A D | PassBuilder.h | 959 PreservedAnalyses run(LoopNest &L, LoopAnalysisManager &, in run()
|
| /freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 5793 std::vector<CanonicalLoopInfo *> LoopNest = in unrollLoopPartial() local 5795 assert(LoopNest.size() == 2 && "Expect 2 loops after tiling"); in unrollLoopPartial() 5796 *UnrolledCLI = LoopNest[0]; in unrollLoopPartial() 5797 CanonicalLoopInfo *InnerLoop = LoopNest[1]; in unrollLoopPartial()
|