LLVM  10.0.0svn
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.
43  initializeIfConverterPass(Registry);
52  initializeLiveStacksPass(Registry);
57  initializeMIRNamerPass(Registry);
61  initializeMachineCSEPass(Registry);
66  initializeMachineLICMPass(Registry);
79  initializePEIPass(Registry);
89  initializeRABasicPass(Registry);
90  initializeRAGreedyPass(Registry);
98  initializeShrinkWrapPass(Registry);
99  initializeSlotIndexesPass(Registry);
100  initializeStackColoringPass(Registry);
104  initializeTailDuplicatePass(Registry);
110  initializeVirtRegMapPass(Registry);
112  initializeWasmEHPreparePass(Registry);
113  initializeWinEHPreparePass(Registry);
115 }
116 
119 }
void initializeIndirectBrExpandPassPass(PassRegistry &)
This class represents lattice values for constants.
Definition: AllocatorList.h:23
void initializeEarlyIfPredicatorPass(PassRegistry &)
void initializeMachineCSEPass(PassRegistry &)
void initializeLiveDebugVariablesPass(PassRegistry &)
A global registry used in conjunction with static constructors to make pluggable components (like tar...
Definition: Registry.h:44
void initializeVirtRegRewriterPass(PassRegistry &)
void initializeWinEHPreparePass(PassRegistry &)
void initializeFinalizeMachineBundlesPass(PassRegistry &)
void initializeMachineRegionInfoPassPass(PassRegistry &)
void initializeMachineBlockPlacementStatsPass(PassRegistry &)
void initializePatchableFunctionPass(PassRegistry &)
void initializeRegUsageInfoCollectorPass(PassRegistry &)
struct LLVMOpaquePassRegistry * LLVMPassRegistryRef
Definition: Types.h:131
void initializeEarlyTailDuplicatePass(PassRegistry &)
void initializeOptimizePHIsPass(PassRegistry &)
void initializeUnpackMachineBundlesPass(PassRegistry &)
void initializeScalarizeMaskedMemIntrinPass(PassRegistry &)
void initializeMachineLoopInfoPass(PassRegistry &)
void initializeUnreachableBlockElimLegacyPassPass(PassRegistry &)
void initializeHardwareLoopsPass(PassRegistry &)
void initializeRegisterCoalescerPass(PassRegistry &)
void initializeMachineVerifierPassPass(PassRegistry &)
void initializeLiveVariablesPass(PassRegistry &)
void initializeBranchFolderPassPass(PassRegistry &)
void initializeRegAllocFastPass(PassRegistry &)
Attribute unwrap(LLVMAttributeRef Attr)
Definition: Attributes.h:204
void initializePostRASchedulerPass(PassRegistry &)
void initializeExpandPostRAPass(PassRegistry &)
void initializeRenameIndependentSubregsPass(PassRegistry &)
void initializeLowerIntrinsicsPass(PassRegistry &)
void initializePostRAHazardRecognizerPass(PassRegistry &)
void initializeIfConverterPass(PassRegistry &)
void initializeMachineFunctionPrinterPassPass(PassRegistry &)
void initializeExpandMemCmpPassPass(PassRegistry &)
void initializeTwoAddressInstructionPassPass(PassRegistry &)
void initializeFuncletLayoutPass(PassRegistry &)
void initializeGCMachineCodeAnalysisPass(PassRegistry &)
void initializeModuloScheduleTestPass(PassRegistry &)
void initializeMIRNamerPass(PassRegistry &)
void initializePeepholeOptimizerPass(PassRegistry &)
void initializePreISelIntrinsicLoweringLegacyPassPass(PassRegistry &)
void initializePostRAMachineSinkingPass(PassRegistry &)
void initializeTargetPassConfigPass(PassRegistry &)
void initializeMachinePostDominatorTreePass(PassRegistry &)
void initializeStackMapLivenessPass(PassRegistry &)
void initializeLiveDebugValuesPass(PassRegistry &)
void initializeFEntryInserterPass(PassRegistry &)
void initializeXRayInstrumentationPass(PassRegistry &)
void initializeStackSlotColoringPass(PassRegistry &)
void initializeMachineDominatorTreePass(PassRegistry &)
void initializeEarlyIfConverterPass(PassRegistry &)
void initializeSlotIndexesPass(PassRegistry &)
void initializePEIPass(PassRegistry &)
void initializeLiveStacksPass(PassRegistry &)
void initializeDeadMachineInstructionElimPass(PassRegistry &)
void initializeLiveIntervalsPass(PassRegistry &)
void initializeProcessImplicitDefsPass(PassRegistry &)
void initializeAtomicExpandPass(PassRegistry &)
void initializeFinalizeISelPass(PassRegistry &)
void initializeLiveRangeShrinkPass(PassRegistry &)
void initializeShrinkWrapPass(PassRegistry &)
void initializeDwarfEHPreparePass(PassRegistry &)
void initializeImplicitNullChecksPass(PassRegistry &)
void initializeCFIInstrInserterPass(PassRegistry &)
void initializeMachineBlockPlacementPass(PassRegistry &)
void initializeInterleavedAccessPass(PassRegistry &)
void initializePHIEliminationPass(PassRegistry &)
void initializeMachineCopyPropagationPass(PassRegistry &)
void LLVMInitializeCodeGen(LLVMPassRegistryRef R)
Definition: CodeGen.cpp:117
void initializeMachineLICMPass(PassRegistry &)
void initializeMachineBlockFrequencyInfoPass(PassRegistry &)
void initializeMachineOutlinerPass(PassRegistry &)
void initializeDetectDeadLanesPass(PassRegistry &)
void initializeCodeGenPreparePass(PassRegistry &)
void initializeMachineModuleInfoWrapperPassPass(PassRegistry &)
void initializeStackColoringPass(PassRegistry &)
void initializeStackProtectorPass(PassRegistry &)
void initializeMachineSchedulerPass(PassRegistry &)
void initializeInterleavedLoadCombinePass(PassRegistry &)
void initializeSafeStackLegacyPassPass(PassRegistry &)
void initializeMIRCanonicalizerPass(PassRegistry &)
void initializeRegUsageInfoPropagationPass(PassRegistry &)
void initializeMachinePipelinerPass(PassRegistry &)
void initializeVirtRegMapPass(PassRegistry &)
void initializePostMachineSchedulerPass(PassRegistry &)
void initializeWasmEHPreparePass(PassRegistry &)
void initializeLocalStackSlotPassPass(PassRegistry &)
void initializeUnreachableMachineBlockElimPass(PassRegistry &)
void initializeGCModuleInfoPass(PassRegistry &)
void initializeMachineSinkingPass(PassRegistry &)
void initializeEarlyMachineLICMPass(PassRegistry &)
void initializeTailDuplicatePass(PassRegistry &)
void initializeCodeGen(PassRegistry &)
Initialize all passes linked into the CodeGen library.
Definition: CodeGen.cpp:21
void initializeBranchRelaxationPass(PassRegistry &)
void initializeRAGreedyPass(PassRegistry &)
void initializeMachineCombinerPass(PassRegistry &)
void initializeRABasicPass(PassRegistry &)
PassRegistry - This class manages the registration and intitialization of the pass subsystem as appli...
Definition: PassRegistry.h:38
void initializeMachineOptimizationRemarkEmitterPassPass(PassRegistry &)