VariableRenaming::resolveUses¶
Called to update the uses on the current node.
Synopsis¶
Declared in <src/midend/programAnalysis/variableRenaming/VariableRenaming.h>
bool
resolveUses(
cfgNode curNode,
bool* memberRefInserted,
NodeVec& changedNodes); Description¶
This will update the uses at this node to point to the defs that were propogated from previous nodes. If it locates a use of a def that did not exist, it will attempt to locate the definition site of the base variable and insert a def there. It will then set the outParameter to indicate that it back-inserted a def.
Return Value¶
Whether the uses were different from those already on the node.
Parameters¶
| Name | Description |
|---|---|
| curNode | The node to resolve uses on. |
| memberRefInserted | Reference that indicates whether the function back-inserted a definition. |
| changedNodes | Vector of SgNode* |
Created with MrDocs