Skip to content

simpleUndoFiniteDifferencingOne

Propagate definitions of a variable to its uses. Assumptions: var is only assigned at the top level of body nothing var depends on is assigned within body Very simple algorithm designed to only handle simplest cases

Synopsis

Declared in <src/midend/programTransformation/finiteDifferencing/finiteDifferencing.h>

void
simpleUndoFiniteDifferencingOne(
    SgBasicBlock* body,
    SgExpression* var);

Parameters

Name

Description

body

This class represents the concept of a block (not a basic block from control flow analysis).

var

This class represents the notion of an expression. Expressions

Created with MrDocs