Skip to content

VariableRenaming::DefsAndUsesTraversal::addDefForVarAtNode

Mark the given variable as being defined at the node.

Synopsis

Declared in <src/midend/programAnalysis/variableRenaming/VariableRenaming.h>

void
addDefForVarAtNode(
    SgVarRefExp* currentVar,
    SgNode* defNode);

Parameters

Name

Description

currentVar

This class represents the variable refernece in expressions.

defNode

This class represents the base class for all IR nodes within Sage III.

Created with MrDocs