LLVM API Documentation
#include "llvm/Transforms/Scalar.h"#include "llvm/Transforms/Utils/Local.h"#include "llvm/Instruction.h"#include "llvm/Pass.h"#include "llvm/Support/Compiler.h"#include "llvm/Support/InstIterator.h"#include "llvm/ADT/Statistic.h"#include <set>

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") | |
| Pass * | llvm::createDeadInstEliminationPass () |
| FunctionPass * | llvm::createDeadCodeEliminationPass () |
Variables | |
| static RegisterPass < DeadInstElimination > | X ("die","Dead Instruction Elimination") |
| static RegisterPass< DCE > | Y ("dce","Dead Code Elimination") |
| STATISTIC | ( | DCEEliminated | , | |
| "Number of insts removed" | ||||
| ) |
| STATISTIC | ( | DIEEliminated | , | |
| "Number of insts removed by DIE pass" | ||||
| ) |
RegisterPass<DeadInstElimination> X("die","Dead Instruction Elimination") [static] |
RegisterPass<DCE> Y("dce","Dead Code Elimination") [static] |
This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.