| /llvm-project-15.0.7/polly/include/polly/CodeGen/ |
| H A D | IslAst.h | 41 static IslAst create(Scop &Scop, const Dependences &D); 56 static isl::ast_expr buildRunCondition(Scop &S, const isl::ast_build &Build); 59 Scop &S; 64 IslAst(Scop &Scop); 105 Scop &S; 109 IslAstInfo(Scop &S, const Dependences &D) : S(S), Ast(IslAst::create(S, D)) {} in IslAstInfo() 171 IslAstInfo run(Scop &S, ScopAnalysisManager &SAM, 187 bool runOnScop(Scop &S) override; 196 void printScop(raw_ostream &OS, Scop &S) const override; 205 PreservedAnalyses run(Scop &S, ScopAnalysisManager &SAM,
|
| H A D | BlockGenerators.h | 149 void finalizeSCoP(Scop &S); 411 void handleOutsideUsers(const Scop &S, ScopArrayInfo *Array); 421 void findOutsideUsers(Scop &S); 426 void createScalarInitialization(Scop &S); 442 void createExitPHINodeMerges(Scop &S); 449 void createScalarFinalization(Scop &S); 622 void invalidateScalarEvolution(Scop &S);
|
| H A D | Utils.h | 29 class Scop; variable 69 executeScopConditionally(Scop &S, llvm::Value *RTC, llvm::DominatorTree &DT,
|
| /llvm-project-15.0.7/polly/include/polly/ |
| H A D | ScopPass.h | 41 class Scop; variable 46 AnalysisManager<Scop, ScopStandardAnalysisResults &>; 50 OuterAnalysisManagerProxy<FunctionAnalysisManager, Scop, 55 using polly::Scop; 100 PreservedAnalyses run(Scop &L, ScopAnalysisManager &AM, 162 Scop *S; 170 virtual bool runOnScop(Scop &S) = 0; 173 virtual void printScop(raw_ostream &OS, Scop &S) const {} 202 void invalidateScop(Scop &S) { 211 Scop *CurrentScop; [all …]
|
| H A D | DependenceInfo.h | 126 bool isValidSchedule(Scop &S, const StatementToIslMapTy &NewSchedules) const; 130 bool isValidSchedule(Scop &S, isl::schedule NewSched) const; 164 void calculateDependences(Scop &S); 198 Scop &S; 221 Result run(Scop &S, ScopAnalysisManager &SAM, 229 PreservedAnalyses run(Scop &S, ScopAnalysisManager &, 261 bool runOnScop(Scop &S) override; 264 void printScop(raw_ostream &OS, Scop &) const override; 276 Scop *S; 303 const Dependences &recomputeDependences(Scop *S, [all …]
|
| H A D | PolyhedralInfo.h | 30 class Scop; variable 55 const Scop *getScopContainingLoop(llvm::Loop *L) const; 63 __isl_give isl_union_map *getScheduleForLoop(const Scop *S,
|
| H A D | ScopInfo.h | 427 Scop &S; 432 friend class Scop; variable 1176 Scop &Parent; 1526 Scop *getParent() { return &Parent; } in getParent() 1628 class Scop final { 1945 Scop(const Scop &) = delete; 1946 Scop &operator=(const Scop &) = delete; 1947 ~Scop(); 2688 std::unique_ptr<Scop> S; 2702 Scop *getScop() { return S.get(); } in getScop() [all …]
|
| H A D | ManualOptimizer.h | 23 class Scop; variable 38 isl::schedule applyManualTransformations(Scop *S, isl::schedule Sched,
|
| H A D | ZoneAlgo.h | 31 class Scop; variable 63 Scop *S; 164 ZoneAlgorithm(const char *PassName, Scop *S, llvm::LoopInfo *LI); 378 Scop *getScop() const { return S; } in getScop()
|
| H A D | MaximalStaticExpansion.h | 25 llvm::PreservedAnalyses run(Scop &, ScopAnalysisManager &, 33 PreservedAnalyses run(Scop &S, ScopAnalysisManager &,
|
| H A D | JSONExporter.h | 23 llvm::PreservedAnalyses run(Scop &, ScopAnalysisManager &, 30 llvm::PreservedAnalyses run(Scop &, ScopAnalysisManager &,
|
| H A D | ForwardOpTree.h | 29 llvm::PreservedAnalyses run(Scop &S, ScopAnalysisManager &SAM, 37 PreservedAnalyses run(Scop &S, ScopAnalysisManager &,
|
| /llvm-project-15.0.7/polly/lib/Analysis/ |
| H A D | ScopInfo.cpp | 1394 const Scop *S; 1398 const Scop *S) in SCEVFindInsideScop() 1487 void Scop::buildContext() { in buildContext() 1495 void Scop::addParameterBounds() { in addParameterBounds() 1504 void Scop::realignParams() { in realignParams() 1546 void Scop::simplifyContexts() { in simplifyContexts() 1597 Scop::Scop(Region &R, ScalarEvolution &ScalarEvolution, LoopInfo &LI, in Scop() function in Scop 1629 Scop::~Scop() = default; 2234 isl::union_map Scop::getWrites() { in getWrites() 2238 isl::union_map Scop::getReads() { in getReads() [all …]
|
| H A D | PruneUnprofitable.cpp | 43 static void updateStatistics(Scop &S, bool Pruned) { in updateStatistics() 44 Scop::ScopStatistics ScopStats = S.getStatistics(); in updateStatistics() 58 static bool runPruneUnprofitable(Scop &S) { in runPruneUnprofitable() 95 bool runOnScop(Scop &S) override { return runPruneUnprofitable(S); } in runOnScop() 111 PruneUnprofitablePass::run(Scop &S, ScopAnalysisManager &SAM, in run()
|
| H A D | ScopPass.cpp | 68 template class PassManager<Scop, ScopAnalysisManager, 71 template class OuterAnalysisManagerProxy<FunctionAnalysisManager, Scop, 76 PassManager<Scop, ScopAnalysisManager, ScopStandardAnalysisResults &, 77 SPMUpdater &>::run(Scop &S, ScopAnalysisManager &AM, in run() 90 PA.preserveSet<AllAnalysesOn<Scop>>(); in run() 116 bool allPreserved = PA.allAnalysesInSetPreserved<AllAnalysesOn<Scop>>(); in invalidate()
|
| H A D | PolyhedralInfo.cpp | 73 const Scop *S = getScopContainingLoop(L); in checkParallel() 77 DI->getDependences(const_cast<Scop *>(S), Dependences::AL_Access); in checkParallel() 101 const Scop *PolyhedralInfo::getScopContainingLoop(Loop *L) const { in getScopContainingLoop() 124 __isl_give isl_union_map *PolyhedralInfo::getScheduleForLoop(const Scop *S, in getScheduleForLoop()
|
| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | IslAst.cpp | 444 static bool benefitsFromPolly(Scop &Scop, bool PerformParallelTest) { in benefitsFromPolly() argument 449 if (!PerformParallelTest && !Scop.isOptimized() && in benefitsFromPolly() 450 Scop.getAliasGroups().empty()) in benefitsFromPolly() 492 IslAst::IslAst(Scop &Scop) : S(Scop), Ctx(Scop.getSharedIslCtx()) {} in IslAst() argument 552 IslAst IslAst::create(Scop &Scop, const Dependences &D) { in create() argument 553 IslAst Ast{Scop}; in create() 639 Scop &Scop, in runIslAst() argument 642 if (Scop.isToBeSkipped()) in runIslAst() 784 bool IslAstInfoWrapperPass::runOnScop(Scop &Scop) { in runOnScop() argument 789 Ast = runIslAst(Scop, GetDeps); in runOnScop() [all …]
|
| /llvm-project-15.0.7/polly/lib/Exchange/ |
| H A D | JSONExporter.cpp | 60 bool runOnScop(Scop &S) override; 63 void printScop(raw_ostream &OS, Scop &S) const override; 75 bool runOnScop(Scop &S) override; 78 void printScop(raw_ostream &OS, Scop &S) const override; 85 static std::string getFileName(Scop &S, StringRef Suffix = "") { in getFileName() 100 static json::Array exportArrays(const Scop &S) { in exportArrays() 131 static json::Value getJSON(Scop &S) { in getJSON() 177 static void exportScop(Scop &S) { in exportScop() 748 bool JSONExporter::runOnScop(Scop &S) { in runOnScop() 777 bool JSONImporter::runOnScop(Scop &S) { in runOnScop() [all …]
|
| /llvm-project-15.0.7/polly/lib/Transform/ |
| H A D | MaximalStaticExpansion.cpp | 49 bool runOnScop(Scop &S) override; 55 void printScop(raw_ostream &OS, Scop &S) const override; 78 Scop &S; 139 SmallPtrSetImpl<MemoryAccess *> &Reads, Scop &S) { in isExpandable() 400 void expandPhi(Scop &S, const ScopArrayInfo *SAI, in expandPhi() 412 MaximalStaticExpansionImpl(Scop &S, isl::union_map &Dependences, in MaximalStaticExpansionImpl() 463 runMaximalStaticExpansion(Scop &S, OptimizationRemarkEmitter &ORE, in runMaximalStaticExpansion() 503 MaximalStaticExpansionPass::run(Scop &S, ScopAnalysisManager &SAM, in run() 510 MaximalStaticExpansionPrinterPass::run(Scop &S, ScopAnalysisManager &SAM, in run() 518 bool MaximalStaticExpanderWrapperPass::runOnScop(Scop &S) { in runOnScop() [all …]
|
| H A D | DeadCodeElimination.cpp | 60 bool runOnScop(Scop &S) override; 85 static isl::union_set getLiveOut(Scop &S) { in getLiveOut() 109 static bool runDeadCodeElimination(Scop &S, int PreciseSteps, in runDeadCodeElimination() 147 bool DeadCodeElimWrapperPass::runOnScop(Scop &S) { in runOnScop() 172 llvm::PreservedAnalyses DeadCodeElimPass::run(Scop &S, ScopAnalysisManager &SAM, in run()
|
| H A D | Simplify.cpp | 129 Scop *S = nullptr; 204 void run(Scop &S, LoopInfo *LI); 206 void printScop(raw_ostream &OS, Scop &S) const; 701 void SimplifyImpl::run(Scop &S, LoopInfo *LI) { in run() 745 void SimplifyImpl::printScop(raw_ostream &OS, Scop &S) const { in printScop() 771 bool runOnScop(Scop &S) override { in runOnScop() 780 void printScop(raw_ostream &OS, Scop &S) const override { in printScop() 791 runSimplifyUsingNPM(Scop &S, ScopAnalysisManager &SAM, in runSimplifyUsingNPM() 814 llvm::PreservedAnalyses SimplifyPass::run(Scop &S, ScopAnalysisManager &SAM, in run() 821 SimplifyPrinterPass::run(Scop &S, ScopAnalysisManager &SAM, in run() [all …]
|
| H A D | FlattenSchedule.cpp | 55 bool runOnScop(Scop &S) override { in runOnScop() 82 void printScop(raw_ostream &OS, Scop &S) const override { in printScop() 110 bool runOnScop(Scop &S) override { in runOnScop()
|
| /llvm-project-15.0.7/polly/test/ScopDetect/ |
| H A D | base_pointer.ll | 32 ; CHECK: Valid Region for Scop: pre => return 58 ; CHECK: Valid Region for Scop: for.i => exit 84 ; CHECK-LABEL: Valid Region for Scop: for.i => exit 112 ; CHECK: Valid Region for Scop: for.i => exit 141 ; CHECK: Valid Region for Scop: for.i => exit 174 ; CHECK-NOT: Valid Region for Scop 205 ; CHECK-NOT: Valid Region for Scop 235 ; CHECK-NOT: Valid Region for Scop 265 ; CHECK-NOT: Valid Region for Scop 296 ; CHECK: Valid Region for Scop: for.j => for.i.inc
|
| /llvm-project-15.0.7/polly/test/ScopDetectionDiagnostics/ |
| H A D | ReportMultipleNonAffineAccesses.ll | 24 ; CHECK: remark: /tmp/test.c:3:20: The following errors keep this region from being a Scop. 26 ; CHECK-NEXT: remark: /tmp/test.c:13:51: Invalid Scop candidate ends here. 28 ; ALL: remark: /tmp/test.c:3:20: The following errors keep this region from being a Scop. 38 ; ALL-NEXT: remark: /tmp/test.c:13:51: Invalid Scop candidate ends here. 40 ; DELIN: remark: /tmp/test.c:3:20: The following errors keep this region from being a Scop. 42 ; DELIN-NEXT: remark: /tmp/test.c:13:51: Invalid Scop candidate ends here. 44 ; DELIN-ALL: remark: /tmp/test.c:3:20: The following errors keep this region from being a Scop. 54 ; DELIN-ALL-NEXT: remark: /tmp/test.c:13:51: Invalid Scop candidate ends here. 56 ; NONAFFINE-NOT: remark: The following errors keep this region from being a Scop.
|
| H A D | ReportUnprofitable.ll | 21 ; CHECK: remark: /tmp/test.c:2:3: The following errors keep this region from being a Scop. 23 ; CHECK: remark: /tmp/test.c:3:10: Invalid Scop candidate ends here. 25 ; CHECK: remark: /tmp/test.c:7:3: The following errors keep this region from being a Scop. 27 ; CHECK: remark: /tmp/test.c:8:10: Invalid Scop candidate ends here. 35 ; YAML: - String: The following errors keep this region from being a Scop. 51 ; YAML: - String: Invalid Scop candidate ends here. 59 ; YAML: - String: The following errors keep this region from being a Scop. 75 ; YAML: - String: Invalid Scop candidate ends here.
|