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

source code of polly/lib/Support/PollyPasses.def