|
ROSE
0.9.6a
|
#include <AstSharedMemoryParallelProcessing.h>


Public Member Functions | |
| AstSharedMemoryParallelizableTopDownBottomUpProcessing (const AstSharedMemoryParallelProcessingSynchronizationInfo &, const TraversalPtrList &) | |
| void | set_runningParallelTraversal (bool val) |
Public Member Functions inherited from AstCombinedTopDownBottomUpProcessing< InheritedAttributeType, SynthesizedAttributeType > | |
| AstCombinedTopDownBottomUpProcessing () | |
| default constructor More... | |
| AstCombinedTopDownBottomUpProcessing (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 AstTopDownBottomUpProcessing< std::vector< InheritedAttributeType > *, std::vector< SynthesizedAttributeType > * > | |
| std::vector < SynthesizedAttributeType > * | traverse (SgNode *node, std::vector< InheritedAttributeType > *inheritedValue) |
| evaluates attributes on the entire AST More... | |
| std::vector < SynthesizedAttributeType > * | 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 > *, std::vector< SynthesizedAttributeType > * > | |
| std::vector < SynthesizedAttributeType > * | traverse (SgNode *basenode, std::vector< InheritedAttributeType > *inheritedValue, t_traverseOrder travOrder=preandpostorder) |
| std::vector < SynthesizedAttributeType > * | 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 | visitedNodes |
| bool | runningParallelTraversal |
| size_t | synchronizationWindowSize |
Additional Inherited Members | |
Protected Types inherited from SgTreeTraversal< std::vector< InheritedAttributeType > *, std::vector< SynthesizedAttributeType > * > | |
| typedef AstSuccessorsSelectors::SuccessorsContainer | SuccessorsContainer |
| typedef SuccessorsContainer & | SuccessorsContainerRef |
Protected Attributes inherited from AstCombinedTopDownBottomUpProcessing< InheritedAttributeType, SynthesizedAttributeType > | |
| TraversalPtrList | traversals |
Definition at line 74 of file AstSharedMemoryParallelProcessing.h.
| typedef AstCombinedTopDownBottomUpProcessing<InheritedAttributeType, SynthesizedAttributeType> AstSharedMemoryParallelizableTopDownBottomUpProcessing< InheritedAttributeType, SynthesizedAttributeType >::Superclass |
Definition at line 79 of file AstSharedMemoryParallelProcessing.h.
| typedef Superclass::TraversalType AstSharedMemoryParallelizableTopDownBottomUpProcessing< InheritedAttributeType, SynthesizedAttributeType >::TraversalType |
Definition at line 80 of file AstSharedMemoryParallelProcessing.h.
| typedef Superclass::TraversalPtr AstSharedMemoryParallelizableTopDownBottomUpProcessing< InheritedAttributeType, SynthesizedAttributeType >::TraversalPtr |
Definition at line 81 of file AstSharedMemoryParallelProcessing.h.
| typedef Superclass::TraversalPtrList AstSharedMemoryParallelizableTopDownBottomUpProcessing< InheritedAttributeType, SynthesizedAttributeType >::TraversalPtrList |
Definition at line 82 of file AstSharedMemoryParallelProcessing.h.
| typedef Superclass::InheritedAttributeTypeList AstSharedMemoryParallelizableTopDownBottomUpProcessing< InheritedAttributeType, SynthesizedAttributeType >::InheritedAttributeTypeList |
Definition at line 83 of file AstSharedMemoryParallelProcessing.h.
| typedef Superclass::SynthesizedAttributeTypeList AstSharedMemoryParallelizableTopDownBottomUpProcessing< InheritedAttributeType, SynthesizedAttributeType >::SynthesizedAttributeTypeList |
Definition at line 84 of file AstSharedMemoryParallelProcessing.h.
| typedef Superclass::SynthesizedAttributesList AstSharedMemoryParallelizableTopDownBottomUpProcessing< InheritedAttributeType, SynthesizedAttributeType >::SynthesizedAttributesList |
Definition at line 85 of file AstSharedMemoryParallelProcessing.h.
| AstSharedMemoryParallelizableTopDownBottomUpProcessing< InheritedAttributeType, SynthesizedAttributeType >::AstSharedMemoryParallelizableTopDownBottomUpProcessing | ( | const AstSharedMemoryParallelProcessingSynchronizationInfo & | , |
| const TraversalPtrList & | |||
| ) |
| void AstSharedMemoryParallelizableTopDownBottomUpProcessing< InheritedAttributeType, SynthesizedAttributeType >::set_runningParallelTraversal | ( | bool | val) |
Referenced by parallelTopDownBottomUpProcessingThread().
|
protectedvirtual |
pure virtual function which must be implemented to compute the inherited attribute at a node
Reimplemented from AstCombinedTopDownBottomUpProcessing< InheritedAttributeType, SynthesizedAttributeType >.
|
protectedvirtual |
|
private |
Definition at line 100 of file AstSharedMemoryParallelProcessing.h.
Referenced by AstSharedMemoryParallelizableTopDownBottomUpProcessing< I, S >::evaluateInheritedAttribute().
|
private |
Definition at line 101 of file AstSharedMemoryParallelProcessing.h.
Referenced by AstSharedMemoryParallelizableTopDownBottomUpProcessing< I, S >::atTraversalEnd(), AstSharedMemoryParallelizableTopDownBottomUpProcessing< I, S >::evaluateInheritedAttribute(), and AstSharedMemoryParallelizableTopDownBottomUpProcessing< I, S >::set_runningParallelTraversal().
|
private |
Definition at line 102 of file AstSharedMemoryParallelProcessing.h.
Referenced by AstSharedMemoryParallelizableTopDownBottomUpProcessing< I, S >::evaluateInheritedAttribute().