Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages
defFlowVal Class ReferenceInternal data structure to store dataflow value on reaching definitions.
More...
List of all members.
Detailed Description
Internal data structure to store dataflow value on reaching definitions.
Definition at line 45 of file reaching.cc.
Constructor & Destructor Documentation
|
the constructor.
Note: this constructor for defFlowVal is called from within the reachingGenKillWalker; you will likely not need to call it yourself. Use the new_flowval() function of reachingGenKillWalker to get a new flow value, set to top, with the right values for the reaching definitions problem the walker was called on.
Definition at line 65 of file reaching.cc. |
defFlowVal::~defFlowVal |
( |
void |
|
) |
[inline] |
|
Member Function Documentation
defFlowVal* defFlowVal::clone |
( |
void |
|
) |
const [inline] |
|
void defFlowVal::copy |
( |
defFlowVal * |
other |
) |
[inline] |
|
bool defFlowVal::diff |
( |
defFlowVal * |
other |
) |
const [inline] |
|
void defFlowVal::Difference |
( |
defFlowVal * |
other |
) |
[inline] |
|
bool defFlowVal::in |
( |
int |
i |
) |
const [inline] |
|
void defFlowVal::insert |
( |
int |
i |
) |
[inline] |
|
|
insert a definition into the set, by the index of the definition
Definition at line 99 of file reaching.cc.
References Bits::set(). |
|
insert a definition into the set, by a pointer to the definition
Definition at line 96 of file reaching.cc.
References Bits::set(). |
void defFlowVal::Intersect |
( |
const defFlowVal * |
v |
) |
[inline] |
|
|
set this definition to the intersection of itself with the parameter
Definition at line 114 of file reaching.cc.
References Bits::And(). |
void defFlowVal::meet |
( |
const defFlowVal * |
v |
) |
[inline] |
|
|
meet operator (union for reaching definitions)
Definition at line 127 of file reaching.cc.
References Union. |
void defFlowVal::remove |
( |
int |
i |
) |
[inline] |
|
|
remove a definition from the set, by the index of the definition
Definition at line 105 of file reaching.cc.
References Bits::set(). |
|
remove a definition from the set, by a pointer to the definition
Definition at line 102 of file reaching.cc.
References Bits::set(). |
void defFlowVal::to_top |
( |
void |
|
) |
[inline] |
|
void defFlowVal::Union |
( |
const defFlowVal * |
v |
) |
[inline] |
|
Friends And Related Function Documentation
friend class reachingGenKillWalker [friend]
|
|
Member Data Documentation
Bits* defFlowVal::bits [private]
|
|
int defFlowVal::size [private]
|
|
The documentation for this class was generated from the following file:
|