Go to the source code of this file.
|
| STATISTIC (NumInstRemoved,"Number of instructions removed") |
|
| STATISTIC (NumDeadBlocks,"Number of basic blocks unreachable") |
|
| STATISTIC (IPNumInstRemoved,"Number of instructions removed by IPSCCP") |
|
| STATISTIC (IPNumArgsElimed,"Number of arguments constant propagated by IPSCCP") |
|
| STATISTIC (IPNumGlobalConst,"Number of globals found to be constant by IPSCCP") |
|
| INITIALIZE_PASS (SCCP,"sccp","Sparse Conditional Constant Propagation", false, false) FunctionPass *llvm |
|
static void | DeleteInstructionInBlock (BasicBlock *BB) |
|
| INITIALIZE_PASS_BEGIN (IPSCCP,"ipsccp","Interprocedural Sparse Conditional Constant Propagation", false, false) INITIALIZE_PASS_END(IPSCCP |
|
static bool | AddressIsTaken (const GlobalValue *GV) |
|
#define DEBUG_TYPE "sccp" |
Definition at line 1657 of file SCCP.cpp.
References llvm::User::getOperand(), llvm::CallSiteBase< FunTy, ValTy, UserTy, InstrTy, CallTy, InvokeTy, IterTy >::isCallee(), llvm::StoreInst::isVolatile(), LI, llvm::Constant::removeDeadConstantUsers(), llvm::Value::use_begin(), and llvm::Value::use_end().
static void DeleteInstructionInBlock |
( |
BasicBlock * |
BB | ) |
|
|
static |
Definition at line 1526 of file SCCP.cpp.
References llvm::BasicBlock::begin(), llvm::dbgs(), DEBUG, llvm::iplist< NodeTy, Traits >::erase(), llvm::UndefValue::get(), llvm::BasicBlock::getInstList(), llvm::BasicBlock::getTerminator(), llvm::Value::getType(), I, llvm::Value::replaceAllUsesWith(), and llvm::Value::use_empty().
STATISTIC |
( |
NumInstRemoved |
, |
|
|
"Number of instructions removed" |
|
|
) |
| |
STATISTIC |
( |
NumDeadBlocks |
, |
|
|
"Number of basic blocks unreachable" |
|
|
) |
| |
STATISTIC |
( |
IPNumInstRemoved |
, |
|
|
"Number of instructions removed by IPSCCP" |
|
|
) |
| |
STATISTIC |
( |
IPNumArgsElimed |
, |
|
|
"Number of arguments constant propagated by IPSCCP" |
|
|
) |
| |
STATISTIC |
( |
IPNumGlobalConst |
, |
|
|
"Number of globals found to be constant by IPSCCP" |
|
|
) |
| |
Interprocedural Sparse Conditional Constant false |
Interprocedural Sparse Conditional Constant Propagation |