|
clang 23.0.0git
|
This represents the 'doacross' clause for the '#pragma omp ordered' directive. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
| OpenMPDoacrossClauseModifier | getDependenceType () const |
| Get dependence type. | |
| SourceLocation | getDependenceLoc () const |
| Get dependence type location. | |
| SourceLocation | getColonLoc () const |
| Get colon location. | |
| unsigned | getNumLoops () const |
| Get number of loops associated with the clause. | |
| void | setLoopData (unsigned NumLoop, Expr *Cnt) |
| Set the loop data. | |
| Expr * | getLoopData (unsigned NumLoop) |
| Get the loop data. | |
| const Expr * | getLoopData (unsigned NumLoop) const |
| child_range | children () |
| const_child_range | children () const |
| child_range | used_children () |
| const_child_range | used_children () const |
Static Public Member Functions | |
| static OMPDoacrossClause * | Create (const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, OpenMPDoacrossClauseModifier DepType, SourceLocation DepLoc, SourceLocation ColonLoc, ArrayRef< Expr * > VL, unsigned NumLoops) |
| Creates clause with a list of expressions VL. | |
| static OMPDoacrossClause * | CreateEmpty (const ASTContext &C, unsigned N, unsigned NumLoops) |
| Creates an empty clause with N expressions. | |
| static bool | classof (const OMPClause *T) |
Friends | |
| class | OMPClauseReader |
This represents the 'doacross' clause for the '#pragma omp ordered' directive.
In this example directive '#pragma omp ordered' with clause 'doacross' with a dependence-type 'sink' and loop-iteration vector expressions i-1 and j-1.
Definition at line 10124 of file OpenMPClause.h.
|
inline |
Definition at line 10220 of file OpenMPClause.h.
Referenced by children().
|
inline |
Definition at line 10225 of file OpenMPClause.h.
References children().
Definition at line 10236 of file OpenMPClause.h.
|
static |
Creates clause with a list of expressions VL.
| C | AST context. |
| StartLoc | Starting location of the clause. |
| LParenLoc | Location of '('. |
| EndLoc | Ending location of the clause. |
| DepType | The dependence type. |
| DepLoc | Location of the dependence type. |
| ColonLoc | Location of ':'. |
| VL | List of references to the expressions. |
| NumLoops | Number of loops that associated with the clause. |
Definition at line 1812 of file OpenMPClause.cpp.
References clang::C.
Referenced by clang::SemaOpenMP::ActOnOpenMPDoacrossClause().
|
static |
Creates an empty clause with N expressions.
| C | AST context. |
| N | The number of expressions. |
| NumLoops | Number of loops that is associated with this clause. |
Definition at line 1830 of file OpenMPClause.cpp.
References clang::C.
Referenced by clang::OMPClauseReader::readClause().
|
inline |
Get colon location.
Definition at line 10208 of file OpenMPClause.h.
|
inline |
Get dependence type location.
Definition at line 10205 of file OpenMPClause.h.
|
inline |
Get dependence type.
Definition at line 10202 of file OpenMPClause.h.
Get the loop data.
Definition at line 1844 of file OpenMPClause.cpp.
Definition at line 1850 of file OpenMPClause.cpp.
|
inline |
Get number of loops associated with the clause.
Definition at line 10211 of file OpenMPClause.h.
Set the loop data.
Definition at line 1838 of file OpenMPClause.cpp.
|
inline |
Definition at line 10229 of file OpenMPClause.h.
|
inline |
Definition at line 10232 of file OpenMPClause.h.
|
friend |
Definition at line 10127 of file OpenMPClause.h.
References OMPClauseReader.
Referenced by OMPClauseReader.