Class ControlNode#

Inheritance Relationships#

Base Type#

Class Documentation#

class ControlNode : public SimpleDirectedGraphNode#

This class is a node in the CFG. It can either be an SgNode or it can be a special entry or exit node (since there are some empty blocks in the CFG).

Public Types

enum Type#

Values:

enumerator SGNODE#
enumerator EMPTY#

Public Functions

inline ControlNode(SgNode *node = NULL)#
inline SgNode *getNode()#
inline Type getType()#
inline int getID(ControlFlowGraph::ID_dir dir)#
inline void setID(int id, ControlFlowGraph::ID_dir dir)#
inline virtual void writeOut(std::ostream &os)#

virtual function to support displaying node information