clang 22.0.0git
CIRGenStmtOpenACC.cpp File Reference
#include "CIRGenBuilder.h"
#include "CIRGenFunction.h"
#include "mlir/Dialect/OpenACC/OpenACC.h"
#include "clang/AST/OpenACCClause.h"
#include "clang/AST/StmtOpenACC.h"

Go to the source code of this file.

Functions

const VarDeclgetLValueDecl (const Expr *e)
static mlir::acc::AtomicReadOp emitAtomicRead (CIRGenFunction &cgf, CIRGenBuilderTy &builder, mlir::Location start, const OpenACCAtomicConstruct::SingleStmtInfo &inf)
static mlir::acc::AtomicWriteOp emitAtomicWrite (CIRGenFunction &cgf, CIRGenBuilderTy &builder, mlir::Location start, const OpenACCAtomicConstruct::SingleStmtInfo &inf)
static std::pair< mlir::LogicalResult, mlir::acc::AtomicUpdateOp > emitAtomicUpdate (CIRGenFunction &cgf, CIRGenBuilderTy &builder, mlir::Location start, mlir::Location end, const OpenACCAtomicConstruct::SingleStmtInfo &inf)

Function Documentation

◆ emitAtomicRead()

◆ emitAtomicUpdate()

◆ emitAtomicWrite()

◆ getLValueDecl()

const VarDecl * getLValueDecl ( const Expr * e)

Definition at line 290 of file CIRGenStmtOpenACC.cpp.

References clang::cast(), and clang::Expr::IgnoreImpCasts().

Referenced by emitAtomicUpdate().