clang: clang::SemaOpenACC::OpenACCParsedClause Class Reference (original) (raw)

A type to represent all the data for an OpenACC Clause that has been parsed, but not yet created/semantically analyzed. More...

#include "[clang/Sema/SemaOpenACC.h](SemaOpenACC%5F8h%5Fsource.html)"

Public Member Functions
OpenACCParsedClause (OpenACCDirectiveKind DirKind, OpenACCClauseKind ClauseKind, SourceLocation BeginLoc)
OpenACCDirectiveKind getDirectiveKind () const
OpenACCClauseKind getClauseKind () const
SourceLocation getBeginLoc () const
SourceLocation getLParenLoc () const
SourceLocation getEndLoc () const
OpenACCDefaultClauseKind getDefaultClauseKind () const
const Expr * getConditionExpr () const
Expr * getConditionExpr ()
unsigned getNumIntExprs () const
SourceLocation getQueuesLoc () const
Expr * getDevNumExpr () const
ArrayRef< Expr * > getQueueIdExprs () const
ArrayRef< Expr * > getIntExprs ()
ArrayRef< Expr * > getIntExprs () const
OpenACCReductionOperator getReductionOp () const
ArrayRef< OpenACCGangKind > getGangKinds () const
ArrayRef< Expr * > getVarList ()
ArrayRef< Expr * > getVarList () const
bool isReadOnly () const
bool isZero () const
bool isForce () const
Expr * getLoopCount () const
ArrayRef< DeviceTypeArgument > getDeviceTypeArchitectures () const
void setLParenLoc (SourceLocation EndLoc)
void setEndLoc (SourceLocation EndLoc)
void setDefaultDetails (OpenACCDefaultClauseKind DefKind)
void setConditionDetails (Expr *ConditionExpr)
void setIntExprDetails (ArrayRef< Expr * > IntExprs)
void setIntExprDetails (llvm::SmallVector< Expr * > &&IntExprs)
void setGangDetails (ArrayRef< OpenACCGangKind > GKs, ArrayRef< Expr * > IntExprs)
void setGangDetails (llvm::SmallVector< OpenACCGangKind > &&GKs, llvm::SmallVector< Expr * > &&IntExprs)
void setVarListDetails (ArrayRef< Expr * > VarList, bool IsReadOnly, bool IsZero)
void setVarListDetails (llvm::SmallVector< Expr * > &&VarList, bool IsReadOnly, bool IsZero)
void setReductionDetails (OpenACCReductionOperator Op, llvm::SmallVector< Expr * > &&VarList)
void setWaitDetails (Expr *DevNum, SourceLocation QueuesLoc, llvm::SmallVector< Expr * > &&IntExprs)
void setDeviceTypeDetails (llvm::SmallVector< DeviceTypeArgument > &&Archs)
void setCollapseDetails (bool IsForce, Expr *LoopCount)

A type to represent all the data for an OpenACC Clause that has been parsed, but not yet created/semantically analyzed.

This is effectively a discriminated union on the 'Clause Kind', with all of the individual clause details stored in a std::variant.

Definition at line 202 of file SemaOpenACC.h.

getBeginLoc()

SourceLocation clang::SemaOpenACC::OpenACCParsedClause::getBeginLoc ( ) const inline

getClauseKind()

OpenACCClauseKind clang::SemaOpenACC::OpenACCParsedClause::getClauseKind ( ) const inline

getConditionExpr() [1/2]

Expr * clang::SemaOpenACC::OpenACCParsedClause::getConditionExpr ( ) inline

getConditionExpr() [2/2]

const Expr * clang::SemaOpenACC::OpenACCParsedClause::getConditionExpr ( ) const inline

getDefaultClauseKind()

getDeviceTypeArchitectures()

getDevNumExpr()

Expr * clang::SemaOpenACC::OpenACCParsedClause::getDevNumExpr ( ) const inline

getDirectiveKind()

getEndLoc()

SourceLocation clang::SemaOpenACC::OpenACCParsedClause::getEndLoc ( ) const inline

getGangKinds()

getIntExprs() [1/2]

ArrayRef< Expr * > clang::SemaOpenACC::OpenACCParsedClause::getIntExprs ( ) inline

getIntExprs() [2/2]

ArrayRef< Expr * > clang::SemaOpenACC::OpenACCParsedClause::getIntExprs ( ) const inline

getLoopCount()

Expr * clang::SemaOpenACC::OpenACCParsedClause::getLoopCount ( ) const inline

getLParenLoc()

SourceLocation clang::SemaOpenACC::OpenACCParsedClause::getLParenLoc ( ) const inline

getNumIntExprs()

unsigned clang::SemaOpenACC::OpenACCParsedClause::getNumIntExprs ( ) const inline

getQueueIdExprs()

ArrayRef< Expr * > clang::SemaOpenACC::OpenACCParsedClause::getQueueIdExprs ( ) const inline

getQueuesLoc()

SourceLocation clang::SemaOpenACC::OpenACCParsedClause::getQueuesLoc ( ) const inline

getReductionOp()

getVarList() [1/2]

ArrayRef< Expr * > clang::SemaOpenACC::OpenACCParsedClause::getVarList ( ) inline

Definition at line 390 of file SemaOpenACC.h.

References clang::Attach, clang::Copy, clang::CopyIn, clang::CopyOut, clang::Create, clang::Delete, clang::Detach, clang::Device, clang::DevicePtr, clang::FirstPrivate, clang::Host, clang::NoCreate, clang::PCopy, clang::PCopyIn, clang::PCopyOut, clang::PCreate, clang::Present, clang::PresentOrCopy, clang::PresentOrCopyIn, clang::PresentOrCopyOut, clang::PresentOrCreate, clang::Private, clang::Reduction, clang::Self, clang::Update, and clang::UseDevice.

Referenced by getVarList().

getVarList() [2/2]

ArrayRef< Expr * > clang::SemaOpenACC::OpenACCParsedClause::getVarList ( ) const inline

isForce()

bool clang::SemaOpenACC::OpenACCParsedClause::isForce ( ) const inline

isReadOnly()

bool clang::SemaOpenACC::OpenACCParsedClause::isReadOnly ( ) const inline

isZero()

bool clang::SemaOpenACC::OpenACCParsedClause::isZero ( ) const inline

setCollapseDetails()

void clang::SemaOpenACC::OpenACCParsedClause::setCollapseDetails ( bool IsForce, Expr * LoopCount ) inline

setConditionDetails()

void clang::SemaOpenACC::OpenACCParsedClause::setConditionDetails ( Expr * ConditionExpr) inline

setDefaultDetails()

setDeviceTypeDetails()

setEndLoc()

void clang::SemaOpenACC::OpenACCParsedClause::setEndLoc ( SourceLocation EndLoc) inline

setGangDetails() [1/2]

setGangDetails() [2/2]

setIntExprDetails() [1/2]

void clang::SemaOpenACC::OpenACCParsedClause::setIntExprDetails ( ArrayRef< Expr * > IntExprs) inline

setIntExprDetails() [2/2]

void clang::SemaOpenACC::OpenACCParsedClause::setIntExprDetails ( llvm::SmallVector< Expr * > && IntExprs) inline

setLParenLoc()

void clang::SemaOpenACC::OpenACCParsedClause::setLParenLoc ( SourceLocation EndLoc) inline

setReductionDetails()

setVarListDetails() [1/2]

void clang::SemaOpenACC::OpenACCParsedClause::setVarListDetails ( ArrayRef< Expr * > VarList, bool IsReadOnly, bool IsZero ) inline

Definition at line 536 of file SemaOpenACC.h.

References clang::Attach, clang::Copy, clang::CopyIn, clang::CopyOut, clang::Create, clang::Delete, clang::Detach, clang::Device, clang::DevicePtr, clang::FirstPrivate, clang::Host, clang::NoCreate, clang::PCopy, clang::PCopyIn, clang::PCopyOut, clang::PCreate, clang::Present, clang::PresentOrCopy, clang::PresentOrCopyIn, clang::PresentOrCopyOut, clang::PresentOrCreate, clang::Private, clang::Self, clang::Update, and clang::UseDevice.

setVarListDetails() [2/2]

Definition at line 579 of file SemaOpenACC.h.

References clang::Attach, clang::Copy, clang::CopyIn, clang::CopyOut, clang::Create, clang::Delete, clang::Detach, clang::Device, clang::DevicePtr, clang::FirstPrivate, clang::Host, clang::NoCreate, clang::PCopy, clang::PCopyIn, clang::PCopyOut, clang::PCreate, clang::Present, clang::PresentOrCopy, clang::PresentOrCopyIn, clang::PresentOrCopyOut, clang::PresentOrCreate, clang::Private, clang::Self, clang::Update, and clang::UseDevice.

setWaitDetails()


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