Function simpleUndoFiniteDifferencingOne

Function simpleUndoFiniteDifferencingOne#

Function Documentation#

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

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.