LLVM API Documentation

Defines | 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.

Defines

#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

Define 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"   
)