clang
3.7.0
|
This represents 'schedule' clause in the '#pragma omp ...' directive. More...
#include <OpenMPClause.h>
Public Member Functions | |
OMPScheduleClause (SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation KLoc, SourceLocation CommaLoc, SourceLocation EndLoc, OpenMPScheduleClauseKind Kind, Expr *ChunkSize, Expr *HelperChunkSize) | |
Build 'schedule' clause with schedule kind Kind and chunk size expression ChunkSize. More... | |
OMPScheduleClause () | |
Build an empty clause. More... | |
OpenMPScheduleClauseKind | getScheduleKind () const |
Get kind of the clause. More... | |
SourceLocation | getLParenLoc () |
Get location of '('. More... | |
SourceLocation | getScheduleKindLoc () |
Get kind location. More... | |
SourceLocation | getCommaLoc () |
Get location of ','. More... | |
Expr * | getChunkSize () |
Get chunk size. More... | |
Expr * | getChunkSize () const |
Get chunk size. More... | |
Expr * | getHelperChunkSize () |
Get helper chunk size. More... | |
Expr * | getHelperChunkSize () const |
Get helper chunk size. More... | |
StmtRange | children () |
![]() | |
SourceLocation | getLocStart () const |
Returns the starting location of the clause. More... | |
SourceLocation | getLocEnd () const |
Returns the ending location of the clause. More... | |
void | setLocStart (SourceLocation Loc) |
Sets the starting location of the clause. More... | |
void | setLocEnd (SourceLocation Loc) |
Sets the ending location of the clause. More... | |
OpenMPClauseKind | getClauseKind () const |
Returns kind of OpenMP clause (private, shared, reduction, etc.). More... | |
bool | isImplicit () const |
StmtRange | children () |
ConstStmtRange | children () const |
Static Public Member Functions | |
static bool | classof (const OMPClause *T) |
![]() | |
static bool | classof (const OMPClause *) |
Friends | |
class | OMPClauseReader |
Additional Inherited Members | |
![]() | |
OMPClause (OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) | |
This represents 'schedule' clause in the '#pragma omp ...' directive.
In this example directive '#pragma omp for' has 'schedule' clause with arguments 'static' and '3'.
Definition at line 566 of file OpenMPClause.h.
|
inline |
Build '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 | Schedule kind. |
ChunkSize | Chunk size. |
HelperChunkSize | Helper chunk size for combined directives. |
Definition at line 625 of file OpenMPClause.h.
|
inlineexplicit |
Build an empty clause.
Definition at line 637 of file OpenMPClause.h.
|
inline |
Definition at line 679 of file OpenMPClause.h.
Definition at line 675 of file OpenMPClause.h.
References clang::OMPClause::getClauseKind().
|
inline |
Get chunk size.
Definition at line 658 of file OpenMPClause.h.
|
inline |
Get chunk size.
Definition at line 661 of file OpenMPClause.h.
|
inline |
Get location of ','.
Definition at line 655 of file OpenMPClause.h.
|
inline |
Get helper chunk size.
Definition at line 666 of file OpenMPClause.h.
|
inline |
Get helper chunk size.
Definition at line 671 of file OpenMPClause.h.
|
inline |
Get location of '('.
Definition at line 649 of file OpenMPClause.h.
|
inline |
Get kind of the clause.
Definition at line 646 of file OpenMPClause.h.
|
inline |
Get kind location.
Definition at line 652 of file OpenMPClause.h.
|
friend |
Definition at line 567 of file OpenMPClause.h.