clang  8.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 4502 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 4557 of file OpenMPClause.h.

◆ OMPDistScheduleClause() [2/2]

OMPDistScheduleClause::OMPDistScheduleClause ( )
inlineexplicit

Build an empty clause.

Definition at line 4569 of file OpenMPClause.h.

Member Function Documentation

◆ children()

child_range OMPDistScheduleClause::children ( )
inline

Definition at line 4591 of file OpenMPClause.h.

◆ classof()

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

Definition at line 4596 of file OpenMPClause.h.

◆ getChunkSize() [1/2]

Expr* OMPDistScheduleClause::getChunkSize ( )
inline

◆ getChunkSize() [2/2]

const Expr* OMPDistScheduleClause::getChunkSize ( ) const
inline

Get chunk size.

Definition at line 4589 of file OpenMPClause.h.

◆ getCommaLoc()

SourceLocation OMPDistScheduleClause::getCommaLoc ( )
inline

◆ getDistScheduleKind()

OpenMPDistScheduleClauseKind OMPDistScheduleClause::getDistScheduleKind ( ) const
inline

◆ getDistScheduleKindLoc()

SourceLocation OMPDistScheduleClause::getDistScheduleKindLoc ( )
inline

◆ getLParenLoc()

SourceLocation OMPDistScheduleClause::getLParenLoc ( )
inline

Friends And Related Function Documentation

◆ OMPClauseReader

friend class OMPClauseReader
friend

Definition at line 4503 of file OpenMPClause.h.


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