LLVM  8.0.1
CodeGen.cpp
Go to the documentation of this file.
1 //===-- CodeGen.cpp -------------------------------------------------------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file implements the common initialization routines for the
11 // CodeGen library.
12 //
13 //===----------------------------------------------------------------------===//
14 
15 #include "llvm-c/Initialization.h"
16 #include "llvm/InitializePasses.h"
17 #include "llvm/PassRegistry.h"
18 
19 using namespace llvm;
20 
21 /// initializeCodeGen - Initialize all passes linked into the CodeGen library.
42  initializeIfConverterPass(Registry);
51  initializeLiveStacksPass(Registry);
59  initializeMachineCSEPass(Registry);
64  initializeMachineLICMPass(Registry);
76  initializePEIPass(Registry);
86  initializeRABasicPass(Registry);
87  initializeRAGreedyPass(Registry);
95  initializeShrinkWrapPass(Registry);
96  initializeSlotIndexesPass(Registry);
101  initializeTailDuplicatePass(Registry);
107  initializeVirtRegMapPass(Registry);
109  initializeWasmEHPreparePass(Registry);
110  initializeWinEHPreparePass(Registry);
112 }
113 
116 }
void initializeIndirectBrExpandPassPass(PassRegistry &)
This class represents lattice values for constants.
Definition: AllocatorList.h:24
void initializeMachineCSEPass(PassRegistry &)
void initializeLiveDebugVariablesPass(PassRegistry &)
A global registry used in conjunction with static constructors to make pluggable components (like tar...
Definition: Registry.h:45
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 initializeRegisterCoalescerPass(PassRegistry &)
void initializeMachineVerifierPassPass(PassRegistry &)
void initializeLiveVariablesPass(PassRegistry &)
void initializeBranchFolderPassPass(PassRegistry &)
void initializeRegAllocFastPass(PassRegistry &)
Attribute unwrap(LLVMAttributeRef Attr)
Definition: Attributes.h:195
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 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 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:114
void initializeMachineLICMPass(PassRegistry &)
void initializeMachineBlockFrequencyInfoPass(PassRegistry &)
void initializeMachineOutlinerPass(PassRegistry &)
void initializeDetectDeadLanesPass(PassRegistry &)
void initializeMachineModuleInfoPass(PassRegistry &)
void initializeCodeGenPreparePass(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 initializeExpandISelPseudosPass(PassRegistry &)
void initializeEarlyMachineLICMPass(PassRegistry &)
void initializeTailDuplicatePass(PassRegistry &)
void initializeCodeGen(PassRegistry &)
Initialize all passes linked into the CodeGen library.
Definition: CodeGen.cpp:22
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:39
void initializeMachineOptimizationRemarkEmitterPassPass(PassRegistry &)