clang 23.0.0git
OMPXDynCGroupMemClause Class Reference

This represents 'ompx_dyn_cgroup_mem' clause in the '#pragma omp target ...' directive. More...

#include "clang/AST/OpenMPClause.h"

Inheritance diagram for OMPXDynCGroupMemClause:
[legend]

Public Member Functions

 OMPXDynCGroupMemClause (Expr *Size, Stmt *HelperSize, OpenMPDirectiveKind CaptureRegion, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc)
 Build 'ompx_dyn_cgroup_mem' clause.
 OMPXDynCGroupMemClause ()
 Build an empty clause.
Expr * getSize ()
 Return the size expression.
Expr * getSize () const
 Return the size expression.

Friends

class OMPClauseReader

Detailed Description

This represents 'ompx_dyn_cgroup_mem' clause in the '#pragma omp target ...' directive.

#pragma omp target [...] ompx_dyn_cgroup_mem(N)

Definition at line 9935 of file OpenMPClause.h.

Constructor & Destructor Documentation

◆ OMPXDynCGroupMemClause() [1/2]

OMPXDynCGroupMemClause::OMPXDynCGroupMemClause ( Expr * Size,
Stmt * HelperSize,
OpenMPDirectiveKind CaptureRegion,
SourceLocation StartLoc,
SourceLocation LParenLoc,
SourceLocation EndLoc )
inline

Build 'ompx_dyn_cgroup_mem' clause.

Parameters
SizeSize expression.
HelperSizeHelper Size expression
CaptureRegionInnermost OpenMP region where expressions in this
StartLocStarting location of the clause.
LParenLocLocation of '('.
EndLocEnding location of the clause.

Definition at line 9952 of file OpenMPClause.h.

◆ OMPXDynCGroupMemClause() [2/2]

OMPXDynCGroupMemClause::OMPXDynCGroupMemClause ( )
inline

Build an empty clause.

Definition at line 9962 of file OpenMPClause.h.

Member Function Documentation

◆ getSize() [1/2]

Expr * OMPXDynCGroupMemClause::getSize ( )
inline

Return the size expression.

Definition at line 9965 of file OpenMPClause.h.

◆ getSize() [2/2]

Expr * OMPXDynCGroupMemClause::getSize ( ) const
inline

Return the size expression.

Definition at line 9968 of file OpenMPClause.h.

◆ OMPClauseReader

friend class OMPClauseReader
friend

Definition at line 9938 of file OpenMPClause.h.

References OMPClauseReader.

Referenced by OMPClauseReader.


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