ROSE
0.9.6a
|
#include <AstSharedMemoryParallelProcessing.h>
Public Member Functions | |
void | traverseInParallel (SgNode *basenode, InheritedAttributeTypeList *inheritedValue) |
AstSharedMemoryParallelTopDownProcessing () | |
AstSharedMemoryParallelTopDownProcessing (const TraversalPtrList &) | |
void | set_numberOfThreads (size_t threads) const |
void | set_synchronizationWindowSize (size_t windowSize) const |
Public Member Functions inherited from AstCombinedTopDownProcessing< InheritedAttributeType > | |
AstCombinedTopDownProcessing () | |
default constructor More... | |
AstCombinedTopDownProcessing (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, zou can use this for any container operations you like (deleting elements etc.) More... | |
Public Member Functions inherited from AstTopDownProcessing< std::vector< InheritedAttributeType > * > | |
void | traverse (SgNode *node, std::vector< InheritedAttributeType > *inheritedValue) |
evaluates attributes on the entire AST More... | |
void | traverseWithinFile (SgNode *node, std::vector< InheritedAttributeType > *inheritedValue) |
evaluates attributes only at nodes which represent the same file as where the evaluation was started More... | |
Public Member Functions inherited from SgTreeTraversal< std::vector< InheritedAttributeType > *, DummyAttribute > | |
DummyAttribute | traverse (SgNode *basenode, std::vector< InheritedAttributeType > *inheritedValue, t_traverseOrder travOrder=preandpostorder) |
DummyAttribute | traverseWithinFile (SgNode *basenode, std::vector< InheritedAttributeType > *inheritedValue, t_traverseOrder travOrder=preandpostorder) |
void | traverseInputFiles (SgProject *projectNode, std::vector< InheritedAttributeType > *inheritedValue, 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< std::vector< InheritedAttributeType > *, DummyAttribute > | |
typedef AstSuccessorsSelectors::SuccessorsContainer | SuccessorsContainer |
typedef SuccessorsContainer & | SuccessorsContainerRef |
Protected Member Functions inherited from AstCombinedTopDownProcessing< InheritedAttributeType > | |
virtual InheritedAttributeTypeList * | evaluateInheritedAttribute (SgNode *astNode, InheritedAttributeTypeList *inheritedValues) |
pure virtual function which must be implemented to compute the inherited attribute at a node More... | |
virtual void | atTraversalStart () |
Function called at the start of the traversal, before any node is visited; override if necessary, the default implementation is a no-op. More... | |
virtual void | atTraversalEnd () |
virtual void | destroyInheritedValue (SgNode *, InheritedAttributeTypeList *) |
Protected Attributes inherited from AstCombinedTopDownProcessing< InheritedAttributeType > | |
TraversalPtrList | traversals |
Definition at line 175 of file AstSharedMemoryParallelProcessing.h.
typedef AstCombinedTopDownProcessing<InheritedAttributeType> AstSharedMemoryParallelTopDownProcessing< InheritedAttributeType >::Superclass |
Definition at line 179 of file AstSharedMemoryParallelProcessing.h.
typedef Superclass::InheritedAttributeTypeList AstSharedMemoryParallelTopDownProcessing< InheritedAttributeType >::InheritedAttributeTypeList |
Definition at line 180 of file AstSharedMemoryParallelProcessing.h.
typedef Superclass::TraversalPtr AstSharedMemoryParallelTopDownProcessing< InheritedAttributeType >::TraversalPtr |
Definition at line 181 of file AstSharedMemoryParallelProcessing.h.
typedef Superclass::TraversalPtrList AstSharedMemoryParallelTopDownProcessing< InheritedAttributeType >::TraversalPtrList |
Definition at line 182 of file AstSharedMemoryParallelProcessing.h.
typedef AstSharedMemoryParallelizableTopDownProcessing<InheritedAttributeType>* AstSharedMemoryParallelTopDownProcessing< InheritedAttributeType >::ParallelizableTraversalPtr |
Definition at line 184 of file AstSharedMemoryParallelProcessing.h.
typedef std::vector<ParallelizableTraversalPtr> AstSharedMemoryParallelTopDownProcessing< InheritedAttributeType >::ParallelizableTraversalPtrList |
Definition at line 185 of file AstSharedMemoryParallelProcessing.h.
AstSharedMemoryParallelTopDownProcessing< I >::AstSharedMemoryParallelTopDownProcessing | ( | ) |
Definition at line 383 of file AstSharedMemoryParallelProcessingImpl.h.
AstSharedMemoryParallelTopDownProcessing< InheritedAttributeType >::AstSharedMemoryParallelTopDownProcessing | ( | const TraversalPtrList & | ) |
void AstSharedMemoryParallelTopDownProcessing< I >::traverseInParallel | ( | SgNode * | basenode, |
InheritedAttributeTypeList * | inheritedValue | ||
) |
void AstSharedMemoryParallelTopDownProcessing< I >::set_numberOfThreads | ( | size_t | threads) | const |
Definition at line 397 of file AstSharedMemoryParallelProcessingImpl.h.
void AstSharedMemoryParallelTopDownProcessing< I >::set_synchronizationWindowSize | ( | size_t | windowSize) | const |
Definition at line 409 of file AstSharedMemoryParallelProcessingImpl.h.
|
private |
Definition at line 196 of file AstSharedMemoryParallelProcessing.h.
|
private |
Definition at line 197 of file AstSharedMemoryParallelProcessing.h.