LLVM API Documentation
#include "llvm/Transforms/Scalar.h"#include "llvm/ADT/Statistic.h"#include "llvm/IR/InstIterator.h"#include "llvm/IR/Instruction.h"#include "llvm/Pass.h"#include "llvm/Target/TargetLibraryInfo.h"#include "llvm/Transforms/Utils/Local.h"
Go to the source code of this file.
Defines | |
| #define | DEBUG_TYPE "dce" |
Functions | |
| STATISTIC (DIEEliminated,"Number of insts removed by DIE pass") | |
| STATISTIC (DCEEliminated,"Number of insts removed") | |
| INITIALIZE_PASS (DeadInstElimination,"die","Dead Instruction Elimination", false, false) Pass *llvm | |
| #define DEBUG_TYPE "dce" |
| INITIALIZE_PASS | ( | DeadInstElimination | , |
| "die" | , | ||
| "Dead Instruction Elimination" | , | ||
| false | , | ||
| false | |||
| ) |
| STATISTIC | ( | DCEEliminated | , |
| "Number of insts removed" | |||
| ) |