LLVM 17.0.0git
CodeGen.cpp
Go to the documentation of this file.
1//===-- CodeGen.cpp -------------------------------------------------------===//
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 implements the common initialization routines for the
10// CodeGen library.
11//
12//===----------------------------------------------------------------------===//
13
16#include "llvm/PassRegistry.h"
17
18using namespace llvm;
19
20/// initializeCodeGen - Initialize all passes linked into the CodeGen library.
143}
144
147}
PassRegistry - This class manages the registration and intitialization of the pass subsystem as appli...
Definition: PassRegistry.h:38
A global registry used in conjunction with static constructors to make pluggable components (like tar...
Definition: Registry.h:44
void LLVMInitializeCodeGen(LLVMPassRegistryRef R)
Definition: CodeGen.cpp:145
struct LLVMOpaquePassRegistry * LLVMPassRegistryRef
Definition: Types.h:130
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
void initializeStackSlotColoringPass(PassRegistry &)
void initializeInterleavedAccessPass(PassRegistry &)
void initializeExpandLargeDivRemLegacyPassPass(PassRegistry &)
void initializeRegUsageInfoPropagationPass(PassRegistry &)
void initializeTypePromotionLegacyPass(PassRegistry &)
void initializeMachineModuleInfoWrapperPassPass(PassRegistry &)
void initializeProcessImplicitDefsPass(PassRegistry &)
void initializeLiveDebugValuesPass(PassRegistry &)
void initializeRegisterCoalescerPass(PassRegistry &)
void initializeIfConverterPass(PassRegistry &)
void initializeDebugifyMachineModulePass(PassRegistry &)
void initializeStackFrameLayoutAnalysisPassPass(PassRegistry &)
void initializeStackColoringPass(PassRegistry &)
void initializeMachinePipelinerPass(PassRegistry &)
void initializeJMCInstrumenterPass(PassRegistry &)
void initializeDwarfEHPrepareLegacyPassPass(PassRegistry &)
void initializeXRayInstrumentationPass(PassRegistry &)
void initializeExpandPostRAPass(PassRegistry &)
void initializeInterleavedLoadCombinePass(PassRegistry &)
void initializeWinEHPreparePass(PassRegistry &)
void initializeRAGreedyPass(PassRegistry &)
void initializeCFGuardLongjmpPass(PassRegistry &)
void initializeMachineBlockPlacementStatsPass(PassRegistry &)
void initializeDeadMachineInstructionElimPass(PassRegistry &)
void initializePostMachineSchedulerPass(PassRegistry &)
void initializeDetectDeadLanesPass(PassRegistry &)
void initializeVirtRegMapPass(PassRegistry &)
void initializeStackProtectorPass(PassRegistry &)
void initializeExpandMemCmpPassPass(PassRegistry &)
void initializeFinalizeISelPass(PassRegistry &)
void initializeFinalizeMachineBundlesPass(PassRegistry &)
void initializeStackMapLivenessPass(PassRegistry &)
void initializeIndirectBrExpandPassPass(PassRegistry &)
void initializeLiveRangeShrinkPass(PassRegistry &)
void initializeMachineCycleInfoWrapperPassPass(PassRegistry &)
void initializeUnreachableBlockElimLegacyPassPass(PassRegistry &)
void initializeRenameIndependentSubregsPass(PassRegistry &)
void initializeUnreachableMachineBlockElimPass(PassRegistry &)
void initializeUnpackMachineBundlesPass(PassRegistry &)
void initializeCheckDebugMachineModulePass(PassRegistry &)
void initializeVirtRegRewriterPass(PassRegistry &)
void initializeMachineVerifierPassPass(PassRegistry &)
void initializeFixupStatepointCallerSavedPass(PassRegistry &)
void initializeLiveVariablesPass(PassRegistry &)
void initializeHardwareLoopsLegacyPass(PassRegistry &)
void initializePHIEliminationPass(PassRegistry &)
void initializeMIRProfileLoaderPassPass(PassRegistry &)
void initializeTwoAddressInstructionPassPass(PassRegistry &)
void initializePeepholeOptimizerPass(PassRegistry &)
void initializeShrinkWrapPass(PassRegistry &)
void initializeExpandLargeFpConvertLegacyPassPass(PassRegistry &)
void initializePatchableFunctionPass(PassRegistry &)
void initializeMachineCFGPrinterPass(PassRegistry &)
void initializeLowerGlobalDtorsLegacyPassPass(PassRegistry &)
void initializeOptimizePHIsPass(PassRegistry &)
void initializeWasmEHPreparePass(PassRegistry &)
void initializeMIRNamerPass(PassRegistry &)
void initializeLiveStacksPass(PassRegistry &)
void initializePostRASchedulerPass(PassRegistry &)
void initializeCFIFixupPass(PassRegistry &)
void initializeGCModuleInfoPass(PassRegistry &)
void initializeAtomicExpandPass(PassRegistry &)
void initializeEarlyIfConverterPass(PassRegistry &)
void initializeRegUsageInfoCollectorPass(PassRegistry &)
void initializeEarlyIfPredicatorPass(PassRegistry &)
void initializeMachineOutlinerPass(PassRegistry &)
void initializeCodeGenPreparePass(PassRegistry &)
void initializeGCMachineCodeAnalysisPass(PassRegistry &)
void initializeRemoveRedundantDebugValuesPass(PassRegistry &)
void initializeMachineSinkingPass(PassRegistry &)
void initializeMachineLICMPass(PassRegistry &)
void initializeRegAllocFastPass(PassRegistry &)
void initializeMachineSchedulerPass(PassRegistry &)
void initializeMachineDominatorTreePass(PassRegistry &)
void initializeBasicBlockSectionsPass(PassRegistry &)
void initializeCallBrPreparePass(PassRegistry &)
Attribute unwrap(LLVMAttributeRef Attr)
Definition: Attributes.h:290
void initializeSlotIndexesPass(PassRegistry &)
void initializeEarlyTailDuplicatePass(PassRegistry &)
void initializeMachineUniformityAnalysisPassPass(PassRegistry &)
void initializeShadowStackGCLoweringPass(PassRegistry &)
void initializeMachineSanitizerBinaryMetadataPass(PassRegistry &)
void initializePEIPass(PassRegistry &)
void initializeFuncletLayoutPass(PassRegistry &)
void initializeStripDebugMachineModulePass(PassRegistry &)
void initializeLiveDebugVariablesPass(PassRegistry &)
void initializeSafeStackLegacyPassPass(PassRegistry &)
void initializeMachineCombinerPass(PassRegistry &)
void initializePreISelIntrinsicLoweringLegacyPassPass(PassRegistry &)
void initializeMachineLateInstrsCleanupPass(PassRegistry &)
void initializeRABasicPass(PassRegistry &)
void initializeFEntryInserterPass(PassRegistry &)
void initializeLowerIntrinsicsPass(PassRegistry &)
void initializeMachineCycleInfoPrinterPassPass(PassRegistry &)
void initializeMachineLoopInfoPass(PassRegistry &)
void initializeMachineRegionInfoPassPass(PassRegistry &)
void initializeObjCARCContractLegacyPassPass(PassRegistry &)
void initializeMachineBlockFrequencyInfoPass(PassRegistry &)
void initializeTargetPassConfigPass(PassRegistry &)
void initializePostRAHazardRecognizerPass(PassRegistry &)
void initializeModuloScheduleTestPass(PassRegistry &)
void initializeSelectOptimizePass(PassRegistry &)
void initializeMachineCSEPass(PassRegistry &)
void initializeMachineFunctionPrinterPassPass(PassRegistry &)
void initializeMachineOptimizationRemarkEmitterPassPass(PassRegistry &)
void initializeMachinePostDominatorTreePass(PassRegistry &)
void initializeImplicitNullChecksPass(PassRegistry &)
void initializeCFIInstrInserterPass(PassRegistry &)
void initializeBranchFolderPassPass(PassRegistry &)
void initializeLocalStackSlotPassPass(PassRegistry &)
void initializeMachineCopyPropagationPass(PassRegistry &)
void initializeLiveIntervalsPass(PassRegistry &)
void initializeTailDuplicatePass(PassRegistry &)
void initializeSjLjEHPreparePass(PassRegistry &)
void initializeMIRCanonicalizerPass(PassRegistry &)
void initializeMIRAddFSDiscriminatorsPass(PassRegistry &)
void initializeAssignmentTrackingAnalysisPass(PassRegistry &)
void initializeMachineBlockPlacementPass(PassRegistry &)
void initializeEarlyMachineLICMPass(PassRegistry &)
void initializeCodeGen(PassRegistry &)
Initialize all passes linked into the CodeGen library.
Definition: CodeGen.cpp:21
void initializePostRAMachineSinkingPass(PassRegistry &)
void initializeBranchRelaxationPass(PassRegistry &)
void initializeMachineUniformityInfoPrinterPassPass(PassRegistry &)