LLVM 20.0.0git
InitializePasses.h
Go to the documentation of this file.
1//===- llvm/InitializePasses.h - Initialize All Passes ----------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file contains the declarations for the pass initialization routines
10// for the entire LLVM project.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_INITIALIZEPASSES_H
15#define LLVM_INITIALIZEPASSES_H
16
17namespace llvm {
18
19class PassRegistry;
20
21/// Initialize all passes linked into the Core library.
22void initializeCore(PassRegistry &);
23
24/// Initialize all passes linked into the TransformUtils library.
25void initializeTransformUtils(PassRegistry &);
26
27/// Initialize all passes linked into the ScalarOpts library.
28void initializeScalarOpts(PassRegistry &);
29
30/// Initialize all passes linked into the Vectorize library.
31void initializeVectorization(PassRegistry &);
32
33/// Initialize all passes linked into the InstCombine library.
34void initializeInstCombine(PassRegistry &);
35
36/// Initialize all passes linked into the IPO library.
37void initializeIPO(PassRegistry &);
38
39/// Initialize all passes linked into the Analysis library.
40void initializeAnalysis(PassRegistry &);
41
42/// Initialize all passes linked into the CodeGen library.
43void initializeCodeGen(PassRegistry &);
44
45/// Initialize all passes linked into the GlobalISel library.
46void initializeGlobalISel(PassRegistry &);
47
48/// Initialize all passes linked into the CodeGen library.
49void initializeTarget(PassRegistry &);
50
321
322} // end namespace llvm
323
324#endif // LLVM_INITIALIZEPASSES_H
PassRegistry - This class manages the registration and intitialization of the pass subsystem as appli...
Definition: PassRegistry.h:37
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
void initializeLCSSAVerificationPassPass(PassRegistry &)
void initializeAtomicExpandLegacyPass(PassRegistry &)
void initializeTwoAddressInstructionLegacyPassPass(PassRegistry &)
void initializeStackSlotColoringPass(PassRegistry &)
void initializeRegionViewerPass(PassRegistry &)
void initializeDXILResourceWrapperPassPass(PassRegistry &)
void initializeLoopExtractorLegacyPassPass(PassRegistry &)
void initializeInterleavedAccessPass(PassRegistry &)
void initializeSafepointIRVerifierPass(PassRegistry &)
void initializeTypeBasedAAWrapperPassPass(PassRegistry &)
void initializeSingleLoopExtractorPass(PassRegistry &)
void initializeTargetTransformInfoWrapperPassPass(PassRegistry &)
void initializeExpandLargeDivRemLegacyPassPass(PassRegistry &)
void initializeRegUsageInfoPropagationPass(PassRegistry &)
void initializeSinkingLegacyPassPass(PassRegistry &)
void initializeLoopInfoWrapperPassPass(PassRegistry &)
void initializeLowerInvokeLegacyPassPass(PassRegistry &)
void initializeTypePromotionLegacyPass(PassRegistry &)
void initializeLCSSAWrapperPassPass(PassRegistry &)
void initializeLoopUnrollPass(PassRegistry &)
void initializeMachineModuleInfoWrapperPassPass(PassRegistry &)
void initializeCallGraphViewerPass(PassRegistry &)
void initializeMemorySSAWrapperPassPass(PassRegistry &)
void initializeProcessImplicitDefsPass(PassRegistry &)
void initializeMergeICmpsLegacyPassPass(PassRegistry &)
void initializeMemoryDependenceWrapperPassPass(PassRegistry &)
void initializeLiveDebugValuesPass(PassRegistry &)
void initializeDependenceAnalysisWrapperPassPass(PassRegistry &)
void initializeRegisterCoalescerPass(PassRegistry &)
void initializeCycleInfoWrapperPassPass(PassRegistry &)
void initializeIfConverterPass(PassRegistry &)
void initializeDomPrinterWrapperPassPass(PassRegistry &)
void initializeDebugifyMachineModulePass(PassRegistry &)
void initializeMachineVerifierLegacyPassPass(PassRegistry &)
void initializeLoopPassPass(PassRegistry &)
Manually defined generic "LoopPass" dependency initialization.
Definition: LoopUtils.cpp:189
void initializeTailCallElimPass(PassRegistry &)
void initializeStackFrameLayoutAnalysisPassPass(PassRegistry &)
void initializeLegacyLICMPassPass(PassRegistry &)
void initializeStackColoringPass(PassRegistry &)
void initializeMachinePostDominatorTreeWrapperPassPass(PassRegistry &)
void initializePostDomViewerWrapperPassPass(PassRegistry &)
void initializeRegionOnlyPrinterPass(PassRegistry &)
void initializeScalarOpts(PassRegistry &)
Initialize all passes linked into the ScalarOpts library.
Definition: Scalar.cpp:21
void initializeVerifierLegacyPassPass(PassRegistry &)
void initializeMachinePipelinerPass(PassRegistry &)
void initializeJMCInstrumenterPass(PassRegistry &)
void initializeInferAddressSpacesPass(PassRegistry &)
void initializeDwarfEHPrepareLegacyPassPass(PassRegistry &)
void initializeLazyBranchProbabilityInfoPassPass(PassRegistry &)
void initializeXRayInstrumentationPass(PassRegistry &)
void initializeExpandVectorPredicationPass(PassRegistry &)
void initializeExpandPostRAPass(PassRegistry &)
void initializeLoadStoreOptPass(PassRegistry &)
void initializeBasicBlockSectionsProfileReaderWrapperPassPass(PassRegistry &)
void initializeInterleavedLoadCombinePass(PassRegistry &)
void initializePhiValuesWrapperPassPass(PassRegistry &)
void initializeLowerConstantIntrinsicsPass(PassRegistry &)
void initializeWinEHPreparePass(PassRegistry &)
void initializeRAGreedyPass(PassRegistry &)
void initializeUnifyLoopExitsLegacyPassPass(PassRegistry &)
void initializeCFGuardLongjmpPass(PassRegistry &)
void initializeMachineBlockPlacementStatsPass(PassRegistry &)
void initializeDeadMachineInstructionElimPass(PassRegistry &)
void initializePostMachineSchedulerPass(PassRegistry &)
void initializeBranchProbabilityInfoWrapperPassPass(PassRegistry &)
void initializeIRTranslatorPass(PassRegistry &)
void initializeInstructionSelectPass(PassRegistry &)
void initializeEarlyCSEMemSSALegacyPassPass(PassRegistry &)
void initializeMachineBlockFrequencyInfoWrapperPassPass(PassRegistry &)
void initializeDetectDeadLanesPass(PassRegistry &)
void initializeVirtRegMapPass(PassRegistry &)
void initializeCodeGenPrepareLegacyPassPass(PassRegistry &)
void initializeStackProtectorPass(PassRegistry &)
void initializeMachineLoopInfoWrapperPassPass(PassRegistry &)
void initializeModuleSummaryIndexWrapperPassPass(PassRegistry &)
void initializeExpandReductionsPass(PassRegistry &)
void initializeNaryReassociateLegacyPassPass(PassRegistry &)
void initializeSpeculativeExecutionLegacyPassPass(PassRegistry &)
void initializeFinalizeISelPass(PassRegistry &)
void initializeFinalizeMachineBundlesPass(PassRegistry &)
void initializeLoopSimplifyPass(PassRegistry &)
void initializeStraightLineStrengthReduceLegacyPassPass(PassRegistry &)
void initializeStackMapLivenessPass(PassRegistry &)
void initializeRegionInfoPassPass(PassRegistry &)
void initializeLiveRangeShrinkPass(PassRegistry &)
void initializeReachingDefAnalysisPass(PassRegistry &)
void initializeDomViewerWrapperPassPass(PassRegistry &)
void initializeMachineCycleInfoWrapperPassPass(PassRegistry &)
void initializeAssumptionCacheTrackerPass(PassRegistry &)
void initializeStructurizeCFGLegacyPassPass(PassRegistry &)
void initializeUnreachableBlockElimLegacyPassPass(PassRegistry &)
void initializeRenameIndependentSubregsPass(PassRegistry &)
void initializePromoteLegacyPassPass(PassRegistry &)
void initializeUnreachableMachineBlockElimPass(PassRegistry &)
void initializeDominanceFrontierWrapperPassPass(PassRegistry &)
void initializeGVNLegacyPassPass(PassRegistry &)
void initializeScopedNoAliasAAWrapperPassPass(PassRegistry &)
void initializeRegionOnlyViewerPass(PassRegistry &)
void initializeReassociateLegacyPassPass(PassRegistry &)
void initializeWriteBitcodePassPass(PassRegistry &)
void initializeGlobalMergePass(PassRegistry &)
void initializeMachineFunctionSplitterPass(PassRegistry &)
void initializeUnpackMachineBundlesPass(PassRegistry &)
void initializeCheckDebugMachineModulePass(PassRegistry &)
void initializeVirtRegRewriterPass(PassRegistry &)
void initializeCFGuardPass(PassRegistry &)
void initializeCallGraphWrapperPassPass(PassRegistry &)
void initializeFixupStatepointCallerSavedPass(PassRegistry &)
void initializeLowerEmuTLSPass(PassRegistry &)
void initializeLoopDataPrefetchLegacyPassPass(PassRegistry &)
void initializeDAHPass(PassRegistry &)
void initializePlaceBackedgeSafepointsLegacyPassPass(PassRegistry &)
void initializeScalarEvolutionWrapperPassPass(PassRegistry &)
void initializeIPO(PassRegistry &)
Initialize all passes linked into the IPO library.
Definition: IPO.cpp:22
void initializeHardwareLoopsLegacyPass(PassRegistry &)
void initializePHIEliminationPass(PassRegistry &)
void initializeMachineDominanceFrontierPass(PassRegistry &)
void initializeCFGSimplifyPassPass(PassRegistry &)
void initializeComplexDeinterleavingLegacyPassPass(PassRegistry &)
void initializeAAResultsWrapperPassPass(PassRegistry &)
void initializeMIRProfileLoaderPassPass(PassRegistry &)
void initializePeepholeOptimizerPass(PassRegistry &)
void initializeVectorization(PassRegistry &)
Initialize all passes linked into the Vectorize library.
Definition: Vectorize.cpp:21
void initializeMIRPrintingPassPass(PassRegistry &)
void initializeShrinkWrapPass(PassRegistry &)
void initializeExpandLargeFpConvertLegacyPassPass(PassRegistry &)
void initializeOptimizationRemarkEmitterWrapperPassPass(PassRegistry &)
void initializePatchableFunctionPass(PassRegistry &)
void initializeBreakCriticalEdgesPass(PassRegistry &)
void initializeRegAllocPriorityAdvisorAnalysisPass(PassRegistry &)
void initializeEdgeBundlesPass(PassRegistry &)
void initializeMachineCFGPrinterPass(PassRegistry &)
void initializeLowerGlobalDtorsLegacyPassPass(PassRegistry &)
void initializeOptimizePHIsPass(PassRegistry &)
void initializeScalarizeMaskedMemIntrinLegacyPassPass(PassRegistry &)
void initializeWasmEHPreparePass(PassRegistry &)
void initializeMIRNamerPass(PassRegistry &)
void initializeLiveStacksPass(PassRegistry &)
void initializePostRASchedulerPass(PassRegistry &)
void initializeCore(PassRegistry &)
Initialize all passes linked into the Core library.
Definition: Core.cpp:57
void initializeCFIFixupPass(PassRegistry &)
void initializeGCModuleInfoPass(PassRegistry &)
void initializeGCEmptyBasicBlocksPass(PassRegistry &)
void initializeSeparateConstOffsetFromGEPLegacyPassPass(PassRegistry &)
void initializeResetMachineFunctionPass(PassRegistry &)
void initializeIVUsersWrapperPassPass(PassRegistry &)
void initializeSCEVAAWrapperPassPass(PassRegistry &)
void initializeGISelKnownBitsAnalysisPass(PassRegistry &)
void initializeCallGraphDOTPrinterPass(PassRegistry &)
void initializeEarlyIfConverterPass(PassRegistry &)
void initializeLazyMachineBlockFrequencyInfoPassPass(PassRegistry &)
void initializeRegUsageInfoCollectorPass(PassRegistry &)
void initializeEarlyIfPredicatorPass(PassRegistry &)
void initializePostDominatorTreeWrapperPassPass(PassRegistry &)
void initializeMachineOutlinerPass(PassRegistry &)
void initializeInitUndefPass(PassRegistry &)
void initializeGCMachineCodeAnalysisPass(PassRegistry &)
void initializePostDomOnlyPrinterWrapperPassPass(PassRegistry &)
void initializeRemoveRedundantDebugValuesPass(PassRegistry &)
void initializeMachineSinkingPass(PassRegistry &)
void initializeEarlyCSELegacyPassPass(PassRegistry &)
void initializeMachineLICMPass(PassRegistry &)
void initializeFixIrreduciblePass(PassRegistry &)
void initializeRegAllocFastPass(PassRegistry &)
void initializePostInlineEntryExitInstrumenterPass(PassRegistry &)
void initializeBlockFrequencyInfoWrapperPassPass(PassRegistry &)
void initializeRegAllocEvictionAdvisorAnalysisPass(PassRegistry &)
void initializeMachineSchedulerPass(PassRegistry &)
void initializeDCELegacyPassPass(PassRegistry &)
void initializeIRSimilarityIdentifierWrapperPassPass(PassRegistry &)
void initializeGlobalISel(PassRegistry &)
Initialize all passes linked into the GlobalISel library.
Definition: GlobalISel.cpp:17
void initializeBasicBlockSectionsPass(PassRegistry &)
void initializeCallBrPreparePass(PassRegistry &)
void initializeBreakFalseDepsPass(PassRegistry &)
void initializeLiveIntervalsWrapperPassPass(PassRegistry &)
void initializeFlattenCFGLegacyPassPass(PassRegistry &)
void initializeInstSimplifyLegacyPassPass(PassRegistry &)
void initializeTarget(PassRegistry &)
Initialize all passes linked into the CodeGen library.
Definition: Target.cpp:38
void initializeStackSafetyGlobalInfoWrapperPassPass(PassRegistry &)
void initializeEarlyTailDuplicatePass(PassRegistry &)
void initializeMachineDominatorTreeWrapperPassPass(PassRegistry &)
void initializeRegAllocScoringPass(PassRegistry &)
void initializeUniformityInfoWrapperPassPass(PassRegistry &)
void initializeSROALegacyPassPass(PassRegistry &)
void initializeDXILMetadataAnalysisWrapperPrinterPass(PassRegistry &)
void initializeBasicAAWrapperPassPass(PassRegistry &)
void initializeDomOnlyPrinterWrapperPassPass(PassRegistry &)
void initializeMachineUniformityAnalysisPassPass(PassRegistry &)
void initializeShadowStackGCLoweringPass(PassRegistry &)
void initializeMachineSanitizerBinaryMetadataPass(PassRegistry &)
void initializePEIPass(PassRegistry &)
void initializeSpillPlacementPass(PassRegistry &)
void initializeFuncletLayoutPass(PassRegistry &)
void initializeStripDebugMachineModulePass(PassRegistry &)
void initializeLiveDebugVariablesPass(PassRegistry &)
void initializeDominatorTreeWrapperPassPass(PassRegistry &)
void initializeProfileSummaryInfoWrapperPassPass(PassRegistry &)
void initializeScavengerTestPass(PassRegistry &)
void initializeSafeStackLegacyPassPass(PassRegistry &)
void initializeStackSafetyInfoWrapperPassPass(PassRegistry &)
void initializePrintModulePassWrapperPass(PassRegistry &)
void initializeGlobalsAAWrapperPassPass(PassRegistry &)
void initializeMachineCombinerPass(PassRegistry &)
void initializePreISelIntrinsicLoweringLegacyPassPass(PassRegistry &)
void initializeMachineLateInstrsCleanupPass(PassRegistry &)
void initializeEHContGuardCatchretPass(PassRegistry &)
void initializeMachineTraceMetricsPass(PassRegistry &)
void initializeRABasicPass(PassRegistry &)
void initializeRegBankSelectPass(PassRegistry &)
void initializeKCFIPass(PassRegistry &)
void initializeFEntryInserterPass(PassRegistry &)
void initializeLowerIntrinsicsPass(PassRegistry &)
void initializeMachineCycleInfoPrinterPassPass(PassRegistry &)
void initializeLoopStrengthReducePass(PassRegistry &)
void initializeBarrierNoopPass(PassRegistry &)
void initializeLiveVariablesWrapperPassPass(PassRegistry &)
void initializePartiallyInlineLibCallsLegacyPassPass(PassRegistry &)
void initializeMachineRegionInfoPassPass(PassRegistry &)
void initializeMachineBranchProbabilityInfoWrapperPassPass(PassRegistry &)
void initializeLiveRegMatrixPass(PassRegistry &)
void initializeObjCARCContractLegacyPassPass(PassRegistry &)
void initializeDAEPass(PassRegistry &)
void initializeBasicBlockPathCloningPass(PassRegistry &)
void initializeTargetPassConfigPass(PassRegistry &)
void initializePostRAHazardRecognizerPass(PassRegistry &)
void initializePostDomPrinterWrapperPassPass(PassRegistry &)
void initializeTargetLibraryInfoWrapperPassPass(PassRegistry &)
void initializeModuloScheduleTestPass(PassRegistry &)
void initializeDomOnlyViewerWrapperPassPass(PassRegistry &)
void initializeDXILMetadataAnalysisWrapperPassPass(PassRegistry &)
void initializeLazyBlockFrequencyInfoPassPass(PassRegistry &)
void initializeSelectOptimizePass(PassRegistry &)
void initializeLowerAtomicLegacyPassPass(PassRegistry &)
void initializeMachineCSEPass(PassRegistry &)
void initializeMachineFunctionPrinterPassPass(PassRegistry &)
void initializeMachineOptimizationRemarkEmitterPassPass(PassRegistry &)
void initializeImmutableModuleSummaryIndexWrapperPassPass(PassRegistry &)
void initializeExternalAAWrapperPassPass(PassRegistry &)
void initializeLegalizerPass(PassRegistry &)
void initializeLazyValueInfoWrapperPassPass(PassRegistry &)
void initializeSlotIndexesWrapperPassPass(PassRegistry &)
void initializePrintFunctionPassWrapperPass(PassRegistry &)
void initializeLoadStoreVectorizerLegacyPassPass(PassRegistry &)
void initializeLowerSwitchLegacyPassPass(PassRegistry &)
void initializeImplicitNullChecksPass(PassRegistry &)
void initializeCFIInstrInserterPass(PassRegistry &)
void initializePseudoProbeInserterPass(PassRegistry &)
void initializeBranchFolderPassPass(PassRegistry &)
void initializeLocalStackSlotPassPass(PassRegistry &)
void initializeMachineCopyPropagationPass(PassRegistry &)
void initializeReplaceWithVeclibLegacyPass(PassRegistry &)
void initializeIndirectBrExpandLegacyPassPass(PassRegistry &)
void initializeTailDuplicatePass(PassRegistry &)
void initializeSjLjEHPreparePass(PassRegistry &)
void initializeMIRCanonicalizerPass(PassRegistry &)
void initializeAlwaysInlinerLegacyPassPass(PassRegistry &)
void initializeInstCombine(PassRegistry &)
Initialize all passes linked into the InstCombine library.
void initializeMIRAddFSDiscriminatorsPass(PassRegistry &)
void initializeExpandMemCmpLegacyPassPass(PassRegistry &)
void initializeTLSVariableHoistLegacyPassPass(PassRegistry &)
void initializeInstructionCombiningPassPass(PassRegistry &)
void initializePostDomOnlyViewerWrapperPassPass(PassRegistry &)
void initializeRegionPrinterPass(PassRegistry &)
void initializeAssignmentTrackingAnalysisPass(PassRegistry &)
void initializeMachineBlockPlacementPass(PassRegistry &)
void initializeEarlyMachineLICMPass(PassRegistry &)
void initializeCanonicalizeFreezeInLoopsPass(PassRegistry &)
void initializePhysicalRegisterUsageInfoPass(PassRegistry &)
void initializeLocalizerPass(PassRegistry &)
void initializeAnalysis(PassRegistry &)
Initialize all passes linked into the Analysis library.
Definition: Analysis.cpp:20
void initializeGISelCSEAnalysisWrapperPassPass(PassRegistry &)
void initializeTransformUtils(PassRegistry &)
Initialize all passes linked into the TransformUtils library.
Definition: Utils.cpp:23
void initializeConstantHoistingLegacyPassPass(PassRegistry &)
void initializeCodeGen(PassRegistry &)
Initialize all passes linked into the CodeGen library.
Definition: CodeGen.cpp:20
void initializePostRAMachineSinkingPass(PassRegistry &)
void initializeLoopTermFoldPass(PassRegistry &)
void initializeExpandVariadicsPass(PassRegistry &)
void initializeBranchRelaxationPass(PassRegistry &)
void initializeMachineUniformityInfoPrinterPassPass(PassRegistry &)