LLVM  14.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 
14 #include "llvm-c/Initialization.h"
15 #include "llvm/InitializePasses.h"
16 #include "llvm/PassRegistry.h"
17 
18 using namespace llvm;
19 
20 /// initializeCodeGen - Initialize all passes linked into the CodeGen library.
124 }
125 
128 }
llvm
This file implements support for optimizing divisions by a constant.
Definition: AllocatorList.h:23
llvm::initializeInterleavedLoadCombinePass
void initializeInterleavedLoadCombinePass(PassRegistry &)
llvm::initializeMachineSinkingPass
void initializeMachineSinkingPass(PassRegistry &)
llvm::initializeDeadMachineInstructionElimPass
void initializeDeadMachineInstructionElimPass(PassRegistry &)
llvm::initializeDwarfEHPrepareLegacyPassPass
void initializeDwarfEHPrepareLegacyPassPass(PassRegistry &)
llvm::initializeCheckDebugMachineModulePass
void initializeCheckDebugMachineModulePass(PassRegistry &)
LLVMPassRegistryRef
struct LLVMOpaquePassRegistry * LLVMPassRegistryRef
Definition: Types.h:130
llvm::initializeLiveDebugValuesPass
void initializeLiveDebugValuesPass(PassRegistry &)
llvm::initializeLiveRangeShrinkPass
void initializeLiveRangeShrinkPass(PassRegistry &)
llvm::initializeUnreachableMachineBlockElimPass
void initializeUnreachableMachineBlockElimPass(PassRegistry &)
llvm::initializeExpandPostRAPass
void initializeExpandPostRAPass(PassRegistry &)
llvm::initializeLiveStacksPass
void initializeLiveStacksPass(PassRegistry &)
llvm::initializePostRAMachineSinkingPass
void initializePostRAMachineSinkingPass(PassRegistry &)
llvm::initializeTargetPassConfigPass
void initializeTargetPassConfigPass(PassRegistry &)
llvm::initializeLowerIntrinsicsPass
void initializeLowerIntrinsicsPass(PassRegistry &)
llvm::initializeMachineBlockPlacementPass
void initializeMachineBlockPlacementPass(PassRegistry &)
llvm::initializeRABasicPass
void initializeRABasicPass(PassRegistry &)
llvm::initializeMachineCopyPropagationPass
void initializeMachineCopyPropagationPass(PassRegistry &)
llvm::initializeMachineOptimizationRemarkEmitterPassPass
void initializeMachineOptimizationRemarkEmitterPassPass(PassRegistry &)
llvm::initializeStripDebugMachineModulePass
void initializeStripDebugMachineModulePass(PassRegistry &)
llvm::initializePostMachineSchedulerPass
void initializePostMachineSchedulerPass(PassRegistry &)
llvm::initializeEarlyIfConverterPass
void initializeEarlyIfConverterPass(PassRegistry &)
llvm::initializeSlotIndexesPass
void initializeSlotIndexesPass(PassRegistry &)
llvm::initializeWasmEHPreparePass
void initializeWasmEHPreparePass(PassRegistry &)
llvm::initializePreISelIntrinsicLoweringLegacyPassPass
void initializePreISelIntrinsicLoweringLegacyPassPass(PassRegistry &)
llvm::initializeGCModuleInfoPass
void initializeGCModuleInfoPass(PassRegistry &)
PassRegistry.h
llvm::initializeTypePromotionPass
void initializeTypePromotionPass(PassRegistry &)
llvm::initializeSafeStackLegacyPassPass
void initializeSafeStackLegacyPassPass(PassRegistry &)
llvm::initializeAtomicExpandPass
void initializeAtomicExpandPass(PassRegistry &)
llvm::initializeOptimizePHIsPass
void initializeOptimizePHIsPass(PassRegistry &)
llvm::initializeUnpackMachineBundlesPass
void initializeUnpackMachineBundlesPass(PassRegistry &)
llvm::initializeBranchRelaxationPass
void initializeBranchRelaxationPass(PassRegistry &)
llvm::initializeRegisterCoalescerPass
void initializeRegisterCoalescerPass(PassRegistry &)
llvm::initializeShadowStackGCLoweringPass
void initializeShadowStackGCLoweringPass(PassRegistry &)
llvm::initializeIndirectBrExpandPassPass
void initializeIndirectBrExpandPassPass(PassRegistry &)
llvm::initializePHIEliminationPass
void initializePHIEliminationPass(PassRegistry &)
llvm::initializeLiveVariablesPass
void initializeLiveVariablesPass(PassRegistry &)
llvm::initializeLocalStackSlotPassPass
void initializeLocalStackSlotPassPass(PassRegistry &)
llvm::initializeDetectDeadLanesPass
void initializeDetectDeadLanesPass(PassRegistry &)
llvm::PassRegistry
PassRegistry - This class manages the registration and intitialization of the pass subsystem as appli...
Definition: PassRegistry.h:38
llvm::unwrap
Attribute unwrap(LLVMAttributeRef Attr)
Definition: Attributes.h:257
llvm::initializeMachinePipelinerPass
void initializeMachinePipelinerPass(PassRegistry &)
LLVMInitializeCodeGen
void LLVMInitializeCodeGen(LLVMPassRegistryRef R)
Definition: CodeGen.cpp:126
llvm::initializeMachineCSEPass
void initializeMachineCSEPass(PassRegistry &)
llvm::initializeCFIInstrInserterPass
void initializeCFIInstrInserterPass(PassRegistry &)
llvm::initializeLiveDebugVariablesPass
void initializeLiveDebugVariablesPass(PassRegistry &)
llvm::initializeCodeGen
void initializeCodeGen(PassRegistry &)
Initialize all passes linked into the CodeGen library.
Definition: CodeGen.cpp:21
llvm::initializeMachineVerifierPassPass
void initializeMachineVerifierPassPass(PassRegistry &)
llvm::initializeMachineSchedulerPass
void initializeMachineSchedulerPass(PassRegistry &)
llvm::initializeMachineOutlinerPass
void initializeMachineOutlinerPass(PassRegistry &)
llvm::initializeMIRNamerPass
void initializeMIRNamerPass(PassRegistry &)
llvm::initializeRegUsageInfoCollectorPass
void initializeRegUsageInfoCollectorPass(PassRegistry &)
llvm::initializeSjLjEHPreparePass
void initializeSjLjEHPreparePass(PassRegistry &)
llvm::initializeMachineLoopInfoPass
void initializeMachineLoopInfoPass(PassRegistry &)
llvm::initializeVirtRegMapPass
void initializeVirtRegMapPass(PassRegistry &)
llvm::initializeMachinePostDominatorTreePass
void initializeMachinePostDominatorTreePass(PassRegistry &)
llvm::initializeHardwareLoopsPass
void initializeHardwareLoopsPass(PassRegistry &)
llvm::initializeExpandMemCmpPassPass
void initializeExpandMemCmpPassPass(PassRegistry &)
llvm::initializeEarlyMachineLICMPass
void initializeEarlyMachineLICMPass(PassRegistry &)
llvm::initializeMachineCombinerPass
void initializeMachineCombinerPass(PassRegistry &)
llvm::initializeRegAllocFastPass
void initializeRegAllocFastPass(PassRegistry &)
llvm::initializeMIRCanonicalizerPass
void initializeMIRCanonicalizerPass(PassRegistry &)
llvm::initializeRegUsageInfoPropagationPass
void initializeRegUsageInfoPropagationPass(PassRegistry &)
llvm::initializeIfConverterPass
void initializeIfConverterPass(PassRegistry &)
llvm::initializeProcessImplicitDefsPass
void initializeProcessImplicitDefsPass(PassRegistry &)
llvm::initializeMachineDominatorTreePass
void initializeMachineDominatorTreePass(PassRegistry &)
llvm::initializeBasicBlockSectionsPass
void initializeBasicBlockSectionsPass(PassRegistry &)
llvm::initializePostRASchedulerPass
void initializePostRASchedulerPass(PassRegistry &)
llvm::initializeShrinkWrapPass
void initializeShrinkWrapPass(PassRegistry &)
llvm::initializeImplicitNullChecksPass
void initializeImplicitNullChecksPass(PassRegistry &)
llvm::initializePatchableFunctionPass
void initializePatchableFunctionPass(PassRegistry &)
llvm::initializeDebugifyMachineModulePass
void initializeDebugifyMachineModulePass(PassRegistry &)
llvm::initializeMachineFunctionPrinterPassPass
void initializeMachineFunctionPrinterPassPass(PassRegistry &)
llvm::initializeEarlyTailDuplicatePass
void initializeEarlyTailDuplicatePass(PassRegistry &)
llvm::initializeTwoAddressInstructionPassPass
void initializeTwoAddressInstructionPassPass(PassRegistry &)
llvm::initializeMachineLICMPass
void initializeMachineLICMPass(PassRegistry &)
llvm::initializeTailDuplicatePass
void initializeTailDuplicatePass(PassRegistry &)
llvm::initializeGCMachineCodeAnalysisPass
void initializeGCMachineCodeAnalysisPass(PassRegistry &)
llvm::initializeLiveIntervalsPass
void initializeLiveIntervalsPass(PassRegistry &)
llvm::initializeXRayInstrumentationPass
void initializeXRayInstrumentationPass(PassRegistry &)
llvm::initializeStackSlotColoringPass
void initializeStackSlotColoringPass(PassRegistry &)
llvm::initializeRAGreedyPass
void initializeRAGreedyPass(PassRegistry &)
llvm::initializePeepholeOptimizerPass
void initializePeepholeOptimizerPass(PassRegistry &)
llvm::initializePEIPass
void initializePEIPass(PassRegistry &)
llvm::initializeWinEHPreparePass
void initializeWinEHPreparePass(PassRegistry &)
llvm::initializeMachineBlockPlacementStatsPass
void initializeMachineBlockPlacementStatsPass(PassRegistry &)
llvm::initializeRemoveRedundantDebugValuesPass
void initializeRemoveRedundantDebugValuesPass(PassRegistry &)
llvm::initializeStackMapLivenessPass
void initializeStackMapLivenessPass(PassRegistry &)
llvm::Registry
A global registry used in conjunction with static constructors to make pluggable components (like tar...
Definition: Registry.h:44
llvm::initializeFEntryInserterPass
void initializeFEntryInserterPass(PassRegistry &)
llvm::initializeCodeGenPreparePass
void initializeCodeGenPreparePass(PassRegistry &)
llvm::initializeFinalizeISelPass
void initializeFinalizeISelPass(PassRegistry &)
llvm::initializeFinalizeMachineBundlesPass
void initializeFinalizeMachineBundlesPass(PassRegistry &)
llvm::initializeMachineRegionInfoPassPass
void initializeMachineRegionInfoPassPass(PassRegistry &)
llvm::initializeBranchFolderPassPass
void initializeBranchFolderPassPass(PassRegistry &)
llvm::initializeModuloScheduleTestPass
void initializeModuloScheduleTestPass(PassRegistry &)
llvm::initializeMachineModuleInfoWrapperPassPass
void initializeMachineModuleInfoWrapperPassPass(PassRegistry &)
llvm::initializeStackColoringPass
void initializeStackColoringPass(PassRegistry &)
llvm::initializeStackProtectorPass
void initializeStackProtectorPass(PassRegistry &)
llvm::initializeInterleavedAccessPass
void initializeInterleavedAccessPass(PassRegistry &)
llvm::initializeMachineBlockFrequencyInfoPass
void initializeMachineBlockFrequencyInfoPass(PassRegistry &)
llvm::initializeUnreachableBlockElimLegacyPassPass
void initializeUnreachableBlockElimLegacyPassPass(PassRegistry &)
llvm::initializeEarlyIfPredicatorPass
void initializeEarlyIfPredicatorPass(PassRegistry &)
llvm::initializeRenameIndependentSubregsPass
void initializeRenameIndependentSubregsPass(PassRegistry &)
llvm::initializePostRAHazardRecognizerPass
void initializePostRAHazardRecognizerPass(PassRegistry &)
InitializePasses.h
llvm::initializeFixupStatepointCallerSavedPass
void initializeFixupStatepointCallerSavedPass(PassRegistry &)
llvm::initializeFuncletLayoutPass
void initializeFuncletLayoutPass(PassRegistry &)
llvm::initializeVirtRegRewriterPass
void initializeVirtRegRewriterPass(PassRegistry &)
Initialization.h
llvm::initializeCFGuardLongjmpPass
void initializeCFGuardLongjmpPass(PassRegistry &)