ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TraverseCallGraphBottomUp< SynthesizedAttribute > Class Template Referenceabstract

#include <CallGraphTraverse.h>

Inheritance diagram for TraverseCallGraphBottomUp< SynthesizedAttribute >:
Collaboration diagram for TraverseCallGraphBottomUp< SynthesizedAttribute >:

Public Member Functions

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

Protected Member Functions

SynthesizedAttribute traverse_rec (const CGFunction *fd, std::map< const CGFunction *, SynthesizedAttribute > &visitRecords, std::set< std::pair< const CGFunction *, const CGFunction * > > &touchedEdges)
 

Additional Inherited Members

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

Detailed Description

template<class SynthesizedAttribute>
class TraverseCallGraphBottomUp< SynthesizedAttribute >

Definition at line 376 of file CallGraphTraverse.h.

Constructor & Destructor Documentation

template<class SynthesizedAttribute >
TraverseCallGraphBottomUp< SynthesizedAttribute >::TraverseCallGraphBottomUp ( SgIncidenceDirectedGraph graph)
template<class SynthesizedAttribute >
virtual TraverseCallGraphBottomUp< SynthesizedAttribute >::~TraverseCallGraphBottomUp ( )
virtual

Member Function Documentation

template<class SynthesizedAttribute >
void TraverseCallGraphBottomUp< SynthesizedAttribute >::traverse ( )
template<class SynthesizedAttribute >
virtual SynthesizedAttribute TraverseCallGraphBottomUp< SynthesizedAttribute >::visit ( const CGFunction func,
std::list< SynthesizedAttribute >  fromCallees 
)
pure virtual
template<class SynthesizedAttribute >
virtual SynthesizedAttribute TraverseCallGraphBottomUp< SynthesizedAttribute >::defaultAttrVal ( )
inlinevirtual

Definition at line 385 of file CallGraphTraverse.h.

template<class SynthesizedAttribute >
SynthesizedAttribute TraverseCallGraphBottomUp< SynthesizedAttribute >::traverse_rec ( const CGFunction fd,
std::map< const CGFunction *, SynthesizedAttribute > &  visitRecords,
std::set< std::pair< const CGFunction *, const CGFunction * > > &  touchedEdges 
)
protected

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