ROSE
0.9.6a
|
#include <DependenceGraph.h>
Public Types | |
enum | NodeType { CONTROL =0, SGNODE =1, CALLSITE =2, ACTUALIN =3, ACTUALOUT =4, FORMALIN =5, FORMALOUT =6, ENTRY =7, ACTUALRETURN =8, FORMALRETURN =9, NUM_NODE_TYPES, CONTROL =0, SGNODE =1, CALLSITE =2, ACTUALIN =3, ACTUALOUT =4, FORMALIN =5, FORMALOUT =6, ENTRY =7, ACTUALRETURN =8, FORMALRETURN =9, NUM_NODE_TYPES } |
enum | NodeType { CONTROL =0, SGNODE =1, CALLSITE =2, ACTUALIN =3, ACTUALOUT =4, FORMALIN =5, FORMALOUT =6, ENTRY =7, ACTUALRETURN =8, FORMALRETURN =9, NUM_NODE_TYPES, CONTROL =0, SGNODE =1, CALLSITE =2, ACTUALIN =3, ACTUALOUT =4, FORMALIN =5, FORMALOUT =6, ENTRY =7, ACTUALRETURN =8, FORMALRETURN =9, NUM_NODE_TYPES } |
Public Member Functions | |
bool | isDummyNode () |
DependenceNode (SgNode *node) | |
DependenceNode (NodeType type, SgNode *node=NULL, std::string depName="") | |
DependenceNode (NodeType type, std::string depName) | |
virtual | ~DependenceNode () |
void | highlightNode () |
void | unHighlightNode () |
bool | isHighlighted () |
SgNode * | getSgNode () |
NodeType | getType () |
std::string | getName () |
void | setName (std::string newName) |
bool | isInterproc () |
bool | isFormal () |
bool | isActual () |
bool | isFormalReturn () |
virtual void | writeOut (std::ostream &os) |
virtual function to support displaying node information More... | |
bool | isDummyNode () |
DependenceNode (SgNode *node) | |
DependenceNode (NodeType type, SgNode *node=NULL, std::string depName="") | |
DependenceNode (NodeType type, std::string depName) | |
virtual | ~DependenceNode () |
void | highlightNode () |
void | unHighlightNode () |
bool | isHighlighted () |
SgNode * | getSgNode () |
NodeType | getType () |
std::string | getName () |
void | setName (std::string newName) |
bool | isInterproc () |
bool | isFormal () |
bool | isActual () |
bool | isFormalReturn () |
virtual void | writeOut (std::ostream &os) |
virtual function to support displaying node information More... | |
Public Member Functions inherited from SimpleDirectedGraphNode | |
~SimpleDirectedGraphNode () | |
std::set < SimpleDirectedGraphNode * > | getSuccessors () |
get the nodes which are pointed to by the current node More... | |
std::set < SimpleDirectedGraphNode * > | getPredecessors () |
get the nodes which point to the current node More... | |
void | addSuccessor (SimpleDirectedGraphNode *n) |
add an edge from the current node to n More... | |
void | addPredecessor (SimpleDirectedGraphNode *n) |
add an edge from n to the current node More... | |
bool | hasSuccessor (SimpleDirectedGraphNode *n) |
test whether n is a successor of the current node More... | |
bool | hasPredecessor (SimpleDirectedGraphNode *n) |
test whether n is a predecessor of the current node More... | |
int | numSuccessors () |
return the number of outgoing edges More... | |
int | numPredecessors () |
return the number of incoming edges More... | |
virtual | ~SimpleDirectedGraphNode () |
std::set < SimpleDirectedGraphNode * > | getSuccessors () |
get the nodes which are pointed to by the current node More... | |
std::set < SimpleDirectedGraphNode * > | getPredecessors () |
get the nodes which point to the current node More... | |
void | addSuccessor (SimpleDirectedGraphNode *n) |
add an edge from the current node to n More... | |
void | addPredecessor (SimpleDirectedGraphNode *n) |
add an edge from n to the current node More... | |
void | removeSuccessor (SimpleDirectedGraphNode *n) |
void | removePredecessor (SimpleDirectedGraphNode *n) |
bool | hasSuccessor (SimpleDirectedGraphNode *n) |
test whether n is a successor of the current node More... | |
bool | hasPredecessor (SimpleDirectedGraphNode *n) |
test whether n is a predecessor of the current node More... | |
int | numSuccessors () |
return the number of outgoing edges More... | |
int | numPredecessors () |
return the number of incoming edges More... | |
Static Public Attributes | |
static const char * | typeNames [NUM_NODE_TYPES] |
Protected Attributes | |
bool | highlight |
Private Attributes | |
NodeType | depType |
SgNode * | sgNode |
std::string | name |
Definition at line 163 of file DependenceGraph.h.
Definition at line 174 of file DependenceGraph.h.
Definition at line 174 of file NEW_DependenceGraph.h.
|
inline |
Definition at line 230 of file DependenceGraph.h.
|
inline |
Definition at line 233 of file DependenceGraph.h.
|
inline |
Definition at line 240 of file DependenceGraph.h.
|
inlinevirtual |
Definition at line 246 of file DependenceGraph.h.
|
inline |
Definition at line 230 of file NEW_DependenceGraph.h.
|
inline |
Definition at line 233 of file NEW_DependenceGraph.h.
|
inline |
Definition at line 240 of file NEW_DependenceGraph.h.
|
inlinevirtual |
Definition at line 246 of file NEW_DependenceGraph.h.
|
inline |
Definition at line 197 of file DependenceGraph.h.
|
inline |
Definition at line 248 of file DependenceGraph.h.
|
inline |
Definition at line 252 of file DependenceGraph.h.
|
inline |
Definition at line 256 of file DependenceGraph.h.
|
inline |
Definition at line 262 of file DependenceGraph.h.
|
inline |
Definition at line 268 of file DependenceGraph.h.
|
inline |
Definition at line 274 of file DependenceGraph.h.
References name.
|
inline |
Definition at line 279 of file DependenceGraph.h.
References name.
|
inline |
Definition at line 289 of file DependenceGraph.h.
|
inline |
Definition at line 306 of file DependenceGraph.h.
|
inline |
Definition at line 319 of file DependenceGraph.h.
|
inline |
Definition at line 330 of file DependenceGraph.h.
References isSgFunctionDeclaration().
|
inlinevirtual |
virtual function to support displaying node information
Reimplemented from SimpleDirectedGraphNode.
Definition at line 340 of file DependenceGraph.h.
References escapeString(), SgFunctionDefinition::get_declaration(), SgFunctionDeclaration::get_name(), SgInitializedName::get_qualified_name(), SgName::getString(), isSgExpressionRoot(), isSgFunctionDeclaration(), isSgFunctionDefinition(), isSgInitializedName(), and SgName::str().
|
inline |
Definition at line 197 of file NEW_DependenceGraph.h.
|
inline |
Definition at line 248 of file NEW_DependenceGraph.h.
|
inline |
Definition at line 252 of file NEW_DependenceGraph.h.
|
inline |
Definition at line 256 of file NEW_DependenceGraph.h.
|
inline |
Definition at line 262 of file NEW_DependenceGraph.h.
|
inline |
Definition at line 268 of file NEW_DependenceGraph.h.
|
inline |
Definition at line 274 of file NEW_DependenceGraph.h.
References name.
|
inline |
Definition at line 279 of file NEW_DependenceGraph.h.
References name.
|
inline |
Definition at line 289 of file NEW_DependenceGraph.h.
|
inline |
Definition at line 306 of file NEW_DependenceGraph.h.
|
inline |
Definition at line 319 of file NEW_DependenceGraph.h.
|
inline |
Definition at line 330 of file NEW_DependenceGraph.h.
References isSgFunctionDeclaration().
|
inlinevirtual |
virtual function to support displaying node information
Reimplemented from SimpleDirectedGraphNode.
Definition at line 340 of file NEW_DependenceGraph.h.
References escapeString(), SgFunctionDefinition::get_declaration(), SgFunctionDeclaration::get_name(), SgInitializedName::get_qualified_name(), SgName::getString(), isSgExpressionRoot(), isSgFunctionDeclaration(), isSgFunctionDefinition(), isSgInitializedName(), and SgName::str().
|
static |
Definition at line 209 of file DependenceGraph.h.
|
private |
Definition at line 443 of file DependenceGraph.h.
|
private |
Definition at line 444 of file DependenceGraph.h.
|
private |
Definition at line 446 of file DependenceGraph.h.
|
protected |
Definition at line 449 of file DependenceGraph.h.