Skip to content

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>

Base Classes

Name

Description

AstBottomUpProcessing<ChildUses>

Attribute evaluator for synthesized attributes.

Member Functions

Name

Description

DefsAndUsesTraversal [constructor]

Construct from VariableRenaming

evaluateSynthesizedAttribute [virtual]

Called to evaluate the synthesized attribute on every node.

Private Member Functions

Name

Description

addDefForVarAtNode

Mark the given variable as being defined at the node.

addUsesToNode

Mark all the uses as occurring at the specified node.

Private Data Members

Name

ssa

Created with MrDocs