clang 23.0.0git
OMPNontemporalClause Class Referencefinal

This represents clause 'nontemporal' in the '#pragma omp ...' directives. More...

#include "clang/AST/OpenMPClause.h"

Inheritance diagram for OMPNontemporalClause:
[legend]

Public Member Functions

void setPrivateRefs (ArrayRef< Expr * > VL)
 Sets the list of references to private copies created in private clauses.
child_range children ()
const_child_range children () const
child_range private_refs ()
const_child_range private_refs () const
child_range used_children ()
const_child_range used_children () const

Static Public Member Functions

static OMPNontemporalClauseCreate (const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, ArrayRef< Expr * > VL)
 Creates clause with a list of variables VL.
static OMPNontemporalClauseCreateEmpty (const ASTContext &C, unsigned N)
 Creates an empty clause with the place for N variables.
static bool classof (const OMPClause *T)

Friends

class OMPClauseReader

Detailed Description

This represents clause 'nontemporal' in the '#pragma omp ...' directives.

#pragma omp simd nontemporal(a)

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

Definition at line 8548 of file OpenMPClause.h.

Member Function Documentation

◆ children() [1/2]

child_range OMPNontemporalClause::children ( )
inline

Definition at line 8606 of file OpenMPClause.h.

Referenced by children().

◆ children() [2/2]

const_child_range OMPNontemporalClause::children ( ) const
inline

Definition at line 8611 of file OpenMPClause.h.

References children().

◆ classof()

bool OMPNontemporalClause::classof ( const OMPClause * T)
inlinestatic

Definition at line 8631 of file OpenMPClause.h.

◆ Create()

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

Creates clause with a list of variables VL.

Parameters
CAST context.
StartLocStarting location of the clause.
LParenLocLocation of '('.
EndLocEnding location of the clause.
VLList of references to the variables.

Definition at line 1634 of file OpenMPClause.cpp.

References clang::C.

Referenced by clang::SemaOpenMP::ActOnOpenMPNontemporalClause().

◆ CreateEmpty()

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

Creates an empty clause with the place for N variables.

Parameters
CAST context.
NThe number of variables.

Definition at line 1647 of file OpenMPClause.cpp.

References clang::C.

Referenced by clang::OMPClauseReader::readClause().

◆ private_refs() [1/2]

child_range OMPNontemporalClause::private_refs ( )
inline

Definition at line 8615 of file OpenMPClause.h.

Referenced by private_refs().

◆ private_refs() [2/2]

const_child_range OMPNontemporalClause::private_refs ( ) const
inline

Definition at line 8620 of file OpenMPClause.h.

References private_refs().

◆ setPrivateRefs()

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

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

Parameters
VLList of references.

Definition at line 1653 of file OpenMPClause.cpp.

◆ used_children() [1/2]

child_range OMPNontemporalClause::used_children ( )
inline

Definition at line 8624 of file OpenMPClause.h.

◆ used_children() [2/2]

const_child_range OMPNontemporalClause::used_children ( ) const
inline

Definition at line 8627 of file OpenMPClause.h.

◆ OMPClauseReader

friend class OMPClauseReader
friend

Definition at line 8551 of file OpenMPClause.h.

References OMPClauseReader.

Referenced by OMPClauseReader.


The documentation for this class was generated from the following files: