clang
10.0.0git
|
This represents 'num_tasks' clause in the '#pragma omp ...' directive. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
OMPNumTasksClause (Expr *Size, Stmt *HelperSize, OpenMPDirectiveKind CaptureRegion, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) | |
Build 'num_tasks' clause. More... | |
OMPNumTasksClause () | |
Build an empty clause. More... | |
void | setLParenLoc (SourceLocation Loc) |
Sets the location of '('. More... | |
SourceLocation | getLParenLoc () const |
Returns the location of '('. More... | |
Expr * | getNumTasks () const |
Return safe iteration space distance. More... | |
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 5421 of file OpenMPClause.h.
|
inline |
Build 'num_tasks' clause.
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. |
Definition at line 5442 of file OpenMPClause.h.
|
inlineexplicit |
Build an empty clause.
Definition at line 5451 of file OpenMPClause.h.
|
inline |
Definition at line 5464 of file OpenMPClause.h.
|
inline |
Definition at line 5466 of file OpenMPClause.h.
References clang::OMPClause::used_children().
Definition at line 5476 of file OpenMPClause.h.
|
inline |
Returns the location of '('.
Definition at line 5459 of file OpenMPClause.h.
Referenced by clang::ASTRecordWriter::writeOMPClause().
|
inline |
Return safe iteration space distance.
Definition at line 5462 of file OpenMPClause.h.
Referenced by OMPNontemporalClause::setPrivateRefs(), and clang::ASTRecordWriter::writeOMPClause().
|
inline |
Sets the location of '('.
Definition at line 5456 of file OpenMPClause.h.
OMPClause::child_range OMPNumTasksClause::used_children | ( | ) |
Definition at line 250 of file OpenMPClause.cpp.
References clang::C, and getAddrOfExprAsWritten().
|
inline |
Definition at line 5471 of file OpenMPClause.h.
References clang::OMPClause::used_children().
|
friend |
Definition at line 5422 of file OpenMPClause.h.