|
clang 22.0.0git
|
This represents 'dyn_groupprivate' clause in '#pragma omp target ...' and '#pragma omp teams ...' directives. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
| OMPDynGroupprivateClause (SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, Expr *Size, Stmt *HelperSize, OpenMPDirectiveKind CaptureRegion, OpenMPDynGroupprivateClauseModifier M1, SourceLocation M1Loc, OpenMPDynGroupprivateClauseFallbackModifier M2, SourceLocation M2Loc) | |
| Build 'dyn_groupprivate' clause with a size expression Size. | |
| OMPDynGroupprivateClause () | |
| Build an empty clause. | |
| OpenMPDynGroupprivateClauseModifier | getDynGroupprivateModifier () const |
| Get the first modifier of the clause. | |
| OpenMPDynGroupprivateClauseFallbackModifier | getDynGroupprivateFallbackModifier () const |
| Get the second modifier of the clause. | |
| SourceLocation | getLParenLoc () |
| Get location of '('. | |
| SourceLocation | getDynGroupprivateModifierLoc () const |
| Get the first modifier location. | |
| SourceLocation | getDynGroupprivateFallbackModifierLoc () const |
| Get the second modifier location. | |
| Expr * | getSize () |
| Get size. | |
| const Expr * | getSize () const |
| Get size. | |
| child_range | children () |
| const_child_range | children () const |
| child_range | used_children () |
| const_child_range | used_children () const |
| Public Member Functions inherited from clang::OMPClause | |
| SourceLocation | getBeginLoc () const |
| Returns the starting location of the clause. | |
| SourceLocation | getEndLoc () const |
| Returns the ending location of the clause. | |
| void | setLocStart (SourceLocation Loc) |
| Sets the starting location of the clause. | |
| void | setLocEnd (SourceLocation Loc) |
| Sets the ending location of the clause. | |
| OpenMPClauseKind | getClauseKind () const |
| Returns kind of OpenMP clause (private, shared, reduction, etc.). | |
| bool | isImplicit () const |
| child_range | children () |
| const_child_range | children () const |
| child_range | used_children () |
| Get the iterator range for the expressions used in the clauses. | |
| const_child_range | used_children () const |
| Public Member Functions inherited from clang::OMPClauseWithPreInit | |
| const Stmt * | getPreInitStmt () const |
| Get pre-initialization statement for the clause. | |
| Stmt * | getPreInitStmt () |
| Get pre-initialization statement for the clause. | |
| OpenMPDirectiveKind | getCaptureRegion () const |
| Get capture region for the stmt in the clause. | |
Static Public Member Functions | |
| static bool | classof (const OMPClause *T) |
| Static Public Member Functions inherited from clang::OMPClause | |
| static bool | classof (const OMPClause *) |
| Static Public Member Functions inherited from clang::OMPClauseWithPreInit | |
| static OMPClauseWithPreInit * | get (OMPClause *C) |
| static const OMPClauseWithPreInit * | get (const OMPClause *C) |
Friends | |
| class | OMPClauseReader |
Additional Inherited Members | |
| Public Types inherited from clang::OMPClause | |
| using | child_iterator = StmtIterator |
| using | const_child_iterator = ConstStmtIterator |
| using | child_range = llvm::iterator_range<child_iterator> |
| using | const_child_range = llvm::iterator_range<const_child_iterator> |
| Protected Member Functions inherited from clang::OMPClause | |
| OMPClause (OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) | |
| Protected Member Functions inherited from clang::OMPClauseWithPreInit | |
| OMPClauseWithPreInit (const OMPClause *This) | |
| void | setPreInitStmt (Stmt *S, OpenMPDirectiveKind ThisRegion=llvm::omp::OMPD_unknown) |
| Set pre-initialization statement for the clause. | |
This represents 'dyn_groupprivate' clause in '#pragma omp target ...' and '#pragma omp teams ...' directives.
Definition at line 10077 of file OpenMPClause.h.
|
inline |
Build 'dyn_groupprivate' clause with a size expression Size.
| StartLoc | Starting location of the clause. |
| LParenLoc | Location of '('. |
| EndLoc | Ending location of the clause. |
| Size | Size. |
| M1 | The first modifier applied to 'dyn_groupprivate' clause. |
| M1Loc | Location of the first modifier. |
| M2 | The second modifier applied to 'dyn_groupprivate' clause. |
| M2Loc | Location of the second modifier. |
Definition at line 10139 of file OpenMPClause.h.
References clang::OMPClause::OMPClause(), clang::OMPClauseWithPreInit::OMPClauseWithPreInit(), and clang::OMPClauseWithPreInit::setPreInitStmt().
Referenced by children().
|
inlineexplicit |
Build an empty clause.
Definition at line 10156 of file OpenMPClause.h.
References clang::OMPC_DYN_GROUPPRIVATE_FALLBACK_unknown, clang::OMPC_DYN_GROUPPRIVATE_unknown, clang::OMPClause::OMPClause(), and clang::OMPClauseWithPreInit::OMPClauseWithPreInit().
|
inline |
Definition at line 10195 of file OpenMPClause.h.
Referenced by children().
|
inline |
Definition at line 10200 of file OpenMPClause.h.
References Children, children(), and OMPDynGroupprivateClause().
Definition at line 10212 of file OpenMPClause.h.
References clang::OMPClause::OMPClause(), and clang::T.
|
inline |
Get the second modifier of the clause.
Definition at line 10171 of file OpenMPClause.h.
|
inline |
Get the second modifier location.
Definition at line 10185 of file OpenMPClause.h.
|
inline |
Get the first modifier of the clause.
Definition at line 10165 of file OpenMPClause.h.
|
inline |
Get the first modifier location.
Definition at line 10180 of file OpenMPClause.h.
|
inline |
Get location of '('.
Definition at line 10177 of file OpenMPClause.h.
|
inline |
Get size.
Definition at line 10190 of file OpenMPClause.h.
|
inline |
Get size.
Definition at line 10193 of file OpenMPClause.h.
|
inline |
Definition at line 10205 of file OpenMPClause.h.
|
inline |
Definition at line 10208 of file OpenMPClause.h.
|
friend |
Definition at line 10078 of file OpenMPClause.h.
References OMPClauseReader.
Referenced by OMPClauseReader.