retdec
|
Use-def chains. More...
#include <use_def_analysis.h>
Public Types | |
using | VarStmtPair = std::pair< ShPtr< Variable >, ShPtr< Statement > > |
(variable, statement) pair More... | |
using | StmtVarPairSet = std::set< VarStmtPair > |
Set of (variable, statement) pairs. More... | |
using | UseDefChain = std::map< VarStmtPair, StmtSet > |
Public Member Functions | |
void | debugPrint () |
Emits all the live variables info to standard error. More... | |
Public Attributes | |
ShPtr< Function > | func |
Function for which the chains have been computed. More... | |
ShPtr< CFG > | cfg |
CFG of func . More... | |
UseDefChain | ud |
Use-def chains.
See the description of UseDefAnalysis for more info.
using retdec::llvmir2hll::UseDefChains::StmtVarPairSet = std::set<VarStmtPair> |
Set of (variable, statement) pairs.
using retdec::llvmir2hll::UseDefChains::UseDefChain = std::map<VarStmtPair, StmtSet> |
Mapping of a pair (variable, statement) to a set of statements (a use-def chain).
using retdec::llvmir2hll::UseDefChains::VarStmtPair = std::pair<ShPtr<Variable>, ShPtr<Statement> > |
(variable, statement) pair
void retdec::llvmir2hll::UseDefChains::debugPrint | ( | ) |
Emits all the live variables info to standard error.
Only for debugging purposes.
Function for which the chains have been computed.
UseDefChain retdec::llvmir2hll::UseDefChains::ud |
Use-def chain for each variable x
that is used in a statement s: