clang 22.0.0git
|
Contains data for OpenMP directives: clauses, children expressions/statements (helpers for codegen) and associated statement, if any. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
unsigned | getNumClauses () const |
unsigned | getNumChildren () const |
bool | hasAssociatedStmt () const |
void | setAssociatedStmt (Stmt *S) |
Set associated statement. | |
void | setChildren (ArrayRef< Stmt * > Children) |
void | setClauses (ArrayRef< OMPClause * > Clauses) |
Sets the list of variables for this clause. | |
const Stmt * | getAssociatedStmt () const |
Returns statement associated with the directive. | |
Stmt * | getAssociatedStmt () |
MutableArrayRef< OMPClause * > | getClauses () |
Get the clauses storage. | |
ArrayRef< OMPClause * > | getClauses () const |
const CapturedStmt * | getCapturedStmt (OpenMPDirectiveKind RegionKind, ArrayRef< OpenMPDirectiveKind > CaptureRegions) const |
Returns the captured statement associated with the component region within the (combined) directive. | |
CapturedStmt * | getInnermostCapturedStmt (ArrayRef< OpenMPDirectiveKind > CaptureRegions) |
Get innermost captured statement for the construct. | |
const CapturedStmt * | getInnermostCapturedStmt (ArrayRef< OpenMPDirectiveKind > CaptureRegions) const |
MutableArrayRef< Stmt * > | getChildren () |
ArrayRef< Stmt * > | getChildren () const |
Stmt * | getRawStmt () |
const Stmt * | getRawStmt () const |
Stmt::child_range | getAssociatedStmtAsRange () |
Friends | |
class | OMPClauseReader |
class | OMPExecutableDirective |
template<typename T> | |
class | OMPDeclarativeDirective |
Contains data for OpenMP directives: clauses, children expressions/statements (helpers for codegen) and associated statement, if any.
Definition at line 9592 of file OpenMPClause.h.
|
inline |
Definition at line 9650 of file OpenMPClause.h.
|
inline |
Returns statement associated with the directive.
Definition at line 9647 of file OpenMPClause.h.
References getAssociatedStmt().
Referenced by getAssociatedStmt(), getCapturedStmt(), getInnermostCapturedStmt(), and getRawStmt().
|
inline |
Definition at line 9722 of file OpenMPClause.h.
|
inline |
Returns the captured statement associated with the component region within the (combined) directive.
RegionKind | Component region kind. |
Definition at line 9669 of file OpenMPClause.h.
References clang::cast(), and getAssociatedStmt().
MutableArrayRef< Stmt * > OMPChildren::getChildren | ( | ) |
Definition at line 33 of file StmtOpenMP.cpp.
Referenced by getChildren().
Definition at line 9701 of file OpenMPClause.h.
References getChildren().
|
inline |
Get the clauses storage.
Definition at line 9657 of file OpenMPClause.h.
Referenced by getClauses().
Definition at line 9660 of file OpenMPClause.h.
References getClauses().
|
inline |
Get innermost captured statement for the construct.
Definition at line 9684 of file OpenMPClause.h.
References clang::cast(), getAssociatedStmt(), and hasAssociatedStmt().
Referenced by getInnermostCapturedStmt().
|
inline |
Definition at line 9695 of file OpenMPClause.h.
References getInnermostCapturedStmt().
|
inline |
Definition at line 9630 of file OpenMPClause.h.
|
inline |
Definition at line 9629 of file OpenMPClause.h.
|
inline |
Definition at line 9705 of file OpenMPClause.h.
References getAssociatedStmt().
Referenced by getRawStmt().
|
inline |
Definition at line 9718 of file OpenMPClause.h.
References getRawStmt().
|
inline |
Definition at line 9631 of file OpenMPClause.h.
Referenced by getInnermostCapturedStmt().
|
inline |
Set associated statement.
Definition at line 9634 of file OpenMPClause.h.
Sets the list of variables for this clause.
Clauses | The list of clauses for the directive. |
Definition at line 27 of file StmtOpenMP.cpp.
|
friend |
Definition at line 9595 of file OpenMPClause.h.
References OMPClauseReader.
Referenced by OMPClauseReader.
|
friend |
Definition at line 9597 of file OpenMPClause.h.
References OMPDeclarativeDirective.
Referenced by OMPDeclarativeDirective.
|
friend |
Definition at line 9596 of file OpenMPClause.h.
References OMPExecutableDirective.
Referenced by OMPExecutableDirective.