ROSE 0.11.145.192
Public Types | Public Member Functions | List of all members
AstSharedMemoryParallelTopDownProcessing< InheritedAttributeType > Class Template Reference

Description

template<class InheritedAttributeType>
class AstSharedMemoryParallelTopDownProcessing< InheritedAttributeType >

Definition at line 179 of file AstSharedMemoryParallelProcessing.h.

Inheritance diagram for AstSharedMemoryParallelTopDownProcessing< InheritedAttributeType >:
Inheritance graph
[legend]
Collaboration diagram for AstSharedMemoryParallelTopDownProcessing< InheritedAttributeType >:
Collaboration graph
[legend]

Public Types

typedef AstCombinedTopDownProcessing< InheritedAttributeType > Superclass
 
typedef Superclass::InheritedAttributeTypeList InheritedAttributeTypeList
 
typedef Superclass::TraversalPtr TraversalPtr
 
typedef Superclass::TraversalPtrList TraversalPtrList
 
typedef AstSharedMemoryParallelizableTopDownProcessing< InheritedAttributeType > * ParallelizableTraversalPtr
 
typedef std::vector< ParallelizableTraversalPtrParallelizableTraversalPtrList
 
- Public Types inherited from AstCombinedTopDownProcessing< InheritedAttributeType >
typedef AstTopDownProcessing< InheritedAttributeType > TraversalType
 
typedef TraversalTypeTraversalPtr
 
typedef std::vector< TraversalPtrTraversalPtrList
 
typedef std::vector< InheritedAttributeType > InheritedAttributeTypeList
 
- Public Types inherited from AstTopDownProcessing< std::vector< InheritedAttributeType > * >
typedef SgTreeTraversal< std::vector< InheritedAttributeType > *, DummyAttribute >::SynthesizedAttributesList SynthesizedAttributesList
 
- Public Types inherited from SgTreeTraversal< InheritedAttributeType, SynthesizedAttributeType >
typedef StackFrameVector< SynthesizedAttributeType > SynthesizedAttributesList
 

Public Member Functions

void traverseInParallel (SgNode *basenode, InheritedAttributeTypeList *inheritedValue)
 
 AstSharedMemoryParallelTopDownProcessing (const TraversalPtrList &)
 
void set_numberOfThreads (size_t threads)
 
void set_synchronizationWindowSize (size_t windowSize)
 
- Public Member Functions inherited from AstCombinedTopDownProcessing< InheritedAttributeType >
 AstCombinedTopDownProcessing ()
 default constructor
 
 AstCombinedTopDownProcessing (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, zou can use this for any container operations you like (deleting elements etc.)
 
- Public Member Functions inherited from AstTopDownProcessing< std::vector< InheritedAttributeType > * >
void traverse (SgNode *node, std::vector< InheritedAttributeType > * inheritedValue)
 evaluates attributes on the entire AST
 
void traverseWithinFile (SgNode *node, std::vector< InheritedAttributeType > * inheritedValue)
 evaluates attributes only at nodes which represent the same file as where the evaluation was started
 
- 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 SgTreeTraversaloperator= (const SgTreeTraversal &)
 

Additional Inherited Members

- Protected Types inherited from SgTreeTraversal< InheritedAttributeType, SynthesizedAttributeType >
typedef AstSuccessorsSelectors::SuccessorsContainer SuccessorsContainer
 
typedef SuccessorsContainer & SuccessorsContainerRef
 
- Protected Member Functions inherited from AstCombinedTopDownProcessing< InheritedAttributeType >
virtual InheritedAttributeTypeList * evaluateInheritedAttribute (SgNode *astNode, InheritedAttributeTypeList *inheritedValues)
 pure virtual function which must be implemented to compute the inherited attribute at a node
 
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 ()
 
virtual void destroyInheritedValue (SgNode *, InheritedAttributeTypeList *)
 
- Protected Member Functions inherited from AstTopDownProcessing< std::vector< InheritedAttributeType > * >
virtual void destroyInheritedValue (SgNode *, std::vector< InheritedAttributeType > *)
 
- 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)
 
void set_useDefaultIndexBasedTraversal (bool)
 
- Protected Attributes inherited from AstCombinedTopDownProcessing< InheritedAttributeType >
TraversalPtrList traversals
 

Member Typedef Documentation

◆ Superclass

template<class InheritedAttributeType >
typedef AstCombinedTopDownProcessing<InheritedAttributeType> AstSharedMemoryParallelTopDownProcessing< InheritedAttributeType >::Superclass

Definition at line 183 of file AstSharedMemoryParallelProcessing.h.

◆ InheritedAttributeTypeList

template<class InheritedAttributeType >
typedef Superclass::InheritedAttributeTypeList AstSharedMemoryParallelTopDownProcessing< InheritedAttributeType >::InheritedAttributeTypeList

Definition at line 184 of file AstSharedMemoryParallelProcessing.h.

◆ TraversalPtr

template<class InheritedAttributeType >
typedef Superclass::TraversalPtr AstSharedMemoryParallelTopDownProcessing< InheritedAttributeType >::TraversalPtr

Definition at line 185 of file AstSharedMemoryParallelProcessing.h.

◆ TraversalPtrList

template<class InheritedAttributeType >
typedef Superclass::TraversalPtrList AstSharedMemoryParallelTopDownProcessing< InheritedAttributeType >::TraversalPtrList

Definition at line 186 of file AstSharedMemoryParallelProcessing.h.

◆ ParallelizableTraversalPtr

template<class InheritedAttributeType >
typedef AstSharedMemoryParallelizableTopDownProcessing<InheritedAttributeType>* AstSharedMemoryParallelTopDownProcessing< InheritedAttributeType >::ParallelizableTraversalPtr

Definition at line 188 of file AstSharedMemoryParallelProcessing.h.

◆ ParallelizableTraversalPtrList

template<class InheritedAttributeType >
typedef std::vector<ParallelizableTraversalPtr> AstSharedMemoryParallelTopDownProcessing< InheritedAttributeType >::ParallelizableTraversalPtrList

Definition at line 189 of file AstSharedMemoryParallelProcessing.h.


The documentation for this class was generated from the following file: