LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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 ()


Variable Documentation

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

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