clang
9.0.0
|
This represents 'grainsize' clause in the '#pragma omp ...' directive. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
OMPGrainsizeClause (Expr *Size, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) | |
Build 'grainsize' clause. More... | |
OMPGrainsizeClause () | |
Build an empty clause. More... | |
void | setLParenLoc (SourceLocation Loc) |
Sets the location of '('. More... | |
SourceLocation | getLParenLoc () const |
Returns the location of '('. More... | |
Expr * | getGrainsize () 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 'grainsize' clause in the '#pragma omp ...' directive.
In this example directive '#pragma omp taskloop' has clause 'grainsize' with single expression '4'.
Definition at line 5236 of file OpenMPClause.h.
|
inline |
Build 'grainsize' clause.
Size | Expression associated with this clause. |
StartLoc | Starting location of the clause. |
EndLoc | Ending location of the clause. |
Definition at line 5254 of file OpenMPClause.h.
|
inlineexplicit |
Build an empty clause.
Definition at line 5260 of file OpenMPClause.h.
|
inline |
Definition at line 5272 of file OpenMPClause.h.
|
inline |
Definition at line 5274 of file OpenMPClause.h.
Definition at line 5285 of file OpenMPClause.h.
|
inline |
Return safe iteration space distance.
Definition at line 5270 of file OpenMPClause.h.
Referenced by OMPIsDevicePtrClause::CreateEmpty(), and clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().
|
inline |
Returns the location of '('.
Definition at line 5267 of file OpenMPClause.h.
Referenced by clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().
|
inline |
Sets the location of '('.
Definition at line 5264 of file OpenMPClause.h.
|
inline |
Definition at line 5278 of file OpenMPClause.h.
|
inline |
Definition at line 5281 of file OpenMPClause.h.
|
friend |
Definition at line 5237 of file OpenMPClause.h.