clang
8.0.0
|
This represents 'dist_schedule' clause in the '#pragma omp ...' directive. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
OMPDistScheduleClause (SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation KLoc, SourceLocation CommaLoc, SourceLocation EndLoc, OpenMPDistScheduleClauseKind Kind, Expr *ChunkSize, Stmt *HelperChunkSize) | |
Build 'dist_schedule' clause with schedule kind Kind and chunk size expression ChunkSize. More... | |
OMPDistScheduleClause () | |
Build an empty clause. More... | |
OpenMPDistScheduleClauseKind | getDistScheduleKind () const |
Get kind of the clause. More... | |
SourceLocation | getLParenLoc () |
Get location of '('. More... | |
SourceLocation | getDistScheduleKindLoc () |
Get kind location. More... | |
SourceLocation | getCommaLoc () |
Get location of ','. More... | |
Expr * | getChunkSize () |
Get chunk size. More... | |
const Expr * | getChunkSize () const |
Get chunk size. More... | |
child_range | children () |
Static Public Member Functions | |
static bool | classof (const OMPClause *T) |
Friends | |
class | OMPClauseReader |
This represents 'dist_schedule' clause in the '#pragma omp ...' directive.
In this example directive '#pragma omp distribute' has 'dist_schedule' clause with arguments 'static' and '3'.
Definition at line 4644 of file OpenMPClause.h.
|
inline |
Build 'dist_schedule' clause with schedule kind Kind and chunk size expression ChunkSize.
StartLoc | Starting location of the clause. |
LParenLoc | Location of '('. |
KLoc | Starting location of the argument. |
CommaLoc | Location of ','. |
EndLoc | Ending location of the clause. |
Kind | DistSchedule kind. |
ChunkSize | Chunk size. |
HelperChunkSize | Helper chunk size for combined directives. |
Definition at line 4699 of file OpenMPClause.h.
|
inlineexplicit |
Build an empty clause.
Definition at line 4711 of file OpenMPClause.h.
|
inline |
Definition at line 4733 of file OpenMPClause.h.
Definition at line 4738 of file OpenMPClause.h.
|
inline |
Get chunk size.
Definition at line 4728 of file OpenMPClause.h.
Referenced by OMPIsDevicePtrClause::CreateEmpty(), clang::TreeTransform< Derived >::TransformOMPExecutableDirective(), and clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().
|
inline |
Get chunk size.
Definition at line 4731 of file OpenMPClause.h.
|
inline |
Get location of ','.
Definition at line 4725 of file OpenMPClause.h.
Referenced by clang::TreeTransform< Derived >::TransformOMPExecutableDirective(), and clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().
|
inline |
Get kind of the clause.
Definition at line 4716 of file OpenMPClause.h.
Referenced by OMPIsDevicePtrClause::CreateEmpty(), clang::TreeTransform< Derived >::TransformOMPExecutableDirective(), and clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().
|
inline |
Get kind location.
Definition at line 4722 of file OpenMPClause.h.
Referenced by clang::TreeTransform< Derived >::TransformOMPExecutableDirective(), and clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().
|
inline |
Get location of '('.
Definition at line 4719 of file OpenMPClause.h.
Referenced by clang::TreeTransform< Derived >::TransformOMPExecutableDirective(), and clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().
|
friend |
Definition at line 4645 of file OpenMPClause.h.