|
clang 22.0.0git
|
This class represents the 'permutation' clause in the '#pragma omp interchange' directive. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
| void | setLParenLoc (SourceLocation Loc) |
| Sets the location of '('. | |
| SourceLocation | getLParenLoc () const |
| Returns the location of '('. | |
| unsigned | getNumLoops () const |
| Returns the number of list items. | |
| child_range | children () |
| const_child_range | children () const |
| child_range | used_children () |
| const_child_range | used_children () const |
| MutableArrayRef< Expr * > | getArgsRefs () |
| Returns the permutation index expressions. | |
| ArrayRef< Expr * > | getArgsRefs () const |
| Public Member Functions inherited from clang::OMPClause | |
| SourceLocation | getBeginLoc () const |
| Returns the starting location of the clause. | |
| SourceLocation | getEndLoc () const |
| Returns the ending location of the clause. | |
| void | setLocStart (SourceLocation Loc) |
| Sets the starting location of the clause. | |
| void | setLocEnd (SourceLocation Loc) |
| Sets the ending location of the clause. | |
| OpenMPClauseKind | getClauseKind () const |
| Returns kind of OpenMP clause (private, shared, reduction, etc.). | |
| bool | isImplicit () const |
| child_range | children () |
| const_child_range | children () const |
| child_range | used_children () |
| Get the iterator range for the expressions used in the clauses. | |
| const_child_range | used_children () const |
Static Public Member Functions | |
| static OMPPermutationClause * | Create (const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, ArrayRef< Expr * > Args) |
| Build a 'permutation' clause AST node. | |
| static OMPPermutationClause * | CreateEmpty (const ASTContext &C, unsigned NumLoops) |
| Build an empty 'permutation' AST node for deserialization. | |
| static bool | classof (const OMPClause *T) |
| Static Public Member Functions inherited from clang::OMPClause | |
| static bool | classof (const OMPClause *) |
Friends | |
| class | OMPClauseReader |
| class | llvm::TrailingObjects< OMPSizesClause, Expr * > |
Additional Inherited Members | |
| Public Types inherited from clang::OMPClause | |
| using | child_iterator = StmtIterator |
| using | const_child_iterator = ConstStmtIterator |
| using | child_range = llvm::iterator_range<child_iterator> |
| using | const_child_range = llvm::iterator_range<const_child_iterator> |
| Protected Member Functions inherited from clang::OMPClause | |
| OMPClause (OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) | |
This class represents the 'permutation' clause in the '#pragma omp interchange' directive.
Definition at line 1043 of file OpenMPClause.h.
|
inline |
Definition at line 1102 of file OpenMPClause.h.
References getArgsRefs().
|
inline |
Definition at line 1107 of file OpenMPClause.h.
References getArgsRefs().
Definition at line 1120 of file OpenMPClause.h.
References clang::OMPClause::OMPClause(), and clang::T.
|
static |
Build a 'permutation' clause AST node.
| C | Context of the AST. |
| StartLoc | Location of the 'permutation' identifier. |
| LParenLoc | Location of '('. |
| EndLoc | Location of ')'. |
| Args | Content of the clause. |
Definition at line 987 of file OpenMPClause.cpp.
References clang::C, and CreateEmpty().
Referenced by clang::SemaOpenMP::ActOnOpenMPPermutationClause().
|
static |
Build an empty 'permutation' AST node for deserialization.
| C | Context of the AST. |
| NumLoops | Number of arguments in the clause. |
Definition at line 1000 of file OpenMPClause.cpp.
References clang::C.
Referenced by Create(), and clang::OMPClauseReader::readClause().
|
inline |
Returns the permutation index expressions.
Definition at line 1098 of file OpenMPClause.h.
Referenced by clang::SemaOpenMP::ActOnOpenMPInterchangeDirective(), children(), and children().
Definition at line 1099 of file OpenMPClause.h.
|
inline |
Returns the location of '('.
Definition at line 1091 of file OpenMPClause.h.
|
inline |
Returns the number of list items.
Definition at line 1094 of file OpenMPClause.h.
Referenced by clang::SemaOpenMP::ActOnOpenMPInterchangeDirective().
|
inline |
Sets the location of '('.
Definition at line 1088 of file OpenMPClause.h.
|
inline |
Definition at line 1113 of file OpenMPClause.h.
|
inline |
Definition at line 1116 of file OpenMPClause.h.
|
friend |
Definition at line 1046 of file OpenMPClause.h.
References OMPClauseReader.
|
friend |
Definition at line 1046 of file OpenMPClause.h.
Referenced by llvm::TrailingObjects< OMPSizesClause, Expr * >.