|
clang 23.0.0git
|
This represents 'grainsize' clause in the '#pragma omp ...' directive. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
| OMPGrainsizeClause (OpenMPGrainsizeClauseModifier Modifier, Expr *Size, Stmt *HelperSize, OpenMPDirectiveKind CaptureRegion, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ModifierLoc, SourceLocation EndLoc) | |
| Build 'grainsize' clause. | |
| OMPGrainsizeClause () | |
| Build an empty clause. | |
| void | setLParenLoc (SourceLocation Loc) |
| Sets the location of '('. | |
| SourceLocation | getLParenLoc () const |
| Returns the location of '('. | |
| Expr * | getGrainsize () const |
| Return safe iteration space distance. | |
| OpenMPGrainsizeClauseModifier | getModifier () const |
| Gets modifier. | |
| SourceLocation | getModifierLoc () const |
| Gets modifier location. | |
| child_range | children () |
| const_child_range | children () const |
| child_range | used_children () |
| const_child_range | used_children () const |
Static Public Member Functions | |
| static bool | classof (const OMPClause *T) |
Friends | |
| class | OMPClauseReader |
This represents 'grainsize' clause in the '#pragma omp ...' directive.
In this example directive '#pragma omp taskloop' has clause 'grainsize' with single expression '4'.
Definition at line 7129 of file OpenMPClause.h.
|
inline |
Build 'grainsize' clause.
| Modifier | Clause modifier. |
| Size | Expression associated with this clause. |
| HelperSize | Helper grainsize for the construct. |
| CaptureRegion | Innermost OpenMP region where expressions in this clause must be captured. |
| StartLoc | Starting location of the clause. |
| ModifierLoc | Modifier location. |
| LParenLoc | Location of '('. |
| EndLoc | Ending location of the clause. |
Definition at line 7165 of file OpenMPClause.h.
Referenced by used_children().
|
inlineexplicit |
Build an empty clause.
Definition at line 7176 of file OpenMPClause.h.
|
inline |
Definition at line 7196 of file OpenMPClause.h.
|
inline |
Definition at line 7198 of file OpenMPClause.h.
Definition at line 7207 of file OpenMPClause.h.
|
inline |
Return safe iteration space distance.
Definition at line 7188 of file OpenMPClause.h.
|
inline |
Returns the location of '('.
Definition at line 7185 of file OpenMPClause.h.
|
inline |
Gets modifier.
Definition at line 7191 of file OpenMPClause.h.
|
inline |
Gets modifier location.
Definition at line 7194 of file OpenMPClause.h.
|
inline |
Sets the location of '('.
Definition at line 7182 of file OpenMPClause.h.
| OMPClause::child_range OMPGrainsizeClause::used_children | ( | ) |
Definition at line 322 of file OpenMPClause.cpp.
References clang::C, and getAddrOfExprAsWritten().
Referenced by used_children().
|
inline |
Definition at line 7203 of file OpenMPClause.h.
References OMPGrainsizeClause(), and used_children().
|
friend |
Definition at line 7130 of file OpenMPClause.h.
References OMPClauseReader.
Referenced by OMPClauseReader.