clang
10.0.0git
|
This represents clause 'nontemporal' in the '#pragma omp ...' directives. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
void | setPrivateRefs (ArrayRef< Expr *> VL) |
Sets the list of references to private copies created in private clauses. More... | |
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 OMPNontemporalClause * | Create (const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, ArrayRef< Expr *> VL) |
Creates clause with a list of variables VL. More... | |
static OMPNontemporalClause * | CreateEmpty (const ASTContext &C, unsigned N) |
Creates an empty clause with the place for N variables. More... | |
static bool | classof (const OMPClause *T) |
Friends | |
class | OMPClauseReader |
This represents clause 'nontemporal' in the '#pragma omp ...' directives.
In this example directive '#pragma omp simd' has clause 'nontemporal' for the variable 'a'.
Definition at line 6281 of file OpenMPClause.h.
|
inline |
Definition at line 6338 of file OpenMPClause.h.
|
inline |
Definition at line 6343 of file OpenMPClause.h.
References clang::OMPClause::children().
Definition at line 6365 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. |
Definition at line 1162 of file OpenMPClause.cpp.
References clang::ASTContext::Allocate().
Referenced by clang::Sema::ActOnOpenMPNontemporalClause().
|
static |
Creates an empty clause with the place for N variables.
C | AST context. |
N | The number of variables. |
Definition at line 1175 of file OpenMPClause.cpp.
References clang::ASTContext::Allocate().
|
inline |
Definition at line 6348 of file OpenMPClause.h.
Referenced by clang::ASTRecordWriter::writeOMPClause().
|
inline |
Definition at line 6353 of file OpenMPClause.h.
void OMPNontemporalClause::setPrivateRefs | ( | ArrayRef< Expr *> | VL | ) |
Sets the list of references to private copies created in private clauses.
VL | List of references. |
Definition at line 1181 of file OpenMPClause.cpp.
References clang::OMPAllocatorClause::getAllocator(), clang::OMPAtomicDefaultMemOrderClause::getAtomicDefaultMemOrderKind(), clang::OMPScheduleClause::getChunkSize(), clang::OMPIfClause::getCondition(), clang::OMPFinalClause::getCondition(), clang::OMPDefaultClause::getDefaultKind(), OMPDeviceClause::getDevice(), clang::OMPScheduleClause::getFirstScheduleModifier(), OMPGrainsizeClause::getGrainsize(), OMPHintClause::getHint(), clang::OMPIfClause::getNameModifier(), clang::OMPCollapseClause::getNumForLoops(), clang::OMPOrderedClause::getNumForLoops(), OMPNumTasksClause::getNumTasks(), OMPNumTeamsClause::getNumTeams(), clang::OMPNumThreadsClause::getNumThreads(), clang::getOpenMPSimpleClauseTypeName(), OMPPriorityClause::getPriority(), clang::OMPProcBindClause::getProcBindKind(), clang::OMPSafelenClause::getSafelen(), clang::OMPScheduleClause::getScheduleKind(), clang::OMPScheduleClause::getSecondScheduleModifier(), clang::OMPSimdlenClause::getSimdlen(), OMPThreadLimitClause::getThreadLimit(), Node, clang::OMPC_SCHEDULE_MODIFIER_unknown, clang::Stmt::printPretty(), and clang::OMPVarListClause< T >::varlist_empty().
|
inline |
Definition at line 6358 of file OpenMPClause.h.
|
inline |
Definition at line 6361 of file OpenMPClause.h.
|
friend |
Definition at line 6284 of file OpenMPClause.h.