clang
7.0.0
|
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=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 137 of file OpenMPClause.h.
|
inlineprotected |
Definition at line 144 of file OpenMPClause.h.
|
static |
Definition at line 115 of file OpenMPClause.cpp.
Referenced by clang::Sema::ActOnOpenMPRegionEnd().
|
static |
Definition at line 120 of file OpenMPClause.cpp.
References clang::C, clang::OMPClause::getClauseKind(), clang::OMPC_threadprivate, clang::OMPC_uniform, and clang::OMPC_unknown.
|
inline |
Get post-update expression for the clause.
Definition at line 153 of file OpenMPClause.h.
Referenced by clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().
|
inline |
Get post-update expression for the clause.
Definition at line 156 of file OpenMPClause.h.
References clang::C.
|
inlineprotected |
Set pre-initialization statement for the clause.
Definition at line 149 of file OpenMPClause.h.
Referenced by clang::OMPLastprivateClause::Create(), clang::OMPReductionClause::Create(), clang::OMPTaskReductionClause::Create(), clang::OMPInReductionClause::Create(), clang::OMPSharedClause::CreateEmpty(), and clang::OMPClauseReader::VisitOMPClauseWithPostUpdate().
|
friend |
Definition at line 138 of file OpenMPClause.h.