LLVM API Documentation

ConstantProp.cpp File Reference

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

Include dependency graph for ConstantProp.cpp:

Go to the source code of this file.

Functions

FunctionPassllvm::createConstantPropagationPass ()

Variables

Statistic NumInstKilled ("constprop","Number of instructions killed")
RegisterOpt< ConstantPropagation > X ("constprop","Simple constant propagation")


Variable Documentation

Statistic NumInstKilled("constprop","Number of instructions killed") [static]

RegisterOpt<ConstantPropagation> X("constprop","Simple constant propagation") [static]