clang 22.0.0git
clang::OMPClauseWithPreInit Class Reference

Class that handles pre-initialization statement for some clauses, like 'schedule', 'firstprivate' etc. More...

#include "clang/AST/OpenMPClause.h"

Inheritance diagram for clang::OMPClauseWithPreInit:
[legend]

Public Member Functions

const StmtgetPreInitStmt () const
 Get pre-initialization statement for the clause.
StmtgetPreInitStmt ()
 Get pre-initialization statement for the clause.
OpenMPDirectiveKind getCaptureRegion () const
 Get capture region for the stmt in the clause.

Static Public Member Functions

static OMPClauseWithPreInitget (OMPClause *C)
static const OMPClauseWithPreInitget (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

Detailed Description

Class that handles pre-initialization statement for some clauses, like 'schedule', 'firstprivate' etc.

Definition at line 195 of file OpenMPClause.h.

Constructor & Destructor Documentation

◆ OMPClauseWithPreInit()

clang::OMPClauseWithPreInit::OMPClauseWithPreInit ( const OMPClause * This)
inlineprotected

Definition at line 205 of file OpenMPClause.h.

References get().

Referenced by get(), get(), clang::OMPFirstprivateClause::OMPClauseReader, clang::OMPClauseWithPostUpdate::OMPClauseWithPostUpdate(), clang::OMPDeviceClause::OMPDeviceClause(), clang::OMPDeviceClause::OMPDeviceClause(), clang::OMPDistScheduleClause::OMPDistScheduleClause(), clang::OMPDistScheduleClause::OMPDistScheduleClause(), clang::OMPFilterClause::OMPFilterClause(), clang::OMPFilterClause::OMPFilterClause(), clang::OMPFinalClause::OMPFinalClause(), clang::OMPFinalClause::OMPFinalClause(), clang::OMPGrainsizeClause::OMPGrainsizeClause(), clang::OMPGrainsizeClause::OMPGrainsizeClause(), clang::OMPIfClause::OMPIfClause(), clang::OMPIfClause::OMPIfClause(), clang::OMPMessageClause::OMPMessageClause(), clang::OMPMessageClause::OMPMessageClause(), clang::OMPNocontextClause::OMPNocontextClause(), clang::OMPNocontextClause::OMPNocontextClause(), clang::OMPNovariantsClause::OMPNovariantsClause(), clang::OMPNovariantsClause::OMPNovariantsClause(), clang::OMPNumTasksClause::OMPNumTasksClause(), clang::OMPNumTasksClause::OMPNumTasksClause(), clang::OMPNumThreadsClause::OMPNumThreadsClause(), clang::OMPNumThreadsClause::OMPNumThreadsClause(), clang::OMPPriorityClause::OMPPriorityClause(), clang::OMPPriorityClause::OMPPriorityClause(), clang::OMPScheduleClause::OMPScheduleClause(), clang::OMPScheduleClause::OMPScheduleClause(), clang::OMPXDynCGroupMemClause::OMPXDynCGroupMemClause(), and clang::OMPXDynCGroupMemClause::OMPXDynCGroupMemClause().

Member Function Documentation

◆ get() [1/2]

const OMPClauseWithPreInit * OMPClauseWithPreInit::get ( const OMPClause * C)
static

Definition at line 63 of file OpenMPClause.cpp.

References clang::C, and OMPClauseWithPreInit().

◆ get() [2/2]

OMPClauseWithPreInit * OMPClauseWithPreInit::get ( OMPClause * C)
static

◆ getCaptureRegion()

OpenMPDirectiveKind clang::OMPClauseWithPreInit::getCaptureRegion ( ) const
inline

Get capture region for the stmt in the clause.

Definition at line 225 of file OpenMPClause.h.

◆ getPreInitStmt() [1/2]

Stmt * clang::OMPClauseWithPreInit::getPreInitStmt ( )
inline

Get pre-initialization statement for the clause.

Definition at line 222 of file OpenMPClause.h.

◆ getPreInitStmt() [2/2]

◆ setPreInitStmt()

◆ OMPClauseReader

friend class OMPClauseReader
friend

Definition at line 196 of file OpenMPClause.h.

References OMPClauseReader.

Referenced by OMPClauseReader.


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