ROSE
0.9.6a
|
#include <SDG.h>
Public Types | |
enum | EdgeType { ControlDependence, DataDependence, ParameterIn, ParameterOut, Call, Summary } |
The type of the SDG edge. More... | |
enum | ControlDependenceType { cdTrue, cdFalse, cdCase, cdDefault } |
Public Member Functions | |
SDGEdge (EdgeType t) | |
void | setTrue () |
void | setFalse () |
void | setCondition (VirtualCFG::EdgeConditionKind cond, SgExpression *expr=NULL) |
Public Attributes | |
EdgeType | type |
Indicate the type of this edge, whether control or data dependence. More... | |
ControlDependenceType | condition |
The condition attached to edges in the CDG. More... | |
SgExpression * | caseLabel |
If the condition is a case edge, this expression is the case value. More... | |
std::set< VarName > | varNames |
All variable names in data dependence of this edge. More... | |
|
inline |
|
inline |
void SDG::SDGEdge::setCondition | ( | VirtualCFG::EdgeConditionKind | cond, |
SgExpression * | expr = NULL |
||
) |
EdgeType SDG::SDGEdge::type |
ControlDependenceType SDG::SDGEdge::condition |
The condition attached to edges in the CDG.
Definition at line 78 of file SDG.h.
Referenced by setFalse(), and setTrue().
SgExpression* SDG::SDGEdge::caseLabel |
std::set<VarName> SDG::SDGEdge::varNames |