clang 23.0.0git
OpenACCAtomicConstruct::SingleStmtInfo Struct Reference

#include "clang/AST/StmtOpenACC.h"

Static Public Member Functions

static SingleStmtInfo Empty ()
static SingleStmtInfo createRead (const Expr *WholeExpr, const Expr *V, const Expr *X)
static SingleStmtInfo createWrite (const Expr *WholeExpr, const Expr *X, const Expr *RefExpr)
static SingleStmtInfo createUpdate (const Expr *WholeExpr, const Expr *X, bool PostfixIncDec)

Public Attributes

const Expr * WholeExpr
const Expr * V
const Expr * X
const Expr * RefExpr
bool IsPostfixIncDec = false

Detailed Description

Definition at line 818 of file StmtOpenACC.h.

Member Function Documentation

◆ createRead()

SingleStmtInfo OpenACCAtomicConstruct::SingleStmtInfo::createRead ( const Expr * WholeExpr,
const Expr * V,
const Expr * X )
inlinestatic

Definition at line 838 of file StmtOpenACC.h.

References V, WholeExpr, and X.

Referenced by getReadStmtInfo().

◆ createUpdate()

SingleStmtInfo OpenACCAtomicConstruct::SingleStmtInfo::createUpdate ( const Expr * WholeExpr,
const Expr * X,
bool PostfixIncDec )
inlinestatic

Definition at line 846 of file StmtOpenACC.h.

References WholeExpr, and X.

Referenced by getUpdateStmtInfo().

◆ createWrite()

SingleStmtInfo OpenACCAtomicConstruct::SingleStmtInfo::createWrite ( const Expr * WholeExpr,
const Expr * X,
const Expr * RefExpr )
inlinestatic

Definition at line 842 of file StmtOpenACC.h.

References RefExpr, WholeExpr, and X.

Referenced by getWriteStmtInfo().

◆ Empty()

SingleStmtInfo OpenACCAtomicConstruct::SingleStmtInfo::Empty ( )
inlinestatic

Definition at line 834 of file StmtOpenACC.h.

Referenced by OpenACCAtomicConstruct::getAssociatedStmtInfo().

Member Data Documentation

◆ IsPostfixIncDec

bool OpenACCAtomicConstruct::SingleStmtInfo::IsPostfixIncDec = false

Definition at line 833 of file StmtOpenACC.h.

◆ RefExpr

const Expr* OpenACCAtomicConstruct::SingleStmtInfo::RefExpr

Definition at line 828 of file StmtOpenACC.h.

Referenced by createWrite(), and emitAtomicWrite().

◆ V

const Expr* OpenACCAtomicConstruct::SingleStmtInfo::V

Definition at line 824 of file StmtOpenACC.h.

Referenced by createRead(), and emitAtomicRead().

◆ WholeExpr

const Expr* OpenACCAtomicConstruct::SingleStmtInfo::WholeExpr

Definition at line 823 of file StmtOpenACC.h.

Referenced by createRead(), createUpdate(), createWrite(), and emitAtomicUpdate().

◆ X

const Expr* OpenACCAtomicConstruct::SingleStmtInfo::X

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