Skip to content

AstUtilInterface::ComputeAstSideEffects

Returns the collection of memory references modified, read, and invoked (as function calls) as potential side effects of running the given ast, inside the given scope.

Synopsis

Declared in <src/midend/astUtil/AstUtilInterface.h>

void
ComputeAstSideEffects(
    SgNode* ast,
    std::function<bool(AstNodePtr const&, AstNodePtr const&, OperatorSideEffect)>* collect = 0,
    SaveOperatorSideEffectInterface* add_to_dep_table = 0);

Parameters

Name

Description

ast

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

Created with MrDocs