|
clang
3.8.0
|
This represents clause 'copyprivate' in the '#pragma omp ...' directives. More...
#include <OpenMPClause.h>
Public Types | |
| typedef MutableArrayRef< Expr * > ::iterator | helper_expr_iterator |
| typedef ArrayRef< const Expr * > ::iterator | helper_expr_const_iterator |
| typedef llvm::iterator_range < helper_expr_iterator > | helper_expr_range |
| typedef llvm::iterator_range < helper_expr_const_iterator > | helper_expr_const_range |
Public Member Functions | |
| helper_expr_const_range | source_exprs () const |
| helper_expr_range | source_exprs () |
| helper_expr_const_range | destination_exprs () const |
| helper_expr_range | destination_exprs () |
| helper_expr_const_range | assignment_ops () const |
| helper_expr_range | assignment_ops () |
| child_range | children () |
Static Public Member Functions | |
| static OMPCopyprivateClause * | Create (const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, ArrayRef< Expr * > VL, ArrayRef< Expr * > SrcExprs, ArrayRef< Expr * > DstExprs, ArrayRef< Expr * > AssignmentOps) |
| Creates clause with a list of variables VL. More... | |
| static OMPCopyprivateClause * | CreateEmpty (const ASTContext &C, unsigned N) |
| Creates an empty clause with N variables. More... | |
| static bool | classof (const OMPClause *T) |
Friends | |
| class | OMPClauseReader |
This represents clause 'copyprivate' in the '#pragma omp ...' directives.
In this example directive '#pragma omp single' has clause 'copyprivate' with the variables 'a' and 'b'.
Definition at line 2309 of file OpenMPClause.h.
| typedef ArrayRef<const Expr *>::iterator OMPCopyprivateClause::helper_expr_const_iterator |
Definition at line 2410 of file OpenMPClause.h.
| typedef llvm::iterator_range<helper_expr_const_iterator> OMPCopyprivateClause::helper_expr_const_range |
Definition at line 2413 of file OpenMPClause.h.
| typedef MutableArrayRef<Expr *>::iterator OMPCopyprivateClause::helper_expr_iterator |
Definition at line 2409 of file OpenMPClause.h.
| typedef llvm::iterator_range<helper_expr_iterator> OMPCopyprivateClause::helper_expr_range |
Definition at line 2411 of file OpenMPClause.h.
|
inline |
Definition at line 2430 of file OpenMPClause.h.
References clang::begin(), and clang::end().
|
inline |
Definition at line 2434 of file OpenMPClause.h.
References clang::begin(), and clang::end().
|
inline |
Definition at line 2439 of file OpenMPClause.h.
Definition at line 2444 of file OpenMPClause.h.
|
static |
Creates clause with a list of variables VL.
| C | AST context. |
| StartLoc | Starting location of the clause. |
| LParenLoc | Location of '('. |
| EndLoc | Ending location of the clause. |
| VL | List of references to the variables. |
| SrcExprs | List of helper expressions for proper generation of assignment operation required for copyprivate clause. This list represents sources. |
| DstExprs | List of helper expressions for proper generation of assignment operation required for copyprivate clause. This list represents destinations. |
| AssignmentOps | List of helper expressions that represents assignment operation: DstExprs = SrcExprs;
|
Definition at line 291 of file OpenMPClause.cpp.
References clang::ASTContext::Allocate().
Referenced by clang::Sema::ActOnOpenMPCopyprivateClause().
|
static |
Creates an empty clause with N variables.
| C | AST context. |
| N | The number of variables. |
Definition at line 305 of file OpenMPClause.cpp.
References clang::ASTContext::Allocate().
Referenced by clang::OMPClauseReader::readClause().
|
inline |
Definition at line 2422 of file OpenMPClause.h.
References clang::begin(), and clang::end().
|
inline |
Definition at line 2426 of file OpenMPClause.h.
References clang::begin(), and clang::end().
|
inline |
Definition at line 2415 of file OpenMPClause.h.
References clang::begin(), and clang::end().
|
inline |
Definition at line 2419 of file OpenMPClause.h.
References clang::begin(), and clang::end().
|
friend |
Definition at line 2314 of file OpenMPClause.h.
1.8.6