class OMPNontemporalClause

Declaration

class OMPNontemporalClause : public OMPVarListClause,
                             private TrailingObjects { /* full declaration omitted */ };

Description

This represents clause 'nontemporal' in the '#pragma omp ...' directives. In this example directive '#pragma omp simd' has clause 'nontemporal' for the variable 'a'.

Declared at: clang/include/clang/AST/OpenMPClause.h:7543

Inherits from: OMPVarListClause, TrailingObjects

Method Overview

  • public static clang::OMPNontemporalClause * Create(const clang::ASTContext & C, clang::SourceLocation StartLoc, clang::SourceLocation LParenLoc, clang::SourceLocation EndLoc, ArrayRef<clang::Expr *> VL)
  • public static clang::OMPNontemporalClause * CreateEmpty(const clang::ASTContext & C, unsigned int N)
  • private OMPNontemporalClause(clang::SourceLocation StartLoc, clang::SourceLocation LParenLoc, clang::SourceLocation EndLoc, unsigned int N)
  • private OMPNontemporalClause(unsigned int N)
  • public clang::OMPClause::child_range children()
  • public clang::OMPClause::const_child_range children() const
  • public static bool classof(const clang::OMPClause * T)
  • private MutableArrayRef<clang::Expr *> getPrivateRefs()
  • private ArrayRef<const clang::Expr *> getPrivateRefs() const
  • public clang::OMPClause::child_range private_refs()
  • public clang::OMPClause::const_child_range private_refs() const
  • public void setPrivateRefs(ArrayRef<clang::Expr *> VL)
  • public clang::OMPClause::child_range used_children()
  • public clang::OMPClause::const_child_range used_children() const

Methods

static clang::OMPNontemporalClause* Create(
    const clang::ASTContext& C,
    clang::SourceLocation StartLoc,
    clang::SourceLocation LParenLoc,
    clang::SourceLocation EndLoc,
    ArrayRef<clang::Expr*> VL)

Description

Creates clause with a list of variables \a VL.

Declared at: clang/include/clang/AST/OpenMPClause.h:7588

Parameters

const clang::ASTContext& C
AST context.
clang::SourceLocation StartLoc
Starting location of the clause.
clang::SourceLocation LParenLoc
Location of '('.
clang::SourceLocation EndLoc
Ending location of the clause.
ArrayRef<clang::Expr*> VL
List of references to the variables.

static clang::OMPNontemporalClause* CreateEmpty(
    const clang::ASTContext& C,
    unsigned int N)

Description

Creates an empty clause with the place for \a N variables.

Declared at: clang/include/clang/AST/OpenMPClause.h:7595

Parameters

const clang::ASTContext& C
AST context.
unsigned int N
The number of variables.

OMPNontemporalClause(
    clang::SourceLocation StartLoc,
    clang::SourceLocation LParenLoc,
    clang::SourceLocation EndLoc,
    unsigned int N)

Description

Build clause with number of variables \a N.

Declared at: clang/include/clang/AST/OpenMPClause.h:7556

Parameters

clang::SourceLocation StartLoc
Starting location of the clause.
clang::SourceLocation LParenLoc
Location of '('.
clang::SourceLocation EndLoc
Ending location of the clause.
unsigned int N
Number of the variables in the clause.

OMPNontemporalClause(unsigned int N)

Description

Build an empty clause.

Declared at: clang/include/clang/AST/OpenMPClause.h:7565

Parameters

unsigned int N
Number of variables.

clang::OMPClause::child_range children()

Declared at: clang/include/clang/AST/OpenMPClause.h:7601

clang::OMPClause::const_child_range children()
    const

Declared at: clang/include/clang/AST/OpenMPClause.h:7606

static bool classof(const clang::OMPClause* T)

Declared at: clang/include/clang/AST/OpenMPClause.h:7628

Parameters

const clang::OMPClause* T

MutableArrayRef<clang::Expr*> getPrivateRefs()

Description

Get the list of privatied copies if the member expression was captured by one of the privatization clauses.

Declared at: clang/include/clang/AST/OpenMPClause.h:7572

ArrayRef<const clang::Expr*> getPrivateRefs()
    const

Declared at: clang/include/clang/AST/OpenMPClause.h:7575

clang::OMPClause::child_range private_refs()

Declared at: clang/include/clang/AST/OpenMPClause.h:7611

clang::OMPClause::const_child_range private_refs()
    const

Declared at: clang/include/clang/AST/OpenMPClause.h:7616

void setPrivateRefs(ArrayRef<clang::Expr*> VL)

Description

Sets the list of references to private copies created in private clauses.

Declared at: clang/include/clang/AST/OpenMPClause.h:7599

Parameters

ArrayRef<clang::Expr*> VL
List of references.

clang::OMPClause::child_range used_children()

Declared at: clang/include/clang/AST/OpenMPClause.h:7621

clang::OMPClause::const_child_range
used_children() const

Declared at: clang/include/clang/AST/OpenMPClause.h:7624