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 /// initializeVectorization - Initialize all passes linked into the 35 /// Vectorize library. 36 void initializeVectorization(PassRegistry&); 37 38 /// initializeInstCombine - Initialize all passes linked into the 39 /// ScalarOpts library. 40 void initializeInstCombine(PassRegistry&); 41 42 /// initializeIPO - Initialize all passes linked into the IPO library. 43 void initializeIPO(PassRegistry&); 44 45 /// initializeInstrumentation - Initialize all passes linked into the 46 /// Instrumentation library. 47 void initializeInstrumentation(PassRegistry&); 48 49 /// initializeAnalysis - Initialize all passes linked into the Analysis library. 50 void initializeAnalysis(PassRegistry&); 51 52 /// initializeIPA - Initialize all passes linked into the IPA library. 53 void initializeIPA(PassRegistry&); 54 55 /// initializeCodeGen - Initialize all passes linked into the CodeGen library. 56 void initializeCodeGen(PassRegistry&); 57 58 /// initializeCodeGen - Initialize all passes linked into the CodeGen library. 59 void initializeTarget(PassRegistry&); 60 61 void initializeAAEvalPass(PassRegistry&); 62 void initializeADCEPass(PassRegistry&); 63 void initializeAliasAnalysisAnalysisGroup(PassRegistry&); 64 void initializeAliasAnalysisCounterPass(PassRegistry&); 65 void initializeAliasDebuggerPass(PassRegistry&); 66 void initializeAliasSetPrinterPass(PassRegistry&); 67 void initializeAlwaysInlinerPass(PassRegistry&); 68 void initializeArgPromotionPass(PassRegistry&); 69 void initializeBasicAliasAnalysisPass(PassRegistry&); 70 void initializeBasicCallGraphPass(PassRegistry&); 71 void initializeBlockExtractorPassPass(PassRegistry&); 72 void initializeBlockFrequencyInfoPass(PassRegistry&); 73 void initializeBlockPlacementPass(PassRegistry&); 74 void initializeBranchFolderPassPass(PassRegistry&); 75 void initializeBranchProbabilityInfoPass(PassRegistry&); 76 void initializeBreakCriticalEdgesPass(PassRegistry&); 77 void initializeCFGOnlyPrinterPass(PassRegistry&); 78 void initializeCFGOnlyViewerPass(PassRegistry&); 79 void initializeCFGPrinterPass(PassRegistry&); 80 void initializeCFGSimplifyPassPass(PassRegistry&); 81 void initializeCFGViewerPass(PassRegistry&); 82 void initializeCalculateSpillWeightsPass(PassRegistry&); 83 void initializeCallGraphAnalysisGroup(PassRegistry&); 84 void initializeCodeGenPreparePass(PassRegistry&); 85 void initializeCodePlacementOptPass(PassRegistry&); 86 void initializeConstantMergePass(PassRegistry&); 87 void initializeConstantPropagationPass(PassRegistry&); 88 void initializeMachineCopyPropagationPass(PassRegistry&); 89 void initializeCorrelatedValuePropagationPass(PassRegistry&); 90 void initializeDAEPass(PassRegistry&); 91 void initializeDAHPass(PassRegistry&); 92 void initializeDCEPass(PassRegistry&); 93 void initializeDSEPass(PassRegistry&); 94 void initializeDeadInstEliminationPass(PassRegistry&); 95 void initializeDeadMachineInstructionElimPass(PassRegistry&); 96 void initializeDomOnlyPrinterPass(PassRegistry&); 97 void initializeDomOnlyViewerPass(PassRegistry&); 98 void initializeDomPrinterPass(PassRegistry&); 99 void initializeDomViewerPass(PassRegistry&); 100 void initializeDominanceFrontierPass(PassRegistry&); 101 void initializeDominatorTreePass(PassRegistry&); 102 void initializeEdgeBundlesPass(PassRegistry&); 103 void initializeEdgeProfilerPass(PassRegistry&); 104 void initializeExpandPostRAPass(PassRegistry&); 105 void initializePathProfilerPass(PassRegistry&); 106 void initializeGCOVProfilerPass(PassRegistry&); 107 void initializeAddressSanitizerPass(PassRegistry&); 108 void initializeThreadSanitizerPass(PassRegistry&); 109 void initializeEarlyCSEPass(PassRegistry&); 110 void initializeExpandISelPseudosPass(PassRegistry&); 111 void initializeFindUsedTypesPass(PassRegistry&); 112 void initializeFunctionAttrsPass(PassRegistry&); 113 void initializeGCInfoDeleterPass(PassRegistry&); 114 void initializeGCMachineCodeAnalysisPass(PassRegistry&); 115 void initializeGCModuleInfoPass(PassRegistry&); 116 void initializeGVNPass(PassRegistry&); 117 void initializeGlobalDCEPass(PassRegistry&); 118 void initializeGlobalOptPass(PassRegistry&); 119 void initializeGlobalsModRefPass(PassRegistry&); 120 void initializeIPCPPass(PassRegistry&); 121 void initializeIPSCCPPass(PassRegistry&); 122 void initializeIVUsersPass(PassRegistry&); 123 void initializeIfConverterPass(PassRegistry&); 124 void initializeIndVarSimplifyPass(PassRegistry&); 125 void initializeInstCombinerPass(PassRegistry&); 126 void initializeInstCountPass(PassRegistry&); 127 void initializeInstNamerPass(PassRegistry&); 128 void initializeInternalizePassPass(PassRegistry&); 129 void initializeIntervalPartitionPass(PassRegistry&); 130 void initializeJumpThreadingPass(PassRegistry&); 131 void initializeLCSSAPass(PassRegistry&); 132 void initializeLICMPass(PassRegistry&); 133 void initializeLazyValueInfoPass(PassRegistry&); 134 void initializeLibCallAliasAnalysisPass(PassRegistry&); 135 void initializeLintPass(PassRegistry&); 136 void initializeLiveDebugVariablesPass(PassRegistry&); 137 void initializeLiveIntervalsPass(PassRegistry&); 138 void initializeLiveStacksPass(PassRegistry&); 139 void initializeLiveVariablesPass(PassRegistry&); 140 void initializeLoaderPassPass(PassRegistry&); 141 void initializePathProfileLoaderPassPass(PassRegistry&); 142 void initializeLocalStackSlotPassPass(PassRegistry&); 143 void initializeLoopDeletionPass(PassRegistry&); 144 void initializeLoopDependenceAnalysisPass(PassRegistry&); 145 void initializeLoopExtractorPass(PassRegistry&); 146 void initializeLoopInfoPass(PassRegistry&); 147 void initializeLoopInstSimplifyPass(PassRegistry&); 148 void initializeLoopRotatePass(PassRegistry&); 149 void initializeLoopSimplifyPass(PassRegistry&); 150 void initializeLoopStrengthReducePass(PassRegistry&); 151 void initializeGlobalMergePass(PassRegistry&); 152 void initializeLoopUnrollPass(PassRegistry&); 153 void initializeLoopUnswitchPass(PassRegistry&); 154 void initializeLoopIdiomRecognizePass(PassRegistry&); 155 void initializeLowerAtomicPass(PassRegistry&); 156 void initializeLowerExpectIntrinsicPass(PassRegistry&); 157 void initializeLowerIntrinsicsPass(PassRegistry&); 158 void initializeLowerInvokePass(PassRegistry&); 159 void initializeLowerSwitchPass(PassRegistry&); 160 void initializeMachineBlockFrequencyInfoPass(PassRegistry&); 161 void initializeMachineBlockPlacementPass(PassRegistry&); 162 void initializeMachineBlockPlacementStatsPass(PassRegistry&); 163 void initializeMachineBranchProbabilityInfoPass(PassRegistry&); 164 void initializeMachineCSEPass(PassRegistry&); 165 void initializeMachineDominatorTreePass(PassRegistry&); 166 void initializeMachineLICMPass(PassRegistry&); 167 void initializeMachineLoopInfoPass(PassRegistry&); 168 void initializeMachineLoopRangesPass(PassRegistry&); 169 void initializeMachineModuleInfoPass(PassRegistry&); 170 void initializeMachineSchedulerPass(PassRegistry&); 171 void initializeMachineSinkingPass(PassRegistry&); 172 void initializeMachineVerifierPassPass(PassRegistry&); 173 void initializeMemCpyOptPass(PassRegistry&); 174 void initializeMemDepPrinterPass(PassRegistry&); 175 void initializeMemoryDependenceAnalysisPass(PassRegistry&); 176 void initializeMergeFunctionsPass(PassRegistry&); 177 void initializeModuleDebugInfoPrinterPass(PassRegistry&); 178 void initializeNoAAPass(PassRegistry&); 179 void initializeNoProfileInfoPass(PassRegistry&); 180 void initializeNoPathProfileInfoPass(PassRegistry&); 181 void initializeObjCARCAliasAnalysisPass(PassRegistry&); 182 void initializeObjCARCAPElimPass(PassRegistry&); 183 void initializeObjCARCExpandPass(PassRegistry&); 184 void initializeObjCARCContractPass(PassRegistry&); 185 void initializeObjCARCOptPass(PassRegistry&); 186 void initializeOptimalEdgeProfilerPass(PassRegistry&); 187 void initializeOptimizePHIsPass(PassRegistry&); 188 void initializePEIPass(PassRegistry&); 189 void initializePHIEliminationPass(PassRegistry&); 190 void initializePartialInlinerPass(PassRegistry&); 191 void initializePeepholeOptimizerPass(PassRegistry&); 192 void initializePostDomOnlyPrinterPass(PassRegistry&); 193 void initializePostDomOnlyViewerPass(PassRegistry&); 194 void initializePostDomPrinterPass(PassRegistry&); 195 void initializePostDomViewerPass(PassRegistry&); 196 void initializePostDominatorTreePass(PassRegistry&); 197 void initializePostRASchedulerPass(PassRegistry&); 198 void initializePreVerifierPass(PassRegistry&); 199 void initializePrintDbgInfoPass(PassRegistry&); 200 void initializePrintFunctionPassPass(PassRegistry&); 201 void initializePrintModulePassPass(PassRegistry&); 202 void initializeProcessImplicitDefsPass(PassRegistry&); 203 void initializeProfileEstimatorPassPass(PassRegistry&); 204 void initializeProfileInfoAnalysisGroup(PassRegistry&); 205 void initializePathProfileInfoAnalysisGroup(PassRegistry&); 206 void initializePathProfileVerifierPass(PassRegistry&); 207 void initializeProfileVerifierPassPass(PassRegistry&); 208 void initializePromotePassPass(PassRegistry&); 209 void initializePruneEHPass(PassRegistry&); 210 void initializeReassociatePass(PassRegistry&); 211 void initializeRegToMemPass(PassRegistry&); 212 void initializeRegionInfoPass(PassRegistry&); 213 void initializeRegionOnlyPrinterPass(PassRegistry&); 214 void initializeRegionOnlyViewerPass(PassRegistry&); 215 void initializeRegionPrinterPass(PassRegistry&); 216 void initializeRegionViewerPass(PassRegistry&); 217 void initializeRenderMachineFunctionPass(PassRegistry&); 218 void initializeSCCPPass(PassRegistry&); 219 void initializeSROA_DTPass(PassRegistry&); 220 void initializeSROA_SSAUpPass(PassRegistry&); 221 void initializeScalarEvolutionAliasAnalysisPass(PassRegistry&); 222 void initializeScalarEvolutionPass(PassRegistry&); 223 void initializeSimpleInlinerPass(PassRegistry&); 224 void initializeRegisterCoalescerPass(PassRegistry&); 225 void initializeSimplifyLibCallsPass(PassRegistry&); 226 void initializeSingleLoopExtractorPass(PassRegistry&); 227 void initializeSinkingPass(PassRegistry&); 228 void initializeSlotIndexesPass(PassRegistry&); 229 void initializeSpillPlacementPass(PassRegistry&); 230 void initializeStackProtectorPass(PassRegistry&); 231 void initializeStackSlotColoringPass(PassRegistry&); 232 void initializeStripDeadDebugInfoPass(PassRegistry&); 233 void initializeStripDeadPrototypesPassPass(PassRegistry&); 234 void initializeStripDebugDeclarePass(PassRegistry&); 235 void initializeStripNonDebugSymbolsPass(PassRegistry&); 236 void initializeStripSymbolsPass(PassRegistry&); 237 void initializeStrongPHIEliminationPass(PassRegistry&); 238 void initializeTailCallElimPass(PassRegistry&); 239 void initializeTailDuplicatePassPass(PassRegistry&); 240 void initializeTargetPassConfigPass(PassRegistry&); 241 void initializeTargetDataPass(PassRegistry&); 242 void initializeTargetLibraryInfoPass(PassRegistry&); 243 void initializeTwoAddressInstructionPassPass(PassRegistry&); 244 void initializeTypeBasedAliasAnalysisPass(PassRegistry&); 245 void initializeUnifyFunctionExitNodesPass(PassRegistry&); 246 void initializeUnreachableBlockElimPass(PassRegistry&); 247 void initializeUnreachableMachineBlockElimPass(PassRegistry&); 248 void initializeVerifierPass(PassRegistry&); 249 void initializeVirtRegMapPass(PassRegistry&); 250 void initializeInstSimplifierPass(PassRegistry&); 251 void initializeUnpackMachineBundlesPass(PassRegistry&); 252 void initializeFinalizeMachineBundlesPass(PassRegistry&); 253 void initializeBBVectorizePass(PassRegistry&); 254 } 255 256 #endif 257