Go to the documentation of this file.
47 :
GraphNode(), type_(type), component_(-1), newFirstBB_(NULL),
62 :
GraphNode(), cdgNode_(&cdgNode), type_(type), component_(-1),
63 newFirstBB_(NULL), lastNode_(
false) {
75 :
GraphNode(), mNode_(&mNode), type_(type), component_(-1),
76 newFirstBB_(NULL), lastNode_(
false) {
143 toString() +
"\",shape=box,color=green";
147 +
toString() +
"\",shape=box,color=blue";
151 +
toString() +
"\",shape=box,color=red";
155 +
toString() +
"\",shape=box,color=red";
159 +
toString() +
"\",shape=box,color=yellow";
170 TCEString msg =
"Trying to create predicate move from Region in ";
187 TCEString msg =
"MoveNode type does not contain move in ";
203 TCEString msg =
"MoveNode type does not contain move in ";
221 TCEString msg =
"ControlNode type does not contain CDGNode in ";
238 TCEString msg =
"ControlNode type does not contain CDGNode in ";
299 for (NodesInfo::const_iterator iter =
region_.begin();
306 for (NodesInfo::const_iterator iter =
eec_.begin();
bool isRegionNode() const
bool isPredicateMoveNode() const
std::string toString() const
std::string toString() const
bool isLoopEntryNode() const
std::string dotString() const
virtual ~ProgramDependenceNode()
void setLoopEntryNode(int component)
std::string toString() const
static std::ostream & logStream()
ProgramDependenceNode(NodeType type=PDG_NODE_REGION)
static std::string toString(const T &source)
std::set< ProgramDependenceNode * > NodesInfo
const NodesInfo & region()
void printRelations() const
int component_
Number of strong component the node belongs to. Node can be part of several strong components so this...
ControlDependenceNode & cdgNode()
NodesInfo region_
Stores "region" information for computing serialization information.
void addToEEC(ProgramDependenceNode &node)
ControlDependenceNode * cdgNode_
void setPredicateMoveNode()
find Finds info of the inner loops in the false
void addToRegion(ProgramDependenceNode &node)
bool isLoopCloseNode() const
NodesInfo eec_
Stores "eec" information for computing serialization information.