Skip to content

SageInterface::getLiveVariables

get liveIn and liveOut variables for a for loop from liveness analysis result liv.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
void
getLiveVariables(
    LivenessAnalysis* liv,
    SgForStatement* loop,
    std::set<SgInitializedName*>& liveIns,
    std::set<SgInitializedName*>& liveOuts);

Parameters

Name

Description

loop

This class represents the concept of a for loop.

Created with MrDocs