clang: OpenACCLoopConstruct Class Reference (original) (raw)

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](StmtOpenACC%5F8h%5Fsource.html)"

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
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.

classof()

bool OpenACCLoopConstruct::classof ( const Stmt * T) inlinestatic

Create()

CreateEmpty()

getLoop() [1/2]

Stmt * OpenACCLoopConstruct::getLoop ( ) inline

getLoop() [2/2]

const Stmt * OpenACCLoopConstruct::getLoop ( ) const inline

getParentComputeConstructKind()

OpenACCDirectiveKind OpenACCLoopConstruct::getParentComputeConstructKind ( ) const inline

isOrphanedLoopConstruct()

bool OpenACCLoopConstruct::isOrphanedLoopConstruct ( ) const 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().

ASTContext

ASTStmtReader

friend class ASTStmtReader friend

ASTStmtWriter

friend class ASTStmtWriter friend

OpenACCAssociatedStmtConstruct

OpenACCCombinedConstruct

OpenACCComputeConstruct

friend class OpenACCComputeConstruct friend

The documentation for this class was generated from the following files: