LLVM  4.0.0
Macros | Functions
ElimAvailExtern.cpp File Reference
#include "llvm/Transforms/IPO/ElimAvailExtern.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Module.h"
#include "llvm/Transforms/IPO.h"
#include "llvm/Transforms/Utils/GlobalStatus.h"
#include "llvm/Pass.h"
Include dependency graph for ElimAvailExtern.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "elim-avail-extern"
 

Functions

 STATISTIC (NumFunctions,"Number of functions removed")
 
 STATISTIC (NumVariables,"Number of global variables removed")
 
static bool eliminateAvailableExternally (Module &M)
 
 INITIALIZE_PASS (EliminateAvailableExternallyLegacyPass,"elim-avail-extern","Eliminate Available Externally Globals", false, false) ModulePass *llvm
 

Macro Definition Documentation

#define DEBUG_TYPE   "elim-avail-extern"

Definition at line 25 of file ElimAvailExtern.cpp.

Function Documentation

static bool eliminateAvailableExternally ( Module M)
static
INITIALIZE_PASS ( EliminateAvailableExternallyLegacyPass  ,
"elim-avail-extern"  ,
"Eliminate Available Externally Globals"  ,
false  ,
false   
)

Definition at line 91 of file ElimAvailExtern.cpp.

STATISTIC ( NumFunctions  ,
"Number of functions removed"   
)
STATISTIC ( NumVariables  ,
"Number of global variables removed"   
)