LLVM  6.0.0svn
Macros | Functions | Variables
ConstantProp.cpp File Reference
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/ConstantFolding.h"
#include "llvm/Analysis/TargetLibraryInfo.h"
#include "llvm/IR/Constant.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/Instruction.h"
#include "llvm/Pass.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Utils/Local.h"
#include <set>
Include dependency graph for ConstantProp.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "constprop"
 

Functions

 STATISTIC (NumInstKilled, "Number of instructions killed")
 
 INITIALIZE_PASS_BEGIN (ConstantPropagation, "constprop", "Simple constant propagation", false, false) INITIALIZE_PASS_END(ConstantPropagation
 

Variables

 constprop
 
Simple constant propagation
 
Simple constant false
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "constprop"

Definition at line 33 of file ConstantProp.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( ConstantPropagation  ,
"constprop"  ,
"Simple constant propagation ,
false  ,
false   
)

◆ STATISTIC()

STATISTIC ( NumInstKilled  ,
"Number of instructions killed"   
)

Variable Documentation

◆ constprop

constprop

Definition at line 57 of file ConstantProp.cpp.

◆ false

Simple constant false

Definition at line 57 of file ConstantProp.cpp.

◆ propagation

Simple constant propagation

Definition at line 57 of file ConstantProp.cpp.