clang 22.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 821 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 841 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 849 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 845 of file StmtOpenACC.h.

References RefExpr, WholeExpr, and X.

Referenced by getWriteStmtInfo().

◆ Empty()

SingleStmtInfo OpenACCAtomicConstruct::SingleStmtInfo::Empty ( )
inlinestatic

Definition at line 837 of file StmtOpenACC.h.

Referenced by OpenACCAtomicConstruct::getAssociatedStmtInfo().

Member Data Documentation

◆ IsPostfixIncDec

bool OpenACCAtomicConstruct::SingleStmtInfo::IsPostfixIncDec = false

Definition at line 836 of file StmtOpenACC.h.

◆ RefExpr

const Expr* OpenACCAtomicConstruct::SingleStmtInfo::RefExpr

Definition at line 831 of file StmtOpenACC.h.

Referenced by createWrite(), and emitAtomicWrite().

◆ V

const Expr* OpenACCAtomicConstruct::SingleStmtInfo::V

Definition at line 827 of file StmtOpenACC.h.

Referenced by createRead(), and emitAtomicRead().

◆ WholeExpr

const Expr* OpenACCAtomicConstruct::SingleStmtInfo::WholeExpr

Definition at line 826 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: