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
Collaboration diagram for OMPDistScheduleClause:
Collaboration graph

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)


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 4581 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 

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

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

◆ OMPDistScheduleClause() [2/2]

OMPDistScheduleClause::OMPDistScheduleClause ( )

Build an empty clause.

Definition at line 4648 of file OpenMPClause.h.

Member Function Documentation

◆ children()

child_range OMPDistScheduleClause::children ( )

Definition at line 4670 of file OpenMPClause.h.

◆ classof()

static bool OMPDistScheduleClause::classof ( const OMPClause T)

Definition at line 4675 of file OpenMPClause.h.

◆ getChunkSize() [1/2]

Expr* OMPDistScheduleClause::getChunkSize ( )

◆ getChunkSize() [2/2]

const Expr* OMPDistScheduleClause::getChunkSize ( ) const

Get chunk size.

Definition at line 4668 of file OpenMPClause.h.

◆ getCommaLoc()

SourceLocation OMPDistScheduleClause::getCommaLoc ( )

◆ getDistScheduleKind()

OpenMPDistScheduleClauseKind OMPDistScheduleClause::getDistScheduleKind ( ) const

◆ getDistScheduleKindLoc()

SourceLocation OMPDistScheduleClause::getDistScheduleKindLoc ( )

◆ getLParenLoc()

SourceLocation OMPDistScheduleClause::getLParenLoc ( )

Friends And Related Function Documentation

◆ OMPClauseReader

friend class OMPClauseReader

Definition at line 4582 of file OpenMPClause.h.

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