LLVM
8.0.1
|
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SmallVector.h"
#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/Support/DebugCounter.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Utils/Local.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "constprop" |
Functions | |
STATISTIC (NumInstKilled, "Number of instructions killed") | |
DEBUG_COUNTER (CPCounter, "constprop-transform", "Controls which instructions are 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 35 of file ConstantProp.cpp.
DEBUG_COUNTER | ( | CPCounter | , |
"constprop-transform" | , | ||
"Controls which instructions are killed" | |||
) |
INITIALIZE_PASS_BEGIN | ( | ConstantPropagation | , |
"constprop" | , | ||
"Simple constant propagation" | , | ||
false | , | ||
false | |||
) |
STATISTIC | ( | NumInstKilled | , |
"Number of instructions killed" | |||
) |
constprop |
Definition at line 61 of file ConstantProp.cpp.
Simple constant false |
Definition at line 61 of file ConstantProp.cpp.
Simple constant propagation |
Definition at line 61 of file ConstantProp.cpp.