ROSE
0.9.6a
|
#include <AstSharedMemoryParallelProcessing.h>
Public Member Functions | |
SynthesizedAttributeTypeList * | traverseInParallel (SgNode *basenode) |
AstSharedMemoryParallelBottomUpProcessing () | |
AstSharedMemoryParallelBottomUpProcessing (const TraversalPtrList &) | |
void | set_numberOfThreads (size_t threads) const |
void | set_synchronizationWindowSize (size_t windowSize) const |
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 &) |
Private Attributes | |
size_t | numberOfThreads |
size_t | synchronizationWindowSize |
Additional Inherited Members | |
Protected Types inherited from SgTreeTraversal< DummyAttribute, std::vector< SynthesizedAttributeType > * > | |
typedef AstSuccessorsSelectors::SuccessorsContainer | SuccessorsContainer |
typedef SuccessorsContainer & | SuccessorsContainerRef |
Protected Member Functions inherited from AstCombinedBottomUpProcessing< SynthesizedAttributeType > | |
virtual SynthesizedAttributeTypeList * | evaluateSynthesizedAttribute (SgNode *astNode, SynthesizedAttributesList synthesizedAttributes) |
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... | |
virtual void | atTraversalEnd () |
Protected Attributes inherited from AstCombinedBottomUpProcessing< SynthesizedAttributeType > | |
TraversalPtrList | traversals |
Definition at line 240 of file AstSharedMemoryParallelProcessing.h.
typedef AstCombinedBottomUpProcessing<SynthesizedAttributeType> AstSharedMemoryParallelBottomUpProcessing< SynthesizedAttributeType >::Superclass |
Definition at line 244 of file AstSharedMemoryParallelProcessing.h.
typedef Superclass::SynthesizedAttributeTypeList AstSharedMemoryParallelBottomUpProcessing< SynthesizedAttributeType >::SynthesizedAttributeTypeList |
Definition at line 245 of file AstSharedMemoryParallelProcessing.h.
typedef Superclass::TraversalPtr AstSharedMemoryParallelBottomUpProcessing< SynthesizedAttributeType >::TraversalPtr |
Definition at line 246 of file AstSharedMemoryParallelProcessing.h.
typedef Superclass::TraversalPtrList AstSharedMemoryParallelBottomUpProcessing< SynthesizedAttributeType >::TraversalPtrList |
Definition at line 247 of file AstSharedMemoryParallelProcessing.h.
typedef AstSharedMemoryParallelizableBottomUpProcessing<SynthesizedAttributeType>* AstSharedMemoryParallelBottomUpProcessing< SynthesizedAttributeType >::ParallelizableTraversalPtr |
Definition at line 249 of file AstSharedMemoryParallelProcessing.h.
typedef std::vector<ParallelizableTraversalPtr> AstSharedMemoryParallelBottomUpProcessing< SynthesizedAttributeType >::ParallelizableTraversalPtrList |
Definition at line 250 of file AstSharedMemoryParallelProcessing.h.
AstSharedMemoryParallelBottomUpProcessing< S >::AstSharedMemoryParallelBottomUpProcessing | ( | ) |
Definition at line 570 of file AstSharedMemoryParallelProcessingImpl.h.
AstSharedMemoryParallelBottomUpProcessing< SynthesizedAttributeType >::AstSharedMemoryParallelBottomUpProcessing | ( | const TraversalPtrList & | ) |
AstSharedMemoryParallelBottomUpProcessing< S >::SynthesizedAttributeTypeList * AstSharedMemoryParallelBottomUpProcessing< S >::traverseInParallel | ( | SgNode * | basenode) |
void AstSharedMemoryParallelBottomUpProcessing< S >::set_numberOfThreads | ( | size_t | threads) | const |
Definition at line 584 of file AstSharedMemoryParallelProcessingImpl.h.
void AstSharedMemoryParallelBottomUpProcessing< S >::set_synchronizationWindowSize | ( | size_t | windowSize) | const |
Definition at line 596 of file AstSharedMemoryParallelProcessingImpl.h.
|
private |
Definition at line 261 of file AstSharedMemoryParallelProcessing.h.
|
private |
Definition at line 262 of file AstSharedMemoryParallelProcessing.h.