ROSE 0.11.145.192
|
Filter which determines which CFG nodes appear in the CFg used to propagate reaching definitions.
Getting this right is very important. If an AST node appears twice in the filtered CFG, reaching definitions will be propagated to it from two distinct locations. So, each AST node must appear at most once, (with the exception of SgFunctionDefinition)
Definition at line 14 of file dataflowCfgFilter.h.
#include <midend/programAnalysis/staticSingleAssignment/dataflowCfgFilter.h>
Public Member Functions | |
bool | operator() (CFGNode cfgn) const |
Determines if the provided CFG node should be traversed during DefUse. | |
|
inline |
Determines if the provided CFG node should be traversed during DefUse.
cfgn | The node in question. |
Definition at line 22 of file dataflowCfgFilter.h.
References SgNode::cfgForBeginning(), SgNode::cfgForEnd(), and SgNode::variantT().