clang 22.0.0git
|
This class represents a 'loop' construct. The 'loop' construct applies to a 'for' loop (or range-for loop), and is optionally associated with a Compute Construct. More...
#include "clang/AST/StmtOpenACC.h"
Public Member Functions | |
Stmt * | getLoop () |
const Stmt * | getLoop () const |
bool | isOrphanedLoopConstruct () const |
OpenACC 3.3 2.9: An orphaned loop construct is a loop construct that is not lexically enclosed within a compute construct. The parent compute construct of a loop construct is the nearest compute construct that lexically contains the loop construct. | |
OpenACCDirectiveKind | getParentComputeConstructKind () const |
Static Public Member Functions | |
static bool | classof (const Stmt *T) |
static OpenACCLoopConstruct * | CreateEmpty (const ASTContext &C, unsigned NumClauses) |
static OpenACCLoopConstruct * | Create (const ASTContext &C, OpenACCDirectiveKind ParentKind, SourceLocation BeginLoc, SourceLocation DirLoc, SourceLocation EndLoc, ArrayRef< const OpenACCClause * > Clauses, Stmt *Loop) |
Friends | |
class | ASTStmtWriter |
class | ASTStmtReader |
class | ASTContext |
class | OpenACCAssociatedStmtConstruct |
class | OpenACCCombinedConstruct |
class | OpenACCComputeConstruct |
This class represents a 'loop' construct. The 'loop' construct applies to a 'for' loop (or range-for loop), and is optionally associated with a Compute Construct.
Definition at line 187 of file StmtOpenACC.h.
|
inlinestatic |
Definition at line 211 of file StmtOpenACC.h.
|
static |
Definition at line 75 of file StmtOpenACC.cpp.
References ASTContext, clang::C, and clang::Loop.
Referenced by clang::SemaOpenACC::ActOnEndStmtDirective().
|
static |
Definition at line 66 of file StmtOpenACC.cpp.
References ASTContext, and clang::C.
|
inline |
Definition at line 223 of file StmtOpenACC.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitOpenACCLoopConstruct(), and getLoop().
|
inline |
Definition at line 224 of file StmtOpenACC.h.
References getLoop().
|
inline |
Definition at line 237 of file StmtOpenACC.h.
Referenced by clang::TextNodeDumper::VisitOpenACCLoopConstruct().
|
inline |
OpenACC 3.3 2.9: An orphaned loop construct is a loop construct that is not lexically enclosed within a compute construct. The parent compute construct of a loop construct is the nearest compute construct that lexically contains the loop construct.
Definition at line 233 of file StmtOpenACC.h.
Referenced by clang::TextNodeDumper::VisitOpenACCLoopConstruct().
|
friend |
Definition at line 198 of file StmtOpenACC.h.
References ASTContext.
Referenced by ASTContext, Create(), and CreateEmpty().
|
friend |
Definition at line 197 of file StmtOpenACC.h.
References ASTStmtReader.
Referenced by ASTStmtReader.
|
friend |
Definition at line 196 of file StmtOpenACC.h.
References ASTStmtWriter.
Referenced by ASTStmtWriter.
|
friend |
Definition at line 199 of file StmtOpenACC.h.
References OpenACCAssociatedStmtConstruct.
Referenced by OpenACCAssociatedStmtConstruct.
|
friend |
Definition at line 200 of file StmtOpenACC.h.
References OpenACCCombinedConstruct.
Referenced by OpenACCCombinedConstruct.
|
friend |
Definition at line 201 of file StmtOpenACC.h.
References OpenACCComputeConstruct.
Referenced by OpenACCComputeConstruct.