clang
10.0.0git
|
This represents clause 'copyin' in the '#pragma omp ...' directives. More...
#include "clang/AST/OpenMPClause.h"
Public Types | |
using | helper_expr_iterator = MutableArrayRef< Expr * >::iterator |
using | helper_expr_const_iterator = ArrayRef< const Expr * >::iterator |
using | helper_expr_range = llvm::iterator_range< helper_expr_iterator > |
using | helper_expr_const_range = llvm::iterator_range< helper_expr_const_iterator > |
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 () |
const_child_range | children () const |
child_range | used_children () |
const_child_range | used_children () const |
Static Public Member Functions | |
static OMPCopyinClause * | 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 OMPCopyinClause * | 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 'copyin' in the '#pragma omp ...' directives.
In this example directive '#pragma omp parallel' has clause 'copyin' with the variables 'a' and 'b'.
Definition at line 3541 of file OpenMPClause.h.
using OMPCopyinClause::helper_expr_const_iterator = ArrayRef<const Expr *>::iterator |
Definition at line 3654 of file OpenMPClause.h.
using OMPCopyinClause::helper_expr_const_range = llvm::iterator_range<helper_expr_const_iterator> |
Definition at line 3657 of file OpenMPClause.h.
using OMPCopyinClause::helper_expr_iterator = MutableArrayRef<Expr *>::iterator |
Definition at line 3653 of file OpenMPClause.h.
using OMPCopyinClause::helper_expr_range = llvm::iterator_range<helper_expr_iterator> |
Definition at line 3655 of file OpenMPClause.h.
|
inline |
Definition at line 3678 of file OpenMPClause.h.
Referenced by clang::ASTRecordWriter::writeOMPClause().
|
inline |
Definition at line 3683 of file OpenMPClause.h.
|
inline |
Definition at line 3688 of file OpenMPClause.h.
|
inline |
Definition at line 3693 of file OpenMPClause.h.
References clang::OMPClause::children().
Definition at line 3705 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 copyin clause. This list represents sources. |
DstExprs | List of helper expressions for proper generation of assignment operation required for copyin clause. This list represents destinations. |
AssignmentOps | List of helper expressions that represents assignment operation: DstExprs = SrcExprs; |
Definition at line 562 of file OpenMPClause.cpp.
References clang::ASTContext::Allocate().
|
static |
Creates an empty clause with N variables.
C | AST context. |
N | The number of variables. |
Definition at line 576 of file OpenMPClause.cpp.
References clang::ASTContext::Allocate().
|
inline |
Definition at line 3668 of file OpenMPClause.h.
Referenced by clang::ASTRecordWriter::writeOMPClause().
|
inline |
Definition at line 3673 of file OpenMPClause.h.
|
inline |
Definition at line 3659 of file OpenMPClause.h.
Referenced by clang::ASTRecordWriter::writeOMPClause().
|
inline |
Definition at line 3664 of file OpenMPClause.h.
|
inline |
Definition at line 3698 of file OpenMPClause.h.
|
inline |
Definition at line 3701 of file OpenMPClause.h.
|
friend |
Definition at line 3557 of file OpenMPClause.h.