InitializePasses.h 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480
  1. #pragma once
  2. #ifdef __GNUC__
  3. #pragma GCC diagnostic push
  4. #pragma GCC diagnostic ignored "-Wunused-parameter"
  5. #endif
  6. //===- llvm/InitializePasses.h - Initialize All Passes ----------*- C++ -*-===//
  7. //
  8. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  9. // See https://llvm.org/LICENSE.txt for license information.
  10. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  11. //
  12. //===----------------------------------------------------------------------===//
  13. //
  14. // This file contains the declarations for the pass initialization routines
  15. // for the entire LLVM project.
  16. //
  17. //===----------------------------------------------------------------------===//
  18. #ifndef LLVM_INITIALIZEPASSES_H
  19. #define LLVM_INITIALIZEPASSES_H
  20. namespace llvm {
  21. class PassRegistry;
  22. /// Initialize all passes linked into the TransformUtils library.
  23. void initializeCore(PassRegistry&);
  24. /// Initialize all passes linked into the TransformUtils library.
  25. void initializeTransformUtils(PassRegistry&);
  26. /// Initialize all passes linked into the ScalarOpts library.
  27. void initializeScalarOpts(PassRegistry&);
  28. /// Initialize all passes linked into the ObjCARCOpts library.
  29. void initializeObjCARCOpts(PassRegistry&);
  30. /// Initialize all passes linked into the Vectorize library.
  31. void initializeVectorization(PassRegistry&);
  32. /// Initialize all passes linked into the InstCombine library.
  33. void initializeInstCombine(PassRegistry&);
  34. /// Initialize all passes linked into the AggressiveInstCombine library.
  35. void initializeAggressiveInstCombine(PassRegistry&);
  36. /// Initialize all passes linked into the IPO library.
  37. void initializeIPO(PassRegistry&);
  38. /// Initialize all passes linked into the Instrumentation library.
  39. void initializeInstrumentation(PassRegistry&);
  40. /// Initialize all passes linked into the Analysis library.
  41. void initializeAnalysis(PassRegistry&);
  42. /// Initialize all passes linked into the Coroutines library.
  43. void initializeCoroutines(PassRegistry&);
  44. /// Initialize all passes linked into the CodeGen library.
  45. void initializeCodeGen(PassRegistry&);
  46. /// Initialize all passes linked into the GlobalISel library.
  47. void initializeGlobalISel(PassRegistry&);
  48. /// Initialize all passes linked into the CodeGen library.
  49. void initializeTarget(PassRegistry&);
  50. void initializeAAEvalLegacyPassPass(PassRegistry&);
  51. void initializeAAResultsWrapperPassPass(PassRegistry&);
  52. void initializeADCELegacyPassPass(PassRegistry&);
  53. void initializeAddDiscriminatorsLegacyPassPass(PassRegistry&);
  54. void initializeAddFSDiscriminatorsPass(PassRegistry &);
  55. void initializeModuleAddressSanitizerLegacyPassPass(PassRegistry &);
  56. void initializeASanGlobalsMetadataWrapperPassPass(PassRegistry &);
  57. void initializeAddressSanitizerLegacyPassPass(PassRegistry &);
  58. void initializeAggressiveInstCombinerLegacyPassPass(PassRegistry&);
  59. void initializeAliasSetPrinterPass(PassRegistry&);
  60. void initializeAlignmentFromAssumptionsPass(PassRegistry&);
  61. void initializeAlwaysInlinerLegacyPassPass(PassRegistry&);
  62. void initializeAssumeSimplifyPassLegacyPassPass(PassRegistry &);
  63. void initializeAssumeBuilderPassLegacyPassPass(PassRegistry &);
  64. void initializeAnnotation2MetadataLegacyPass(PassRegistry &);
  65. void initializeAnnotationRemarksLegacyPass(PassRegistry &);
  66. void initializeOpenMPOptCGSCCLegacyPassPass(PassRegistry &);
  67. void initializeArgPromotionPass(PassRegistry&);
  68. void initializeAssumptionCacheTrackerPass(PassRegistry&);
  69. void initializeAtomicExpandPass(PassRegistry&);
  70. void initializeAttributorLegacyPassPass(PassRegistry&);
  71. void initializeAttributorCGSCCLegacyPassPass(PassRegistry &);
  72. void initializeBasicBlockSectionsPass(PassRegistry &);
  73. void initializeBDCELegacyPassPass(PassRegistry&);
  74. void initializeBarrierNoopPass(PassRegistry&);
  75. void initializeBasicAAWrapperPassPass(PassRegistry&);
  76. void initializeBlockExtractorLegacyPassPass(PassRegistry &);
  77. void initializeBlockFrequencyInfoWrapperPassPass(PassRegistry&);
  78. void initializeBoundsCheckingLegacyPassPass(PassRegistry&);
  79. void initializeBranchFolderPassPass(PassRegistry&);
  80. void initializeBranchProbabilityInfoWrapperPassPass(PassRegistry&);
  81. void initializeBranchRelaxationPass(PassRegistry&);
  82. void initializeBreakCriticalEdgesPass(PassRegistry&);
  83. void initializeBreakFalseDepsPass(PassRegistry&);
  84. void initializeCanonicalizeAliasesLegacyPassPass(PassRegistry &);
  85. void initializeCanonicalizeFreezeInLoopsPass(PassRegistry &);
  86. void initializeCFGOnlyPrinterLegacyPassPass(PassRegistry&);
  87. void initializeCFGOnlyViewerLegacyPassPass(PassRegistry&);
  88. void initializeCFGPrinterLegacyPassPass(PassRegistry&);
  89. void initializeCFGSimplifyPassPass(PassRegistry&);
  90. void initializeCFGuardPass(PassRegistry&);
  91. void initializeCFGuardLongjmpPass(PassRegistry&);
  92. void initializeCFGViewerLegacyPassPass(PassRegistry&);
  93. void initializeCFIInstrInserterPass(PassRegistry&);
  94. void initializeCFLAndersAAWrapperPassPass(PassRegistry&);
  95. void initializeCFLSteensAAWrapperPassPass(PassRegistry&);
  96. void initializeCGProfileLegacyPassPass(PassRegistry &);
  97. void initializeCallGraphDOTPrinterPass(PassRegistry&);
  98. void initializeCallGraphPrinterLegacyPassPass(PassRegistry&);
  99. void initializeCallGraphViewerPass(PassRegistry&);
  100. void initializeCallGraphWrapperPassPass(PassRegistry&);
  101. void initializeCallSiteSplittingLegacyPassPass(PassRegistry&);
  102. void initializeCalledValuePropagationLegacyPassPass(PassRegistry &);
  103. void initializeCheckDebugMachineModulePass(PassRegistry &);
  104. void initializeCodeGenPreparePass(PassRegistry&);
  105. void initializeConstantHoistingLegacyPassPass(PassRegistry&);
  106. void initializeConstantMergeLegacyPassPass(PassRegistry&);
  107. void initializeConstraintEliminationPass(PassRegistry &);
  108. void initializeControlHeightReductionLegacyPassPass(PassRegistry&);
  109. void initializeCorrelatedValuePropagationPass(PassRegistry&);
  110. void initializeCostModelAnalysisPass(PassRegistry&);
  111. void initializeCrossDSOCFIPass(PassRegistry&);
  112. void initializeCycleInfoWrapperPassPass(PassRegistry &);
  113. void initializeDAEPass(PassRegistry&);
  114. void initializeDAHPass(PassRegistry&);
  115. void initializeDCELegacyPassPass(PassRegistry&);
  116. void initializeDFAJumpThreadingLegacyPassPass(PassRegistry &);
  117. void initializeDSELegacyPassPass(PassRegistry&);
  118. void initializeDataFlowSanitizerLegacyPassPass(PassRegistry &);
  119. void initializeDeadMachineInstructionElimPass(PassRegistry&);
  120. void initializeDebugifyMachineModulePass(PassRegistry &);
  121. void initializeDelinearizationPass(PassRegistry&);
  122. void initializeDemandedBitsWrapperPassPass(PassRegistry&);
  123. void initializeDependenceAnalysisPass(PassRegistry&);
  124. void initializeDependenceAnalysisWrapperPassPass(PassRegistry&);
  125. void initializeDetectDeadLanesPass(PassRegistry&);
  126. void initializeDivRemPairsLegacyPassPass(PassRegistry&);
  127. void initializeDomOnlyPrinterPass(PassRegistry&);
  128. void initializeDomOnlyViewerPass(PassRegistry&);
  129. void initializeDomPrinterPass(PassRegistry&);
  130. void initializeDomViewerPass(PassRegistry&);
  131. void initializeDominanceFrontierWrapperPassPass(PassRegistry&);
  132. void initializeDominatorTreeWrapperPassPass(PassRegistry&);
  133. void initializeDwarfEHPrepareLegacyPassPass(PassRegistry &);
  134. void initializeEarlyCSELegacyPassPass(PassRegistry&);
  135. void initializeEarlyCSEMemSSALegacyPassPass(PassRegistry&);
  136. void initializeEarlyIfConverterPass(PassRegistry&);
  137. void initializeEarlyIfPredicatorPass(PassRegistry &);
  138. void initializeEarlyMachineLICMPass(PassRegistry&);
  139. void initializeEarlyTailDuplicatePass(PassRegistry&);
  140. void initializeEdgeBundlesPass(PassRegistry&);
  141. void initializeEHContGuardCatchretPass(PassRegistry &);
  142. void initializeEliminateAvailableExternallyLegacyPassPass(PassRegistry&);
  143. void initializeEntryExitInstrumenterPass(PassRegistry&);
  144. void initializeExpandMemCmpPassPass(PassRegistry&);
  145. void initializeExpandPostRAPass(PassRegistry&);
  146. void initializeExpandReductionsPass(PassRegistry&);
  147. void initializeExpandVectorPredicationPass(PassRegistry &);
  148. void initializeMakeGuardsExplicitLegacyPassPass(PassRegistry&);
  149. void initializeExternalAAWrapperPassPass(PassRegistry&);
  150. void initializeFEntryInserterPass(PassRegistry&);
  151. void initializeFinalizeISelPass(PassRegistry&);
  152. void initializeFinalizeMachineBundlesPass(PassRegistry&);
  153. void initializeFixIrreduciblePass(PassRegistry &);
  154. void initializeFixupStatepointCallerSavedPass(PassRegistry&);
  155. void initializeFlattenCFGLegacyPassPass(PassRegistry &);
  156. void initializeFloat2IntLegacyPassPass(PassRegistry&);
  157. void initializeForceFunctionAttrsLegacyPassPass(PassRegistry&);
  158. void initializeForwardControlFlowIntegrityPass(PassRegistry&);
  159. void initializeFuncletLayoutPass(PassRegistry&);
  160. void initializeFunctionImportLegacyPassPass(PassRegistry&);
  161. void initializeFunctionSpecializationLegacyPassPass(PassRegistry &);
  162. void initializeGCMachineCodeAnalysisPass(PassRegistry&);
  163. void initializeGCModuleInfoPass(PassRegistry&);
  164. void initializeGCOVProfilerLegacyPassPass(PassRegistry&);
  165. void initializeGVNHoistLegacyPassPass(PassRegistry&);
  166. void initializeGVNLegacyPassPass(PassRegistry&);
  167. void initializeGVNSinkLegacyPassPass(PassRegistry&);
  168. void initializeGlobalDCELegacyPassPass(PassRegistry&);
  169. void initializeGlobalMergePass(PassRegistry&);
  170. void initializeGlobalOptLegacyPassPass(PassRegistry&);
  171. void initializeGlobalSplitPass(PassRegistry&);
  172. void initializeGlobalsAAWrapperPassPass(PassRegistry&);
  173. void initializeGuardWideningLegacyPassPass(PassRegistry&);
  174. void initializeHardwareLoopsPass(PassRegistry&);
  175. void initializeMIRProfileLoaderPassPass(PassRegistry &);
  176. void initializeMemProfilerLegacyPassPass(PassRegistry &);
  177. void initializeHotColdSplittingLegacyPassPass(PassRegistry&);
  178. void initializeHWAddressSanitizerLegacyPassPass(PassRegistry &);
  179. void initializeIPSCCPLegacyPassPass(PassRegistry&);
  180. void initializeIRCELegacyPassPass(PassRegistry&);
  181. void initializeIROutlinerLegacyPassPass(PassRegistry&);
  182. void initializeIRSimilarityIdentifierWrapperPassPass(PassRegistry&);
  183. void initializeIRTranslatorPass(PassRegistry&);
  184. void initializeIVUsersWrapperPassPass(PassRegistry&);
  185. void initializeIfConverterPass(PassRegistry&);
  186. void initializeImmutableModuleSummaryIndexWrapperPassPass(PassRegistry&);
  187. void initializeImplicitNullChecksPass(PassRegistry&);
  188. void initializeIndVarSimplifyLegacyPassPass(PassRegistry&);
  189. void initializeIndirectBrExpandPassPass(PassRegistry&);
  190. void initializeInferAddressSpacesPass(PassRegistry&);
  191. void initializeInferFunctionAttrsLegacyPassPass(PassRegistry&);
  192. void initializeInjectTLIMappingsLegacyPass(PassRegistry &);
  193. void initializeInlineCostAnalysisPass(PassRegistry&);
  194. void initializeInstCountLegacyPassPass(PassRegistry &);
  195. void initializeInstNamerPass(PassRegistry&);
  196. void initializeInstSimplifyLegacyPassPass(PassRegistry &);
  197. void initializeInstrProfilingLegacyPassPass(PassRegistry&);
  198. void initializeInstrOrderFileLegacyPassPass(PassRegistry&);
  199. void initializeInstructionCombiningPassPass(PassRegistry&);
  200. void initializeInstructionSelectPass(PassRegistry&);
  201. void initializeInterleavedAccessPass(PassRegistry&);
  202. void initializeInterleavedLoadCombinePass(PassRegistry &);
  203. void initializeInternalizeLegacyPassPass(PassRegistry&);
  204. void initializeIntervalPartitionPass(PassRegistry&);
  205. void initializeJumpThreadingPass(PassRegistry&);
  206. void initializeLCSSAVerificationPassPass(PassRegistry&);
  207. void initializeLCSSAWrapperPassPass(PassRegistry&);
  208. void initializeLazyBlockFrequencyInfoPassPass(PassRegistry&);
  209. void initializeLazyBranchProbabilityInfoPassPass(PassRegistry&);
  210. void initializeLazyMachineBlockFrequencyInfoPassPass(PassRegistry&);
  211. void initializeLazyValueInfoPrinterPass(PassRegistry&);
  212. void initializeLazyValueInfoWrapperPassPass(PassRegistry&);
  213. void initializeLegacyDivergenceAnalysisPass(PassRegistry&);
  214. void initializeLegacyLICMPassPass(PassRegistry&);
  215. void initializeLegacyLoopSinkPassPass(PassRegistry&);
  216. void initializeLegalizerPass(PassRegistry&);
  217. void initializeGISelCSEAnalysisWrapperPassPass(PassRegistry &);
  218. void initializeGISelKnownBitsAnalysisPass(PassRegistry &);
  219. void initializeLibCallsShrinkWrapLegacyPassPass(PassRegistry&);
  220. void initializeLintLegacyPassPass(PassRegistry &);
  221. void initializeLiveDebugValuesPass(PassRegistry&);
  222. void initializeLiveDebugVariablesPass(PassRegistry&);
  223. void initializeLiveIntervalsPass(PassRegistry&);
  224. void initializeLiveRangeShrinkPass(PassRegistry&);
  225. void initializeLiveRegMatrixPass(PassRegistry&);
  226. void initializeLiveStacksPass(PassRegistry&);
  227. void initializeLiveVariablesPass(PassRegistry &);
  228. void initializeLoadStoreOptPass(PassRegistry &);
  229. void initializeLoadStoreVectorizerLegacyPassPass(PassRegistry&);
  230. void initializeLoaderPassPass(PassRegistry&);
  231. void initializeLocalStackSlotPassPass(PassRegistry&);
  232. void initializeLocalizerPass(PassRegistry&);
  233. void initializeLoopAccessLegacyAnalysisPass(PassRegistry&);
  234. void initializeLoopDataPrefetchLegacyPassPass(PassRegistry&);
  235. void initializeLoopDeletionLegacyPassPass(PassRegistry&);
  236. void initializeLoopDistributeLegacyPass(PassRegistry&);
  237. void initializeLoopExtractorLegacyPassPass(PassRegistry &);
  238. void initializeLoopGuardWideningLegacyPassPass(PassRegistry&);
  239. void initializeLoopFuseLegacyPass(PassRegistry&);
  240. void initializeLoopIdiomRecognizeLegacyPassPass(PassRegistry&);
  241. void initializeLoopInfoWrapperPassPass(PassRegistry&);
  242. void initializeLoopInstSimplifyLegacyPassPass(PassRegistry&);
  243. void initializeLoopInterchangeLegacyPassPass(PassRegistry &);
  244. void initializeLoopFlattenLegacyPassPass(PassRegistry&);
  245. void initializeLoopLoadEliminationPass(PassRegistry&);
  246. void initializeLoopPassPass(PassRegistry&);
  247. void initializeLoopPredicationLegacyPassPass(PassRegistry&);
  248. void initializeLoopRerollLegacyPassPass(PassRegistry &);
  249. void initializeLoopRotateLegacyPassPass(PassRegistry&);
  250. void initializeLoopSimplifyCFGLegacyPassPass(PassRegistry&);
  251. void initializeLoopSimplifyPass(PassRegistry&);
  252. void initializeLoopStrengthReducePass(PassRegistry&);
  253. void initializeLoopUnrollAndJamPass(PassRegistry&);
  254. void initializeLoopUnrollPass(PassRegistry&);
  255. void initializeLoopUnswitchPass(PassRegistry&);
  256. void initializeLoopVectorizePass(PassRegistry&);
  257. void initializeLoopVersioningLICMLegacyPassPass(PassRegistry &);
  258. void initializeLoopVersioningLegacyPassPass(PassRegistry &);
  259. void initializeLowerAtomicLegacyPassPass(PassRegistry&);
  260. void initializeLowerConstantIntrinsicsPass(PassRegistry&);
  261. void initializeLowerEmuTLSPass(PassRegistry&);
  262. void initializeLowerExpectIntrinsicPass(PassRegistry&);
  263. void initializeLowerGuardIntrinsicLegacyPassPass(PassRegistry&);
  264. void initializeLowerWidenableConditionLegacyPassPass(PassRegistry&);
  265. void initializeLowerIntrinsicsPass(PassRegistry&);
  266. void initializeLowerInvokeLegacyPassPass(PassRegistry&);
  267. void initializeLowerSwitchLegacyPassPass(PassRegistry &);
  268. void initializeLowerTypeTestsPass(PassRegistry&);
  269. void initializeLowerMatrixIntrinsicsLegacyPassPass(PassRegistry &);
  270. void initializeLowerMatrixIntrinsicsMinimalLegacyPassPass(PassRegistry &);
  271. void initializeMIRAddFSDiscriminatorsPass(PassRegistry &);
  272. void initializeMIRCanonicalizerPass(PassRegistry &);
  273. void initializeMIRNamerPass(PassRegistry &);
  274. void initializeMIRPrintingPassPass(PassRegistry&);
  275. void initializeMachineBlockFrequencyInfoPass(PassRegistry&);
  276. void initializeMachineBlockPlacementPass(PassRegistry&);
  277. void initializeMachineBlockPlacementStatsPass(PassRegistry&);
  278. void initializeMachineBranchProbabilityInfoPass(PassRegistry&);
  279. void initializeMachineCSEPass(PassRegistry&);
  280. void initializeMachineCombinerPass(PassRegistry&);
  281. void initializeMachineCopyPropagationPass(PassRegistry&);
  282. void initializeMachineCycleInfoPrinterPassPass(PassRegistry &);
  283. void initializeMachineCycleInfoWrapperPassPass(PassRegistry &);
  284. void initializeMachineDominanceFrontierPass(PassRegistry&);
  285. void initializeMachineDominatorTreePass(PassRegistry&);
  286. void initializeMachineFunctionPrinterPassPass(PassRegistry&);
  287. void initializeMachineFunctionSplitterPass(PassRegistry &);
  288. void initializeMachineLICMPass(PassRegistry&);
  289. void initializeMachineLoopInfoPass(PassRegistry&);
  290. void initializeMachineModuleInfoWrapperPassPass(PassRegistry &);
  291. void initializeMachineOptimizationRemarkEmitterPassPass(PassRegistry&);
  292. void initializeMachineOutlinerPass(PassRegistry&);
  293. void initializeMachinePipelinerPass(PassRegistry&);
  294. void initializeMachinePostDominatorTreePass(PassRegistry&);
  295. void initializeMachineRegionInfoPassPass(PassRegistry&);
  296. void initializeMachineSchedulerPass(PassRegistry&);
  297. void initializeMachineSinkingPass(PassRegistry&);
  298. void initializeMachineTraceMetricsPass(PassRegistry&);
  299. void initializeMachineVerifierPassPass(PassRegistry&);
  300. void initializeMemCpyOptLegacyPassPass(PassRegistry&);
  301. void initializeMemDepPrinterPass(PassRegistry&);
  302. void initializeMemDerefPrinterPass(PassRegistry&);
  303. void initializeMemoryDependenceWrapperPassPass(PassRegistry&);
  304. void initializeMemorySSAPrinterLegacyPassPass(PassRegistry&);
  305. void initializeMemorySSAWrapperPassPass(PassRegistry&);
  306. void initializeMemorySanitizerLegacyPassPass(PassRegistry&);
  307. void initializeMergeFunctionsLegacyPassPass(PassRegistry&);
  308. void initializeMergeICmpsLegacyPassPass(PassRegistry &);
  309. void initializeMergedLoadStoreMotionLegacyPassPass(PassRegistry&);
  310. void initializeMetaRenamerPass(PassRegistry&);
  311. void initializeModuleDebugInfoLegacyPrinterPass(PassRegistry &);
  312. void initializeModuleMemProfilerLegacyPassPass(PassRegistry &);
  313. void initializeModuleSummaryIndexWrapperPassPass(PassRegistry&);
  314. void initializeModuloScheduleTestPass(PassRegistry&);
  315. void initializeMustExecutePrinterPass(PassRegistry&);
  316. void initializeMustBeExecutedContextPrinterPass(PassRegistry&);
  317. void initializeNameAnonGlobalLegacyPassPass(PassRegistry&);
  318. void initializeNaryReassociateLegacyPassPass(PassRegistry&);
  319. void initializeNewGVNLegacyPassPass(PassRegistry&);
  320. void initializeObjCARCAAWrapperPassPass(PassRegistry&);
  321. void initializeObjCARCAPElimPass(PassRegistry&);
  322. void initializeObjCARCContractLegacyPassPass(PassRegistry &);
  323. void initializeObjCARCExpandPass(PassRegistry&);
  324. void initializeObjCARCOptLegacyPassPass(PassRegistry &);
  325. void initializeOptimizationRemarkEmitterWrapperPassPass(PassRegistry&);
  326. void initializeOptimizePHIsPass(PassRegistry&);
  327. void initializePAEvalPass(PassRegistry&);
  328. void initializePEIPass(PassRegistry&);
  329. void initializePGOIndirectCallPromotionLegacyPassPass(PassRegistry&);
  330. void initializePGOInstrumentationGenLegacyPassPass(PassRegistry&);
  331. void initializePGOInstrumentationUseLegacyPassPass(PassRegistry&);
  332. void initializePGOInstrumentationGenCreateVarLegacyPassPass(PassRegistry&);
  333. void initializePGOMemOPSizeOptLegacyPassPass(PassRegistry&);
  334. void initializePHIEliminationPass(PassRegistry&);
  335. void initializePartialInlinerLegacyPassPass(PassRegistry&);
  336. void initializePartiallyInlineLibCallsLegacyPassPass(PassRegistry&);
  337. void initializePatchableFunctionPass(PassRegistry&);
  338. void initializePeepholeOptimizerPass(PassRegistry&);
  339. void initializePhiValuesWrapperPassPass(PassRegistry&);
  340. void initializePhysicalRegisterUsageInfoPass(PassRegistry&);
  341. void initializePlaceBackedgeSafepointsImplPass(PassRegistry&);
  342. void initializePlaceSafepointsPass(PassRegistry&);
  343. void initializePostDomOnlyPrinterPass(PassRegistry&);
  344. void initializePostDomOnlyViewerPass(PassRegistry&);
  345. void initializePostDomPrinterPass(PassRegistry&);
  346. void initializePostDomViewerPass(PassRegistry&);
  347. void initializePostDominatorTreeWrapperPassPass(PassRegistry&);
  348. void initializePostInlineEntryExitInstrumenterPass(PassRegistry&);
  349. void initializePostMachineSchedulerPass(PassRegistry&);
  350. void initializePostOrderFunctionAttrsLegacyPassPass(PassRegistry&);
  351. void initializePostRAHazardRecognizerPass(PassRegistry&);
  352. void initializePostRAMachineSinkingPass(PassRegistry&);
  353. void initializePostRASchedulerPass(PassRegistry&);
  354. void initializePreISelIntrinsicLoweringLegacyPassPass(PassRegistry&);
  355. void initializePredicateInfoPrinterLegacyPassPass(PassRegistry&);
  356. void initializePrintFunctionPassWrapperPass(PassRegistry&);
  357. void initializePrintModulePassWrapperPass(PassRegistry&);
  358. void initializeProcessImplicitDefsPass(PassRegistry&);
  359. void initializeProfileSummaryInfoWrapperPassPass(PassRegistry&);
  360. void initializePromoteLegacyPassPass(PassRegistry&);
  361. void initializePruneEHPass(PassRegistry&);
  362. void initializeRABasicPass(PassRegistry&);
  363. void initializePseudoProbeInserterPass(PassRegistry &);
  364. void initializeRAGreedyPass(PassRegistry&);
  365. void initializeReachingDefAnalysisPass(PassRegistry&);
  366. void initializeReassociateLegacyPassPass(PassRegistry&);
  367. void initializeRedundantDbgInstEliminationPass(PassRegistry&);
  368. void initializeRegAllocEvictionAdvisorAnalysisPass(PassRegistry &);
  369. void initializeRegAllocFastPass(PassRegistry&);
  370. void initializeRegAllocScoringPass(PassRegistry &);
  371. void initializeRegBankSelectPass(PassRegistry&);
  372. void initializeRegToMemLegacyPass(PassRegistry&);
  373. void initializeRegUsageInfoCollectorPass(PassRegistry&);
  374. void initializeRegUsageInfoPropagationPass(PassRegistry&);
  375. void initializeRegionInfoPassPass(PassRegistry&);
  376. void initializeRegionOnlyPrinterPass(PassRegistry&);
  377. void initializeRegionOnlyViewerPass(PassRegistry&);
  378. void initializeRegionPrinterPass(PassRegistry&);
  379. void initializeRegionViewerPass(PassRegistry&);
  380. void initializeRegisterCoalescerPass(PassRegistry&);
  381. void initializeRemoveRedundantDebugValuesPass(PassRegistry&);
  382. void initializeRenameIndependentSubregsPass(PassRegistry&);
  383. void initializeReplaceWithVeclibLegacyPass(PassRegistry &);
  384. void initializeResetMachineFunctionPass(PassRegistry&);
  385. void initializeReversePostOrderFunctionAttrsLegacyPassPass(PassRegistry&);
  386. void initializeRewriteStatepointsForGCLegacyPassPass(PassRegistry &);
  387. void initializeRewriteSymbolsLegacyPassPass(PassRegistry&);
  388. void initializeSCCPLegacyPassPass(PassRegistry&);
  389. void initializeSCEVAAWrapperPassPass(PassRegistry&);
  390. void initializeSLPVectorizerPass(PassRegistry&);
  391. void initializeSROALegacyPassPass(PassRegistry&);
  392. void initializeSafeStackLegacyPassPass(PassRegistry&);
  393. void initializeSafepointIRVerifierPass(PassRegistry&);
  394. void initializeSampleProfileLoaderLegacyPassPass(PassRegistry&);
  395. void initializeModuleSanitizerCoverageLegacyPassPass(PassRegistry &);
  396. void initializeScalarEvolutionWrapperPassPass(PassRegistry&);
  397. void initializeScalarizeMaskedMemIntrinLegacyPassPass(PassRegistry &);
  398. void initializeScalarizerLegacyPassPass(PassRegistry&);
  399. void initializeScavengerTestPass(PassRegistry&);
  400. void initializeScopedNoAliasAAWrapperPassPass(PassRegistry&);
  401. void initializeSeparateConstOffsetFromGEPLegacyPassPass(PassRegistry &);
  402. void initializeShadowStackGCLoweringPass(PassRegistry&);
  403. void initializeShrinkWrapPass(PassRegistry&);
  404. void initializeSimpleInlinerPass(PassRegistry&);
  405. void initializeSimpleLoopUnswitchLegacyPassPass(PassRegistry&);
  406. void initializeSingleLoopExtractorPass(PassRegistry&);
  407. void initializeSinkingLegacyPassPass(PassRegistry&);
  408. void initializeSjLjEHPreparePass(PassRegistry&);
  409. void initializeSlotIndexesPass(PassRegistry&);
  410. void initializeSpeculativeExecutionLegacyPassPass(PassRegistry&);
  411. void initializeSpillPlacementPass(PassRegistry&);
  412. void initializeStackColoringPass(PassRegistry&);
  413. void initializeStackMapLivenessPass(PassRegistry&);
  414. void initializeStackProtectorPass(PassRegistry&);
  415. void initializeStackSafetyGlobalInfoWrapperPassPass(PassRegistry &);
  416. void initializeStackSafetyInfoWrapperPassPass(PassRegistry &);
  417. void initializeStackSlotColoringPass(PassRegistry&);
  418. void initializeStraightLineStrengthReduceLegacyPassPass(PassRegistry &);
  419. void initializeStripDeadDebugInfoPass(PassRegistry&);
  420. void initializeStripDeadPrototypesLegacyPassPass(PassRegistry&);
  421. void initializeStripDebugDeclarePass(PassRegistry&);
  422. void initializeStripDebugMachineModulePass(PassRegistry &);
  423. void initializeStripGCRelocatesLegacyPass(PassRegistry &);
  424. void initializeStripNonDebugSymbolsPass(PassRegistry&);
  425. void initializeStripNonLineTableDebugLegacyPassPass(PassRegistry &);
  426. void initializeStripSymbolsPass(PassRegistry&);
  427. void initializeStructurizeCFGLegacyPassPass(PassRegistry &);
  428. void initializeTailCallElimPass(PassRegistry&);
  429. void initializeTailDuplicatePass(PassRegistry&);
  430. void initializeTargetLibraryInfoWrapperPassPass(PassRegistry&);
  431. void initializeTargetPassConfigPass(PassRegistry&);
  432. void initializeTargetTransformInfoWrapperPassPass(PassRegistry&);
  433. void initializeThreadSanitizerLegacyPassPass(PassRegistry&);
  434. void initializeTwoAddressInstructionPassPass(PassRegistry&);
  435. void initializeTypeBasedAAWrapperPassPass(PassRegistry&);
  436. void initializeTypePromotionPass(PassRegistry&);
  437. void initializeUnifyFunctionExitNodesLegacyPassPass(PassRegistry &);
  438. void initializeUnifyLoopExitsLegacyPassPass(PassRegistry &);
  439. void initializeUnpackMachineBundlesPass(PassRegistry&);
  440. void initializeUnreachableBlockElimLegacyPassPass(PassRegistry&);
  441. void initializeUnreachableMachineBlockElimPass(PassRegistry&);
  442. void initializeVectorCombineLegacyPassPass(PassRegistry&);
  443. void initializeVerifierLegacyPassPass(PassRegistry&);
  444. void initializeVirtRegMapPass(PassRegistry&);
  445. void initializeVirtRegRewriterPass(PassRegistry&);
  446. void initializeWarnMissedTransformationsLegacyPass(PassRegistry &);
  447. void initializeWasmEHPreparePass(PassRegistry&);
  448. void initializeWholeProgramDevirtPass(PassRegistry&);
  449. void initializeWinEHPreparePass(PassRegistry&);
  450. void initializeWriteBitcodePassPass(PassRegistry&);
  451. void initializeWriteThinLTOBitcodePass(PassRegistry&);
  452. void initializeXRayInstrumentationPass(PassRegistry&);
  453. } // end namespace llvm
  454. #endif // LLVM_INITIALIZEPASSES_H
  455. #ifdef __GNUC__
  456. #pragma GCC diagnostic pop
  457. #endif