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