ROSE
0.9.6a
|
#include <AstSharedMemoryParallelSimpleProcessing.h>
Public Member Functions | |
AstSharedMemoryParallelSimpleProcessing (int threads) | |
AstSharedMemoryParallelSimpleProcessing (const TraversalPtrList &, int threads) | |
void | traverseInParallel (SgNode *basenode, t_traverseOrder treeTraverseOrder) |
Public Member Functions inherited from AstCombinedSimpleProcessing | |
AstCombinedSimpleProcessing () | |
default constructor More... | |
AstCombinedSimpleProcessing (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 AstSimpleProcessing | |
void | traverse (SgNode *node, Order treeTraversalOrder) |
traverse the entire AST. Order defines preorder (preorder) or postorder (postorder) traversal. Default is 'preorder'. More... | |
void | traverseWithinFile (SgNode *node, Order treeTraversalOrder) |
traverse only nodes which represent the same file as where the traversal was started More... | |
void | traverseInputFiles (SgProject *projectNode, Order treeTraversalOrder) |
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 AstCombinedSimpleProcessing | |
virtual void | visit (SgNode *astNode) |
this method is called at every traversed node. More... | |
virtual void | atTraversalStart () |
GB (06/04/2007): A new virtual function called at the start of the traversal, before any node is actually visited; can be used to perform a "last-minute" computation of attributes that may have changed since the constructor was executed, but are constant during the traversal itself. More... | |
virtual void | atTraversalEnd () |
Protected Attributes inherited from AstCombinedSimpleProcessing | |
TraversalPtrList | traversals |
Definition at line 49 of file AstSharedMemoryParallelSimpleProcessing.h.
Definition at line 53 of file AstSharedMemoryParallelSimpleProcessing.h.
Definition at line 54 of file AstSharedMemoryParallelSimpleProcessing.h.
Definition at line 55 of file AstSharedMemoryParallelSimpleProcessing.h.
typedef AstSharedMemoryParallelizableSimpleProcessing* AstSharedMemoryParallelSimpleProcessing::ParallelizableTraversalPtr |
Definition at line 57 of file AstSharedMemoryParallelSimpleProcessing.h.
typedef std::vector<ParallelizableTraversalPtr> AstSharedMemoryParallelSimpleProcessing::ParallelizableTraversalPtrList |
Definition at line 58 of file AstSharedMemoryParallelSimpleProcessing.h.
AstSharedMemoryParallelSimpleProcessing::AstSharedMemoryParallelSimpleProcessing | ( | int | threads) |
AstSharedMemoryParallelSimpleProcessing::AstSharedMemoryParallelSimpleProcessing | ( | const TraversalPtrList & | , |
int | threads | ||
) |
void AstSharedMemoryParallelSimpleProcessing::traverseInParallel | ( | SgNode * | basenode, |
t_traverseOrder | treeTraverseOrder | ||
) |
|
private |
Definition at line 66 of file AstSharedMemoryParallelSimpleProcessing.h.
|
private |
Definition at line 67 of file AstSharedMemoryParallelSimpleProcessing.h.