Classes | Public Member Functions | Protected Member Functions | List of all members
TraverseCallGraphTopDown< InheritedAttribute > Class Template Referenceabstract


template<class InheritedAttribute>
class TraverseCallGraphTopDown< InheritedAttribute >

Definition at line 349 of file CallGraphTraverse.h.

Inheritance diagram for TraverseCallGraphTopDown< InheritedAttribute >:
Inheritance graph
Collaboration diagram for TraverseCallGraphTopDown< InheritedAttribute >:
Collaboration graph

Public Member Functions

 TraverseCallGraphTopDown (SgIncidenceDirectedGraph *graph)
void traverse ()
virtual InheritedAttribute visit (const CGFunction *func, std::list< InheritedAttribute > &fromCallers)=0
virtual InheritedAttribute defaultAttrVal ()
- Public Member Functions inherited from TraverseCallGraph
 TraverseCallGraph (SgIncidenceDirectedGraph *graph)
const CGFunctiongetFunc (SgFunctionDeclaration *decl)
const CGFunctiongetFunc (const Function &func)

Protected Member Functions

void traverse_rec (const CGFunction *fd, std::map< const CGFunction *, funcRecord > &visitRecords, std::set< std::pair< const CGFunction *, const CGFunction * > > &touchedEdges, InheritedAttribute &fromCaller)

Additional Inherited Members

- Protected Attributes inherited from TraverseCallGraph
std::set< CGFunctionfunctions
std::map< const CGFunction *, int > numCallers
std::set< const CGFunction * > noPred

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