LLVM  3.7.0
IPA.cpp
Go to the documentation of this file.
1 //===-- IPA.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 IPA library.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #include "llvm/InitializePasses.h"
15 #include "llvm-c/Initialization.h"
16 #include "llvm/PassRegistry.h"
17 
18 using namespace llvm;
19 
20 /// initializeIPA - Initialize all passes linked into the IPA library.
26 }
27 
29  initializeIPA(*unwrap(R));
30 }
A global registry used in conjunction with static constructors to make pluggable components (like tar...
Definition: Registry.h:61
void initializeCallGraphPrinterPass(PassRegistry &)
void initializeGlobalsModRefPass(PassRegistry &)
void initializeCallGraphViewerPass(PassRegistry &)
DataLayout * unwrap(LLVMTargetDataRef P)
Definition: DataLayout.h:465
void initializeCallGraphWrapperPassPass(PassRegistry &)
struct LLVMOpaquePassRegistry * LLVMPassRegistryRef
Definition: Core.h:119
void initializeIPA(PassRegistry &)
initializeIPA - Initialize all passes linked into the IPA library.
Definition: IPA.cpp:21
void LLVMInitializeIPA(LLVMPassRegistryRef R)
Definition: IPA.cpp:28
PassRegistry - This class manages the registration and intitialization of the pass subsystem as appli...
Definition: PassRegistry.h:41