clang
15.0.0git
|
Class that handles post-update expression for some clauses, like 'lastprivate', 'reduction' etc. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
const Expr * | getPostUpdateExpr () const |
Get post-update expression for the clause. More... | |
Expr * | getPostUpdateExpr () |
Get post-update expression for the clause. More... | |
![]() | |
const Stmt * | getPreInitStmt () const |
Get pre-initialization statement for the clause. More... | |
Stmt * | getPreInitStmt () |
Get pre-initialization statement for the clause. More... | |
OpenMPDirectiveKind | getCaptureRegion () const |
Get capture region for the stmt in the clause. More... | |
Static Public Member Functions | |
static OMPClauseWithPostUpdate * | get (OMPClause *C) |
static const OMPClauseWithPostUpdate * | get (const OMPClause *C) |
![]() | |
static OMPClauseWithPreInit * | get (OMPClause *C) |
static const OMPClauseWithPreInit * | get (const OMPClause *C) |
Protected Member Functions | |
OMPClauseWithPostUpdate (const OMPClause *This) | |
void | setPostUpdateExpr (Expr *S) |
Set pre-initialization statement for the clause. More... | |
![]() | |
OMPClauseWithPreInit (const OMPClause *This) | |
void | setPreInitStmt (Stmt *S, OpenMPDirectiveKind ThisRegion=llvm::omp::OMPD_unknown) |
Set pre-initialization statement for the clause. More... | |
Friends | |
class | OMPClauseReader |
Class that handles post-update expression for some clauses, like 'lastprivate', 'reduction' etc.
Definition at line 150 of file OpenMPClause.h.
|
inlineprotected |
Definition at line 157 of file OpenMPClause.h.
References get(), and clang::interp::This().
|
static |
Definition at line 180 of file OpenMPClause.cpp.
|
static |
Definition at line 175 of file OpenMPClause.cpp.
Referenced by OMPClauseWithPostUpdate().
|
inline |
Get post-update expression for the clause.
Definition at line 169 of file OpenMPClause.h.
|
inline |
Get post-update expression for the clause.
Definition at line 166 of file OpenMPClause.h.
|
inlineprotected |
Set pre-initialization statement for the clause.
Definition at line 162 of file OpenMPClause.h.
Referenced by clang::OMPLastprivateClause::Create(), clang::OMPTaskReductionClause::Create(), clang::OMPInReductionClause::Create(), and clang::OMPLinearClause::Create().
|
friend |
Definition at line 151 of file OpenMPClause.h.