ROSE 0.11.145.147
|
Definition at line 244 of file AstSharedMemoryParallelProcessing.h.
Public Member Functions | |
SynthesizedAttributeTypeList * | traverseInParallel (SgNode *basenode) |
AstSharedMemoryParallelBottomUpProcessing (const TraversalPtrList &) | |
void | set_numberOfThreads (size_t threads) |
void | set_synchronizationWindowSize (size_t windowSize) |
Public Member Functions inherited from AstCombinedBottomUpProcessing< SynthesizedAttributeType > | |
AstCombinedBottomUpProcessing () | |
default constructor | |
AstCombinedBottomUpProcessing (const TraversalPtrList &) | |
constructor that makes an internal copy of an existing list of traversals | |
void | addTraversal (TraversalPtr) |
simple function for adding a traversal to the internal list | |
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.) | |
Public Member Functions inherited from AstBottomUpProcessing< std::vector< SynthesizedAttributeType > * > | |
std::vector< SynthesizedAttributeType > * | traverse (SgNode *node) |
evaluates attributes on the entire AST | |
std::vector< SynthesizedAttributeType > * | traverseWithinFile (SgNode *node) |
evaluates attributes only at nodes which represent the same file as where the evaluation was started | |
void | traverseInputFiles (SgProject *projectNode) |
evaluates attributes only at nodes which represent files which were specified on the command line (=input files). | |
Public Member Functions inherited from SgTreeTraversal< InheritedAttributeType, SynthesizedAttributeType > | |
SynthesizedAttributeType | traverse (SgNode *basenode, InheritedAttributeType inheritedValue, t_traverseOrder travOrder=preandpostorder) |
SynthesizedAttributeType | traverseWithinFile (SgNode *basenode, InheritedAttributeType inheritedValue, t_traverseOrder travOrder=preandpostorder) |
void | traverseInputFiles (SgProject *projectNode, InheritedAttributeType inheritedValue, t_traverseOrder travOrder=preandpostorder) |
SgTreeTraversal (const SgTreeTraversal &) | |
const SgTreeTraversal & | operator= (const SgTreeTraversal &) |
Additional Inherited Members | |
Protected Types inherited from SgTreeTraversal< InheritedAttributeType, 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. | |
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. | |
virtual void | atTraversalEnd () |
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. | |
Protected Member Functions inherited from SgTreeTraversal< InheritedAttributeType, SynthesizedAttributeType > | |
virtual InheritedAttributeType | evaluateInheritedAttribute (SgNode *astNode, InheritedAttributeType inheritedValue)=0 |
virtual SynthesizedAttributeType | evaluateSynthesizedAttribute (SgNode *n, InheritedAttributeType in, SynthesizedAttributesList l)=0 |
virtual void | setNodeSuccessors (SgNode *node, SuccessorsContainer &succContainer) |
virtual SynthesizedAttributeType | defaultSynthesizedAttribute (InheritedAttributeType inh) |
void | set_useDefaultIndexBasedTraversal (bool) |
Protected Attributes inherited from AstCombinedBottomUpProcessing< SynthesizedAttributeType > | |
TraversalPtrList | traversals |
typedef AstCombinedBottomUpProcessing<SynthesizedAttributeType> AstSharedMemoryParallelBottomUpProcessing< SynthesizedAttributeType >::Superclass |
Definition at line 248 of file AstSharedMemoryParallelProcessing.h.
typedef Superclass::SynthesizedAttributeTypeList AstSharedMemoryParallelBottomUpProcessing< SynthesizedAttributeType >::SynthesizedAttributeTypeList |
Definition at line 249 of file AstSharedMemoryParallelProcessing.h.
typedef Superclass::TraversalPtr AstSharedMemoryParallelBottomUpProcessing< SynthesizedAttributeType >::TraversalPtr |
Definition at line 250 of file AstSharedMemoryParallelProcessing.h.
typedef Superclass::TraversalPtrList AstSharedMemoryParallelBottomUpProcessing< SynthesizedAttributeType >::TraversalPtrList |
Definition at line 251 of file AstSharedMemoryParallelProcessing.h.
typedef AstSharedMemoryParallelizableBottomUpProcessing<SynthesizedAttributeType>* AstSharedMemoryParallelBottomUpProcessing< SynthesizedAttributeType >::ParallelizableTraversalPtr |
Definition at line 253 of file AstSharedMemoryParallelProcessing.h.
typedef std::vector<ParallelizableTraversalPtr> AstSharedMemoryParallelBottomUpProcessing< SynthesizedAttributeType >::ParallelizableTraversalPtrList |
Definition at line 254 of file AstSharedMemoryParallelProcessing.h.