class OMPDistScheduleClause
Declaration
class OMPDistScheduleClause : public OMPClause,
public OMPClauseWithPreInit { /* full declaration omitted */ };
Description
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'.
Declared at: clang/include/clang/AST/OpenMPClause.h:6433
Inherits from: OMPClause, OMPClauseWithPreInit
Member Variables
- private clang::SourceLocation LParenLoc
- Location of '('.
- private clang::OpenMPDistScheduleClauseKind Kind = OMPC_DIST_SCHEDULE_unknown
- A kind of the 'schedule' clause.
- private clang::SourceLocation KindLoc
- Start location of the schedule kind in source code.
- private clang::SourceLocation CommaLoc
- Location of ',' (if any).
- private clang::Expr* ChunkSize = nullptr
- Chunk size.
Method Overview
- public OMPDistScheduleClause(clang::SourceLocation StartLoc, clang::SourceLocation LParenLoc, clang::SourceLocation KLoc, clang::SourceLocation CommaLoc, clang::SourceLocation EndLoc, clang::OpenMPDistScheduleClauseKind Kind, clang::Expr * ChunkSize, clang::Stmt * HelperChunkSize)
- public OMPDistScheduleClause()
- public clang::OMPClause::const_child_range children() const
- public clang::OMPClause::child_range children()
- public static bool classof(const clang::OMPClause * T)
- public const clang::Expr * getChunkSize() const
- public clang::Expr * getChunkSize()
- public clang::SourceLocation getCommaLoc()
- public clang::OpenMPDistScheduleClauseKind getDistScheduleKind() const
- public clang::SourceLocation getDistScheduleKindLoc()
- public clang::SourceLocation getLParenLoc()
- private void setChunkSize(clang::Expr * E)
- private void setCommaLoc(clang::SourceLocation Loc)
- private void setDistScheduleKind(clang::OpenMPDistScheduleClauseKind K)
- private void setDistScheduleKindLoc(clang::SourceLocation KLoc)
- private void setLParenLoc(clang::SourceLocation Loc)
- public clang::OMPClause::child_range used_children()
- public clang::OMPClause::const_child_range used_children() const
Inherited from OMPClauseWithPreInit:
- public get
- public get
- public getCaptureRegion
- public getPreInitStmt
- public getPreInitStmt
- protected setPreInitStmt
Inherited from OMPClause:
- public children
- public children
- public classof
- public getBeginLoc
- public getClauseKind
- public getEndLoc
- public isImplicit
- public setLocEnd
- public setLocStart
- public used_children
- public used_children
Methods
¶OMPDistScheduleClause(
clang::SourceLocation StartLoc,
clang::SourceLocation LParenLoc,
clang::SourceLocation KLoc,
clang::SourceLocation CommaLoc,
clang::SourceLocation EndLoc,
clang::OpenMPDistScheduleClauseKind Kind,
clang::Expr* ChunkSize,
clang::Stmt* HelperChunkSize)
OMPDistScheduleClause(
clang::SourceLocation StartLoc,
clang::SourceLocation LParenLoc,
clang::SourceLocation KLoc,
clang::SourceLocation CommaLoc,
clang::SourceLocation EndLoc,
clang::OpenMPDistScheduleClauseKind Kind,
clang::Expr* ChunkSize,
clang::Stmt* HelperChunkSize)
Description
Build 'dist_schedule' clause with schedule kind \a Kind and chunk size expression \a ChunkSize.
Declared at: clang/include/clang/AST/OpenMPClause.h:6488
Parameters
- clang::SourceLocation StartLoc
- Starting location of the clause.
- clang::SourceLocation LParenLoc
- Location of '('.
- clang::SourceLocation KLoc
- Starting location of the argument.
- clang::SourceLocation CommaLoc
- Location of ','.
- clang::SourceLocation EndLoc
- Ending location of the clause.
- clang::OpenMPDistScheduleClauseKind Kind
- DistSchedule kind.
- clang::Expr* ChunkSize
- Chunk size.
- clang::Stmt* HelperChunkSize
- Helper chunk size for combined directives.
¶OMPDistScheduleClause()
OMPDistScheduleClause()
Description
Build an empty clause.
Declared at: clang/include/clang/AST/OpenMPClause.h:6500
¶clang::OMPClause::const_child_range children()
const
clang::OMPClause::const_child_range children()
const
Declared at: clang/include/clang/AST/OpenMPClause.h:6528
¶clang::OMPClause::child_range children()
clang::OMPClause::child_range children()
Declared at: clang/include/clang/AST/OpenMPClause.h:6523
¶static bool classof(const clang::OMPClause* T)
static bool classof(const clang::OMPClause* T)
Declared at: clang/include/clang/AST/OpenMPClause.h:6540
Parameters
- const clang::OMPClause* T
¶const clang::Expr* getChunkSize() const
const clang::Expr* getChunkSize() const
Description
Get chunk size.
Declared at: clang/include/clang/AST/OpenMPClause.h:6521
¶clang::Expr* getChunkSize()
clang::Expr* getChunkSize()
Description
Get chunk size.
Declared at: clang/include/clang/AST/OpenMPClause.h:6518
¶clang::SourceLocation getCommaLoc()
clang::SourceLocation getCommaLoc()
Description
Get location of ','.
Declared at: clang/include/clang/AST/OpenMPClause.h:6515
¶clang::OpenMPDistScheduleClauseKind
getDistScheduleKind() const
clang::OpenMPDistScheduleClauseKind
getDistScheduleKind() const
Description
Get kind of the clause.
Declared at: clang/include/clang/AST/OpenMPClause.h:6506
¶clang::SourceLocation getDistScheduleKindLoc()
clang::SourceLocation getDistScheduleKindLoc()
Description
Get kind location.
Declared at: clang/include/clang/AST/OpenMPClause.h:6512
¶clang::SourceLocation getLParenLoc()
clang::SourceLocation getLParenLoc()
Description
Get location of '('.
Declared at: clang/include/clang/AST/OpenMPClause.h:6509
¶void setChunkSize(clang::Expr* E)
void setChunkSize(clang::Expr* E)
Description
Set chunk size.
Declared at: clang/include/clang/AST/OpenMPClause.h:6474
Parameters
- clang::Expr* E
- Chunk size.
¶void setCommaLoc(clang::SourceLocation Loc)
void setCommaLoc(clang::SourceLocation Loc)
Description
Set location of ','.
Declared at: clang/include/clang/AST/OpenMPClause.h:6469
Parameters
- clang::SourceLocation Loc
- Location of ','.
¶void setDistScheduleKind(
clang::OpenMPDistScheduleClauseKind K)
void setDistScheduleKind(
clang::OpenMPDistScheduleClauseKind K)
Description
Set schedule kind.
Declared at: clang/include/clang/AST/OpenMPClause.h:6454
Parameters
- clang::OpenMPDistScheduleClauseKind K
- Schedule kind.
¶void setDistScheduleKindLoc(
clang::SourceLocation KLoc)
void setDistScheduleKindLoc(
clang::SourceLocation KLoc)
Description
Set schedule kind start location.
Declared at: clang/include/clang/AST/OpenMPClause.h:6464
Parameters
- clang::SourceLocation KLoc
- Schedule kind location.
¶void setLParenLoc(clang::SourceLocation Loc)
void setLParenLoc(clang::SourceLocation Loc)
Description
Sets the location of '('.
Declared at: clang/include/clang/AST/OpenMPClause.h:6459
Parameters
- clang::SourceLocation Loc
- Location of '('.
¶clang::OMPClause::child_range used_children()
clang::OMPClause::child_range used_children()
Declared at: clang/include/clang/AST/OpenMPClause.h:6533
¶clang::OMPClause::const_child_range
used_children() const
clang::OMPClause::const_child_range
used_children() const
Declared at: clang/include/clang/AST/OpenMPClause.h:6536