ROSE
0.9.6a
|
#include <AstSharedMemoryParallelProcessing.h>
Public Member Functions | |
AstSharedMemoryParallelizableTopDownProcessing (const AstSharedMemoryParallelProcessingSynchronizationInfo &, const TraversalPtrList &) | |
void | set_runningParallelTraversal (bool val) |
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 &) |
Protected Member Functions | |
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 | atTraversalEnd () |
Protected Member Functions inherited from AstCombinedTopDownProcessing< InheritedAttributeType > | |
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 | destroyInheritedValue (SgNode *, InheritedAttributeTypeList *) |
Private Attributes | |
size_t | visitedNodes |
bool | runningParallelTraversal |
size_t | synchronizationWindowSize |
Additional Inherited Members | |
Protected Types inherited from SgTreeTraversal< std::vector< InheritedAttributeType > *, DummyAttribute > | |
typedef AstSuccessorsSelectors::SuccessorsContainer | SuccessorsContainer |
typedef SuccessorsContainer & | SuccessorsContainerRef |
Protected Attributes inherited from AstCombinedTopDownProcessing< InheritedAttributeType > | |
TraversalPtrList | traversals |
Definition at line 142 of file AstSharedMemoryParallelProcessing.h.
typedef AstCombinedTopDownProcessing<InheritedAttributeType> AstSharedMemoryParallelizableTopDownProcessing< InheritedAttributeType >::Superclass |
Definition at line 147 of file AstSharedMemoryParallelProcessing.h.
typedef Superclass::TraversalType AstSharedMemoryParallelizableTopDownProcessing< InheritedAttributeType >::TraversalType |
Definition at line 148 of file AstSharedMemoryParallelProcessing.h.
typedef Superclass::TraversalPtr AstSharedMemoryParallelizableTopDownProcessing< InheritedAttributeType >::TraversalPtr |
Definition at line 149 of file AstSharedMemoryParallelProcessing.h.
typedef Superclass::TraversalPtrList AstSharedMemoryParallelizableTopDownProcessing< InheritedAttributeType >::TraversalPtrList |
Definition at line 150 of file AstSharedMemoryParallelProcessing.h.
typedef Superclass::InheritedAttributeTypeList AstSharedMemoryParallelizableTopDownProcessing< InheritedAttributeType >::InheritedAttributeTypeList |
Definition at line 151 of file AstSharedMemoryParallelProcessing.h.
AstSharedMemoryParallelizableTopDownProcessing< InheritedAttributeType >::AstSharedMemoryParallelizableTopDownProcessing | ( | const AstSharedMemoryParallelProcessingSynchronizationInfo & | , |
const TraversalPtrList & | |||
) |
void AstSharedMemoryParallelizableTopDownProcessing< InheritedAttributeType >::set_runningParallelTraversal | ( | bool | val) |
Referenced by parallelTopDownProcessingThread().
|
protectedvirtual |
pure virtual function which must be implemented to compute the inherited attribute at a node
Reimplemented from AstCombinedTopDownProcessing< InheritedAttributeType >.
|
protectedvirtual |
Reimplemented from AstCombinedTopDownProcessing< InheritedAttributeType >.
|
private |
Definition at line 166 of file AstSharedMemoryParallelProcessing.h.
Referenced by AstSharedMemoryParallelizableTopDownProcessing< I >::evaluateInheritedAttribute().
|
private |
Definition at line 167 of file AstSharedMemoryParallelProcessing.h.
Referenced by AstSharedMemoryParallelizableTopDownProcessing< I >::atTraversalEnd(), AstSharedMemoryParallelizableTopDownProcessing< I >::evaluateInheritedAttribute(), and AstSharedMemoryParallelizableTopDownProcessing< I >::set_runningParallelTraversal().
|
private |
Definition at line 168 of file AstSharedMemoryParallelProcessing.h.
Referenced by AstSharedMemoryParallelizableTopDownProcessing< I >::evaluateInheritedAttribute().