Skip to content

legacy::expressionComputedIn

Is the expression expr computed within root? This test is simple, and does not account for changes to the variables in expr.

Synopsis

Declared in <src/midend/programTransformation/partialRedundancyElimination/pre.h>

bool
expressionComputedIn(
    SgExpression* expr,
    SgNode* root);

Parameters

Name

Description

expr

This class represents the notion of an expression. Expressions

root

This class represents the base class for all IR nodes within Sage III.

Created with MrDocs