LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions
GlobalDCE.cpp File Reference
#include "llvm/Transforms/IPO.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Module.h"
#include "llvm/Pass.h"
Include dependency graph for GlobalDCE.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "globaldce"
 

Functions

 STATISTIC (NumAliases,"Number of global aliases removed")
 
 STATISTIC (NumFunctions,"Number of functions removed")
 
 STATISTIC (NumVariables,"Number of global variables removed")
 
 INITIALIZE_PASS (GlobalDCE,"globaldce","Dead Global Elimination", false, false) ModulePass *llvm
 

Macro Definition Documentation

#define DEBUG_TYPE   "globaldce"

Definition at line 18 of file GlobalDCE.cpp.

Function Documentation

INITIALIZE_PASS ( GlobalDCE  ,
"globaldce"  ,
"Dead Global Elimination ,
false  ,
false   
)

Definition at line 57 of file GlobalDCE.cpp.

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