2010-10-07 06:17:38 +02:00
|
|
|
//===- llvm/InitializePasses.h -------- Initialize All Passes ---*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file contains the declarations for the pass initialization routines
|
|
|
|
// for the entire LLVM project.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef LLVM_INITIALIZEPASSES_H
|
|
|
|
#define LLVM_INITIALIZEPASSES_H
|
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
|
|
|
class PassRegistry;
|
|
|
|
|
2011-01-29 02:09:53 +01:00
|
|
|
/// initializeCore - Initialize all passes linked into the
|
2010-10-07 21:51:21 +02:00
|
|
|
/// TransformUtils library.
|
|
|
|
void initializeCore(PassRegistry&);
|
|
|
|
|
2011-01-29 02:09:53 +01:00
|
|
|
/// initializeTransformUtils - Initialize all passes linked into the
|
2010-10-07 19:55:47 +02:00
|
|
|
/// TransformUtils library.
|
|
|
|
void initializeTransformUtils(PassRegistry&);
|
|
|
|
|
2011-01-29 02:09:53 +01:00
|
|
|
/// initializeScalarOpts - Initialize all passes linked into the
|
2010-10-07 19:55:47 +02:00
|
|
|
/// ScalarOpts library.
|
|
|
|
void initializeScalarOpts(PassRegistry&);
|
|
|
|
|
2011-01-29 02:09:53 +01:00
|
|
|
/// initializeInstCombine - Initialize all passes linked into the
|
2010-10-07 22:04:55 +02:00
|
|
|
/// ScalarOpts library.
|
|
|
|
void initializeInstCombine(PassRegistry&);
|
|
|
|
|
2010-10-07 20:09:59 +02:00
|
|
|
/// initializeIPO - Initialize all passes linked into the IPO library.
|
|
|
|
void initializeIPO(PassRegistry&);
|
|
|
|
|
2010-10-07 22:17:24 +02:00
|
|
|
/// initializeInstrumentation - Initialize all passes linked into the
|
|
|
|
/// Instrumentation library.
|
|
|
|
void initializeInstrumentation(PassRegistry&);
|
|
|
|
|
2010-10-07 20:31:00 +02:00
|
|
|
/// initializeAnalysis - Initialize all passes linked into the Analysis library.
|
|
|
|
void initializeAnalysis(PassRegistry&);
|
|
|
|
|
|
|
|
/// initializeIPA - Initialize all passes linked into the IPA library.
|
|
|
|
void initializeIPA(PassRegistry&);
|
|
|
|
|
2010-10-07 20:41:20 +02:00
|
|
|
/// initializeCodeGen - Initialize all passes linked into the CodeGen library.
|
|
|
|
void initializeCodeGen(PassRegistry&);
|
|
|
|
|
2010-10-07 20:50:11 +02:00
|
|
|
/// initializeCodeGen - Initialize all passes linked into the CodeGen library.
|
|
|
|
void initializeTarget(PassRegistry&);
|
|
|
|
|
2010-10-07 06:17:38 +02:00
|
|
|
void initializeAAEvalPass(PassRegistry&);
|
|
|
|
void initializeADCEPass(PassRegistry&);
|
|
|
|
void initializeAliasAnalysisAnalysisGroup(PassRegistry&);
|
|
|
|
void initializeAliasAnalysisCounterPass(PassRegistry&);
|
|
|
|
void initializeAliasDebuggerPass(PassRegistry&);
|
|
|
|
void initializeAliasSetPrinterPass(PassRegistry&);
|
|
|
|
void initializeAlwaysInlinerPass(PassRegistry&);
|
|
|
|
void initializeArgPromotionPass(PassRegistry&);
|
|
|
|
void initializeBasicAliasAnalysisPass(PassRegistry&);
|
|
|
|
void initializeBasicCallGraphPass(PassRegistry&);
|
|
|
|
void initializeBlockExtractorPassPass(PassRegistry&);
|
2011-07-25 21:25:40 +02:00
|
|
|
void initializeBlockFrequencyInfoPass(PassRegistry&);
|
2010-10-07 06:17:38 +02:00
|
|
|
void initializeBlockPlacementPass(PassRegistry&);
|
2011-06-04 03:16:30 +02:00
|
|
|
void initializeBranchProbabilityInfoPass(PassRegistry&);
|
2010-10-07 06:17:38 +02:00
|
|
|
void initializeBreakCriticalEdgesPass(PassRegistry&);
|
|
|
|
void initializeCFGOnlyPrinterPass(PassRegistry&);
|
|
|
|
void initializeCFGOnlyViewerPass(PassRegistry&);
|
|
|
|
void initializeCFGPrinterPass(PassRegistry&);
|
|
|
|
void initializeCFGSimplifyPassPass(PassRegistry&);
|
|
|
|
void initializeCFGViewerPass(PassRegistry&);
|
|
|
|
void initializeCalculateSpillWeightsPass(PassRegistry&);
|
|
|
|
void initializeCallGraphAnalysisGroup(PassRegistry&);
|
|
|
|
void initializeCodeGenPreparePass(PassRegistry&);
|
|
|
|
void initializeConstantMergePass(PassRegistry&);
|
|
|
|
void initializeConstantPropagationPass(PassRegistry&);
|
|
|
|
void initializeCorrelatedValuePropagationPass(PassRegistry&);
|
|
|
|
void initializeDAEPass(PassRegistry&);
|
|
|
|
void initializeDAHPass(PassRegistry&);
|
|
|
|
void initializeDCEPass(PassRegistry&);
|
|
|
|
void initializeDSEPass(PassRegistry&);
|
|
|
|
void initializeDeadInstEliminationPass(PassRegistry&);
|
|
|
|
void initializeDeadMachineInstructionElimPass(PassRegistry&);
|
|
|
|
void initializeDomOnlyPrinterPass(PassRegistry&);
|
|
|
|
void initializeDomOnlyViewerPass(PassRegistry&);
|
|
|
|
void initializeDomPrinterPass(PassRegistry&);
|
|
|
|
void initializeDomViewerPass(PassRegistry&);
|
|
|
|
void initializeDominanceFrontierPass(PassRegistry&);
|
|
|
|
void initializeDominatorTreePass(PassRegistry&);
|
2011-01-04 22:10:05 +01:00
|
|
|
void initializeEdgeBundlesPass(PassRegistry&);
|
2010-10-07 06:17:38 +02:00
|
|
|
void initializeEdgeProfilerPass(PassRegistry&);
|
2011-01-29 02:09:53 +01:00
|
|
|
void initializePathProfilerPass(PassRegistry&);
|
2011-04-16 03:20:23 +02:00
|
|
|
void initializeGCOVProfilerPass(PassRegistry&);
|
2011-01-02 22:47:05 +01:00
|
|
|
void initializeEarlyCSEPass(PassRegistry&);
|
2010-11-18 19:45:06 +01:00
|
|
|
void initializeExpandISelPseudosPass(PassRegistry&);
|
2010-10-07 06:17:38 +02:00
|
|
|
void initializeFindUsedTypesPass(PassRegistry&);
|
|
|
|
void initializeFunctionAttrsPass(PassRegistry&);
|
|
|
|
void initializeGCModuleInfoPass(PassRegistry&);
|
|
|
|
void initializeGVNPass(PassRegistry&);
|
|
|
|
void initializeGlobalDCEPass(PassRegistry&);
|
|
|
|
void initializeGlobalOptPass(PassRegistry&);
|
|
|
|
void initializeGlobalsModRefPass(PassRegistry&);
|
|
|
|
void initializeIPCPPass(PassRegistry&);
|
|
|
|
void initializeIPSCCPPass(PassRegistry&);
|
|
|
|
void initializeIVUsersPass(PassRegistry&);
|
|
|
|
void initializeIfConverterPass(PassRegistry&);
|
|
|
|
void initializeIndVarSimplifyPass(PassRegistry&);
|
|
|
|
void initializeInstCombinerPass(PassRegistry&);
|
|
|
|
void initializeInstCountPass(PassRegistry&);
|
|
|
|
void initializeInstNamerPass(PassRegistry&);
|
|
|
|
void initializeInternalizePassPass(PassRegistry&);
|
|
|
|
void initializeIntervalPartitionPass(PassRegistry&);
|
|
|
|
void initializeJumpThreadingPass(PassRegistry&);
|
|
|
|
void initializeLCSSAPass(PassRegistry&);
|
|
|
|
void initializeLICMPass(PassRegistry&);
|
|
|
|
void initializeLazyValueInfoPass(PassRegistry&);
|
|
|
|
void initializeLibCallAliasAnalysisPass(PassRegistry&);
|
|
|
|
void initializeLintPass(PassRegistry&);
|
2010-11-30 03:17:10 +01:00
|
|
|
void initializeLiveDebugVariablesPass(PassRegistry&);
|
2010-10-07 06:17:38 +02:00
|
|
|
void initializeLiveIntervalsPass(PassRegistry&);
|
|
|
|
void initializeLiveStacksPass(PassRegistry&);
|
|
|
|
void initializeLiveVariablesPass(PassRegistry&);
|
|
|
|
void initializeLoaderPassPass(PassRegistry&);
|
2011-01-29 02:09:53 +01:00
|
|
|
void initializePathProfileLoaderPassPass(PassRegistry&);
|
2010-10-07 06:17:38 +02:00
|
|
|
void initializeLoopDeletionPass(PassRegistry&);
|
|
|
|
void initializeLoopDependenceAnalysisPass(PassRegistry&);
|
|
|
|
void initializeLoopExtractorPass(PassRegistry&);
|
|
|
|
void initializeLoopInfoPass(PassRegistry&);
|
2011-01-03 01:25:16 +01:00
|
|
|
void initializeLoopInstSimplifyPass(PassRegistry&);
|
2010-10-07 06:17:38 +02:00
|
|
|
void initializeLoopRotatePass(PassRegistry&);
|
|
|
|
void initializeLoopSimplifyPass(PassRegistry&);
|
|
|
|
void initializeLoopSplitterPass(PassRegistry&);
|
|
|
|
void initializeLoopStrengthReducePass(PassRegistry&);
|
|
|
|
void initializeLoopUnrollPass(PassRegistry&);
|
|
|
|
void initializeLoopUnswitchPass(PassRegistry&);
|
2010-12-26 20:32:44 +01:00
|
|
|
void initializeLoopIdiomRecognizePass(PassRegistry&);
|
2010-10-07 06:17:38 +02:00
|
|
|
void initializeLowerAtomicPass(PassRegistry&);
|
2011-07-06 20:22:43 +02:00
|
|
|
void initializeLowerExpectIntrinsicPass(PassRegistry&);
|
2010-10-19 19:21:58 +02:00
|
|
|
void initializeLowerIntrinsicsPass(PassRegistry&);
|
2010-10-07 06:17:38 +02:00
|
|
|
void initializeLowerInvokePass(PassRegistry&);
|
|
|
|
void initializeLowerSwitchPass(PassRegistry&);
|
2011-07-25 21:25:40 +02:00
|
|
|
void initializeMachineBlockFrequencyInfoPass(PassRegistry&);
|
2011-06-16 22:22:37 +02:00
|
|
|
void initializeMachineBranchProbabilityInfoPass(PassRegistry&);
|
2010-10-07 06:17:38 +02:00
|
|
|
void initializeMachineCSEPass(PassRegistry&);
|
|
|
|
void initializeMachineDominatorTreePass(PassRegistry&);
|
|
|
|
void initializeMachineLICMPass(PassRegistry&);
|
|
|
|
void initializeMachineLoopInfoPass(PassRegistry&);
|
2010-12-16 00:41:23 +01:00
|
|
|
void initializeMachineLoopRangesPass(PassRegistry&);
|
2010-10-07 06:17:38 +02:00
|
|
|
void initializeMachineModuleInfoPass(PassRegistry&);
|
|
|
|
void initializeMachineSinkingPass(PassRegistry&);
|
|
|
|
void initializeMachineVerifierPassPass(PassRegistry&);
|
|
|
|
void initializeMemCpyOptPass(PassRegistry&);
|
|
|
|
void initializeMemDepPrinterPass(PassRegistry&);
|
|
|
|
void initializeMemoryDependenceAnalysisPass(PassRegistry&);
|
|
|
|
void initializeMergeFunctionsPass(PassRegistry&);
|
|
|
|
void initializeModuleDebugInfoPrinterPass(PassRegistry&);
|
|
|
|
void initializeNoAAPass(PassRegistry&);
|
|
|
|
void initializeNoProfileInfoPass(PassRegistry&);
|
2011-01-29 02:09:53 +01:00
|
|
|
void initializeNoPathProfileInfoPass(PassRegistry&);
|
2011-06-16 01:37:01 +02:00
|
|
|
void initializeObjCARCAliasAnalysisPass(PassRegistry&);
|
|
|
|
void initializeObjCARCExpandPass(PassRegistry&);
|
|
|
|
void initializeObjCARCContractPass(PassRegistry&);
|
|
|
|
void initializeObjCARCOptPass(PassRegistry&);
|
2010-10-07 06:17:38 +02:00
|
|
|
void initializeOptimalEdgeProfilerPass(PassRegistry&);
|
|
|
|
void initializeOptimizePHIsPass(PassRegistry&);
|
|
|
|
void initializePEIPass(PassRegistry&);
|
|
|
|
void initializePHIEliminationPass(PassRegistry&);
|
|
|
|
void initializePartialInlinerPass(PassRegistry&);
|
|
|
|
void initializePeepholeOptimizerPass(PassRegistry&);
|
|
|
|
void initializePostDomOnlyPrinterPass(PassRegistry&);
|
|
|
|
void initializePostDomOnlyViewerPass(PassRegistry&);
|
|
|
|
void initializePostDomPrinterPass(PassRegistry&);
|
|
|
|
void initializePostDomViewerPass(PassRegistry&);
|
|
|
|
void initializePostDominatorTreePass(PassRegistry&);
|
|
|
|
void initializePreVerifierPass(PassRegistry&);
|
|
|
|
void initializePrintDbgInfoPass(PassRegistry&);
|
|
|
|
void initializePrintFunctionPassPass(PassRegistry&);
|
|
|
|
void initializePrintModulePassPass(PassRegistry&);
|
|
|
|
void initializeProcessImplicitDefsPass(PassRegistry&);
|
|
|
|
void initializeProfileEstimatorPassPass(PassRegistry&);
|
|
|
|
void initializeProfileInfoAnalysisGroup(PassRegistry&);
|
2011-01-29 02:09:53 +01:00
|
|
|
void initializePathProfileInfoAnalysisGroup(PassRegistry&);
|
|
|
|
void initializePathProfileVerifierPass(PassRegistry&);
|
2010-10-07 06:17:38 +02:00
|
|
|
void initializeProfileVerifierPassPass(PassRegistry&);
|
|
|
|
void initializePromotePassPass(PassRegistry&);
|
|
|
|
void initializePruneEHPass(PassRegistry&);
|
|
|
|
void initializeRALinScanPass(PassRegistry&);
|
|
|
|
void initializeReassociatePass(PassRegistry&);
|
|
|
|
void initializeRegToMemPass(PassRegistry&);
|
|
|
|
void initializeRegionInfoPass(PassRegistry&);
|
|
|
|
void initializeRegionOnlyPrinterPass(PassRegistry&);
|
|
|
|
void initializeRegionOnlyViewerPass(PassRegistry&);
|
|
|
|
void initializeRegionPrinterPass(PassRegistry&);
|
|
|
|
void initializeRegionViewerPass(PassRegistry&);
|
|
|
|
void initializeRenderMachineFunctionPass(PassRegistry&);
|
|
|
|
void initializeSCCPPass(PassRegistry&);
|
2011-01-18 04:53:26 +01:00
|
|
|
void initializeSROA_DTPass(PassRegistry&);
|
2011-01-14 09:13:00 +01:00
|
|
|
void initializeSROA_SSAUpPass(PassRegistry&);
|
2010-10-07 06:17:38 +02:00
|
|
|
void initializeScalarEvolutionAliasAnalysisPass(PassRegistry&);
|
|
|
|
void initializeScalarEvolutionPass(PassRegistry&);
|
|
|
|
void initializeSimpleInlinerPass(PassRegistry&);
|
2011-06-27 00:34:10 +02:00
|
|
|
void initializeRegisterCoalescerPass(PassRegistry&);
|
2010-10-07 06:17:38 +02:00
|
|
|
void initializeSimplifyLibCallsPass(PassRegistry&);
|
|
|
|
void initializeSingleLoopExtractorPass(PassRegistry&);
|
|
|
|
void initializeSinkingPass(PassRegistry&);
|
|
|
|
void initializeSlotIndexesPass(PassRegistry&);
|
2011-01-06 02:21:53 +01:00
|
|
|
void initializeSpillPlacementPass(PassRegistry&);
|
2010-10-07 06:17:38 +02:00
|
|
|
void initializeStackProtectorPass(PassRegistry&);
|
|
|
|
void initializeStackSlotColoringPass(PassRegistry&);
|
|
|
|
void initializeStripDeadDebugInfoPass(PassRegistry&);
|
|
|
|
void initializeStripDeadPrototypesPassPass(PassRegistry&);
|
|
|
|
void initializeStripDebugDeclarePass(PassRegistry&);
|
|
|
|
void initializeStripNonDebugSymbolsPass(PassRegistry&);
|
|
|
|
void initializeStripSymbolsPass(PassRegistry&);
|
|
|
|
void initializeStrongPHIEliminationPass(PassRegistry&);
|
|
|
|
void initializeTailCallElimPass(PassRegistry&);
|
|
|
|
void initializeTargetDataPass(PassRegistry&);
|
2011-02-18 22:50:34 +01:00
|
|
|
void initializeTargetLibraryInfoPass(PassRegistry&);
|
2010-10-07 06:17:38 +02:00
|
|
|
void initializeTwoAddressInstructionPassPass(PassRegistry&);
|
|
|
|
void initializeTypeBasedAliasAnalysisPass(PassRegistry&);
|
|
|
|
void initializeUnifyFunctionExitNodesPass(PassRegistry&);
|
|
|
|
void initializeUnreachableBlockElimPass(PassRegistry&);
|
|
|
|
void initializeUnreachableMachineBlockElimPass(PassRegistry&);
|
|
|
|
void initializeVerifierPass(PassRegistry&);
|
|
|
|
void initializeVirtRegMapPass(PassRegistry&);
|
2010-12-20 21:54:37 +01:00
|
|
|
void initializeInstSimplifierPass(PassRegistry&);
|
2010-10-07 06:17:38 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|