ROSE
0.9.6a
|
#include <AstSharedMemoryParallelSimpleProcessing.h>
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 TraversalType * | TraversalPtr |
typedef std::vector< TraversalPtr > | TraversalPtrList |
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... | |
TraversalPtrList & | get_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 SgTreeTraversal & | operator= (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 SuccessorsContainer & | SuccessorsContainerRef |
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 |
Definition at line 106 of file AstSharedMemoryParallelSimpleProcessing.h.
Definition at line 110 of file AstSharedMemoryParallelSimpleProcessing.h.
Definition at line 111 of file AstSharedMemoryParallelSimpleProcessing.h.
Definition at line 112 of file AstSharedMemoryParallelSimpleProcessing.h.
typedef AstSharedMemoryParallelizablePrePostProcessing* AstSharedMemoryParallelPrePostProcessing::ParallelizableTraversalPtr |
Definition at line 114 of file AstSharedMemoryParallelSimpleProcessing.h.
typedef std::vector<ParallelizableTraversalPtr> AstSharedMemoryParallelPrePostProcessing::ParallelizableTraversalPtrList |
Definition at line 115 of file AstSharedMemoryParallelSimpleProcessing.h.
AstSharedMemoryParallelPrePostProcessing::AstSharedMemoryParallelPrePostProcessing | ( | int | threads) |
AstSharedMemoryParallelPrePostProcessing::AstSharedMemoryParallelPrePostProcessing | ( | const TraversalPtrList & | , |
int | threads | ||
) |
void AstSharedMemoryParallelPrePostProcessing::traverseInParallel | ( | SgNode * | basenode) |
|
private |
Definition at line 123 of file AstSharedMemoryParallelSimpleProcessing.h.
|
private |
Definition at line 124 of file AstSharedMemoryParallelSimpleProcessing.h.