ROSE
0.11.145.0
|
Attribute that describes the variables used by a given expression.
Definition at line 16 of file defsAndUsesUnfilteredCfg.h.
#include <midend/programAnalysis/ssaUnfilteredCfg/defsAndUsesUnfilteredCfg.h>
Public Member Functions | |
ChildUses () | |
Create the attribute with no refs. More... | |
ChildUses (SgVarRefExp *useNode, SgVarRefExp *var) | |
ChildUses (const std::set< SgVarRefExp * > &useTree, SgVarRefExp *var=NULL) | |
Create the attribute with the def and list of uses. More... | |
std::set< SgVarRefExp * > & | getUses () |
Get the uses for this node and below. More... | |
void | setUses (const std::set< SgVarRefExp * > &newUses) |
Set the uses for this node and below. More... | |
SgVarRefExp * | getCurrentVar () const |
|
inline |
Create the attribute with no refs.
Definition at line 28 of file defsAndUsesUnfilteredCfg.h.
|
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 40 of file defsAndUsesUnfilteredCfg.h.
|
inline |
Get the uses for this node and below.
Definition at line 50 of file defsAndUsesUnfilteredCfg.h.
|
inline |
Set the uses for this node and below.
newUses | A constant reference to the uses to copy to this node. |
Definition at line 59 of file defsAndUsesUnfilteredCfg.h.