clang: clang::OMPPermutationClause Class Reference (original) (raw)
This class represents the 'permutation' clause in the '#pragma omp interchange' directive. More...
#include "[clang/AST/OpenMPClause.h](OpenMPClause%5F8h%5Fsource.html)"
| 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 *) |
| 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.
#pragma omp interchange permutation(2,1)
for (int i = 0; i < 64; ++i)
for (int j = 0; j < 64; ++j)
Definition at line 1034 of file OpenMPClause.h.
◆ children() [1/2]
| child_range clang::OMPPermutationClause::children ( ) | inline |
|---|
◆ children() [2/2]
◆ classof()
| bool clang::OMPPermutationClause::classof ( const OMPClause * T) | inlinestatic |
|---|
◆ Create()
◆ CreateEmpty()
◆ getArgsRefs() [1/2]
◆ getArgsRefs() [2/2]
| ArrayRef< Expr * > clang::OMPPermutationClause::getArgsRefs ( ) const | inline |
|---|
◆ getLParenLoc()
| SourceLocation clang::OMPPermutationClause::getLParenLoc ( ) const | inline |
|---|
◆ getNumLoops()
| unsigned clang::OMPPermutationClause::getNumLoops ( ) const | inline |
|---|
◆ setLParenLoc()
| void clang::OMPPermutationClause::setLParenLoc ( SourceLocation Loc) | inline |
|---|
◆ used_children() [1/2]
| child_range clang::OMPPermutationClause::used_children ( ) | inline |
|---|
◆ used_children() [2/2]
◆ llvm::TrailingObjects< OMPSizesClause, Expr * >
◆ OMPClauseReader
The documentation for this class was generated from the following files:
- include/clang/AST/OpenMPClause.h
- lib/AST/OpenMPClause.cpp