clang  6.0.0svn
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:
Inheritance graph
[legend]
Collaboration diagram for OMPDistScheduleClause:
Collaboration graph
[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 4324 of file OpenMPClause.h.

Constructor & Destructor Documentation

◆ OMPDistScheduleClause() [1/2]

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 4379 of file OpenMPClause.h.

◆ OMPDistScheduleClause() [2/2]

OMPDistScheduleClause::OMPDistScheduleClause ( )
inlineexplicit

Build an empty clause.

Definition at line 4391 of file OpenMPClause.h.

Member Function Documentation

◆ children()

child_range OMPDistScheduleClause::children ( )
inline

Definition at line 4413 of file OpenMPClause.h.

◆ classof()

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

Definition at line 4418 of file OpenMPClause.h.

◆ getChunkSize() [1/2]

Expr* OMPDistScheduleClause::getChunkSize ( )
inline

Get chunk size.

Definition at line 4408 of file OpenMPClause.h.

Referenced by clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().

◆ getChunkSize() [2/2]

const Expr* OMPDistScheduleClause::getChunkSize ( ) const
inline

Get chunk size.

Definition at line 4411 of file OpenMPClause.h.

◆ getCommaLoc()

SourceLocation OMPDistScheduleClause::getCommaLoc ( )
inline

Get location of ','.

Definition at line 4405 of file OpenMPClause.h.

Referenced by clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().

◆ getDistScheduleKind()

OpenMPDistScheduleClauseKind OMPDistScheduleClause::getDistScheduleKind ( ) const
inline

Get kind of the clause.

Definition at line 4396 of file OpenMPClause.h.

Referenced by clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().

◆ getDistScheduleKindLoc()

SourceLocation OMPDistScheduleClause::getDistScheduleKindLoc ( )
inline

Get kind location.

Definition at line 4402 of file OpenMPClause.h.

Referenced by clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().

◆ getLParenLoc()

SourceLocation OMPDistScheduleClause::getLParenLoc ( )
inline

Get location of '('.

Definition at line 4399 of file OpenMPClause.h.

Referenced by clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().

Friends And Related Function Documentation

◆ OMPClauseReader

friend class OMPClauseReader
friend

Definition at line 4325 of file OpenMPClause.h.


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