Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages
declSetFlowVal Class Referenceflow value for storing sets of declarations for use in dataflow analyses. top is empty set. meet is union, but can be overridden. Implemented to get def/use information, but can be used for other situations where you need sets of variable declarations.
More...
#include <defuse.h>
Inheritance diagram for declSetFlowVal:
List of all members.
Detailed Description
flow value for storing sets of declarations for use in dataflow analyses. top is empty set. meet is union, but can be overridden. Implemented to get def/use information, but can be used for other situations where you need sets of variable declarations.
Definition at line 63 of file defuse.h.
Constructor & Destructor Documentation
declSetFlowVal::declSetFlowVal |
( |
int |
n, |
|
|
map< var_id, int > * |
m, |
|
|
declNode ** |
d |
|
) |
[inline] |
|
declSetFlowVal::~declSetFlowVal |
( |
void |
|
) |
[inline] |
|
Member Function Documentation
FlowVal* declSetFlowVal::clone |
( |
void |
|
) |
const [inline, virtual] |
|
void declSetFlowVal::copy |
( |
FlowVal * |
other |
) |
[inline] |
|
bool declSetFlowVal::diff |
( |
FlowVal * |
other |
) |
const [inline, virtual] |
|
void declSetFlowVal::Difference |
( |
FlowVal * |
other |
) |
[inline] |
|
bool declSetFlowVal::in |
( |
int |
i |
) |
[inline] |
|
bool declSetFlowVal::in |
( |
var_id |
id |
) |
[inline] |
|
void declSetFlowVal::insert |
( |
int |
i |
) |
[inline] |
|
void declSetFlowVal::insert |
( |
var_id |
id |
) |
[inline] |
|
virtual void declSetFlowVal::meet |
( |
const FlowVal * |
v |
) |
[inline, virtual] |
|
|
Definition at line 98 of file dataflow.cc.
References FlowProblem::changed(), FlowVal::clone(), FlowVal::diff(), and FlowVal::meet().
Referenced by whileNode::dataflow(), switchNode::dataflow(), returnNode::dataflow(), gotoNode::dataflow(), forNode::dataflow(), doNode::dataflow(), continueNode::dataflow(), and breakNode::dataflow(). |
void declSetFlowVal::to_top |
( |
void |
|
) |
[inline, virtual] |
|
void declSetFlowVal::Union |
( |
const FlowVal * |
v |
) |
[inline] |
|
Member Data Documentation
Bits* declSetFlowVal::bits [private]
|
|
declNode** declSetFlowVal::decls [private]
|
|
map<var_id, int>* declSetFlowVal::name2num [private]
|
|
int declSetFlowVal::size [private]
|
|
The documentation for this class was generated from the following file:
|