Skip to content

SgOmpExecStatement

Synopsis

Declared in <src/frontend/SageIII/Cxx_Grammar.h> (not stored in Git)

class [[visibility("default")]] SgOmpExecStatement
    : public SgStatement

Base Classes

Name Description
SgStatement This class represents the notion of a statement.

Type Aliases

Name
base_node_type

Enums

Name Description
Unnamed enum static variant value
runtime_source_origin_enum

Member Functions

Name Description
SgOmpExecStatement
SgOmpExecStatement(); [constructor]
Constructors
~SgOmpExecStatement
virtual ~SgOmpExecStatement(); [destructor] [virtual]
Destructor
accept
virtual void accept(ROSE_VisitorPattern& visitor) override; [virtual]
support for the classic visitor pattern done in GoF
appendDestructorOwnedNodes
virtual void appendDestructorOwnedNodes(std::vector<SgNode*>& nodes) const override; [virtual]
class_name
virtual std::string class_name() const override; [virtual]
returns a string representing the class name
copy
virtual SgNode* copy(SgCopyHelp& help) const override; [virtual]
fixupCopy_scopes
virtual void fixupCopy_scopes( SgNode* copy, SgCopyHelp& help) const override; [virtual]
get_childIndex
virtual size_t get_childIndex(SgNode* child) const override; [virtual]
index-based access to traversal successors by child node
get_numberOfTraversalSuccessors
virtual size_t get_numberOfTraversalSuccessors() const override; [virtual]
return number of children in the traversal successor list
get_omp_children
SgStatementPtrList const& get_omp_children() const;
get_omp_parent
SgStatement* get_omp_parent() const;
get_runtime_source_function_name
std::string get_runtime_source_function_name() const;
get_runtime_source_is_copied
bool get_runtime_source_is_copied() const;
get_runtime_source_line
int get_runtime_source_line() const;
get_runtime_source_origin
SgOmpExecStatement::runtime_source_origin_enum get_runtime_source_origin() const;
get_runtime_source_physical_file_id
int get_runtime_source_physical_file_id() const;
get_source_form_is_attribute
bool get_source_form_is_attribute() const;
get_traversalSuccessorByIndex
virtual SgNode* get_traversalSuccessorByIndex(size_t idx) const override; [virtual]
index-based access to traversal successors by index number
get_traversalSuccessorContainer
virtual std::vector<SgNode*> get_traversalSuccessorContainer() const override; [virtual]
container of pointers to AST successor nodes used in the traversal overridden in every class by generated implementation
get_traversalSuccessorIsListElement
virtual std::vector<bool> get_traversalSuccessorIsListElement() const override; [virtual]
get_traversalSuccessorNamesContainer
virtual std::vector<std::string> get_traversalSuccessorNamesContainer() const override; [virtual]
container of names of variables or container indices used used in the traversal to access AST successor nodes overridden in every class by generated implementation
initialize_runtime_source_context
void initialize_runtime_source_context( std::string const& function_name, int physical_file_id, int line, runtime_source_origin_enum origin);
mark_runtime_source_context_copied
void mark_runtime_source_context_copied();
operator delete
void operator delete( void* pointer, size_t size);
deallocated memory for IR node (returns memory to memory pool for reuse)
operator new
void* operator new(size_t size);
returns pointer to newly allocated IR node
post_construction_initialization
virtual void post_construction_initialization() override; [virtual]
processDataMemberReferenceToPointers
virtual void processDataMemberReferenceToPointers(ReferenceToPointerHandler*) override; [virtual]
Pass references to stored node pointers to a handler.
returnDataMemberPointers
virtual std::vector<std::pair<SgNode*, std::string>> returnDataMemberPointers() const override; [virtual]
Return the node pointers stored in this node's data members.
roseRTI
virtual RTIReturnType roseRTI() override; [virtual]
return C++ Runtime-Time-Information
sage_class_name
virtual char const* sage_class_name() const override; [virtual]
returns a C style string (char*) representing the class name
set_omp_parent
void set_omp_parent(SgStatement* omp_parent);
set_runtime_source_function_name
void set_runtime_source_function_name(std::string runtime_source_function_name);
set_runtime_source_is_copied
void set_runtime_source_is_copied(bool runtime_source_is_copied);
set_runtime_source_line
void set_runtime_source_line(int runtime_source_line);
set_runtime_source_origin
void set_runtime_source_origin(SgOmpExecStatement::runtime_source_origin_enum runtime_source_origin);
set_runtime_source_physical_file_id
void set_runtime_source_physical_file_id(int runtime_source_physical_file_id);
set_source_form_is_attribute
void set_source_form_is_attribute(bool source_form_is_attribute);
validate_runtime_source_context
void validate_runtime_source_context() const;
variantT
virtual VariantT variantT() const override; [virtual]
returns new style SageIII enum values

Static Member Functions

Name Description
memoryUsage
static size_t memoryUsage();
Returns the size in bytes of the total memory allocated for all IR nodes of this type
numberOfNodes
static size_t numberOfNodes();
Returns the total number of IR nodes of this type
traverseMemoryPoolNodes
static void traverseMemoryPoolNodes(ROSE_VisitTraversal& visit);
FOR INTERNAL USE Support for visitor pattern over all IR nodes by type of IR node.
traverseMemoryPoolVisitorPattern
static void traverseMemoryPoolVisitorPattern(ROSE_VisitorPattern& visitor);
FOR INTERNAL USE Support for visitor pattern.
visitRepresentativeNode
static void visitRepresentativeNode(ROSE_VisitTraversal& visit);
FOR INTERNAL USE Support for type-based traversal.

Static Data Members

Name Description
free_slots Free slots, each numbered pool_index * pool_size + slot_index. The last entry is allocated next.
pool_live_flags
pool_size
pools

Protected Data Members

Name
p_omp_children
p_omp_parent
p_runtime_source_function_name
p_runtime_source_is_copied
p_runtime_source_line
p_runtime_source_origin
p_runtime_source_physical_file_id
p_source_form_is_attribute

Friends

Name Description
isSgOmpExecStatement Casts pointer from base class to derived class (for const pointers)
isSgOmpExecStatement Casts pointer from base class to derived class

Derived Classes

Name Description
SgOmpBarrierStatement
SgOmpBodyStatement
SgOmpClauseStatement
SgOmpEndAssumeStatement
SgOmpNothingStatement
SgOmpTaskwaitStatement
SgOmpTaskyieldStatement

Created with MrDocs