LLVM API Documentation
#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"
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 DEBUG_TYPE "globaldce" |
Definition at line 18 of file GlobalDCE.cpp.
| 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" | |||
| ) |