clang 24.0.0git
OMPCanonicalLoopNestTransformationDirective Class Reference

The base class for all transformation directives of canonical loop nests. More...

#include "clang/AST/StmtOpenMP.h"

Inheritance diagram for OMPCanonicalLoopNestTransformationDirective:
[legend]

Public Member Functions

unsigned getNumAssociatedLoops () const
 Return the number of associated (consumed) loops.
StmtgetTransformedStmt () const
 Get the de-sugared statements after the loop transformation.
StmtgetPreInits () const
 Return preinits statement.
Public Member Functions inherited from OMPLoopTransformationDirective
unsigned getNumGeneratedTopLevelLoops () const
Stmt * getDirective () const
 Returns the specific directive related to this loop transformation.
StmtgetTransformedStmt () const
 Get the de-sugared statements after the loop transformation.
StmtgetPreInits () const
 Return preinits statement.

Static Public Member Functions

static bool classof (const Stmt *T)
Static Public Member Functions inherited from OMPLoopTransformationDirective
static bool classof (const Stmt *T)

Protected Member Functions

 OMPCanonicalLoopNestTransformationDirective (StmtClass SC, OpenMPDirectiveKind Kind, SourceLocation StartLoc, SourceLocation EndLoc, unsigned NumAssociatedLoops)
Protected Member Functions inherited from OMPLoopTransformationDirective
void setNumGeneratedTopLevelLoops (unsigned N)
 OMPLoopTransformationDirective (Stmt *S)

Friends

class ASTStmtReader

Detailed Description

The base class for all transformation directives of canonical loop nests.

Definition at line 1047 of file StmtOpenMP.h.

Constructor & Destructor Documentation

◆ OMPCanonicalLoopNestTransformationDirective()

OMPCanonicalLoopNestTransformationDirective::OMPCanonicalLoopNestTransformationDirective ( StmtClass SC,
OpenMPDirectiveKind Kind,
SourceLocation StartLoc,
SourceLocation EndLoc,
unsigned NumAssociatedLoops )
inlineexplicitprotected

Member Function Documentation

◆ classof()

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

Definition at line 1073 of file StmtOpenMP.h.

◆ getNumAssociatedLoops()

unsigned OMPCanonicalLoopNestTransformationDirective::getNumAssociatedLoops ( ) const
inline

Return the number of associated (consumed) loops.

Definition at line 1061 of file StmtOpenMP.h.

◆ getPreInits()

Stmt * OMPCanonicalLoopNestTransformationDirective::getPreInits ( ) const

Return preinits statement.

Definition at line 454 of file StmtOpenMP.cpp.

◆ getTransformedStmt()

Stmt * OMPCanonicalLoopNestTransformationDirective::getTransformedStmt ( ) const

Get the de-sugared statements after the loop transformation.

Might be nullptr if either the directive generates no loops and is handled directly in CodeGen, or resolving a template-dependence context is required.

Definition at line 441 of file StmtOpenMP.cpp.

◆ ASTStmtReader

friend class ASTStmtReader
friend

Definition at line 1050 of file StmtOpenMP.h.

References ASTStmtReader.

Referenced by ASTStmtReader.


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