Go to the source code of this file.
Defines |
#define | DEBUG_TYPE "sccp" |
Functions |
| 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) |
Variables |
| ipsccp |
Interprocedural Sparse
Conditional Constant | Propagation |
Interprocedural Sparse
Conditional Constant | false |
Define Documentation
Function Documentation
Definition at line 1661 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(), and llvm::Value::uses().
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 |
( |
NumDeadBlocks |
, |
|
|
"Number of basic blocks unreachable" |
|
|
) |
| |
STATISTIC |
( |
IPNumArgsElimed |
, |
|
|
"Number of arguments constant propagated by IPSCCP" |
|
|
) |
| |
STATISTIC |
( |
IPNumGlobalConst |
, |
|
|
"Number of globals found to be constant by IPSCCP" |
|
|
) |
| |
Variable Documentation