LLVM  3.7.0
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/InitializePasses.h"
16 #include "llvm-c/Initialization.h"
17 #include "llvm/PassRegistry.h"
18 
19 using namespace llvm;
20 
21 /// initializeCodeGen - Initialize all passes linked into the CodeGen library.
34  initializeIfConverterPass(Registry);
37  initializeLiveStacksPass(Registry);
44  initializeMachineCSEPass(Registry);
50  initializeMachineLICMPass(Registry);
58  initializePEIPass(Registry);
65  initializeShrinkWrapPass(Registry);
66  initializeSlotIndexesPass(Registry);
77  initializeVirtRegMapPass(Registry);
80 }
81 
84 }
void initializeTailDuplicatePassPass(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:61
void initializeVirtRegRewriterPass(PassRegistry &)
void initializeWinEHPreparePass(PassRegistry &)
void initializeFinalizeMachineBundlesPass(PassRegistry &)
void initializeMachineBlockPlacementStatsPass(PassRegistry &)
void initializeOptimizePHIsPass(PassRegistry &)
void initializeUnpackMachineBundlesPass(PassRegistry &)
void initializeMachineLoopInfoPass(PassRegistry &)
void initializeRegisterCoalescerPass(PassRegistry &)
void initializeMachineVerifierPassPass(PassRegistry &)
void initializeLiveVariablesPass(PassRegistry &)
void initializeBranchFolderPassPass(PassRegistry &)
void initializePostRASchedulerPass(PassRegistry &)
void initializeExpandPostRAPass(PassRegistry &)
void initializeLowerIntrinsicsPass(PassRegistry &)
void initializeIfConverterPass(PassRegistry &)
void initializeMachineFunctionPrinterPassPass(PassRegistry &)
void initializeTwoAddressInstructionPassPass(PassRegistry &)
void initializeGCMachineCodeAnalysisPass(PassRegistry &)
void initializePeepholeOptimizerPass(PassRegistry &)
void initializeTargetPassConfigPass(PassRegistry &)
void initializeMachinePostDominatorTreePass(PassRegistry &)
void initializeStackMapLivenessPass(PassRegistry &)
void initializeStackSlotColoringPass(PassRegistry &)
void initializeMachineDominatorTreePass(PassRegistry &)
void initializeEarlyIfConverterPass(PassRegistry &)
DataLayout * unwrap(LLVMTargetDataRef P)
Definition: DataLayout.h:465
void initializeSlotIndexesPass(PassRegistry &)
void initializePEIPass(PassRegistry &)
void initializeLiveStacksPass(PassRegistry &)
void initializeDeadMachineInstructionElimPass(PassRegistry &)
void initializeLiveIntervalsPass(PassRegistry &)
void initializeProcessImplicitDefsPass(PassRegistry &)
void initializeUnreachableBlockElimPass(PassRegistry &)
void initializeAtomicExpandPass(PassRegistry &)
void initializeShrinkWrapPass(PassRegistry &)
void initializeDwarfEHPreparePass(PassRegistry &)
void initializeImplicitNullChecksPass(PassRegistry &)
void initializeMachineBlockPlacementPass(PassRegistry &)
void initializePHIEliminationPass(PassRegistry &)
void initializeMachineCopyPropagationPass(PassRegistry &)
void LLVMInitializeCodeGen(LLVMPassRegistryRef R)
Definition: CodeGen.cpp:82
void initializeMachineLICMPass(PassRegistry &)
void initializeMachineBlockFrequencyInfoPass(PassRegistry &)
void initializeMachineModuleInfoPass(PassRegistry &)
void initializeCodeGenPreparePass(PassRegistry &)
struct LLVMOpaquePassRegistry * LLVMPassRegistryRef
Definition: Core.h:119
void initializeStackColoringPass(PassRegistry &)
void initializeStackProtectorPass(PassRegistry &)
void initializeMachineSchedulerPass(PassRegistry &)
void initializeVirtRegMapPass(PassRegistry &)
void initializePostMachineSchedulerPass(PassRegistry &)
void initializeLocalStackSlotPassPass(PassRegistry &)
void initializeUnreachableMachineBlockElimPass(PassRegistry &)
void initializeGCModuleInfoPass(PassRegistry &)
void initializeMachineSinkingPass(PassRegistry &)
void initializeExpandISelPseudosPass(PassRegistry &)
void initializeCodeGen(PassRegistry &)
initializeCodeGen - Initialize all passes linked into the CodeGen library.
Definition: CodeGen.cpp:22
void initializeMachineCombinerPass(PassRegistry &)
PassRegistry - This class manages the registration and intitialization of the pass subsystem as appli...
Definition: PassRegistry.h:41