LLVM API Documentation
Public Member Functions | |
void | MarkBlockExecutable (BasicBlock *BB) |
void | Solve () |
std::set< BasicBlock * > & | getExecutableBlocks () |
hash_map< Value *, LatticeVal > & | getValueMapping () |
Friends | |
class | InstVisitor< SCCPSolver > |
Definition at line 98 of file SCCP.cpp.
|
getExecutableBlocks - Once we have solved for constants, return the set of blocks that is known to be executable. |
|
getValueMapping - Once we have solved for constants, return the mapping of LLVM values to LatticeVals. |
|
MarkBlockExecutable - This method can be used by clients to mark all of the blocks that are known to be intrinsically live in the processed unit. Definition at line 127 of file SCCP.cpp. References DEBUG, and llvm::Value::getName(). |
|
Solve - Solve for constants and executable blocks. Definition at line 739 of file SCCP.cpp. References DEBUG, llvm::Value::use_begin(), llvm::Value::use_end(), and llvm::InstVisitor< SubClass, RetTy >::visit(). |
|
|