clang
9.0.0
|
This represents 'num_teams' clause in the '#pragma omp ...' directive. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
OMPNumTeamsClause (Expr *E, Stmt *HelperE, OpenMPDirectiveKind CaptureRegion, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) | |
Build 'num_teams' clause. More... | |
OMPNumTeamsClause () | |
Build an empty clause. More... | |
void | setLParenLoc (SourceLocation Loc) |
Sets the location of '('. More... | |
SourceLocation | getLParenLoc () const |
Returns the location of '('. More... | |
Expr * | getNumTeams () |
Return NumTeams number. More... | |
Expr * | getNumTeams () const |
Return NumTeams number. More... | |
child_range | children () |
const_child_range | children () const |
child_range | used_children () |
const_child_range | used_children () const |
Static Public Member Functions | |
static bool | classof (const OMPClause *T) |
Friends | |
class | OMPClauseReader |
This represents 'num_teams' clause in the '#pragma omp ...' directive.
In this example directive '#pragma omp teams' has clause 'num_teams' with single expression 'n'.
Definition at line 5017 of file OpenMPClause.h.
|
inline |
Build 'num_teams' clause.
E | Expression associated with this clause. |
HelperE | Helper Expression associated with this clause. |
CaptureRegion | Innermost OpenMP region where expressions in this clause must be captured. |
StartLoc | Starting location of the clause. |
LParenLoc | Location of '('. |
EndLoc | Ending location of the clause. |
Definition at line 5041 of file OpenMPClause.h.
|
inline |
Build an empty clause.
Definition at line 5050 of file OpenMPClause.h.
|
inline |
Definition at line 5066 of file OpenMPClause.h.
|
inline |
Definition at line 5068 of file OpenMPClause.h.
Definition at line 5079 of file OpenMPClause.h.
|
inline |
Returns the location of '('.
Definition at line 5058 of file OpenMPClause.h.
Referenced by clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().
|
inline |
Return NumTeams number.
Definition at line 5061 of file OpenMPClause.h.
Referenced by OMPIsDevicePtrClause::CreateEmpty(), and clang::OMPClauseWriter::VisitOMPClauseWithPostUpdate().
|
inline |
Return NumTeams number.
Definition at line 5064 of file OpenMPClause.h.
|
inline |
Sets the location of '('.
Definition at line 5055 of file OpenMPClause.h.
|
inline |
Definition at line 5072 of file OpenMPClause.h.
|
inline |
Definition at line 5075 of file OpenMPClause.h.
|
friend |
Definition at line 5018 of file OpenMPClause.h.