Skip to content

VariableRenaming::getReachingDefsAtFunctionStartForName

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

Synopsis

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

NumNodeRenameEntry
getReachingDefsAtFunctionStartForName(
    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