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