|
Public Member Functions |
| copyFlowVal (threeAddr_set copy_stmts, threeAddr_set ambiguous_defs) |
| the constructor.
|
| ~copyFlowVal (void) |
void | to_top (void) |
| set this flow value to top (i.e., the empty set)
|
void | to_bottom (void) |
copyFlowVal * | clone (void) const |
| get a clone of this flow value
|
threeAddr_set | stmts (void) |
bool | diff (copyFlowVal *other) const |
| returns true iff the two flow values differ
|
bool | in (threeAddrNode *s) |
bool | in (int i) const |
void | insert (threeAddrNode *s) |
| insert a definition into the set, by a pointer to the definition
|
void | insert (int i) |
| insert a definition into the set, by the index of the definition
|
void | remove (threeAddrNode *s) |
| remove a definition from the set, by a pointer to the definition
|
void | remove (int i) |
| remove a definition from the set, by the index of the definition
|
void | copy (copyFlowVal *other) |
| make this flow value a copy of the parameter
|
void | Union (const copyFlowVal *v) |
| set this definition to the union of itself with the parameter
|
void | Intersect (const copyFlowVal *v) |
| set this definition to the intersection of itself with the parameter
|
void | Difference (copyFlowVal *other) |
void | meet (const copyFlowVal *v) |
| meet operator (union for reaching definitions)
|
void | print () |
Static Public Member Functions |
void | clear_dummies () |
Private Attributes |
map< threeAddrNode *, int > | def2num |
map< int, threeAddrNode * > | num2def |
int | size |
Bits * | bits |
Static Private Attributes |
threeAddr_set | dummies |