[AA] Enhance the new AliasAnalysis infrastructure with an optional
[oota-llvm.git] / include / llvm / InitializePasses.h
1 //===- llvm/InitializePasses.h -------- Initialize All Passes ---*- C++ -*-===//
2 //
3 //                      The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the declarations for the pass initialization routines
11 // for the entire LLVM project.
12 //
13 //===----------------------------------------------------------------------===//
14
15 #ifndef LLVM_INITIALIZEPASSES_H
16 #define LLVM_INITIALIZEPASSES_H
17
18 namespace llvm {
19
20 class PassRegistry;
21
22 /// initializeCore - Initialize all passes linked into the
23 /// TransformUtils library.
24 void initializeCore(PassRegistry&);
25
26 /// initializeTransformUtils - Initialize all passes linked into the
27 /// TransformUtils library.
28 void initializeTransformUtils(PassRegistry&);
29
30 /// initializeScalarOpts - Initialize all passes linked into the
31 /// ScalarOpts library.
32 void initializeScalarOpts(PassRegistry&);
33
34 /// initializeObjCARCOpts - Initialize all passes linked into the ObjCARCOpts
35 /// library.
36 void initializeObjCARCOpts(PassRegistry&);
37
38 /// initializeVectorization - Initialize all passes linked into the
39 /// Vectorize library.
40 void initializeVectorization(PassRegistry&);
41
42 /// initializeInstCombine - Initialize all passes linked into the
43 /// InstCombine library.
44 void initializeInstCombine(PassRegistry&);
45
46 /// initializeIPO - Initialize all passes linked into the IPO library.
47 void initializeIPO(PassRegistry&);
48
49 /// initializeInstrumentation - Initialize all passes linked into the
50 /// Instrumentation library.
51 void initializeInstrumentation(PassRegistry&);
52
53 /// initializeAnalysis - Initialize all passes linked into the Analysis library.
54 void initializeAnalysis(PassRegistry&);
55
56 /// initializeCodeGen - Initialize all passes linked into the CodeGen library.
57 void initializeCodeGen(PassRegistry&);
58
59 /// initializeCodeGen - Initialize all passes linked into the CodeGen library.
60 void initializeTarget(PassRegistry&);
61
62 void initializeAAEvalPass(PassRegistry&);
63 void initializeAddDiscriminatorsPass(PassRegistry&);
64 void initializeADCEPass(PassRegistry&);
65 void initializeBDCEPass(PassRegistry&);
66 void initializeAliasSetPrinterPass(PassRegistry&);
67 void initializeAlwaysInlinerPass(PassRegistry&);
68 void initializeArgPromotionPass(PassRegistry&);
69 void initializeAtomicExpandPass(PassRegistry&);
70 void initializeSampleProfileLoaderPass(PassRegistry&);
71 void initializeAlignmentFromAssumptionsPass(PassRegistry&);
72 void initializeBarrierNoopPass(PassRegistry&);
73 void initializeBasicAAWrapperPassPass(PassRegistry&);
74 void initializeCallGraphWrapperPassPass(PassRegistry &);
75 void initializeBlockExtractorPassPass(PassRegistry&);
76 void initializeBlockFrequencyInfoWrapperPassPass(PassRegistry&);
77 void initializeBoundsCheckingPass(PassRegistry&);
78 void initializeBranchFolderPassPass(PassRegistry&);
79 void initializeBranchProbabilityInfoWrapperPassPass(PassRegistry&);
80 void initializeBreakCriticalEdgesPass(PassRegistry&);
81 void initializeCallGraphPrinterPass(PassRegistry&);
82 void initializeCallGraphViewerPass(PassRegistry&);
83 void initializeCFGOnlyPrinterPass(PassRegistry&);
84 void initializeCFGOnlyViewerPass(PassRegistry&);
85 void initializeCFGPrinterPass(PassRegistry&);
86 void initializeCFGSimplifyPassPass(PassRegistry&);
87 void initializeCFLAAWrapperPassPass(PassRegistry&);
88 void initializeExternalAAWrapperPassPass(PassRegistry&);
89 void initializeForwardControlFlowIntegrityPass(PassRegistry&);
90 void initializeFlattenCFGPassPass(PassRegistry&);
91 void initializeStructurizeCFGPass(PassRegistry&);
92 void initializeCFGViewerPass(PassRegistry&);
93 void initializeConstantHoistingPass(PassRegistry&);
94 void initializeCodeGenPreparePass(PassRegistry&);
95 void initializeConstantMergePass(PassRegistry&);
96 void initializeConstantPropagationPass(PassRegistry&);
97 void initializeMachineCopyPropagationPass(PassRegistry&);
98 void initializeCostModelAnalysisPass(PassRegistry&);
99 void initializeCorrelatedValuePropagationPass(PassRegistry&);
100 void initializeDAEPass(PassRegistry&);
101 void initializeDAHPass(PassRegistry&);
102 void initializeDCEPass(PassRegistry&);
103 void initializeDSEPass(PassRegistry&);
104 void initializeDeadInstEliminationPass(PassRegistry&);
105 void initializeDeadMachineInstructionElimPass(PassRegistry&);
106 void initializeDelinearizationPass(PassRegistry &);
107 void initializeDependenceAnalysisPass(PassRegistry&);
108 void initializeDivergenceAnalysisPass(PassRegistry&);
109 void initializeDomOnlyPrinterPass(PassRegistry&);
110 void initializeDomOnlyViewerPass(PassRegistry&);
111 void initializeDomPrinterPass(PassRegistry&);
112 void initializeDomViewerPass(PassRegistry&);
113 void initializeDominanceFrontierPass(PassRegistry&);
114 void initializeDominatorTreeWrapperPassPass(PassRegistry&);
115 void initializeEarlyIfConverterPass(PassRegistry&);
116 void initializeEdgeBundlesPass(PassRegistry&);
117 void initializeExpandPostRAPass(PassRegistry&);
118 void initializeAAResultsWrapperPassPass(PassRegistry &);
119 void initializeGCOVProfilerPass(PassRegistry&);
120 void initializeInstrProfilingPass(PassRegistry&);
121 void initializeAddressSanitizerPass(PassRegistry&);
122 void initializeAddressSanitizerModulePass(PassRegistry&);
123 void initializeMemorySanitizerPass(PassRegistry&);
124 void initializeThreadSanitizerPass(PassRegistry&);
125 void initializeSanitizerCoverageModulePass(PassRegistry&);
126 void initializeDataFlowSanitizerPass(PassRegistry&);
127 void initializeScalarizerPass(PassRegistry&);
128 void initializeEarlyCSELegacyPassPass(PassRegistry &);
129 void initializeEliminateAvailableExternallyPass(PassRegistry&);
130 void initializeExpandISelPseudosPass(PassRegistry&);
131 void initializeFunctionAttrsPass(PassRegistry&);
132 void initializeGCMachineCodeAnalysisPass(PassRegistry&);
133 void initializeGCModuleInfoPass(PassRegistry&);
134 void initializeGVNPass(PassRegistry&);
135 void initializeGlobalDCEPass(PassRegistry&);
136 void initializeGlobalOptPass(PassRegistry&);
137 void initializeGlobalsAAWrapperPassPass(PassRegistry&);
138 void initializeIPCPPass(PassRegistry&);
139 void initializeIPSCCPPass(PassRegistry&);
140 void initializeIVUsersPass(PassRegistry&);
141 void initializeIfConverterPass(PassRegistry&);
142 void initializeInductiveRangeCheckEliminationPass(PassRegistry&);
143 void initializeIndVarSimplifyPass(PassRegistry&);
144 void initializeInlineCostAnalysisPass(PassRegistry&);
145 void initializeInstructionCombiningPassPass(PassRegistry&);
146 void initializeInstCountPass(PassRegistry&);
147 void initializeInstNamerPass(PassRegistry&);
148 void initializeInternalizePassPass(PassRegistry&);
149 void initializeIntervalPartitionPass(PassRegistry&);
150 void initializeJumpThreadingPass(PassRegistry&);
151 void initializeLCSSAPass(PassRegistry&);
152 void initializeLICMPass(PassRegistry&);
153 void initializeLazyValueInfoPass(PassRegistry&);
154 void initializeLintPass(PassRegistry&);
155 void initializeLiveDebugVariablesPass(PassRegistry&);
156 void initializeLiveIntervalsPass(PassRegistry&);
157 void initializeLiveRegMatrixPass(PassRegistry&);
158 void initializeLiveStacksPass(PassRegistry&);
159 void initializeLiveVariablesPass(PassRegistry&);
160 void initializeLoaderPassPass(PassRegistry&);
161 void initializeLocalStackSlotPassPass(PassRegistry&);
162 void initializeLoopDeletionPass(PassRegistry&);
163 void initializeLoopExtractorPass(PassRegistry&);
164 void initializeLoopInfoWrapperPassPass(PassRegistry&);
165 void initializeLoopInterchangePass(PassRegistry &);
166 void initializeLoopInstSimplifyPass(PassRegistry&);
167 void initializeLoopRotatePass(PassRegistry&);
168 void initializeLoopSimplifyPass(PassRegistry&);
169 void initializeLoopStrengthReducePass(PassRegistry&);
170 void initializeGlobalMergePass(PassRegistry&);
171 void initializeLoopRerollPass(PassRegistry&);
172 void initializeLoopUnrollPass(PassRegistry&);
173 void initializeLoopUnswitchPass(PassRegistry&);
174 void initializeLoopIdiomRecognizePass(PassRegistry&);
175 void initializeLowerAtomicPass(PassRegistry&);
176 void initializeLowerBitSetsPass(PassRegistry&);
177 void initializeLowerExpectIntrinsicPass(PassRegistry&);
178 void initializeLowerIntrinsicsPass(PassRegistry&);
179 void initializeLowerInvokePass(PassRegistry&);
180 void initializeLowerSwitchPass(PassRegistry&);
181 void initializeMachineBlockFrequencyInfoPass(PassRegistry&);
182 void initializeMachineBlockPlacementPass(PassRegistry&);
183 void initializeMachineBlockPlacementStatsPass(PassRegistry&);
184 void initializeMachineBranchProbabilityInfoPass(PassRegistry&);
185 void initializeMachineCSEPass(PassRegistry&);
186 void initializeImplicitNullChecksPass(PassRegistry&);
187 void initializeMachineDominatorTreePass(PassRegistry&);
188 void initializeMachineDominanceFrontierPass(PassRegistry&);
189 void initializeMachinePostDominatorTreePass(PassRegistry&);
190 void initializeMachineLICMPass(PassRegistry&);
191 void initializeMachineLoopInfoPass(PassRegistry&);
192 void initializeMachineModuleInfoPass(PassRegistry&);
193 void initializeMachineRegionInfoPassPass(PassRegistry&);
194 void initializeMachineSchedulerPass(PassRegistry&);
195 void initializeMachineSinkingPass(PassRegistry&);
196 void initializeMachineTraceMetricsPass(PassRegistry&);
197 void initializeMachineVerifierPassPass(PassRegistry&);
198 void initializeMemCpyOptPass(PassRegistry&);
199 void initializeMemDepPrinterPass(PassRegistry&);
200 void initializeMemDerefPrinterPass(PassRegistry&);
201 void initializeMemoryDependenceAnalysisPass(PassRegistry&);
202 void initializeMergedLoadStoreMotionPass(PassRegistry &);
203 void initializeMetaRenamerPass(PassRegistry&);
204 void initializeMergeFunctionsPass(PassRegistry&);
205 void initializeModuleDebugInfoPrinterPass(PassRegistry&);
206 void initializeNaryReassociatePass(PassRegistry&);
207 void initializeNoAAPass(PassRegistry&);
208 void initializeObjCARCAAWrapperPassPass(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 initializeRewriteStatepointsForGCPass(PassRegistry&);
241 void initializeSafeStackPass(PassRegistry&);
242 void initializeSCCPPass(PassRegistry&);
243 void initializeSROALegacyPassPass(PassRegistry&);
244 void initializeSROA_DTPass(PassRegistry&);
245 void initializeSROA_SSAUpPass(PassRegistry&);
246 void initializeSCEVAAWrapperPassPass(PassRegistry&);
247 void initializeScalarEvolutionWrapperPassPass(PassRegistry&);
248 void initializeShrinkWrapPass(PassRegistry &);
249 void initializeSimpleInlinerPass(PassRegistry&);
250 void initializeShadowStackGCLoweringPass(PassRegistry&);  
251 void initializeRegisterCoalescerPass(PassRegistry&);
252 void initializeSingleLoopExtractorPass(PassRegistry&);
253 void initializeSinkingPass(PassRegistry&);
254 void initializeSeparateConstOffsetFromGEPPass(PassRegistry &);
255 void initializeSlotIndexesPass(PassRegistry&);
256 void initializeSpillPlacementPass(PassRegistry&);
257 void initializeSpeculativeExecutionPass(PassRegistry&);
258 void initializeStackProtectorPass(PassRegistry&);
259 void initializeStackColoringPass(PassRegistry&);
260 void initializeStackSlotColoringPass(PassRegistry&);
261 void initializeStraightLineStrengthReducePass(PassRegistry &);
262 void initializeStripDeadDebugInfoPass(PassRegistry&);
263 void initializeStripDeadPrototypesPassPass(PassRegistry&);
264 void initializeStripDebugDeclarePass(PassRegistry&);
265 void initializeStripNonDebugSymbolsPass(PassRegistry&);
266 void initializeStripSymbolsPass(PassRegistry&);
267 void initializeTailCallElimPass(PassRegistry&);
268 void initializeTailDuplicatePassPass(PassRegistry&);
269 void initializeTargetPassConfigPass(PassRegistry&);
270 void initializeTargetTransformInfoWrapperPassPass(PassRegistry &);
271 void initializeTargetLibraryInfoWrapperPassPass(PassRegistry &);
272 void initializeAssumptionCacheTrackerPass(PassRegistry &);
273 void initializeTwoAddressInstructionPassPass(PassRegistry&);
274 void initializeTypeBasedAAWrapperPassPass(PassRegistry&);
275 void initializeScopedNoAliasAAWrapperPassPass(PassRegistry&);
276 void initializeUnifyFunctionExitNodesPass(PassRegistry&);
277 void initializeUnreachableBlockElimPass(PassRegistry&);
278 void initializeUnreachableMachineBlockElimPass(PassRegistry&);
279 void initializeVerifierLegacyPassPass(PassRegistry&);
280 void initializeVirtRegMapPass(PassRegistry&);
281 void initializeVirtRegRewriterPass(PassRegistry&);
282 void initializeInstSimplifierPass(PassRegistry&);
283 void initializeUnpackMachineBundlesPass(PassRegistry&);
284 void initializeFinalizeMachineBundlesPass(PassRegistry&);
285 void initializeLoopAccessAnalysisPass(PassRegistry&);
286 void initializeLoopVectorizePass(PassRegistry&);
287 void initializeSLPVectorizerPass(PassRegistry&);
288 void initializeBBVectorizePass(PassRegistry&);
289 void initializeMachineFunctionPrinterPassPass(PassRegistry&);
290 void initializeMIRPrintingPassPass(PassRegistry&);
291 void initializeStackMapLivenessPass(PassRegistry&);
292 void initializeMachineCombinerPass(PassRegistry &);
293 void initializeLoadCombinePass(PassRegistry&);
294 void initializeRewriteSymbolsPass(PassRegistry&);
295 void initializeWinEHPreparePass(PassRegistry&);
296 void initializePlaceBackedgeSafepointsImplPass(PassRegistry&);
297 void initializePlaceSafepointsPass(PassRegistry&);
298 void initializeDwarfEHPreparePass(PassRegistry&);
299 void initializeFloat2IntPass(PassRegistry&);
300 void initializeLoopDistributePass(PassRegistry&);
301 void initializeSjLjEHPreparePass(PassRegistry&);
302 void initializeDemandedBitsPass(PassRegistry&);
303 void initializeFuncletLayoutPass(PassRegistry &);
304 }
305
306 #endif