LLVM API Documentation
#include "llvm/Transforms/Scalar.h"#include "llvm/Analysis/ConstantFolding.h"#include "llvm/Constant.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 "constprop" |
Functions | |
| STATISTIC (NumInstKilled,"Number of instructions killed") | |
| FunctionPass * | llvm::createConstantPropagationPass () |
Variables | |
| static RegisterPass < ConstantPropagation > | X ("constprop","Simple constant propagation") |
| #define DEBUG_TYPE "constprop" |
Definition at line 21 of file ConstantProp.cpp.
| STATISTIC | ( | NumInstKilled | , | |
| "Number of instructions killed" | ||||
| ) |
char ID [static] |
Definition at line 37 of file ConstantProp.cpp.
RegisterPass<ConstantPropagation> X("constprop","Simple constant propagation") [static] |