LLVM API Documentation
00001 //===- llvm/InitializePasses.h -------- Initialize All Passes ---*- C++ -*-===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file is distributed under the University of Illinois Open Source 00006 // License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 // 00010 // This file contains the declarations for the pass initialization routines 00011 // for the entire LLVM project. 00012 // 00013 //===----------------------------------------------------------------------===// 00014 00015 #ifndef LLVM_INITIALIZEPASSES_H 00016 #define LLVM_INITIALIZEPASSES_H 00017 00018 namespace llvm { 00019 00020 class PassRegistry; 00021 00022 /// initializeCore - Initialize all passes linked into the 00023 /// TransformUtils library. 00024 void initializeCore(PassRegistry&); 00025 00026 /// initializeTransformUtils - Initialize all passes linked into the 00027 /// TransformUtils library. 00028 void initializeTransformUtils(PassRegistry&); 00029 00030 /// initializeScalarOpts - Initialize all passes linked into the 00031 /// ScalarOpts library. 00032 void initializeScalarOpts(PassRegistry&); 00033 00034 /// initializeObjCARCOpts - Initialize all passes linked into the ObjCARCOpts 00035 /// library. 00036 void initializeObjCARCOpts(PassRegistry&); 00037 00038 /// initializeVectorization - Initialize all passes linked into the 00039 /// Vectorize library. 00040 void initializeVectorization(PassRegistry&); 00041 00042 /// initializeInstCombine - Initialize all passes linked into the 00043 /// ScalarOpts library. 00044 void initializeInstCombine(PassRegistry&); 00045 00046 /// initializeIPO - Initialize all passes linked into the IPO library. 00047 void initializeIPO(PassRegistry&); 00048 00049 /// initializeInstrumentation - Initialize all passes linked into the 00050 /// Instrumentation library. 00051 void initializeInstrumentation(PassRegistry&); 00052 00053 /// initializeAnalysis - Initialize all passes linked into the Analysis library. 00054 void initializeAnalysis(PassRegistry&); 00055 00056 /// initializeIPA - Initialize all passes linked into the IPA library. 00057 void initializeIPA(PassRegistry&); 00058 00059 /// initializeCodeGen - Initialize all passes linked into the CodeGen library. 00060 void initializeCodeGen(PassRegistry&); 00061 00062 /// initializeCodeGen - Initialize all passes linked into the CodeGen library. 00063 void initializeTarget(PassRegistry&); 00064 00065 void initializeAAEvalPass(PassRegistry&); 00066 void initializeAddDiscriminatorsPass(PassRegistry&); 00067 void initializeADCEPass(PassRegistry&); 00068 void initializeAliasAnalysisAnalysisGroup(PassRegistry&); 00069 void initializeAliasAnalysisCounterPass(PassRegistry&); 00070 void initializeAliasDebuggerPass(PassRegistry&); 00071 void initializeAliasSetPrinterPass(PassRegistry&); 00072 void initializeAlwaysInlinerPass(PassRegistry&); 00073 void initializeArgPromotionPass(PassRegistry&); 00074 void initializeAtomicExpandPass(PassRegistry&); 00075 void initializeSampleProfileLoaderPass(PassRegistry&); 00076 void initializeAlignmentFromAssumptionsPass(PassRegistry&); 00077 void initializeBarrierNoopPass(PassRegistry&); 00078 void initializeBasicAliasAnalysisPass(PassRegistry&); 00079 void initializeCallGraphWrapperPassPass(PassRegistry &); 00080 void initializeBasicTTIPass(PassRegistry&); 00081 void initializeBlockExtractorPassPass(PassRegistry&); 00082 void initializeBlockFrequencyInfoPass(PassRegistry&); 00083 void initializeBoundsCheckingPass(PassRegistry&); 00084 void initializeBranchFolderPassPass(PassRegistry&); 00085 void initializeBranchProbabilityInfoPass(PassRegistry&); 00086 void initializeBreakCriticalEdgesPass(PassRegistry&); 00087 void initializeCallGraphPrinterPass(PassRegistry&); 00088 void initializeCallGraphViewerPass(PassRegistry&); 00089 void initializeCFGOnlyPrinterPass(PassRegistry&); 00090 void initializeCFGOnlyViewerPass(PassRegistry&); 00091 void initializeCFGPrinterPass(PassRegistry&); 00092 void initializeCFGSimplifyPassPass(PassRegistry&); 00093 void initializeCFLAliasAnalysisPass(PassRegistry&); 00094 void initializeFlattenCFGPassPass(PassRegistry&); 00095 void initializeStructurizeCFGPass(PassRegistry&); 00096 void initializeCFGViewerPass(PassRegistry&); 00097 void initializeConstantHoistingPass(PassRegistry&); 00098 void initializeCodeGenPreparePass(PassRegistry&); 00099 void initializeConstantMergePass(PassRegistry&); 00100 void initializeConstantPropagationPass(PassRegistry&); 00101 void initializeMachineCopyPropagationPass(PassRegistry&); 00102 void initializeCostModelAnalysisPass(PassRegistry&); 00103 void initializeCorrelatedValuePropagationPass(PassRegistry&); 00104 void initializeDAEPass(PassRegistry&); 00105 void initializeDAHPass(PassRegistry&); 00106 void initializeDCEPass(PassRegistry&); 00107 void initializeDSEPass(PassRegistry&); 00108 void initializeDebugIRPass(PassRegistry&); 00109 void initializeDebugInfoVerifierLegacyPassPass(PassRegistry &); 00110 void initializeDeadInstEliminationPass(PassRegistry&); 00111 void initializeDeadMachineInstructionElimPass(PassRegistry&); 00112 void initializeDelinearizationPass(PassRegistry &); 00113 void initializeDependenceAnalysisPass(PassRegistry&); 00114 void initializeDomOnlyPrinterPass(PassRegistry&); 00115 void initializeDomOnlyViewerPass(PassRegistry&); 00116 void initializeDomPrinterPass(PassRegistry&); 00117 void initializeDomViewerPass(PassRegistry&); 00118 void initializeDominanceFrontierPass(PassRegistry&); 00119 void initializeDominatorTreeWrapperPassPass(PassRegistry&); 00120 void initializeEarlyIfConverterPass(PassRegistry&); 00121 void initializeEdgeBundlesPass(PassRegistry&); 00122 void initializeExpandPostRAPass(PassRegistry&); 00123 void initializeGCOVProfilerPass(PassRegistry&); 00124 void initializeAddressSanitizerPass(PassRegistry&); 00125 void initializeAddressSanitizerModulePass(PassRegistry&); 00126 void initializeMemorySanitizerPass(PassRegistry&); 00127 void initializeThreadSanitizerPass(PassRegistry&); 00128 void initializeDataFlowSanitizerPass(PassRegistry&); 00129 void initializeScalarizerPass(PassRegistry&); 00130 void initializeEarlyCSEPass(PassRegistry&); 00131 void initializeExpandISelPseudosPass(PassRegistry&); 00132 void initializeFindUsedTypesPass(PassRegistry&); 00133 void initializeFunctionAttrsPass(PassRegistry&); 00134 void initializeGCMachineCodeAnalysisPass(PassRegistry&); 00135 void initializeGCModuleInfoPass(PassRegistry&); 00136 void initializeGVNPass(PassRegistry&); 00137 void initializeGlobalDCEPass(PassRegistry&); 00138 void initializeGlobalOptPass(PassRegistry&); 00139 void initializeGlobalsModRefPass(PassRegistry&); 00140 void initializeIPCPPass(PassRegistry&); 00141 void initializeIPSCCPPass(PassRegistry&); 00142 void initializeIVUsersPass(PassRegistry&); 00143 void initializeIfConverterPass(PassRegistry&); 00144 void initializeIndVarSimplifyPass(PassRegistry&); 00145 void initializeInlineCostAnalysisPass(PassRegistry&); 00146 void initializeInstCombinerPass(PassRegistry&); 00147 void initializeInstCountPass(PassRegistry&); 00148 void initializeInstNamerPass(PassRegistry&); 00149 void initializeInternalizePassPass(PassRegistry&); 00150 void initializeIntervalPartitionPass(PassRegistry&); 00151 void initializeJumpInstrTableInfoPass(PassRegistry&); 00152 void initializeJumpInstrTablesPass(PassRegistry&); 00153 void initializeJumpThreadingPass(PassRegistry&); 00154 void initializeLCSSAPass(PassRegistry&); 00155 void initializeLICMPass(PassRegistry&); 00156 void initializeLazyValueInfoPass(PassRegistry&); 00157 void initializeLibCallAliasAnalysisPass(PassRegistry&); 00158 void initializeLintPass(PassRegistry&); 00159 void initializeLiveDebugVariablesPass(PassRegistry&); 00160 void initializeLiveIntervalsPass(PassRegistry&); 00161 void initializeLiveRegMatrixPass(PassRegistry&); 00162 void initializeLiveStacksPass(PassRegistry&); 00163 void initializeLiveVariablesPass(PassRegistry&); 00164 void initializeLoaderPassPass(PassRegistry&); 00165 void initializeLocalStackSlotPassPass(PassRegistry&); 00166 void initializeLoopDeletionPass(PassRegistry&); 00167 void initializeLoopExtractorPass(PassRegistry&); 00168 void initializeLoopInfoPass(PassRegistry&); 00169 void initializeLoopInstSimplifyPass(PassRegistry&); 00170 void initializeLoopRotatePass(PassRegistry&); 00171 void initializeLoopSimplifyPass(PassRegistry&); 00172 void initializeLoopStrengthReducePass(PassRegistry&); 00173 void initializeGlobalMergePass(PassRegistry&); 00174 void initializeLoopRerollPass(PassRegistry&); 00175 void initializeLoopUnrollPass(PassRegistry&); 00176 void initializeLoopUnswitchPass(PassRegistry&); 00177 void initializeLoopIdiomRecognizePass(PassRegistry&); 00178 void initializeLowerAtomicPass(PassRegistry&); 00179 void initializeLowerExpectIntrinsicPass(PassRegistry&); 00180 void initializeLowerIntrinsicsPass(PassRegistry&); 00181 void initializeLowerInvokePass(PassRegistry&); 00182 void initializeLowerSwitchPass(PassRegistry&); 00183 void initializeMachineBlockFrequencyInfoPass(PassRegistry&); 00184 void initializeMachineBlockPlacementPass(PassRegistry&); 00185 void initializeMachineBlockPlacementStatsPass(PassRegistry&); 00186 void initializeMachineBranchProbabilityInfoPass(PassRegistry&); 00187 void initializeMachineCSEPass(PassRegistry&); 00188 void initializeMachineDominatorTreePass(PassRegistry&); 00189 void initializeMachineDominanceFrontierPass(PassRegistry&); 00190 void initializeMachinePostDominatorTreePass(PassRegistry&); 00191 void initializeMachineLICMPass(PassRegistry&); 00192 void initializeMachineLoopInfoPass(PassRegistry&); 00193 void initializeMachineModuleInfoPass(PassRegistry&); 00194 void initializeMachineRegionInfoPassPass(PassRegistry&); 00195 void initializeMachineSchedulerPass(PassRegistry&); 00196 void initializeMachineSinkingPass(PassRegistry&); 00197 void initializeMachineTraceMetricsPass(PassRegistry&); 00198 void initializeMachineVerifierPassPass(PassRegistry&); 00199 void initializeMemCpyOptPass(PassRegistry&); 00200 void initializeMemDepPrinterPass(PassRegistry&); 00201 void initializeMemoryDependenceAnalysisPass(PassRegistry&); 00202 void initializeMergedLoadStoreMotionPass(PassRegistry &); 00203 void initializeMetaRenamerPass(PassRegistry&); 00204 void initializeMergeFunctionsPass(PassRegistry&); 00205 void initializeModuleDebugInfoPrinterPass(PassRegistry&); 00206 void initializeNoAAPass(PassRegistry&); 00207 void initializeObjCARCAliasAnalysisPass(PassRegistry&); 00208 void initializeObjCARCAPElimPass(PassRegistry&); 00209 void initializeObjCARCExpandPass(PassRegistry&); 00210 void initializeObjCARCContractPass(PassRegistry&); 00211 void initializeObjCARCOptPass(PassRegistry&); 00212 void initializeOptimizePHIsPass(PassRegistry&); 00213 void initializePartiallyInlineLibCallsPass(PassRegistry&); 00214 void initializePEIPass(PassRegistry&); 00215 void initializePHIEliminationPass(PassRegistry&); 00216 void initializePartialInlinerPass(PassRegistry&); 00217 void initializePeepholeOptimizerPass(PassRegistry&); 00218 void initializePostDomOnlyPrinterPass(PassRegistry&); 00219 void initializePostDomOnlyViewerPass(PassRegistry&); 00220 void initializePostDomPrinterPass(PassRegistry&); 00221 void initializePostDomViewerPass(PassRegistry&); 00222 void initializePostDominatorTreePass(PassRegistry&); 00223 void initializePostRASchedulerPass(PassRegistry&); 00224 void initializePostMachineSchedulerPass(PassRegistry&); 00225 void initializePrintFunctionPassWrapperPass(PassRegistry&); 00226 void initializePrintModulePassWrapperPass(PassRegistry&); 00227 void initializePrintBasicBlockPassPass(PassRegistry&); 00228 void initializeProcessImplicitDefsPass(PassRegistry&); 00229 void initializePromotePassPass(PassRegistry&); 00230 void initializePruneEHPass(PassRegistry&); 00231 void initializeReassociatePass(PassRegistry&); 00232 void initializeRegToMemPass(PassRegistry&); 00233 void initializeRegionInfoPassPass(PassRegistry&); 00234 void initializeRegionOnlyPrinterPass(PassRegistry&); 00235 void initializeRegionOnlyViewerPass(PassRegistry&); 00236 void initializeRegionPrinterPass(PassRegistry&); 00237 void initializeRegionViewerPass(PassRegistry&); 00238 void initializeSCCPPass(PassRegistry&); 00239 void initializeSROAPass(PassRegistry&); 00240 void initializeSROA_DTPass(PassRegistry&); 00241 void initializeSROA_SSAUpPass(PassRegistry&); 00242 void initializeScalarEvolutionAliasAnalysisPass(PassRegistry&); 00243 void initializeScalarEvolutionPass(PassRegistry&); 00244 void initializeSimpleInlinerPass(PassRegistry&); 00245 void initializeRegisterCoalescerPass(PassRegistry&); 00246 void initializeSingleLoopExtractorPass(PassRegistry&); 00247 void initializeSinkingPass(PassRegistry&); 00248 void initializeSeparateConstOffsetFromGEPPass(PassRegistry &); 00249 void initializeSlotIndexesPass(PassRegistry&); 00250 void initializeSpillPlacementPass(PassRegistry&); 00251 void initializeStackProtectorPass(PassRegistry&); 00252 void initializeStackColoringPass(PassRegistry&); 00253 void initializeStackSlotColoringPass(PassRegistry&); 00254 void initializeStripDeadDebugInfoPass(PassRegistry&); 00255 void initializeStripDeadPrototypesPassPass(PassRegistry&); 00256 void initializeStripDebugDeclarePass(PassRegistry&); 00257 void initializeStripNonDebugSymbolsPass(PassRegistry&); 00258 void initializeStripSymbolsPass(PassRegistry&); 00259 void initializeTailCallElimPass(PassRegistry&); 00260 void initializeTailDuplicatePassPass(PassRegistry&); 00261 void initializeTargetPassConfigPass(PassRegistry&); 00262 void initializeDataLayoutPassPass(PassRegistry &); 00263 void initializeTargetTransformInfoAnalysisGroup(PassRegistry&); 00264 void initializeFunctionTargetTransformInfoPass(PassRegistry &); 00265 void initializeNoTTIPass(PassRegistry&); 00266 void initializeTargetLibraryInfoPass(PassRegistry&); 00267 void initializeAssumptionTrackerPass(PassRegistry &); 00268 void initializeTwoAddressInstructionPassPass(PassRegistry&); 00269 void initializeTypeBasedAliasAnalysisPass(PassRegistry&); 00270 void initializeScopedNoAliasAAPass(PassRegistry&); 00271 void initializeUnifyFunctionExitNodesPass(PassRegistry&); 00272 void initializeUnreachableBlockElimPass(PassRegistry&); 00273 void initializeUnreachableMachineBlockElimPass(PassRegistry&); 00274 void initializeVerifierLegacyPassPass(PassRegistry&); 00275 void initializeVirtRegMapPass(PassRegistry&); 00276 void initializeVirtRegRewriterPass(PassRegistry&); 00277 void initializeInstSimplifierPass(PassRegistry&); 00278 void initializeUnpackMachineBundlesPass(PassRegistry&); 00279 void initializeFinalizeMachineBundlesPass(PassRegistry&); 00280 void initializeLoopVectorizePass(PassRegistry&); 00281 void initializeSLPVectorizerPass(PassRegistry&); 00282 void initializeBBVectorizePass(PassRegistry&); 00283 void initializeMachineFunctionPrinterPassPass(PassRegistry&); 00284 void initializeStackMapLivenessPass(PassRegistry&); 00285 void initializeMachineCombinerPass(PassRegistry &); 00286 void initializeLoadCombinePass(PassRegistry&); 00287 } 00288 00289 #endif