Skip to content

VariableRenaming::getReachingDefsAtFunctionEndForName

Get the versions of a variable at the end of the given function.

Synopsis

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

NumNodeRenameEntry
getReachingDefsAtFunctionEndForName(
    SgFunctionDefinition* node,
    VarName const& var);

Return Value

A table of (num, defNode) for the given variable. Empty table otherwise.

Parameters

Name

Description

node

The function definition to get definitions for.

var

The varName to get definitions for.

Created with MrDocs