Attribute that describes the variables used by a given expression.
Definition at line 14 of file defsAndUsesTraversal.h.
#include <midend/programAnalysis/staticSingleAssignment/defsAndUsesTraversal.h>
◆ ChildUses() [1/3]
ssa_private::ChildUses::ChildUses |
( |
| ) |
|
|
inline |
◆ ChildUses() [2/3]
◆ ChildUses() [3/3]
ssa_private::ChildUses::ChildUses |
( |
const std::vector< SgNode * > & |
useTree, |
|
|
SgVarRefExp * |
var = NULL |
|
) |
| |
|
inline |
Create the attribute with the def and list of uses.
- Parameters
-
useTree | The vector of uses to add, or an empty vector. |
Definition at line 40 of file defsAndUsesTraversal.h.
◆ getUses()
std::vector< SgNode * > & ssa_private::ChildUses::getUses |
( |
| ) |
|
|
inline |
Get the uses for this node and below.
- Returns
- A constant reference to the use list.
Definition at line 51 of file defsAndUsesTraversal.h.
◆ setUses()
void ssa_private::ChildUses::setUses |
( |
const std::vector< SgNode * > & |
newUses | ) |
|
|
inline |
Set the uses for this node and below.
- Parameters
-
newUses | A constant reference to the uses to copy to this node. |
Definition at line 60 of file defsAndUsesTraversal.h.
◆ getCurrentVar()
SgVarRefExp * ssa_private::ChildUses::getCurrentVar |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: