1 #ifndef FUNCTION_ANALYSIS
2 #define
FUNCTION_ANALYSIS(NAME
, CREATE_PASS
)
4 FUNCTION_ANALYSIS("polly-detect", ScopAnalysis())
5 FUNCTION_ANALYSIS("polly-function-scops", ScopInfoAnalysis())
6 #undef FUNCTION_ANALYSIS
9 #define
FUNCTION_PASS(NAME
, CREATE_PASS
)
11 FUNCTION_PASS("polly-prepare", CodePreparationPass())
12 FUNCTION_PASS("print<polly-detect>", ScopAnalysisPrinterPass(llvm
::errs()))
13 FUNCTION_PASS("print<polly-function-scops>", ScopInfoPrinterPass(llvm
::errs()))
14 FUNCTION_PASS("polly-scop-viewer", ScopViewer())
15 FUNCTION_PASS("polly-scop-only-viewer", ScopOnlyViewer())
16 FUNCTION_PASS("polly-scop-printer", ScopPrinter())
17 FUNCTION_PASS("polly-scop-only-printer", ScopOnlyPrinter())
21 #define
SCOP_ANALYSIS(NAME
, CREATE_PASS
)
23 SCOP_ANALYSIS("pass-instrumentation", llvm
::PassInstrumentationAnalysis(PIC
))
24 SCOP_ANALYSIS("polly-ast", IslAstAnalysis())
25 SCOP_ANALYSIS("polly-dependences", DependenceAnalysis())
29 #define
SCOP_PASS(NAME
, CREATE_PASS
)
31 SCOP_PASS("polly-export-jscop", JSONExportPass())
32 SCOP_PASS("polly-import-jscop", JSONImportPass())
33 SCOP_PASS("print<polly-ast>", IslAstPrinterPass(llvm
::outs()))
34 SCOP_PASS("print<polly-dependences>", DependenceInfoPrinterPass(llvm
::outs()))
35 SCOP_PASS("polly-codegen", CodeGenerationPass())
36 SCOP_PASS("polly-simplify", SimplifyPass())
37 SCOP_PASS("print<polly-simplify>", SimplifyPrinterPass(llvm
::outs()))
38 SCOP_PASS("polly-optree", ForwardOpTreePass())
39 SCOP_PASS("print<polly-optree>", ForwardOpTreePrinterPass(llvm
::outs()))
40 SCOP_PASS("polly-delicm", DeLICMPass())
41 SCOP_PASS("print<polly-delicm>", DeLICMPrinterPass(llvm
::outs()))
42 SCOP_PASS("polly-prune-unprofitable", PruneUnprofitablePass())
43 SCOP_PASS("polly-opt-isl", IslScheduleOptimizerPass())
44 SCOP_PASS("print<polly-opt-isl>", IslScheduleOptimizerPrinterPass(llvm
::outs()))
45 SCOP_PASS("polly-dce", DeadCodeElimPass())
46 SCOP_PASS("polly-mse", MaximalStaticExpansionPass())
47 SCOP_PASS("print<polly-mse>", MaximalStaticExpansionPrinterPass(llvm
::outs()))