[StripGCRelocates] New pass to remove gc.relocates added by RS4GC
[lldb.git] / llvm / 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 /// Initialize all passes linked into the TransformUtils library.
23 void initializeCore(PassRegistry&);
24
25 /// Initialize all passes linked into the TransformUtils library.
26 void initializeTransformUtils(PassRegistry&);
27
28 /// Initialize all passes linked into the ScalarOpts library.
29 void initializeScalarOpts(PassRegistry&);
30
31 /// Initialize all passes linked into the ObjCARCOpts library.
32 void initializeObjCARCOpts(PassRegistry&);
33
34 /// Initialize all passes linked into the Vectorize library.
35 void initializeVectorization(PassRegistry&);
36
37 /// Initialize all passes linked into the InstCombine library.
38 void initializeInstCombine(PassRegistry&);
39
40 /// Initialize all passes linked into the IPO library.
41 void initializeIPO(PassRegistry&);
42
43 /// Initialize all passes linked into the Instrumentation library.
44 void initializeInstrumentation(PassRegistry&);
45
46 /// Initialize all passes linked into the Analysis library.
47 void initializeAnalysis(PassRegistry&);
48
49 /// Initialize all passes linked into the Coroutines library.
50 void initializeCoroutines(PassRegistry&);
51
52 /// Initialize all passes linked into the CodeGen library.
53 void initializeCodeGen(PassRegistry&);
54
55 /// Initialize all passes linked into the GlobalISel library.
56 void initializeGlobalISel(PassRegistry &Registry);
57
58 /// Initialize all passes linked into the CodeGen library.
59 void initializeTarget(PassRegistry&);
60
61 void initializeAAEvalLegacyPassPass(PassRegistry&);
62 void initializeAAResultsWrapperPassPass(PassRegistry &);
63 void initializeADCELegacyPassPass(PassRegistry&);
64 void initializeAddDiscriminatorsLegacyPassPass(PassRegistry&);
65 void initializeAddressSanitizerModulePass(PassRegistry&);
66 void initializeAddressSanitizerPass(PassRegistry&);
67 void initializeAliasSetPrinterPass(PassRegistry&);
68 void initializeAlignmentFromAssumptionsPass(PassRegistry&);
69 void initializeAlwaysInlinerLegacyPassPass(PassRegistry&);
70 void initializeArgPromotionPass(PassRegistry&);
71 void initializeAssumptionCacheTrackerPass(PassRegistry &);
72 void initializeAtomicExpandPass(PassRegistry&);
73 void initializeBBVectorizePass(PassRegistry&);
74 void initializeBDCELegacyPassPass(PassRegistry &);
75 void initializeBarrierNoopPass(PassRegistry&);
76 void initializeBasicAAWrapperPassPass(PassRegistry&);
77 void initializeBlockExtractorPassPass(PassRegistry&);
78 void initializeBlockFrequencyInfoWrapperPassPass(PassRegistry&);
79 void initializeBoundsCheckingPass(PassRegistry&);
80 void initializeBranchFolderPassPass(PassRegistry&);
81 void initializeBranchProbabilityInfoWrapperPassPass(PassRegistry&);
82 void initializeBranchRelaxationPass(PassRegistry&);
83 void initializeBreakCriticalEdgesPass(PassRegistry&);
84 void initializeCFGOnlyViewerLegacyPassPass(PassRegistry&);
85 void initializeCFGPrinterLegacyPassPass(PassRegistry&);
86 void initializeCFGOnlyPrinterLegacyPassPass(PassRegistry&);
87 void initializeCFGSimplifyPassPass(PassRegistry&);
88 void initializeCFGViewerLegacyPassPass(PassRegistry&);
89 void initializeCFLAndersAAWrapperPassPass(PassRegistry&);
90 void initializeCFLSteensAAWrapperPassPass(PassRegistry&);
91 void initializeCallGraphDOTPrinterPass(PassRegistry&);
92 void initializeCallGraphPrinterLegacyPassPass(PassRegistry&);
93 void initializeCallGraphViewerPass(PassRegistry&);
94 void initializeCallGraphWrapperPassPass(PassRegistry &);
95 void initializeCodeGenPreparePass(PassRegistry&);
96 void initializeCountingFunctionInserterPass(PassRegistry&);
97 void initializeConstantHoistingLegacyPassPass(PassRegistry&);
98 void initializeConstantMergeLegacyPassPass(PassRegistry &);
99 void initializeConstantPropagationPass(PassRegistry&);
100 void initializeCorrelatedValuePropagationPass(PassRegistry&);
101 void initializeCostModelAnalysisPass(PassRegistry&);
102 void initializeCrossDSOCFIPass(PassRegistry&);
103 void initializeDAEPass(PassRegistry&);
104 void initializeDAHPass(PassRegistry&);
105 void initializeDCELegacyPassPass(PassRegistry&);
106 void initializeDSELegacyPassPass(PassRegistry&);
107 void initializeDataFlowSanitizerPass(PassRegistry&);
108 void initializeDeadInstEliminationPass(PassRegistry&);
109 void initializeDeadMachineInstructionElimPass(PassRegistry&);
110 void initializeDelinearizationPass(PassRegistry &);
111 void initializeDemandedBitsWrapperPassPass(PassRegistry&);
112 void initializeDependenceAnalysisPass(PassRegistry&);
113 void initializeDependenceAnalysisWrapperPassPass(PassRegistry&);
114 void initializeDetectDeadLanesPass(PassRegistry&);
115 void initializeDivergenceAnalysisPass(PassRegistry&);
116 void initializeDomOnlyPrinterPass(PassRegistry&);
117 void initializeDomOnlyViewerPass(PassRegistry&);
118 void initializeDomPrinterPass(PassRegistry&);
119 void initializeDomViewerPass(PassRegistry&);
120 void initializeDominanceFrontierWrapperPassPass(PassRegistry&);
121 void initializeDominatorTreeWrapperPassPass(PassRegistry&);
122 void initializeDwarfEHPreparePass(PassRegistry&);
123 void initializeEarlyCSELegacyPassPass(PassRegistry &);
124 void initializeEarlyCSEMemSSALegacyPassPass(PassRegistry &);
125 void initializeEarlyIfConverterPass(PassRegistry&);
126 void initializeEdgeBundlesPass(PassRegistry&);
127 void initializeEfficiencySanitizerPass(PassRegistry&);
128 void initializeEliminateAvailableExternallyLegacyPassPass(PassRegistry &);
129 void initializeGVNHoistLegacyPassPass(PassRegistry &);
130 void initializeExpandISelPseudosPass(PassRegistry&);
131 void initializeExpandPostRAPass(PassRegistry&);
132 void initializeExternalAAWrapperPassPass(PassRegistry&);
133 void initializeFinalizeMachineBundlesPass(PassRegistry&);
134 void initializeFlattenCFGPassPass(PassRegistry&);
135 void initializeFloat2IntLegacyPassPass(PassRegistry&);
136 void initializeForceFunctionAttrsLegacyPassPass(PassRegistry&);
137 void initializeForwardControlFlowIntegrityPass(PassRegistry&);
138 void initializeFuncletLayoutPass(PassRegistry &);
139 void initializeFunctionImportLegacyPassPass(PassRegistry &);
140 void initializeGCMachineCodeAnalysisPass(PassRegistry&);
141 void initializeGCModuleInfoPass(PassRegistry&);
142 void initializeGCOVProfilerLegacyPassPass(PassRegistry&);
143 void initializeGVNLegacyPassPass(PassRegistry&);
144 void initializeGlobalDCELegacyPassPass(PassRegistry&);
145 void initializeGlobalMergePass(PassRegistry&);
146 void initializeGlobalOptLegacyPassPass(PassRegistry&);
147 void initializeGlobalsAAWrapperPassPass(PassRegistry&);
148 void initializeGuardWideningLegacyPassPass(PassRegistry&);
149 void initializeIPCPPass(PassRegistry&);
150 void initializeIPSCCPLegacyPassPass(PassRegistry &);
151 void initializeIRTranslatorPass(PassRegistry &);
152 void initializeIVUsersWrapperPassPass(PassRegistry&);
153 void initializeIfConverterPass(PassRegistry&);
154 void initializeImplicitNullChecksPass(PassRegistry&);
155 void initializeIndVarSimplifyLegacyPassPass(PassRegistry&);
156 void initializeInductiveRangeCheckEliminationPass(PassRegistry&);
157 void initializeInferFunctionAttrsLegacyPassPass(PassRegistry&);
158 void initializeInlineCostAnalysisPass(PassRegistry&);
159 void initializeInstCountPass(PassRegistry&);
160 void initializeInstNamerPass(PassRegistry&);
161 void initializeInstSimplifierPass(PassRegistry&);
162 void initializeInstrProfilingLegacyPassPass(PassRegistry &);
163 void initializeInstructionCombiningPassPass(PassRegistry&);
164 void initializeInstructionSelectPass(PassRegistry &);
165 void initializeInterleavedAccessPass(PassRegistry &);
166 void initializeInternalizeLegacyPassPass(PassRegistry&);
167 void initializeIntervalPartitionPass(PassRegistry&);
168 void initializeJumpThreadingPass(PassRegistry&);
169 void initializeLCSSAWrapperPassPass(PassRegistry &);
170 void initializeLegacyLICMPassPass(PassRegistry&);
171 void initializeLazyBranchProbabilityInfoPassPass(PassRegistry&);
172 void initializeLazyBlockFrequencyInfoPassPass(PassRegistry&);
173 void initializeLazyValueInfoWrapperPassPass(PassRegistry&);
174 void initializeLegalizerPass(PassRegistry&);
175 void initializeLibCallsShrinkWrapLegacyPassPass(PassRegistry&);
176 void initializeLintPass(PassRegistry&);
177 void initializeLiveDebugValuesPass(PassRegistry&);
178 void initializeLiveDebugVariablesPass(PassRegistry&);
179 void initializeLiveIntervalsPass(PassRegistry&);
180 void initializeLiveRegMatrixPass(PassRegistry&);
181 void initializeLiveStacksPass(PassRegistry&);
182 void initializeLiveVariablesPass(PassRegistry&);
183 void initializeLoadCombinePass(PassRegistry&);
184 void initializeLoaderPassPass(PassRegistry&);
185 void initializeLoadStoreVectorizerPass(PassRegistry&);
186 void initializeLocalStackSlotPassPass(PassRegistry&);
187 void initializeLoopAccessLegacyAnalysisPass(PassRegistry&);
188 void initializeLoopDataPrefetchLegacyPassPass(PassRegistry &);
189 void initializeLoopDeletionLegacyPassPass(PassRegistry&);
190 void initializeLoopDistributeLegacyPass(PassRegistry&);
191 void initializeLoopExtractorPass(PassRegistry&);
192 void initializeLoopIdiomRecognizeLegacyPassPass(PassRegistry&);
193 void initializeLoopInfoWrapperPassPass(PassRegistry&);
194 void initializeLoopInstSimplifyLegacyPassPass(PassRegistry&);
195 void initializeLoopInterchangePass(PassRegistry &);
196 void initializeLoopLoadEliminationPass(PassRegistry&);
197 void initializeLoopPassPass(PassRegistry&);
198 void initializeLoopRerollPass(PassRegistry&);
199 void initializeLoopRotateLegacyPassPass(PassRegistry&);
200 void initializeLoopSimplifyCFGLegacyPassPass(PassRegistry&);
201 void initializeLoopSimplifyPass(PassRegistry&);
202 void initializeLoopStrengthReducePass(PassRegistry&);
203 void initializeLoopUnrollPass(PassRegistry&);
204 void initializeLoopUnswitchPass(PassRegistry&);
205 void initializeLoopVectorizePass(PassRegistry&);
206 void initializeLoopVersioningLICMPass(PassRegistry&);
207 void initializeLoopVersioningPassPass(PassRegistry &);
208 void initializeLowerAtomicLegacyPassPass(PassRegistry &);
209 void initializeLowerEmuTLSPass(PassRegistry&);
210 void initializeLowerExpectIntrinsicPass(PassRegistry&);
211 void initializeLowerGuardIntrinsicLegacyPassPass(PassRegistry&);
212 void initializeLowerIntrinsicsPass(PassRegistry&);
213 void initializeLowerInvokeLegacyPassPass(PassRegistry&);
214 void initializeLowerSwitchPass(PassRegistry&);
215 void initializeLowerTypeTestsPass(PassRegistry&);
216 void initializeMIRPrintingPassPass(PassRegistry&);
217 void initializeMachineBlockFrequencyInfoPass(PassRegistry&);
218 void initializeMachineBlockPlacementPass(PassRegistry&);
219 void initializeMachineBlockPlacementStatsPass(PassRegistry&);
220 void initializeMachineBranchProbabilityInfoPass(PassRegistry&);
221 void initializeMachineCSEPass(PassRegistry&);
222 void initializeMachineCombinerPass(PassRegistry &);
223 void initializeMachineCopyPropagationPass(PassRegistry&);
224 void initializeMachineDominanceFrontierPass(PassRegistry&);
225 void initializeMachineDominatorTreePass(PassRegistry&);
226 void initializeMachineFunctionPrinterPassPass(PassRegistry&);
227 void initializeMachineLICMPass(PassRegistry&);
228 void initializeMachineLoopInfoPass(PassRegistry&);
229 void initializeMachineModuleInfoPass(PassRegistry&);
230 void initializeMachinePipelinerPass(PassRegistry&);
231 void initializeMachinePostDominatorTreePass(PassRegistry&);
232 void initializeMachineRegionInfoPassPass(PassRegistry&);
233 void initializeMachineSchedulerPass(PassRegistry&);
234 void initializeMachineSinkingPass(PassRegistry&);
235 void initializeMachineTraceMetricsPass(PassRegistry&);
236 void initializeMachineVerifierPassPass(PassRegistry&);
237 void initializeMemCpyOptLegacyPassPass(PassRegistry&);
238 void initializeMemDepPrinterPass(PassRegistry&);
239 void initializeMemDerefPrinterPass(PassRegistry&);
240 void initializeMemoryDependenceWrapperPassPass(PassRegistry&);
241 void initializeMemorySSAWrapperPassPass(PassRegistry&);
242 void initializeMemorySSAPrinterLegacyPassPass(PassRegistry &);
243 void initializeMemorySanitizerPass(PassRegistry&);
244 void initializeMergeFunctionsPass(PassRegistry&);
245 void initializeMergedLoadStoreMotionLegacyPassPass(PassRegistry &);
246 void initializeMetaRenamerPass(PassRegistry&);
247 void initializeModuleDebugInfoPrinterPass(PassRegistry&);
248 void initializeModuleSummaryIndexWrapperPassPass(PassRegistry &);
249 void initializeNameAnonGlobalLegacyPassPass(PassRegistry &);
250 void initializeNaryReassociateLegacyPassPass(PassRegistry &);
251 void initializeNoAAPass(PassRegistry&);
252 void initializeObjCARCAAWrapperPassPass(PassRegistry&);
253 void initializeObjCARCAPElimPass(PassRegistry&);
254 void initializeObjCARCContractPass(PassRegistry&);
255 void initializeObjCARCExpandPass(PassRegistry&);
256 void initializeObjCARCOptPass(PassRegistry&);
257 void initializeOptimizationRemarkEmitterWrapperPassPass(PassRegistry&);
258 void initializeOptimizePHIsPass(PassRegistry&);
259 void initializePAEvalPass(PassRegistry &);
260 void initializePEIPass(PassRegistry&);
261 void initializePGOIndirectCallPromotionLegacyPassPass(PassRegistry&);
262 void initializePGOInstrumentationGenLegacyPassPass(PassRegistry&);
263 void initializePGOInstrumentationUseLegacyPassPass(PassRegistry&);
264 void initializePHIEliminationPass(PassRegistry&);
265 void initializePhysicalRegisterUsageInfoPass(PassRegistry &);
266 void initializePartialInlinerLegacyPassPass(PassRegistry &);
267 void initializePartiallyInlineLibCallsLegacyPassPass(PassRegistry &);
268 void initializePatchableFunctionPass(PassRegistry &);
269 void initializePeepholeOptimizerPass(PassRegistry&);
270 void initializePlaceBackedgeSafepointsImplPass(PassRegistry&);
271 void initializePlaceSafepointsPass(PassRegistry&);
272 void initializePostDomOnlyPrinterPass(PassRegistry&);
273 void initializePostDomOnlyViewerPass(PassRegistry&);
274 void initializePostDomPrinterPass(PassRegistry&);
275 void initializePostDomViewerPass(PassRegistry&);
276 void initializePostDominatorTreeWrapperPassPass(PassRegistry&);
277 void initializePostMachineSchedulerPass(PassRegistry&);
278 void initializePostOrderFunctionAttrsLegacyPassPass(PassRegistry&);
279 void initializePostRAHazardRecognizerPass(PassRegistry&);
280 void initializePostRASchedulerPass(PassRegistry&);
281 void initializePreISelIntrinsicLoweringLegacyPassPass(PassRegistry&);
282 void initializePrintBasicBlockPassPass(PassRegistry&);
283 void initializePrintFunctionPassWrapperPass(PassRegistry&);
284 void initializePrintModulePassWrapperPass(PassRegistry&);
285 void initializeProcessImplicitDefsPass(PassRegistry&);
286 void initializeProfileSummaryInfoWrapperPassPass(PassRegistry &);
287 void initializePromoteLegacyPassPass(PassRegistry &);
288 void initializePruneEHPass(PassRegistry&);
289 void initializeReassociateLegacyPassPass(PassRegistry&);
290 void initializeRegBankSelectPass(PassRegistry &);
291 void initializeRegToMemPass(PassRegistry&);
292 void initializeRegionInfoPassPass(PassRegistry&);
293 void initializeRegionOnlyPrinterPass(PassRegistry&);
294 void initializeRegionOnlyViewerPass(PassRegistry&);
295 void initializeRegionPrinterPass(PassRegistry&);
296 void initializeRegionViewerPass(PassRegistry&);
297 void initializeRegisterCoalescerPass(PassRegistry&);
298 void initializeStripGCRelocatesPass(PassRegistry&);
299 void initializeRenameIndependentSubregsPass(PassRegistry&);
300 void initializeResetMachineFunctionPass(PassRegistry &);
301 void initializeReversePostOrderFunctionAttrsLegacyPassPass(PassRegistry&);
302 void initializeRewriteStatepointsForGCPass(PassRegistry&);
303 void initializeRewriteSymbolsLegacyPassPass(PassRegistry&);
304 void initializeSCCPLegacyPassPass(PassRegistry &);
305 void initializeSCEVAAWrapperPassPass(PassRegistry&);
306 void initializeSLPVectorizerPass(PassRegistry&);
307 void initializeSROALegacyPassPass(PassRegistry&);
308 void initializeSafeStackPass(PassRegistry&);
309 void initializeSampleProfileLoaderLegacyPassPass(PassRegistry&);
310 void initializeSanitizerCoverageModulePass(PassRegistry&);
311 void initializeScalarEvolutionWrapperPassPass(PassRegistry&);
312 void initializeScalarizerPass(PassRegistry&);
313 void initializeScopedNoAliasAAWrapperPassPass(PassRegistry&);
314 void initializeSeparateConstOffsetFromGEPPass(PassRegistry &);
315 void initializeShadowStackGCLoweringPass(PassRegistry&);
316 void initializeShrinkWrapPass(PassRegistry &);
317 void initializeSimpleInlinerPass(PassRegistry&);
318 void initializeSingleLoopExtractorPass(PassRegistry&);
319 void initializeSinkingLegacyPassPass(PassRegistry&);
320 void initializeSjLjEHPreparePass(PassRegistry&);
321 void initializeSlotIndexesPass(PassRegistry&);
322 void initializeSpeculativeExecutionLegacyPassPass(PassRegistry&);
323 void initializeSpillPlacementPass(PassRegistry&);
324 void initializeStackColoringPass(PassRegistry&);
325 void initializeStackMapLivenessPass(PassRegistry&);
326 void initializeStackProtectorPass(PassRegistry&);
327 void initializeStackSlotColoringPass(PassRegistry&);
328 void initializeStraightLineStrengthReducePass(PassRegistry &);
329 void initializeStripDeadDebugInfoPass(PassRegistry&);
330 void initializeStripDeadPrototypesLegacyPassPass(PassRegistry&);
331 void initializeStripDebugDeclarePass(PassRegistry&);
332 void initializeStripNonDebugSymbolsPass(PassRegistry&);
333 void initializeStripSymbolsPass(PassRegistry&);
334 void initializeStructurizeCFGPass(PassRegistry&);
335 void initializeTailCallElimPass(PassRegistry&);
336 void initializeTailDuplicatePassPass(PassRegistry&);
337 void initializeTargetLibraryInfoWrapperPassPass(PassRegistry &);
338 void initializeTargetPassConfigPass(PassRegistry&);
339 void initializeTargetTransformInfoWrapperPassPass(PassRegistry &);
340 void initializeThreadSanitizerPass(PassRegistry&);
341 void initializeTwoAddressInstructionPassPass(PassRegistry&);
342 void initializeTypeBasedAAWrapperPassPass(PassRegistry&);
343 void initializeUnifyFunctionExitNodesPass(PassRegistry&);
344 void initializeUnpackMachineBundlesPass(PassRegistry&);
345 void initializeUnreachableBlockElimLegacyPassPass(PassRegistry&);
346 void initializeUnreachableMachineBlockElimPass(PassRegistry&);
347 void initializeVerifierLegacyPassPass(PassRegistry&);
348 void initializeVirtRegMapPass(PassRegistry&);
349 void initializeVirtRegRewriterPass(PassRegistry&);
350 void initializeWholeProgramDevirtPass(PassRegistry &);
351 void initializeWinEHPreparePass(PassRegistry&);
352 void initializeWriteBitcodePassPass(PassRegistry &);
353 void initializeXRayInstrumentationPass(PassRegistry &);
354 }
355
356 #endif