VariableRenaming::getExpandedDefsAtNodeForName
Get name:num mapping for def of the specified variable at the given node.
Synopsis
Declared in <src/midend/programAnalysis/variableRenaming/VariableRenaming.h>
NumNodeRenameEntry
getExpandedDefsAtNodeForName(
SgNode* node,
VarName const& var);
Description
This will return the combination of expanded defs of the given variable on this node.
ex. s.x = 5; //(s is expanded & s.x is original) Looking for s will return this node, s.x will return empty
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. |
var |
The variable to get defs for. |
Created with MrDocs