1 //===- llvm/InitializePasses.h -------- Initialize All Passes ---*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains the declarations for the pass initialization routines
11 // for the entire LLVM project.
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_INITIALIZEPASSES_H
16 #define LLVM_INITIALIZEPASSES_H
22 /// initializeCore - Initialize all passes linked into the
23 /// TransformUtils library.
24 void initializeCore(PassRegistry&);
26 /// initializeTransformUtils - Initialize all passes linked into the
27 /// TransformUtils library.
28 void initializeTransformUtils(PassRegistry&);
30 /// initializeScalarOpts - Initialize all passes linked into the
31 /// ScalarOpts library.
32 void initializeScalarOpts(PassRegistry&);
34 /// initializeObjCARCOpts - Initialize all passes linked into the ObjCARCOpts
36 void initializeObjCARCOpts(PassRegistry&);
38 /// initializeVectorization - Initialize all passes linked into the
39 /// Vectorize library.
40 void initializeVectorization(PassRegistry&);
42 /// initializeInstCombine - Initialize all passes linked into the
43 /// ScalarOpts library.
44 void initializeInstCombine(PassRegistry&);
46 /// initializeIPO - Initialize all passes linked into the IPO library.
47 void initializeIPO(PassRegistry&);
49 /// initializeInstrumentation - Initialize all passes linked into the
50 /// Instrumentation library.
51 void initializeInstrumentation(PassRegistry&);
53 /// initializeAnalysis - Initialize all passes linked into the Analysis library.
54 void initializeAnalysis(PassRegistry&);
56 /// initializeIPA - Initialize all passes linked into the IPA library.
57 void initializeIPA(PassRegistry&);
59 /// initializeCodeGen - Initialize all passes linked into the CodeGen library.
60 void initializeCodeGen(PassRegistry&);
62 /// initializeCodeGen - Initialize all passes linked into the CodeGen library.
63 void initializeTarget(PassRegistry&);
65 void initializeAAEvalPass(PassRegistry&);
66 void initializeAddDiscriminatorsPass(PassRegistry&);
67 void initializeADCEPass(PassRegistry&);
68 void initializeAliasAnalysisAnalysisGroup(PassRegistry&);
69 void initializeAliasAnalysisCounterPass(PassRegistry&);
70 void initializeAliasDebuggerPass(PassRegistry&);
71 void initializeAliasSetPrinterPass(PassRegistry&);
72 void initializeAlwaysInlinerPass(PassRegistry&);
73 void initializeArgPromotionPass(PassRegistry&);
74 void initializeAtomicExpandPass(PassRegistry&);
75 void initializeSampleProfileLoaderPass(PassRegistry&);
76 void initializeAlignmentFromAssumptionsPass(PassRegistry&);
77 void initializeBarrierNoopPass(PassRegistry&);
78 void initializeBasicAliasAnalysisPass(PassRegistry&);
79 void initializeCallGraphWrapperPassPass(PassRegistry &);
80 void initializeBasicTTIPass(PassRegistry&);
81 void initializeBlockExtractorPassPass(PassRegistry&);
82 void initializeBlockFrequencyInfoPass(PassRegistry&);
83 void initializeBoundsCheckingPass(PassRegistry&);
84 void initializeBranchFolderPassPass(PassRegistry&);
85 void initializeBranchProbabilityInfoPass(PassRegistry&);
86 void initializeBreakCriticalEdgesPass(PassRegistry&);
87 void initializeCallGraphPrinterPass(PassRegistry&);
88 void initializeCallGraphViewerPass(PassRegistry&);
89 void initializeCFGOnlyPrinterPass(PassRegistry&);
90 void initializeCFGOnlyViewerPass(PassRegistry&);
91 void initializeCFGPrinterPass(PassRegistry&);
92 void initializeCFGSimplifyPassPass(PassRegistry&);
93 void initializeCFLAliasAnalysisPass(PassRegistry&);
94 void initializeForwardControlFlowIntegrityPass(PassRegistry&);
95 void initializeFlattenCFGPassPass(PassRegistry&);
96 void initializeStructurizeCFGPass(PassRegistry&);
97 void initializeCFGViewerPass(PassRegistry&);
98 void initializeConstantHoistingPass(PassRegistry&);
99 void initializeCodeGenPreparePass(PassRegistry&);
100 void initializeConstantMergePass(PassRegistry&);
101 void initializeConstantPropagationPass(PassRegistry&);
102 void initializeMachineCopyPropagationPass(PassRegistry&);
103 void initializeCostModelAnalysisPass(PassRegistry&);
104 void initializeCorrelatedValuePropagationPass(PassRegistry&);
105 void initializeDAEPass(PassRegistry&);
106 void initializeDAHPass(PassRegistry&);
107 void initializeDCEPass(PassRegistry&);
108 void initializeDSEPass(PassRegistry&);
109 void initializeDebugInfoVerifierLegacyPassPass(PassRegistry &);
110 void initializeDeadInstEliminationPass(PassRegistry&);
111 void initializeDeadMachineInstructionElimPass(PassRegistry&);
112 void initializeDelinearizationPass(PassRegistry &);
113 void initializeDependenceAnalysisPass(PassRegistry&);
114 void initializeDomOnlyPrinterPass(PassRegistry&);
115 void initializeDomOnlyViewerPass(PassRegistry&);
116 void initializeDomPrinterPass(PassRegistry&);
117 void initializeDomViewerPass(PassRegistry&);
118 void initializeDominanceFrontierPass(PassRegistry&);
119 void initializeDominatorTreeWrapperPassPass(PassRegistry&);
120 void initializeEarlyIfConverterPass(PassRegistry&);
121 void initializeEdgeBundlesPass(PassRegistry&);
122 void initializeExpandPostRAPass(PassRegistry&);
123 void initializeGCOVProfilerPass(PassRegistry&);
124 void initializeInstrProfilingPass(PassRegistry&);
125 void initializeAddressSanitizerPass(PassRegistry&);
126 void initializeAddressSanitizerModulePass(PassRegistry&);
127 void initializeMemorySanitizerPass(PassRegistry&);
128 void initializeThreadSanitizerPass(PassRegistry&);
129 void initializeSanitizerCoverageModulePass(PassRegistry&);
130 void initializeDataFlowSanitizerPass(PassRegistry&);
131 void initializeScalarizerPass(PassRegistry&);
132 void initializeEarlyCSEPass(PassRegistry&);
133 void initializeExpandISelPseudosPass(PassRegistry&);
134 void initializeFunctionAttrsPass(PassRegistry&);
135 void initializeGCMachineCodeAnalysisPass(PassRegistry&);
136 void initializeGCModuleInfoPass(PassRegistry&);
137 void initializeGVNPass(PassRegistry&);
138 void initializeGlobalDCEPass(PassRegistry&);
139 void initializeGlobalOptPass(PassRegistry&);
140 void initializeGlobalsModRefPass(PassRegistry&);
141 void initializeIPCPPass(PassRegistry&);
142 void initializeIPSCCPPass(PassRegistry&);
143 void initializeIVUsersPass(PassRegistry&);
144 void initializeIfConverterPass(PassRegistry&);
145 void initializeIndVarSimplifyPass(PassRegistry&);
146 void initializeInlineCostAnalysisPass(PassRegistry&);
147 void initializeInstCombinerPass(PassRegistry&);
148 void initializeInstCountPass(PassRegistry&);
149 void initializeInstNamerPass(PassRegistry&);
150 void initializeInternalizePassPass(PassRegistry&);
151 void initializeIntervalPartitionPass(PassRegistry&);
152 void initializeJumpInstrTableInfoPass(PassRegistry&);
153 void initializeJumpInstrTablesPass(PassRegistry&);
154 void initializeJumpThreadingPass(PassRegistry&);
155 void initializeLCSSAPass(PassRegistry&);
156 void initializeLICMPass(PassRegistry&);
157 void initializeLazyValueInfoPass(PassRegistry&);
158 void initializeLibCallAliasAnalysisPass(PassRegistry&);
159 void initializeLintPass(PassRegistry&);
160 void initializeLiveDebugVariablesPass(PassRegistry&);
161 void initializeLiveIntervalsPass(PassRegistry&);
162 void initializeLiveRegMatrixPass(PassRegistry&);
163 void initializeLiveStacksPass(PassRegistry&);
164 void initializeLiveVariablesPass(PassRegistry&);
165 void initializeLoaderPassPass(PassRegistry&);
166 void initializeLocalStackSlotPassPass(PassRegistry&);
167 void initializeLoopDeletionPass(PassRegistry&);
168 void initializeLoopExtractorPass(PassRegistry&);
169 void initializeLoopInfoPass(PassRegistry&);
170 void initializeLoopInstSimplifyPass(PassRegistry&);
171 void initializeLoopRotatePass(PassRegistry&);
172 void initializeLoopSimplifyPass(PassRegistry&);
173 void initializeLoopStrengthReducePass(PassRegistry&);
174 void initializeGlobalMergePass(PassRegistry&);
175 void initializeLoopRerollPass(PassRegistry&);
176 void initializeLoopUnrollPass(PassRegistry&);
177 void initializeLoopUnswitchPass(PassRegistry&);
178 void initializeLoopIdiomRecognizePass(PassRegistry&);
179 void initializeLowerAtomicPass(PassRegistry&);
180 void initializeLowerExpectIntrinsicPass(PassRegistry&);
181 void initializeLowerIntrinsicsPass(PassRegistry&);
182 void initializeLowerInvokePass(PassRegistry&);
183 void initializeLowerSwitchPass(PassRegistry&);
184 void initializeMachineBlockFrequencyInfoPass(PassRegistry&);
185 void initializeMachineBlockPlacementPass(PassRegistry&);
186 void initializeMachineBlockPlacementStatsPass(PassRegistry&);
187 void initializeMachineBranchProbabilityInfoPass(PassRegistry&);
188 void initializeMachineCSEPass(PassRegistry&);
189 void initializeMachineDominatorTreePass(PassRegistry&);
190 void initializeMachineDominanceFrontierPass(PassRegistry&);
191 void initializeMachinePostDominatorTreePass(PassRegistry&);
192 void initializeMachineLICMPass(PassRegistry&);
193 void initializeMachineLoopInfoPass(PassRegistry&);
194 void initializeMachineModuleInfoPass(PassRegistry&);
195 void initializeMachineRegionInfoPassPass(PassRegistry&);
196 void initializeMachineSchedulerPass(PassRegistry&);
197 void initializeMachineSinkingPass(PassRegistry&);
198 void initializeMachineTraceMetricsPass(PassRegistry&);
199 void initializeMachineVerifierPassPass(PassRegistry&);
200 void initializeMemCpyOptPass(PassRegistry&);
201 void initializeMemDepPrinterPass(PassRegistry&);
202 void initializeMemoryDependenceAnalysisPass(PassRegistry&);
203 void initializeMergedLoadStoreMotionPass(PassRegistry &);
204 void initializeMetaRenamerPass(PassRegistry&);
205 void initializeMergeFunctionsPass(PassRegistry&);
206 void initializeModuleDebugInfoPrinterPass(PassRegistry&);
207 void initializeNoAAPass(PassRegistry&);
208 void initializeObjCARCAliasAnalysisPass(PassRegistry&);
209 void initializeObjCARCAPElimPass(PassRegistry&);
210 void initializeObjCARCExpandPass(PassRegistry&);
211 void initializeObjCARCContractPass(PassRegistry&);
212 void initializeObjCARCOptPass(PassRegistry&);
213 void initializePAEvalPass(PassRegistry &);
214 void initializeOptimizePHIsPass(PassRegistry&);
215 void initializePartiallyInlineLibCallsPass(PassRegistry&);
216 void initializePEIPass(PassRegistry&);
217 void initializePHIEliminationPass(PassRegistry&);
218 void initializePartialInlinerPass(PassRegistry&);
219 void initializePeepholeOptimizerPass(PassRegistry&);
220 void initializePostDomOnlyPrinterPass(PassRegistry&);
221 void initializePostDomOnlyViewerPass(PassRegistry&);
222 void initializePostDomPrinterPass(PassRegistry&);
223 void initializePostDomViewerPass(PassRegistry&);
224 void initializePostDominatorTreePass(PassRegistry&);
225 void initializePostRASchedulerPass(PassRegistry&);
226 void initializePostMachineSchedulerPass(PassRegistry&);
227 void initializePrintFunctionPassWrapperPass(PassRegistry&);
228 void initializePrintModulePassWrapperPass(PassRegistry&);
229 void initializePrintBasicBlockPassPass(PassRegistry&);
230 void initializeProcessImplicitDefsPass(PassRegistry&);
231 void initializePromotePassPass(PassRegistry&);
232 void initializePruneEHPass(PassRegistry&);
233 void initializeReassociatePass(PassRegistry&);
234 void initializeRegToMemPass(PassRegistry&);
235 void initializeRegionInfoPassPass(PassRegistry&);
236 void initializeRegionOnlyPrinterPass(PassRegistry&);
237 void initializeRegionOnlyViewerPass(PassRegistry&);
238 void initializeRegionPrinterPass(PassRegistry&);
239 void initializeRegionViewerPass(PassRegistry&);
240 void initializeSCCPPass(PassRegistry&);
241 void initializeSROAPass(PassRegistry&);
242 void initializeSROA_DTPass(PassRegistry&);
243 void initializeSROA_SSAUpPass(PassRegistry&);
244 void initializeScalarEvolutionAliasAnalysisPass(PassRegistry&);
245 void initializeScalarEvolutionPass(PassRegistry&);
246 void initializeSimpleInlinerPass(PassRegistry&);
247 void initializeRegisterCoalescerPass(PassRegistry&);
248 void initializeSingleLoopExtractorPass(PassRegistry&);
249 void initializeSinkingPass(PassRegistry&);
250 void initializeSeparateConstOffsetFromGEPPass(PassRegistry &);
251 void initializeSlotIndexesPass(PassRegistry&);
252 void initializeSpillPlacementPass(PassRegistry&);
253 void initializeStackProtectorPass(PassRegistry&);
254 void initializeStackColoringPass(PassRegistry&);
255 void initializeStackSlotColoringPass(PassRegistry&);
256 void initializeStripDeadDebugInfoPass(PassRegistry&);
257 void initializeStripDeadPrototypesPassPass(PassRegistry&);
258 void initializeStripDebugDeclarePass(PassRegistry&);
259 void initializeStripNonDebugSymbolsPass(PassRegistry&);
260 void initializeStripSymbolsPass(PassRegistry&);
261 void initializeTailCallElimPass(PassRegistry&);
262 void initializeTailDuplicatePassPass(PassRegistry&);
263 void initializeTargetPassConfigPass(PassRegistry&);
264 void initializeDataLayoutPassPass(PassRegistry &);
265 void initializeTargetTransformInfoAnalysisGroup(PassRegistry&);
266 void initializeFunctionTargetTransformInfoPass(PassRegistry &);
267 void initializeNoTTIPass(PassRegistry&);
268 void initializeTargetLibraryInfoPass(PassRegistry&);
269 void initializeAssumptionCacheTrackerPass(PassRegistry &);
270 void initializeTwoAddressInstructionPassPass(PassRegistry&);
271 void initializeTypeBasedAliasAnalysisPass(PassRegistry&);
272 void initializeScopedNoAliasAAPass(PassRegistry&);
273 void initializeUnifyFunctionExitNodesPass(PassRegistry&);
274 void initializeUnreachableBlockElimPass(PassRegistry&);
275 void initializeUnreachableMachineBlockElimPass(PassRegistry&);
276 void initializeVerifierLegacyPassPass(PassRegistry&);
277 void initializeVirtRegMapPass(PassRegistry&);
278 void initializeVirtRegRewriterPass(PassRegistry&);
279 void initializeInstSimplifierPass(PassRegistry&);
280 void initializeUnpackMachineBundlesPass(PassRegistry&);
281 void initializeFinalizeMachineBundlesPass(PassRegistry&);
282 void initializeLoopVectorizePass(PassRegistry&);
283 void initializeSLPVectorizerPass(PassRegistry&);
284 void initializeBBVectorizePass(PassRegistry&);
285 void initializeMachineFunctionPrinterPassPass(PassRegistry&);
286 void initializeStackMapLivenessPass(PassRegistry&);
287 void initializeMachineCombinerPass(PassRegistry &);
288 void initializeLoadCombinePass(PassRegistry&);
289 void initializeRewriteSymbolsPass(PassRegistry&);