|
clang 22.0.0git
|
#include "clang/AST/StmtOpenACC.h"#include "clang/AST/ASTContext.h"#include "clang/AST/ExprCXX.h"#include "clang/AST/StmtCXX.h"Go to the source code of this file.
Functions | |
| static std::optional< std::pair< const Expr *, const Expr * > > | getBinaryAssignOpArgs (const Expr *Op, bool &IsCompoundAssign) |
| static std::optional< std::pair< const Expr *, const Expr * > > | getBinaryAssignOpArgs (const Expr *Op) |
| static std::optional< std::pair< const Expr *, bool > > | getUnaryOpArgs (const Expr *Op) |
| static std::optional< OpenACCAtomicConstruct::SingleStmtInfo > | getReadStmtInfo (const Expr *E, bool ForAtomicComputeSingleStmt=false) |
| static std::optional< OpenACCAtomicConstruct::SingleStmtInfo > | getWriteStmtInfo (const Expr *E) |
| static std::optional< OpenACCAtomicConstruct::SingleStmtInfo > | getUpdateStmtInfo (const Expr *E) |
| static OpenACCAtomicConstruct::StmtInfo | getCaptureStmtInfo (const Stmt *AssocStmt) |
| The statement associated with an atomic capture comes in 1 of two forms: A compound statement containing two statements, or a single statement. | |
|
static |
Definition at line 345 of file StmtOpenACC.cpp.
References getBinaryAssignOpArgs().
|
static |
Definition at line 328 of file StmtOpenACC.cpp.
Referenced by getBinaryAssignOpArgs(), getReadStmtInfo(), getUpdateStmtInfo(), and getWriteStmtInfo().
|
static |
The statement associated with an atomic capture comes in 1 of two forms: A compound statement containing two statements, or a single statement.
In either case, the compound/single statement is decomposed into 2 separate operations, eihter a read/write, read/update, or update/read. This function figures out that information in the form listed in the standard (filling in V, X, or Expr) for each of these operations.
Definition at line 463 of file StmtOpenACC.cpp.
References clang::cast(), OpenACCAtomicConstruct::StmtInfo::createReadUpdate(), OpenACCAtomicConstruct::StmtInfo::createReadWrite(), OpenACCAtomicConstruct::StmtInfo::createUpdateRead(), getReadStmtInfo(), getUpdateStmtInfo(), getWriteStmtInfo(), clang::Read, clang::Update, and Write.
Referenced by OpenACCAtomicConstruct::getAssociatedStmtInfo().
|
static |
Definition at line 369 of file StmtOpenACC.cpp.
References OpenACCAtomicConstruct::SingleStmtInfo::createRead(), getBinaryAssignOpArgs(), and clang::Expr::IgnoreImpCasts().
Referenced by OpenACCAtomicConstruct::getAssociatedStmtInfo(), and getCaptureStmtInfo().
Definition at line 351 of file StmtOpenACC.cpp.
Referenced by getUpdateStmtInfo().
|
static |
Definition at line 413 of file StmtOpenACC.cpp.
References OpenACCAtomicConstruct::SingleStmtInfo::createUpdate(), getBinaryAssignOpArgs(), getUnaryOpArgs(), clang::Expr::IgnoreImpCasts(), and clang::isa().
Referenced by OpenACCAtomicConstruct::getAssociatedStmtInfo(), and getCaptureStmtInfo().
|
static |
Definition at line 396 of file StmtOpenACC.cpp.
References OpenACCAtomicConstruct::SingleStmtInfo::createWrite(), getBinaryAssignOpArgs(), and clang::Expr::IgnoreImpCasts().
Referenced by OpenACCAtomicConstruct::getAssociatedStmtInfo(), and getCaptureStmtInfo().