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


Public Member Functions | |
| AstSharedMemoryParallelizableBottomUpProcessing (const AstSharedMemoryParallelProcessingSynchronizationInfo &, const TraversalPtrList &) | |
| void | set_runningParallelTraversal (bool val) |
Public Member Functions inherited from AstCombinedBottomUpProcessing< SynthesizedAttributeType > | |
| AstCombinedBottomUpProcessing () | |
| default constructor More... | |
| AstCombinedBottomUpProcessing (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 AstBottomUpProcessing< std::vector< SynthesizedAttributeType > * > | |
| std::vector < SynthesizedAttributeType > * | traverse (SgNode *node) |
| evaluates attributes on the entire AST More... | |
| std::vector < SynthesizedAttributeType > * | traverseWithinFile (SgNode *node) |
| evaluates attributes only at nodes which represent the same file as where the evaluation was started More... | |
| void | traverseInputFiles (SgProject *projectNode) |
| evaluates attributes only at nodes which represent files which were specified on the command line (=input files). More... | |
Public Member Functions inherited from SgTreeTraversal< DummyAttribute, std::vector< SynthesizedAttributeType > * > | |
| std::vector < SynthesizedAttributeType > * | traverse (SgNode *basenode, DummyAttributeinheritedValue, t_traverseOrder travOrder=preandpostorder) |
| std::vector < SynthesizedAttributeType > * | 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 &) |
Protected Member Functions | |
| virtual SynthesizedAttributeTypeList * | evaluateSynthesizedAttribute (SgNode *astNode, SynthesizedAttributesList synthesizedAttributes) |
| virtual void | atTraversalEnd () |
Protected Member Functions inherited from AstCombinedBottomUpProcessing< SynthesizedAttributeType > | |
| virtual SynthesizedAttributeTypeList * | defaultSynthesizedAttribute () |
| Allows to provide a default value for a synthesized attribute of primitive type (e.g. 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... | |
Protected Member Functions inherited from AstBottomUpProcessing< std::vector< SynthesizedAttributeType > * > | |
| virtual std::vector < SynthesizedAttributeType > * | evaluateSynthesizedAttribute (SgNode *, SynthesizedAttributesList)=0 |
| pure virtual function which must be implemented to compute the synthesized attribute at a node. More... | |
Protected Member Functions inherited from SgTreeTraversal< DummyAttribute, std::vector< SynthesizedAttributeType > * > | |
| virtual void | setNodeSuccessors (SgNode *node, SuccessorsContainer &succContainer) |
| void | set_useDefaultIndexBasedTraversal (bool) |
Private Attributes | |
| size_t | visitedNodes |
| bool | runningParallelTraversal |
| size_t | synchronizationWindowSize |
Additional Inherited Members | |
Protected Types inherited from SgTreeTraversal< DummyAttribute, std::vector< SynthesizedAttributeType > * > | |
| typedef AstSuccessorsSelectors::SuccessorsContainer | SuccessorsContainer |
| typedef SuccessorsContainer & | SuccessorsContainerRef |
Protected Attributes inherited from AstCombinedBottomUpProcessing< SynthesizedAttributeType > | |
| TraversalPtrList | traversals |
Definition at line 206 of file AstSharedMemoryParallelProcessing.h.
| typedef AstCombinedBottomUpProcessing<SynthesizedAttributeType> AstSharedMemoryParallelizableBottomUpProcessing< SynthesizedAttributeType >::Superclass |
Definition at line 211 of file AstSharedMemoryParallelProcessing.h.
| typedef Superclass::TraversalType AstSharedMemoryParallelizableBottomUpProcessing< SynthesizedAttributeType >::TraversalType |
Definition at line 212 of file AstSharedMemoryParallelProcessing.h.
| typedef Superclass::TraversalPtr AstSharedMemoryParallelizableBottomUpProcessing< SynthesizedAttributeType >::TraversalPtr |
Definition at line 213 of file AstSharedMemoryParallelProcessing.h.
| typedef Superclass::TraversalPtrList AstSharedMemoryParallelizableBottomUpProcessing< SynthesizedAttributeType >::TraversalPtrList |
Definition at line 214 of file AstSharedMemoryParallelProcessing.h.
| typedef Superclass::SynthesizedAttributeTypeList AstSharedMemoryParallelizableBottomUpProcessing< SynthesizedAttributeType >::SynthesizedAttributeTypeList |
Definition at line 215 of file AstSharedMemoryParallelProcessing.h.
| typedef Superclass::SynthesizedAttributesList AstSharedMemoryParallelizableBottomUpProcessing< SynthesizedAttributeType >::SynthesizedAttributesList |
Definition at line 216 of file AstSharedMemoryParallelProcessing.h.
| AstSharedMemoryParallelizableBottomUpProcessing< SynthesizedAttributeType >::AstSharedMemoryParallelizableBottomUpProcessing | ( | const AstSharedMemoryParallelProcessingSynchronizationInfo & | , |
| const TraversalPtrList & | |||
| ) |
| void AstSharedMemoryParallelizableBottomUpProcessing< SynthesizedAttributeType >::set_runningParallelTraversal | ( | bool | val) |
Referenced by parallelBottomUpProcessingThread().
|
protectedvirtual |
Reimplemented from AstCombinedBottomUpProcessing< SynthesizedAttributeType >.
|
protectedvirtual |
Reimplemented from AstCombinedBottomUpProcessing< SynthesizedAttributeType >.
|
private |
Definition at line 231 of file AstSharedMemoryParallelProcessing.h.
Referenced by AstSharedMemoryParallelizableBottomUpProcessing< S >::evaluateSynthesizedAttribute().
|
private |
Definition at line 232 of file AstSharedMemoryParallelProcessing.h.
Referenced by AstSharedMemoryParallelizableBottomUpProcessing< S >::atTraversalEnd(), AstSharedMemoryParallelizableBottomUpProcessing< S >::evaluateSynthesizedAttribute(), and AstSharedMemoryParallelizableBottomUpProcessing< S >::set_runningParallelTraversal().
|
private |
Definition at line 233 of file AstSharedMemoryParallelProcessing.h.
Referenced by AstSharedMemoryParallelizableBottomUpProcessing< S >::evaluateSynthesizedAttribute().