mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Add an implementation of the initialization routine for IPA.
llvm-svn: 115947
This commit is contained in:
parent
704998fa6f
commit
0dd283aa50
29
lib/Analysis/IPA/IPA.cpp
Normal file
29
lib/Analysis/IPA/IPA.cpp
Normal file
@ -0,0 +1,29 @@
|
||||
//===-- IPA.cpp -----------------------------------------------------------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// This file implements the common initialization routines for the IPA library.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/InitializePasses.h"
|
||||
#include "llvm-c/Initialization.h"
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
/// initializeIPA - Initialize all passes linked into the IPA library.
|
||||
void llvm::initializeIPA(PassRegistry &Registry) {
|
||||
initializeBasicCallGraphPass(Registry);
|
||||
initializeCallGraphAnalysisGroup(Registry);
|
||||
initializeFindUsedTypesPass(Registry);
|
||||
initializeGlobalsModRefPass(Registry);
|
||||
}
|
||||
|
||||
void LLVMInitializeIPA(LLVMPassRegistryRef R) {
|
||||
initializeIPA(*unwrap(R));
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user