clang 20.0.0git
|
Class that handles pre-initialization statement for some clauses, like 'schedule', 'firstprivate' etc. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
const Stmt * | getPreInitStmt () const |
Get pre-initialization statement for the clause. | |
Stmt * | getPreInitStmt () |
Get pre-initialization statement for the clause. | |
OpenMPDirectiveKind | getCaptureRegion () const |
Get capture region for the stmt in the clause. | |
Static Public Member Functions | |
static OMPClauseWithPreInit * | get (OMPClause *C) |
static const OMPClauseWithPreInit * | get (const OMPClause *C) |
Protected Member Functions | |
OMPClauseWithPreInit (const OMPClause *This) | |
void | setPreInitStmt (Stmt *S, OpenMPDirectiveKind ThisRegion=llvm::omp::OMPD_unknown) |
Set pre-initialization statement for the clause. | |
Friends | |
class | OMPClauseReader |
Class that handles pre-initialization statement for some clauses, like 'schedule', 'firstprivate' etc.
Definition at line 195 of file OpenMPClause.h.
|
inlineprotected |
Definition at line 205 of file OpenMPClause.h.
References get().
|
static |
Definition at line 64 of file OpenMPClause.cpp.
References clang::C.
|
static |
Definition at line 59 of file OpenMPClause.cpp.
References clang::C, and get().
Referenced by clang::SemaOpenMP::ActOnOpenMPRegionEnd(), get(), and OMPClauseWithPreInit().
|
inline |
Get capture region for the stmt in the clause.
Definition at line 225 of file OpenMPClause.h.
|
inline |
Get pre-initialization statement for the clause.
Definition at line 222 of file OpenMPClause.h.
|
inline |
Get pre-initialization statement for the clause.
Definition at line 219 of file OpenMPClause.h.
Referenced by getNumThreads(), clang::OMPIfClause::used_children(), clang::OMPFinalClause::used_children(), clang::OMPPriorityClause::used_children(), clang::OMPGrainsizeClause::used_children(), clang::OMPNumTasksClause::used_children(), clang::OMPNovariantsClause::used_children(), and clang::OMPNocontextClause::used_children().
|
inlineprotected |
Set pre-initialization statement for the clause.
Definition at line 211 of file OpenMPClause.h.
Referenced by clang::OMPNumTeamsClause::Create(), clang::OMPThreadLimitClause::Create(), clang::OMPLinearClause::Create(), clang::OMPInReductionClause::Create(), clang::OMPTaskReductionClause::Create(), clang::OMPFirstprivateClause::Create(), clang::OMPLastprivateClause::Create(), clang::OMPDeviceClause::OMPDeviceClause(), clang::OMPDistScheduleClause::OMPDistScheduleClause(), clang::OMPFilterClause::OMPFilterClause(), clang::OMPFinalClause::OMPFinalClause(), clang::OMPGrainsizeClause::OMPGrainsizeClause(), clang::OMPIfClause::OMPIfClause(), clang::OMPNocontextClause::OMPNocontextClause(), clang::OMPNovariantsClause::OMPNovariantsClause(), clang::OMPNumTasksClause::OMPNumTasksClause(), clang::OMPNumThreadsClause::OMPNumThreadsClause(), clang::OMPPriorityClause::OMPPriorityClause(), clang::OMPScheduleClause::OMPScheduleClause(), and clang::OMPXDynCGroupMemClause::OMPXDynCGroupMemClause().
|
friend |
Definition at line 196 of file OpenMPClause.h.