ROSE
0.9.6a
|
Attribute that describes the variables used by a given expression. More...
Public Member Functions | |
ChildUses () | |
Create the attribute with no refs. More... | |
ChildUses (SgNode *useNode, SgVarRefExp *var) | |
ChildUses (const std::vector< SgNode * > &useTree, SgVarRefExp *var=NULL) | |
Create the attribute with the def and list of uses. More... | |
std::vector< SgNode * > & | getUses () |
Get the uses for this node and below. More... | |
void | setUses (const std::vector< SgNode * > &newUses) |
Set the uses for this node and below. More... | |
SgVarRefExp * | getCurrentVar () const |
Private Attributes | |
SgVarRefExp * | currentVar |
An assignment to the current expression in the AST would define this variable. More... | |
std::vector< SgNode * > | uses |
Stores all the varRefs that are used in the current subTree. More... | |
Attribute that describes the variables used by a given expression.
Definition at line 931 of file VariableRenaming.h.
|
inline |
Create the attribute with no refs.
Definition at line 943 of file VariableRenaming.h.
|
inline |
Definition at line 946 of file VariableRenaming.h.
References currentVar, and uses.
|
inline |
Create the attribute with the def and list of uses.
useTree | The vector of uses to add, or an empty vector. |
Definition at line 956 of file VariableRenaming.h.
References currentVar, and uses.
|
inline |
Get the uses for this node and below.
Definition at line 967 of file VariableRenaming.h.
References uses.
|
inline |
Set the uses for this node and below.
newUses | A constant reference to the uses to copy to this node. |
Definition at line 976 of file VariableRenaming.h.
References uses.
|
inline |
Definition at line 981 of file VariableRenaming.h.
References currentVar.
|
private |
An assignment to the current expression in the AST would define this variable.
Definition at line 935 of file VariableRenaming.h.
Referenced by ChildUses(), and getCurrentVar().
|
private |
Stores all the varRefs that are used in the current subTree.
Definition at line 938 of file VariableRenaming.h.
Referenced by ChildUses(), getUses(), and setUses().