|
clang
3.8.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, 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... | |
| Expr * | getChunkSize () const |
| Get chunk size. More... | |
| Expr * | getHelperChunkSize () |
| Get helper chunk size. More... | |
| Expr * | getHelperChunkSize () const |
| Get helper 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 |
Static Public Member Functions | |
| static bool | classof (const OMPClause *T) |
Static Public Member Functions inherited from clang::OMPClause | |
| static bool | classof (const OMPClause *) |
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) | |
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 653 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 757 of file OpenMPClause.h.
|
inlineexplicit |
Build an empty clause.
Definition at line 775 of file OpenMPClause.h.
References clang::OMPC_SCHEDULE_MODIFIER_unknown.
|
inline |
Definition at line 839 of file OpenMPClause.h.
Definition at line 835 of file OpenMPClause.h.
References clang::OMPClause::getClauseKind().
|
inline |
Get chunk size.
Definition at line 818 of file OpenMPClause.h.
|
inline |
Get chunk size.
Definition at line 821 of file OpenMPClause.h.
|
inline |
Get location of ','.
Definition at line 815 of file OpenMPClause.h.
|
inline |
Get the first modifier of the clause.
Definition at line 789 of file OpenMPClause.h.
Referenced by clang::Sema::ActOnOpenMPRegionEnd().
|
inline |
Get the first modifier location.
Definition at line 805 of file OpenMPClause.h.
Referenced by clang::Sema::ActOnOpenMPRegionEnd().
|
inline |
Get helper chunk size.
Definition at line 826 of file OpenMPClause.h.
|
inline |
Get helper chunk size.
Definition at line 831 of file OpenMPClause.h.
|
inline |
Get location of '('.
Definition at line 799 of file OpenMPClause.h.
|
inline |
Get kind of the clause.
Definition at line 786 of file OpenMPClause.h.
|
inline |
Get kind location.
Definition at line 802 of file OpenMPClause.h.
|
inline |
Get the second modifier of the clause.
Definition at line 794 of file OpenMPClause.h.
Referenced by clang::Sema::ActOnOpenMPRegionEnd().
|
inline |
Get the second modifier location.
Definition at line 810 of file OpenMPClause.h.
Referenced by clang::Sema::ActOnOpenMPRegionEnd().
|
friend |
Definition at line 654 of file OpenMPClause.h.
1.8.6