C-Breeze
C Compiler Infrastructure

[ Project home page]

callGraphNode Class Reference

node in the call graph. More...

#include <callgraph.h>

List of all members.

Public Member Functions

 callGraphNode (procNode *proc)
void add_edge (callGraphNode *to)
procNodeproc () const
 Accessors.
const callgraph_edge_listcalls () const
const callgraph_edge_listcalled_by () const
int times_called ()
void ancestors (callgraph_node_set &ancestors_set)

Private Member Functions

int times_called (callgraph_node_set &visited)

Private Attributes

procNode_proc
callgraph_edge_list _calls
callgraph_edge_list _called_by
int _times_called


Detailed Description

node in the call graph.

Definition at line 55 of file callgraph.h.


Constructor & Destructor Documentation

callGraphNode::callGraphNode procNode proc  )  [inline]
 

Definition at line 66 of file callgraph.h.


Member Function Documentation

void callGraphNode::add_edge callGraphNode to  ) 
 

void callGraphNode::ancestors callgraph_node_set ancestors_set  ) 
 

const callgraph_edge_list& callGraphNode::called_by  )  const [inline]
 

Return the list of every function which calls this one returns callGraphNodes.

Definition at line 89 of file callgraph.h.

References _called_by.

const callgraph_edge_list& callGraphNode::calls  )  const [inline]
 

Return the list of every function called by this one returns callGraphNodes.

Definition at line 83 of file callgraph.h.

References _calls.

procNode* callGraphNode::proc  )  const [inline]
 

Accessors.

Return the procedure represented by this callGraphNode

Definition at line 78 of file callgraph.h.

References _proc.

int callGraphNode::times_called callgraph_node_set visited  )  [private]
 

int callGraphNode::times_called  ) 
 

Return the number of times this function is called


Member Data Documentation

callgraph_edge_list callGraphNode::_called_by [private]
 

Definition at line 61 of file callgraph.h.

Referenced by called_by().

callgraph_edge_list callGraphNode::_calls [private]
 

Definition at line 60 of file callgraph.h.

Referenced by calls().

procNode* callGraphNode::_proc [private]
 

Definition at line 59 of file callgraph.h.

Referenced by proc().

int callGraphNode::_times_called [private]
 

Definition at line 62 of file callgraph.h.


The documentation for this class was generated from the following file:

Generated on February 1, 2006
Back to the C-Breeze home page