ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AstSharedMemoryParallelPrePostProcessing Class Reference

#include <AstSharedMemoryParallelSimpleProcessing.h>

Inheritance diagram for AstSharedMemoryParallelPrePostProcessing:
Collaboration diagram for AstSharedMemoryParallelPrePostProcessing:

Public Types

typedef
AstCombinedPrePostProcessing 
Superclass
 
typedef Superclass::TraversalPtr TraversalPtr
 
typedef
Superclass::TraversalPtrList 
TraversalPtrList
 
typedef
AstSharedMemoryParallelizablePrePostProcessing
ParallelizableTraversalPtr
 
typedef std::vector
< ParallelizableTraversalPtr
ParallelizableTraversalPtrList
 
- Public Types inherited from AstCombinedPrePostProcessing
typedef AstPrePostProcessing TraversalType
 
typedef TraversalTypeTraversalPtr
 
typedef std::vector< TraversalPtrTraversalPtrList
 

Public Member Functions

 AstSharedMemoryParallelPrePostProcessing (int threads)
 
 AstSharedMemoryParallelPrePostProcessing (const TraversalPtrList &, int threads)
 
void traverseInParallel (SgNode *basenode)
 
- Public Member Functions inherited from AstCombinedPrePostProcessing
 AstCombinedPrePostProcessing ()
 default constructor More...
 
 AstCombinedPrePostProcessing (const TraversalPtrList &)
 constructor that makes an internal copy of an existing list of traversals More...
 
void addTraversal (TraversalPtr)
 simple function for adding a traversal to the internal list More...
 
TraversalPtrListget_traversalPtrListRef ()
 function for obtaining a reference to the internal list of traversals, you can use this for any container operations you like (deleting elements etc.) More...
 
- Public Member Functions inherited from AstPrePostProcessing
void traverse (SgNode *node)
 traverse the entire AST More...
 
void traverseWithinFile (SgNode *node)
 traverse only nodes which represent the same file as where the traversal was started More...
 
void traverseInputFiles (SgProject *projectNode)
 traverse only nodes which represent files which were specified on the command line (=input files). More...
 
- Public Member Functions inherited from SgTreeTraversal< DummyAttribute, DummyAttribute >
DummyAttribute traverse (SgNode *basenode, DummyAttributeinheritedValue, t_traverseOrder travOrder=preandpostorder)
 
DummyAttribute traverseWithinFile (SgNode *basenode, DummyAttributeinheritedValue, t_traverseOrder travOrder=preandpostorder)
 
void traverseInputFiles (SgProject *projectNode, DummyAttributeinheritedValue, t_traverseOrder travOrder=preandpostorder)
 
virtual ~SgTreeTraversal ()
 
 SgTreeTraversal ()
 
 SgTreeTraversal (const SgTreeTraversal &)
 
const SgTreeTraversaloperator= (const SgTreeTraversal &)
 

Private Attributes

size_t numberOfThreads
 
size_t synchronizationWindowSize
 

Additional Inherited Members

- Protected Types inherited from SgTreeTraversal< DummyAttribute, DummyAttribute >
typedef
AstSuccessorsSelectors::SuccessorsContainer 
SuccessorsContainer
 
typedef SuccessorsContainerSuccessorsContainerRef
 
- Protected Member Functions inherited from AstCombinedPrePostProcessing
virtual void preOrderVisit (SgNode *astNode)
 these methods are called at every traversed node. More...
 
virtual void postOrderVisit (SgNode *astNode)
 this method is called at every traversed node after its children were traversed More...
 
virtual void atTraversalStart ()
 functions called when the traversal starts and ends, respectively More...
 
virtual void atTraversalEnd ()
 
- Protected Attributes inherited from AstCombinedPrePostProcessing
TraversalPtrList traversals
 

Detailed Description

Definition at line 106 of file AstSharedMemoryParallelSimpleProcessing.h.

Member Typedef Documentation

Constructor & Destructor Documentation

AstSharedMemoryParallelPrePostProcessing::AstSharedMemoryParallelPrePostProcessing ( int  threads)
AstSharedMemoryParallelPrePostProcessing::AstSharedMemoryParallelPrePostProcessing ( const TraversalPtrList ,
int  threads 
)

Member Function Documentation

void AstSharedMemoryParallelPrePostProcessing::traverseInParallel ( SgNode basenode)

Member Data Documentation

size_t AstSharedMemoryParallelPrePostProcessing::numberOfThreads
private

Definition at line 123 of file AstSharedMemoryParallelSimpleProcessing.h.

size_t AstSharedMemoryParallelPrePostProcessing::synchronizationWindowSize
private

Definition at line 124 of file AstSharedMemoryParallelSimpleProcessing.h.


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