/Users/buildslave/jenkins/sharedspace/clang-stage2-coverage-R@2/llvm/lib/Passes/PassRegistry.def
Line | Count | Source |
1 | 8.23k | //===- PassRegistry.def - Registry of passes --------------------*- C++ -*-===// |
2 | 8.23k | // |
3 | 8.23k | // The LLVM Compiler Infrastructure |
4 | 8.23k | // |
5 | 8.23k | // This file is distributed under the University of Illinois Open Source |
6 | 8.23k | // License. See LICENSE.TXT for details. |
7 | 8.23k | // |
8 | 8.23k | //===----------------------------------------------------------------------===// |
9 | 8.23k | // |
10 | 8.23k | // This file is used as the registry of passes that are part of the core LLVM |
11 | 8.23k | // libraries. This file describes both transformation passes and analyses |
12 | 8.23k | // Analyses are registered while transformation passes have names registered |
13 | 8.23k | // that can be used when providing a textual pass pipeline. |
14 | 8.23k | // |
15 | 8.23k | //===----------------------------------------------------------------------===// |
16 | 8.23k | |
17 | 8.23k | // NOTE: NO INCLUDE GUARD DESIRED! |
18 | 8.23k | |
19 | | #ifndef MODULE_ANALYSIS |
20 | | #define MODULE_ANALYSIS(NAME, CREATE_PASS) |
21 | | #endif |
22 | 1.58k | MODULE_ANALYSIS1.58k ("callgraph", CallGraphAnalysis())
|
23 | 1.58k | MODULE_ANALYSIS1.58k ("lcg", LazyCallGraphAnalysis())
|
24 | 1.58k | MODULE_ANALYSIS1.58k ("module-summary", ModuleSummaryIndexAnalysis())
|
25 | 1.58k | MODULE_ANALYSIS1.58k ("no-op-module", NoOpModuleAnalysis())
|
26 | 1.56k | MODULE_ANALYSIS1.56k ("profile-summary", ProfileSummaryAnalysis())
|
27 | 1.54k | MODULE_ANALYSIS1.54k ("targetlibinfo", TargetLibraryAnalysis())
|
28 | 1.53k | MODULE_ANALYSIS1.53k ("verify", VerifierAnalysis())
|
29 | 767 | |
30 | | #ifndef MODULE_ALIAS_ANALYSIS |
31 | | #define MODULE_ALIAS_ANALYSIS(NAME, CREATE_PASS) \ |
32 | 1.53k | MODULE_ANALYSIS(NAME, CREATE_PASS) |
33 | | #endif |
34 | 1.67k | MODULE_ALIAS_ANALYSIS1.67k ("globals-aa", GlobalsAA())
|
35 | 762 | #undef MODULE_ALIAS_ANALYSIS |
36 | 762 | #undef MODULE_ANALYSIS |
37 | 762 | |
38 | | #ifndef MODULE_PASS |
39 | | #define MODULE_PASS(NAME, CREATE_PASS) |
40 | | #endif |
41 | 757 | MODULE_PASS757 ("always-inline", AlwaysInlinerPass())
|
42 | 751 | MODULE_PASS751 ("constmerge", ConstantMergePass())
|
43 | 749 | MODULE_PASS749 ("cross-dso-cfi", CrossDSOCFIPass())
|
44 | 745 | MODULE_PASS745 ("deadargelim", DeadArgumentEliminationPass())
|
45 | 743 | MODULE_PASS743 ("elim-avail-extern", EliminateAvailableExternallyPass())
|
46 | 741 | MODULE_PASS741 ("forceattrs", ForceFunctionAttrsPass())
|
47 | 739 | MODULE_PASS739 ("function-import", FunctionImportPass())
|
48 | 739 | MODULE_PASS739 ("globaldce", GlobalDCEPass())
|
49 | 734 | MODULE_PASS734 ("globalopt", GlobalOptPass())
|
50 | 732 | MODULE_PASS732 ("globalsplit", GlobalSplitPass())
|
51 | 730 | MODULE_PASS730 ("inferattrs", InferFunctionAttrsPass())
|
52 | 728 | MODULE_PASS728 ("insert-gcov-profiling", GCOVProfilerPass())
|
53 | 708 | MODULE_PASS708 ("instrprof", InstrProfiling())
|
54 | 671 | MODULE_PASS671 ("internalize", InternalizePass())
|
55 | 667 | MODULE_PASS667 ("invalidate<all>", InvalidateAllAnalysesPass())
|
56 | 666 | MODULE_PASS666 ("ipsccp", IPSCCPPass())
|
57 | 662 | MODULE_PASS662 ("lowertypetests", LowerTypeTestsPass())
|
58 | 660 | MODULE_PASS660 ("name-anon-globals", NameAnonGlobalPass())
|
59 | 652 | MODULE_PASS652 ("no-op-module", NoOpModulePass())
|
60 | 626 | MODULE_PASS626 ("partial-inliner", PartialInlinerPass())
|
61 | 560 | MODULE_PASS560 ("pgo-icall-prom", PGOIndirectCallPromotion())
|
62 | 544 | MODULE_PASS544 ("pgo-instr-gen", PGOInstrumentationGen())
|
63 | 494 | MODULE_PASS494 ("pgo-instr-use", PGOInstrumentationUse())
|
64 | 448 | MODULE_PASS448 ("pre-isel-intrinsic-lowering", PreISelIntrinsicLoweringPass())
|
65 | 446 | MODULE_PASS446 ("print-profile-summary", ProfileSummaryPrinterPass(dbgs()))
|
66 | 444 | MODULE_PASS444 ("print-callgraph", CallGraphPrinterPass(dbgs()))
|
67 | 442 | MODULE_PASS442 ("print", PrintModulePass(dbgs()))
|
68 | 438 | MODULE_PASS438 ("print-lcg", LazyCallGraphPrinterPass(dbgs()))
|
69 | 434 | MODULE_PASS434 ("print-lcg-dot", LazyCallGraphDOTPrinterPass(dbgs()))
|
70 | 434 | MODULE_PASS434 ("rewrite-symbols", RewriteSymbolPass())
|
71 | 432 | MODULE_PASS432 ("rpo-functionattrs", ReversePostOrderFunctionAttrsPass())
|
72 | 430 | MODULE_PASS430 ("sample-profile", SampleProfileLoaderPass())
|
73 | 386 | MODULE_PASS386 ("strip-dead-prototypes", StripDeadPrototypesPass())
|
74 | 383 | MODULE_PASS383 ("wholeprogramdevirt", WholeProgramDevirtPass())
|
75 | 379 | MODULE_PASS("verify", VerifierPass()) |
76 | 379 | #undef MODULE_PASS |
77 | 379 | |
78 | | #ifndef CGSCC_ANALYSIS |
79 | | #define CGSCC_ANALYSIS(NAME, CREATE_PASS) |
80 | | #endif |
81 | 1.29k | CGSCC_ANALYSIS1.29k ("no-op-cgscc", NoOpCGSCCAnalysis())
|
82 | 1.28k | CGSCC_ANALYSIS1.28k ("fam-proxy", FunctionAnalysisManagerCGSCCProxy())
|
83 | 513 | #undef CGSCC_ANALYSIS |
84 | 513 | |
85 | | #ifndef CGSCC_PASS |
86 | | #define CGSCC_PASS(NAME, CREATE_PASS) |
87 | | #endif |
88 | 513 | CGSCC_PASS513 ("argpromotion", ArgumentPromotionPass())
|
89 | 482 | CGSCC_PASS482 ("invalidate<all>", InvalidateAllAnalysesPass())
|
90 | 482 | CGSCC_PASS482 ("function-attrs", PostOrderFunctionAttrsPass())
|
91 | 471 | CGSCC_PASS471 ("inline", InlinerPass())
|
92 | 361 | CGSCC_PASS("no-op-cgscc", NoOpCGSCCPass()) |
93 | 361 | #undef CGSCC_PASS |
94 | 361 | |
95 | | #ifndef FUNCTION_ANALYSIS |
96 | | #define FUNCTION_ANALYSIS(NAME, CREATE_PASS) |
97 | | #endif |
98 | 1.70k | FUNCTION_ANALYSIS1.70k ("aa", AAManager())
|
99 | 1.62k | FUNCTION_ANALYSIS1.62k ("assumptions", AssumptionAnalysis())
|
100 | 1.61k | FUNCTION_ANALYSIS1.61k ("block-freq", BlockFrequencyAnalysis())
|
101 | 1.61k | FUNCTION_ANALYSIS1.61k ("branch-prob", BranchProbabilityAnalysis())
|
102 | 1.61k | FUNCTION_ANALYSIS1.61k ("domtree", DominatorTreeAnalysis())
|
103 | 1.59k | FUNCTION_ANALYSIS1.59k ("postdomtree", PostDominatorTreeAnalysis())
|
104 | 1.59k | FUNCTION_ANALYSIS1.59k ("demanded-bits", DemandedBitsAnalysis())
|
105 | 1.59k | FUNCTION_ANALYSIS1.59k ("domfrontier", DominanceFrontierAnalysis())
|
106 | 1.59k | FUNCTION_ANALYSIS1.59k ("loops", LoopAnalysis())
|
107 | 1.58k | FUNCTION_ANALYSIS1.58k ("lazy-value-info", LazyValueAnalysis())
|
108 | 1.58k | FUNCTION_ANALYSIS1.58k ("da", DependenceAnalysis())
|
109 | 1.58k | FUNCTION_ANALYSIS1.58k ("memdep", MemoryDependenceAnalysis())
|
110 | 1.57k | FUNCTION_ANALYSIS1.57k ("memoryssa", MemorySSAAnalysis())
|
111 | 1.57k | FUNCTION_ANALYSIS1.57k ("regions", RegionInfoAnalysis())
|
112 | 1.57k | FUNCTION_ANALYSIS1.57k ("no-op-function", NoOpFunctionAnalysis())
|
113 | 1.56k | FUNCTION_ANALYSIS1.56k ("opt-remark-emit", OptimizationRemarkEmitterAnalysis())
|
114 | 1.44k | FUNCTION_ANALYSIS1.44k ("scalar-evolution", ScalarEvolutionAnalysis())
|
115 | 1.36k | FUNCTION_ANALYSIS1.36k ("targetlibinfo", TargetLibraryAnalysis())
|
116 | 1.36k | FUNCTION_ANALYSIS1.36k ("targetir",
|
117 | 563 | TM ? TM->getTargetIRAnalysis() : TargetIRAnalysis()) |
118 | 1.33k | FUNCTION_ANALYSIS1.33k ("verify", VerifierAnalysis())
|
119 | 558 | |
120 | | #ifndef FUNCTION_ALIAS_ANALYSIS |
121 | | #define FUNCTION_ALIAS_ANALYSIS(NAME, CREATE_PASS) \ |
122 | 7.97k | FUNCTION_ANALYSIS(NAME, CREATE_PASS) |
123 | | #endif |
124 | 1.46k | FUNCTION_ALIAS_ANALYSIS1.46k ("basic-aa", BasicAA())
|
125 | 1.37k | FUNCTION_ALIAS_ANALYSIS1.37k ("cfl-anders-aa", CFLAndersAA())
|
126 | 1.35k | FUNCTION_ALIAS_ANALYSIS1.35k ("cfl-steens-aa", CFLSteensAA())
|
127 | 1.33k | FUNCTION_ALIAS_ANALYSIS1.33k ("scev-aa", SCEVAA())
|
128 | 1.33k | FUNCTION_ALIAS_ANALYSIS1.33k ("scoped-noalias-aa", ScopedNoAliasAA())
|
129 | 1.33k | FUNCTION_ALIAS_ANALYSIS1.33k ("type-based-aa", TypeBasedAA())
|
130 | 556 | #undef FUNCTION_ALIAS_ANALYSIS |
131 | 556 | #undef FUNCTION_ANALYSIS |
132 | 556 | |
133 | | #ifndef FUNCTION_PASS |
134 | | #define FUNCTION_PASS(NAME, CREATE_PASS) |
135 | | #endif |
136 | 556 | FUNCTION_PASS556 ("aa-eval", AAEvaluator())
|
137 | 472 | FUNCTION_PASS472 ("adce", ADCEPass())
|
138 | 466 | FUNCTION_PASS466 ("add-discriminators", AddDiscriminatorsPass())
|
139 | 448 | FUNCTION_PASS448 ("alignment-from-assumptions", AlignmentFromAssumptionsPass())
|
140 | 442 | FUNCTION_PASS442 ("bdce", BDCEPass())
|
141 | 440 | FUNCTION_PASS440 ("break-crit-edges", BreakCriticalEdgesPass())
|
142 | 438 | FUNCTION_PASS438 ("consthoist", ConstantHoistingPass())
|
143 | 436 | FUNCTION_PASS436 ("correlated-propagation", CorrelatedValuePropagationPass())
|
144 | 433 | FUNCTION_PASS433 ("dce", DCEPass())
|
145 | 430 | FUNCTION_PASS430 ("div-rem-pairs", DivRemPairsPass())
|
146 | 430 | FUNCTION_PASS430 ("dse", DSEPass())
|
147 | 427 | FUNCTION_PASS427 ("dot-cfg", CFGPrinterPass())
|
148 | 427 | FUNCTION_PASS427 ("dot-cfg-only", CFGOnlyPrinterPass())
|
149 | 425 | FUNCTION_PASS425 ("early-cse", EarlyCSEPass(/*UseMemorySSA=*/false))
|
150 | 417 | FUNCTION_PASS417 ("early-cse-memssa", EarlyCSEPass(/*UseMemorySSA=*/true))
|
151 | 413 | FUNCTION_PASS413 ("gvn-hoist", GVNHoistPass())
|
152 | 413 | FUNCTION_PASS413 ("instcombine", InstCombinePass())
|
153 | 393 | FUNCTION_PASS393 ("instsimplify", InstSimplifierPass())
|
154 | 391 | FUNCTION_PASS391 ("invalidate<all>", InvalidateAllAnalysesPass())
|
155 | 387 | FUNCTION_PASS387 ("float2int", Float2IntPass())
|
156 | 385 | FUNCTION_PASS385 ("no-op-function", NoOpFunctionPass())
|
157 | 341 | FUNCTION_PASS341 ("libcalls-shrinkwrap", LibCallsShrinkWrapPass())
|
158 | 335 | FUNCTION_PASS335 ("loweratomic", LowerAtomicPass())
|
159 | 327 | FUNCTION_PASS327 ("lower-expect", LowerExpectIntrinsicPass())
|
160 | 321 | FUNCTION_PASS321 ("lower-guard-intrinsic", LowerGuardIntrinsicPass())
|
161 | 319 | FUNCTION_PASS319 ("guard-widening", GuardWideningPass())
|
162 | 317 | FUNCTION_PASS317 ("gvn", GVN())
|
163 | 297 | FUNCTION_PASS297 ("loop-simplify", LoopSimplifyPass())
|
164 | 291 | FUNCTION_PASS291 ("loop-sink", LoopSinkPass())
|
165 | 288 | FUNCTION_PASS288 ("lowerinvoke", LowerInvokePass())
|
166 | 286 | FUNCTION_PASS286 ("mem2reg", PromotePass())
|
167 | 284 | FUNCTION_PASS284 ("memcpyopt", MemCpyOptPass())
|
168 | 282 | FUNCTION_PASS282 ("mldst-motion", MergedLoadStoreMotionPass())
|
169 | 281 | FUNCTION_PASS281 ("nary-reassociate", NaryReassociatePass())
|
170 | 271 | FUNCTION_PASS271 ("newgvn", NewGVNPass())
|
171 | 267 | FUNCTION_PASS267 ("jump-threading", JumpThreadingPass())
|
172 | 260 | FUNCTION_PASS260 ("partially-inline-libcalls", PartiallyInlineLibCallsPass())
|
173 | 256 | FUNCTION_PASS256 ("lcssa", LCSSAPass())
|
174 | 242 | FUNCTION_PASS242 ("loop-data-prefetch", LoopDataPrefetchPass())
|
175 | 226 | FUNCTION_PASS226 ("loop-load-elim", LoopLoadEliminationPass())
|
176 | 222 | FUNCTION_PASS222 ("loop-distribute", LoopDistributePass())
|
177 | 220 | FUNCTION_PASS220 ("loop-vectorize", LoopVectorizePass())
|
178 | 206 | FUNCTION_PASS206 ("pgo-memop-opt", PGOMemOPSizeOpt())
|
179 | 200 | FUNCTION_PASS200 ("print", PrintFunctionPass(dbgs()))
|
180 | 198 | FUNCTION_PASS198 ("print<assumptions>", AssumptionPrinterPass(dbgs()))
|
181 | 196 | FUNCTION_PASS196 ("print<block-freq>", BlockFrequencyPrinterPass(dbgs()))
|
182 | 176 | FUNCTION_PASS176 ("print<branch-prob>", BranchProbabilityPrinterPass(dbgs()))
|
183 | 162 | FUNCTION_PASS162 ("print<domtree>", DominatorTreePrinterPass(dbgs()))
|
184 | 159 | FUNCTION_PASS159 ("print<postdomtree>", PostDominatorTreePrinterPass(dbgs()))
|
185 | 149 | FUNCTION_PASS149 ("print<demanded-bits>", DemandedBitsPrinterPass(dbgs()))
|
186 | 145 | FUNCTION_PASS145 ("print<domfrontier>", DominanceFrontierPrinterPass(dbgs()))
|
187 | 145 | FUNCTION_PASS145 ("print<loops>", LoopPrinterPass(dbgs()))
|
188 | 143 | FUNCTION_PASS143 ("print<memoryssa>", MemorySSAPrinterPass(dbgs()))
|
189 | 105 | FUNCTION_PASS105 ("print<regions>", RegionInfoPrinterPass(dbgs()))
|
190 | 101 | FUNCTION_PASS101 ("print<scalar-evolution>", ScalarEvolutionPrinterPass(dbgs()))
|
191 | 97 | FUNCTION_PASS97 ("reassociate", ReassociatePass())
|
192 | 95 | FUNCTION_PASS95 ("sccp", SCCPPass())
|
193 | 93 | FUNCTION_PASS93 ("simplify-cfg", SimplifyCFGPass())
|
194 | 89 | FUNCTION_PASS89 ("sink", SinkingPass())
|
195 | 87 | FUNCTION_PASS87 ("slp-vectorizer", SLPVectorizerPass())
|
196 | 81 | FUNCTION_PASS81 ("speculative-execution", SpeculativeExecutionPass())
|
197 | 79 | FUNCTION_PASS79 ("sroa", SROA())
|
198 | 74 | FUNCTION_PASS74 ("tailcallelim", TailCallElimPass())
|
199 | 69 | FUNCTION_PASS69 ("unreachableblockelim", UnreachableBlockElimPass())
|
200 | 67 | FUNCTION_PASS67 ("unroll", LoopUnrollPass())
|
201 | 49 | FUNCTION_PASS49 ("verify", VerifierPass())
|
202 | 48 | FUNCTION_PASS48 ("verify<domtree>", DominatorTreeVerifierPass())
|
203 | 45 | FUNCTION_PASS45 ("verify<loops>", LoopVerifierPass())
|
204 | 41 | FUNCTION_PASS41 ("verify<memoryssa>", MemorySSAVerifierPass())
|
205 | 24 | FUNCTION_PASS24 ("verify<regions>", RegionInfoVerifierPass())
|
206 | 24 | FUNCTION_PASS24 ("view-cfg", CFGViewerPass())
|
207 | 24 | FUNCTION_PASS("view-cfg-only", CFGOnlyViewerPass()) |
208 | 24 | #undef FUNCTION_PASS |
209 | 24 | |
210 | | #ifndef LOOP_ANALYSIS |
211 | | #define LOOP_ANALYSIS(NAME, CREATE_PASS) |
212 | | #endif |
213 | 911 | LOOP_ANALYSIS911 ("no-op-loop", NoOpLoopAnalysis())
|
214 | 911 | LOOP_ANALYSIS911 ("access-info", LoopAccessAnalysis())
|
215 | 910 | LOOP_ANALYSIS910 ("ivusers", IVUsersAnalysis())
|
216 | 134 | #undef LOOP_ANALYSIS |
217 | 134 | |
218 | | #ifndef LOOP_PASS |
219 | | #define LOOP_PASS(NAME, CREATE_PASS) |
220 | | #endif |
221 | 130 | LOOP_PASS130 ("invalidate<all>", InvalidateAllAnalysesPass())
|
222 | 130 | LOOP_PASS130 ("licm", LICMPass())
|
223 | 97 | LOOP_PASS97 ("loop-idiom", LoopIdiomRecognizePass())
|
224 | 96 | LOOP_PASS96 ("loop-instsimplify", LoopInstSimplifyPass())
|
225 | 96 | LOOP_PASS96 ("rotate", LoopRotatePass())
|
226 | 95 | LOOP_PASS95 ("no-op-loop", NoOpLoopPass())
|
227 | 70 | LOOP_PASS70 ("print", PrintLoopPass(dbgs()))
|
228 | 70 | LOOP_PASS70 ("loop-deletion", LoopDeletionPass())
|
229 | 65 | LOOP_PASS65 ("simplify-cfg", LoopSimplifyCFGPass())
|
230 | 62 | LOOP_PASS62 ("strength-reduce", LoopStrengthReducePass())
|
231 | 61 | LOOP_PASS61 ("indvars", IndVarSimplifyPass())
|
232 | 58 | LOOP_PASS58 ("unroll-full", LoopFullUnrollPass())
|
233 | 43 | LOOP_PASS43 ("unswitch", SimpleLoopUnswitchPass())
|
234 | 40 | LOOP_PASS40 ("print-access-info", LoopAccessInfoPrinterPass(dbgs()))
|
235 | 16 | LOOP_PASS16 ("print<ivusers>", IVUsersPrinterPass(dbgs()))
|
236 | 12 | LOOP_PASS("loop-predication", LoopPredicationPass()) |
237 | 8.23k | #undef LOOP_PASS |