LLVM API Documentation
#include "llvm/Transforms/Scalar.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/ConstantFolding.h"
#include "llvm/IR/Constant.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/Instruction.h"
#include "llvm/Pass.h"
#include "llvm/Target/TargetLibraryInfo.h"
#include <set>
Go to the source code of this file.
Defines | |
#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 |
#define DEBUG_TYPE "constprop" |
Definition at line 33 of file ConstantProp.cpp.
INITIALIZE_PASS_BEGIN | ( | ConstantPropagation | , |
"constprop" | , | ||
"Simple constant propagation" | , | ||
false | , | ||
false | |||
) |
STATISTIC | ( | NumInstKilled | , |
"Number of instructions killed" | |||
) |
Definition at line 57 of file ConstantProp.cpp.
Simple constant false |
Definition at line 57 of file ConstantProp.cpp.
Simple constant propagation |
Definition at line 57 of file ConstantProp.cpp.