Skip to content

VariableRenaming::addRenameNumberForNode

Add an entry to the renumbering table for the given var and node.

Synopsis

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

int
addRenameNumberForNode(
    VarName const& var,
    SgNode* node);

Description

This will place a new entry into the renaming table that renumbers var at node. This new definition will have the next available numbering of var. If the var @ node combination already exists, the number will be returned.

Return Value

The renumbering assigned to ver @ node.

Parameters

Name

Description

var

The variable to renumber.

node

The node that defines the new number.

Created with MrDocs