Skip to content

VariableRenaming::getDefsAtNode

Get name:num mapping for all defs at the given node.

Synopsis

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

NumNodeRenameTable
getDefsAtNode(SgNode* node);

Description

This will return the combination of original and expanded defs on this node.

ex. s.x = 5; //This will return s.x and s (s.x is original & s is expanded)

Return Value

A table mapping VarName‐>(num, defNode) for every varName defined at node. Empty table otherwise.

Parameters

Name

Description

node

The node to get defs for.

Created with MrDocs