VariableRenaming::DefsAndUsesTraversal
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.
Synopsis
Declared in <src/midend/programAnalysis/variableRenaming/VariableRenaming.h>
class DefsAndUsesTraversal
: public AstBottomUpProcessing<ChildUses>
Base Classes
Name |
Description |
Attribute evaluator for synthesized attributes. |
Member Functions
Name |
Description |
|
Construct from |
|
Called to evaluate the synthesized attribute on every node. |
Private Member Functions
Name |
Description |
Mark the given variable as being defined at the node. |
|
Mark all the uses as occurring at the specified node. |