|
clang 23.0.0git
|
This represents 'num_tasks' clause in the '#pragma omp ...' directive. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
| OMPNumTasksClause (OpenMPNumTasksClauseModifier Modifier, Expr *Size, Stmt *HelperSize, OpenMPDirectiveKind CaptureRegion, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ModifierLoc, SourceLocation EndLoc) | |
| Build 'num_tasks' clause. | |
| OMPNumTasksClause () | |
| Build an empty clause. | |
| void | setLParenLoc (SourceLocation Loc) |
| Sets the location of '('. | |
| SourceLocation | getLParenLoc () const |
| Returns the location of '('. | |
| Expr * | getNumTasks () const |
| Return safe iteration space distance. | |
| OpenMPNumTasksClauseModifier | 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 'num_tasks' clause in the '#pragma omp ...' directive.
In this example directive '#pragma omp taskloop' has clause 'num_tasks' with single expression '4'.
Definition at line 7265 of file OpenMPClause.h.
|
inline |
Build 'num_tasks' 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. |
| EndLoc | Ending location of the clause. |
| ModifierLoc | Modifier location. |
| LParenLoc | Location of '('. |
Definition at line 7301 of file OpenMPClause.h.
Referenced by used_children().
|
inlineexplicit |
Build an empty clause.
Definition at line 7312 of file OpenMPClause.h.
|
inline |
Definition at line 7332 of file OpenMPClause.h.
|
inline |
Definition at line 7334 of file OpenMPClause.h.
Definition at line 7343 of file OpenMPClause.h.
|
inline |
Returns the location of '('.
Definition at line 7321 of file OpenMPClause.h.
|
inline |
Gets modifier.
Definition at line 7327 of file OpenMPClause.h.
|
inline |
Gets modifier location.
Definition at line 7330 of file OpenMPClause.h.
|
inline |
Return safe iteration space distance.
Definition at line 7324 of file OpenMPClause.h.
|
inline |
Sets the location of '('.
Definition at line 7318 of file OpenMPClause.h.
| OMPClause::child_range OMPNumTasksClause::used_children | ( | ) |
Definition at line 329 of file OpenMPClause.cpp.
References clang::C, and getAddrOfExprAsWritten().
Referenced by used_children().
|
inline |
Definition at line 7339 of file OpenMPClause.h.
References OMPNumTasksClause(), and used_children().
|
friend |
Definition at line 7266 of file OpenMPClause.h.
References OMPClauseReader.
Referenced by OMPClauseReader.