clang 20.0.0git
|
Represents a 'collapse' clause on a 'loop' construct. More...
#include "clang/AST/OpenACCClause.h"
Public Member Functions | |
const Expr * | getLoopCount () const |
Expr * | getLoopCount () |
bool | hasForce () const |
![]() | |
bool | hasIntExpr () const |
const Expr * | getIntExpr () const |
Expr * | getIntExpr () |
![]() | |
child_range | children () |
const_child_range | children () const |
![]() | |
SourceLocation | getLParenLoc () const |
child_range | children () |
const_child_range | children () const |
![]() | |
OpenACCClauseKind | getClauseKind () const |
SourceLocation | getBeginLoc () const |
SourceLocation | getEndLoc () const |
child_range | children () |
const_child_range | children () const |
virtual | ~OpenACCClause ()=default |
Static Public Member Functions | |
static bool | classof (const OpenACCClause *C) |
static OpenACCCollapseClause * | Create (const ASTContext &C, SourceLocation BeginLoc, SourceLocation LParenLoc, bool HasForce, Expr *LoopCount, SourceLocation EndLoc) |
![]() | |
static bool | classof (const OpenACCClause *C) |
![]() | |
static bool | classof (const OpenACCClause *C) |
![]() | |
static bool | classof (const OpenACCClause *C) |
![]() | |
static bool | classof (const OpenACCClause *) |
Additional Inherited Members | |
![]() | |
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 > |
![]() | |
OpenACCClauseWithSingleIntExpr (OpenACCClauseKind K, SourceLocation BeginLoc, SourceLocation LParenLoc, Expr *IntExpr, SourceLocation EndLoc) | |
![]() | |
OpenACCClauseWithExprs (OpenACCClauseKind K, SourceLocation BeginLoc, SourceLocation LParenLoc, SourceLocation EndLoc) | |
void | setExprs (MutableArrayRef< Expr * > NewExprs) |
Used only for initialization, the leaf class can initialize this to trailing storage. | |
llvm::ArrayRef< Expr * > | getExprs () const |
Gets the entire list of expressions, but leave it to the individual clauses to expose this how they'd like. | |
![]() | |
OpenACCClauseWithParams (OpenACCClauseKind K, SourceLocation BeginLoc, SourceLocation LParenLoc, SourceLocation EndLoc) | |
![]() | |
OpenACCClause (OpenACCClauseKind K, SourceLocation BeginLoc, SourceLocation EndLoc) | |
Represents a 'collapse' clause on a 'loop' construct.
This clause takes an integer constant expression 'N' that represents how deep to collapse the construct. It also takes an optional 'force' tag that permits intervening code in the loops.
Definition at line 653 of file OpenACCClause.h.
|
inlinestatic |
Definition at line 665 of file OpenACCClause.h.
References clang::C, and clang::Collapse.
Referenced by clang::OpenACCClauseWithSingleIntExpr::classof().
|
static |
Definition at line 169 of file OpenACCClause.cpp.
References clang::C, and clang::Expr::isInstantiationDependent().
Referenced by clang::ASTRecordReader::readOpenACCClause().
|
inline |
Definition at line 661 of file OpenACCClause.h.
References clang::OpenACCClauseWithSingleIntExpr::getIntExpr().
|
inline |
Definition at line 660 of file OpenACCClause.h.
References clang::OpenACCClauseWithSingleIntExpr::getIntExpr().
Referenced by clang::SemaOpenACC::AssociatedStmtRAII::SetCollapseInfoBeforeAssociatedStmt().
|
inline |
Definition at line 663 of file OpenACCClause.h.