Class VariableRenaming::DefsAndUsesTraversal#
Defined in File VariableRenaming.h
Nested Relationships#
This class is a nested type of Class VariableRenaming.
Inheritance Relationships#
Base Type#
public AstBottomUpProcessing< ChildUses >(Template Class AstBottomUpProcessing)
Class Documentation#
-
class DefsAndUsesTraversal : public AstBottomUpProcessing<ChildUses>#
This class collects all the defs and uses associated with each node in the traversed CFG.
Note that this does not compute reachability information; it just records each instance of a variable used or defined.
Public Functions
-
inline DefsAndUsesTraversal(VariableRenaming *ssa)#
-
virtual ChildUses evaluateSynthesizedAttribute(SgNode *node, SynthesizedAttributesList attrs)#
Called to evaluate the synthesized attribute on every node.
This function will handle passing all variables that are defined and used by a given operation.
- Parameters:
node – The node being evaluated.
attr – The attributes from the child nodes.
- Returns:
The attribute at this node.
-
inline DefsAndUsesTraversal(VariableRenaming *ssa)#