LLVM  3.7.0
Utils.cpp
Go to the documentation of this file.
1 //===-- Utils.cpp - TransformUtils Infrastructure -------------------------===//
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 defines the common initialization infrastructure for the
11 // TransformUtils 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 /// initializeTransformUtils - Initialize all passes in the TransformUtils
22 /// library.
26  initializeInstNamerPass(Registry);
27  initializeLCSSAPass(Registry);
29  initializeLowerInvokePass(Registry);
30  initializeLowerSwitchPass(Registry);
31  initializePromotePassPass(Registry);
34  initializeMetaRenamerPass(Registry);
35 }
36 
37 /// LLVMInitializeTransformUtils - C binding for initializeTransformUtilsPasses.
40 }
A global registry used in conjunction with static constructors to make pluggable components (like tar...
Definition: Registry.h:61
void initializeBreakCriticalEdgesPass(PassRegistry &)
void initializePromotePassPass(PassRegistry &)
void initializeUnifyFunctionExitNodesPass(PassRegistry &)
DataLayout * unwrap(LLVMTargetDataRef P)
Definition: DataLayout.h:465
void LLVMInitializeTransformUtils(LLVMPassRegistryRef R)
LLVMInitializeTransformUtils - C binding for initializeTransformUtilsPasses.
Definition: Utils.cpp:38
void initializeInstSimplifierPass(PassRegistry &)
void initializeLowerInvokePass(PassRegistry &)
struct LLVMOpaquePassRegistry * LLVMPassRegistryRef
Definition: Core.h:119
void initializeTransformUtils(PassRegistry &)
initializeTransformUtils - Initialize all passes linked into the TransformUtils library.
Definition: Utils.cpp:23
void initializeLCSSAPass(PassRegistry &)
void initializeInstNamerPass(PassRegistry &)
void initializeLoopSimplifyPass(PassRegistry &)
void initializeLowerSwitchPass(PassRegistry &)
void initializeAddDiscriminatorsPass(PassRegistry &)
PassRegistry - This class manages the registration and intitialization of the pass subsystem as appli...
Definition: PassRegistry.h:41
void initializeMetaRenamerPass(PassRegistry &)