|
clang
5.0.0
|
This represents 'schedule' clause in the '#pragma omp ...' directive. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
| OMPScheduleClause (SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation KLoc, SourceLocation CommaLoc, SourceLocation EndLoc, OpenMPScheduleClauseKind Kind, Expr *ChunkSize, Stmt *HelperChunkSize, OpenMPScheduleClauseModifier M1, SourceLocation M1Loc, OpenMPScheduleClauseModifier M2, SourceLocation M2Loc) | |
| 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... | |
| OpenMPScheduleClauseModifier | getFirstScheduleModifier () const |
| Get the first modifier of the clause. More... | |
| OpenMPScheduleClauseModifier | getSecondScheduleModifier () const |
| Get the second modifier of the clause. More... | |
| SourceLocation | getLParenLoc () |
| Get location of '('. More... | |
| SourceLocation | getScheduleKindLoc () |
| Get kind location. More... | |
| SourceLocation | getFirstScheduleModifierLoc () const |
| Get the first modifier location. More... | |
| SourceLocation | getSecondScheduleModifierLoc () const |
| Get the second modifier 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 () |
Public Member Functions inherited from clang::OMPClause | |
| 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 |
| child_range | children () |
| const_child_range | children () const |
Public Member Functions inherited from clang::OMPClauseWithPreInit | |
| const Stmt * | getPreInitStmt () const |
| Get pre-initialization statement for the clause. More... | |
| Stmt * | getPreInitStmt () |
| Get pre-initialization statement for the clause. More... | |
| OpenMPDirectiveKind | getCaptureRegion () |
| Get capture region for the stmt in the clause. More... | |
Static Public Member Functions | |
| static bool | classof (const OMPClause *T) |
Static Public Member Functions inherited from clang::OMPClause | |
| static bool | classof (const OMPClause *) |
Static Public Member Functions inherited from clang::OMPClauseWithPreInit | |
| static OMPClauseWithPreInit * | get (OMPClause *C) |
| static const OMPClauseWithPreInit * | get (const OMPClause *C) |
Friends | |
| class | OMPClauseReader |
Additional Inherited Members | |
Public Types inherited from clang::OMPClause | |
| typedef StmtIterator | child_iterator |
| typedef ConstStmtIterator | const_child_iterator |
| typedef llvm::iterator_range < child_iterator > | child_range |
| typedef llvm::iterator_range < const_child_iterator > | const_child_range |
Protected Member Functions inherited from clang::OMPClause | |
| OMPClause (OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) | |
Protected Member Functions inherited from clang::OMPClauseWithPreInit | |
| void | setPreInitStmt (Stmt *S, OpenMPDirectiveKind ThisRegion=OMPD_unknown) |
| Set pre-initialization statement for the clause. More... | |
| OMPClauseWithPreInit (const OMPClause *This) | |
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 722 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. |
| M1 | The first modifier applied to 'schedule' clause. |
| M1Loc | Location of the first modifier |
| M2 | The second modifier applied to 'schedule' clause. |
| M2Loc | Location of the second modifier |
Definition at line 819 of file OpenMPClause.h.
References clang::OMPClauseWithPreInit::setPreInitStmt().
|
inlineexplicit |
Build an empty clause.
Definition at line 837 of file OpenMPClause.h.
References clang::OMPC_SCHEDULE_MODIFIER_unknown.
|
inline |
Definition at line 888 of file OpenMPClause.h.
Definition at line 884 of file OpenMPClause.h.
References clang::OMPClause::getClauseKind().
|
inline |
Get chunk size.
Definition at line 879 of file OpenMPClause.h.
|
inline |
Get chunk size.
Definition at line 882 of file OpenMPClause.h.
|
inline |
Get location of ','.
Definition at line 876 of file OpenMPClause.h.
|
inline |
Get the first modifier of the clause.
Definition at line 850 of file OpenMPClause.h.
Referenced by clang::Sema::ActOnOpenMPRegionEnd().
|
inline |
Get the first modifier location.
Definition at line 866 of file OpenMPClause.h.
Referenced by clang::Sema::ActOnOpenMPRegionEnd().
|
inline |
Get location of '('.
Definition at line 860 of file OpenMPClause.h.
|
inline |
Get kind of the clause.
Definition at line 847 of file OpenMPClause.h.
|
inline |
Get kind location.
Definition at line 863 of file OpenMPClause.h.
|
inline |
Get the second modifier of the clause.
Definition at line 855 of file OpenMPClause.h.
Referenced by clang::Sema::ActOnOpenMPRegionEnd().
|
inline |
Get the second modifier location.
Definition at line 871 of file OpenMPClause.h.
Referenced by clang::Sema::ActOnOpenMPRegionEnd().
|
friend |
Definition at line 723 of file OpenMPClause.h.
1.8.6