clang  5.0.0
Public Member Functions | Static Public Member Functions | Friends | List of all members
OMPDistScheduleClause Class Reference

This represents 'dist_schedule' clause in the '#pragma omp ...' directive. More...

#include "clang/AST/OpenMPClause.h"

Inheritance diagram for OMPDistScheduleClause:
[legend]
Collaboration diagram for OMPDistScheduleClause:
[legend]

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
 

Detailed Description

This represents 'dist_schedule' clause in the '#pragma omp ...' directive.

#pragma omp distribute dist_schedule(static, 3)

In this example directive '#pragma omp distribute' has 'dist_schedule' clause with arguments 'static' and '3'.

Definition at line 4062 of file OpenMPClause.h.

Constructor & Destructor Documentation

OMPDistScheduleClause::OMPDistScheduleClause ( SourceLocation  StartLoc,
SourceLocation  LParenLoc,
SourceLocation  KLoc,
SourceLocation  CommaLoc,
SourceLocation  EndLoc,
OpenMPDistScheduleClauseKind  Kind,
Expr *  ChunkSize,
Stmt *  HelperChunkSize 
)
inline

Build 'dist_schedule' clause with schedule kind Kind and chunk size expression ChunkSize.

Parameters
StartLocStarting location of the clause.
LParenLocLocation of '('.
KLocStarting location of the argument.
CommaLocLocation of ','.
EndLocEnding location of the clause.
KindDistSchedule kind.
ChunkSizeChunk size.
HelperChunkSizeHelper chunk size for combined directives.

Definition at line 4114 of file OpenMPClause.h.

OMPDistScheduleClause::OMPDistScheduleClause ( )
inlineexplicit

Build an empty clause.

Definition at line 4127 of file OpenMPClause.h.

Member Function Documentation

child_range OMPDistScheduleClause::children ( )
inline

Definition at line 4155 of file OpenMPClause.h.

static bool OMPDistScheduleClause::classof ( const OMPClause T)
inlinestatic

Definition at line 4151 of file OpenMPClause.h.

Expr* OMPDistScheduleClause::getChunkSize ( )
inline

Get chunk size.

Definition at line 4146 of file OpenMPClause.h.

const Expr* OMPDistScheduleClause::getChunkSize ( ) const
inline

Get chunk size.

Definition at line 4149 of file OpenMPClause.h.

SourceLocation OMPDistScheduleClause::getCommaLoc ( )
inline

Get location of ','.

Definition at line 4143 of file OpenMPClause.h.

OpenMPDistScheduleClauseKind OMPDistScheduleClause::getDistScheduleKind ( ) const
inline

Get kind of the clause.

Definition at line 4134 of file OpenMPClause.h.

SourceLocation OMPDistScheduleClause::getDistScheduleKindLoc ( )
inline

Get kind location.

Definition at line 4140 of file OpenMPClause.h.

SourceLocation OMPDistScheduleClause::getLParenLoc ( )
inline

Get location of '('.

Definition at line 4137 of file OpenMPClause.h.

Friends And Related Function Documentation

friend class OMPClauseReader
friend

Definition at line 4063 of file OpenMPClause.h.


The documentation for this class was generated from the following file: