clang 24.0.0git
OMPCanonicalLoopSequenceTransformationDirective Class Reference

The base class for all transformation directives of canonical loop sequences (currently only 'fuse') More...

#include "clang/AST/StmtOpenMP.h"

Inheritance diagram for OMPCanonicalLoopSequenceTransformationDirective:
[legend]

Public Member Functions

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

 OMPCanonicalLoopSequenceTransformationDirective (StmtClass SC, OpenMPDirectiveKind Kind, SourceLocation StartLoc, SourceLocation EndLoc)
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 sequences (currently only 'fuse')

Definition at line 6049 of file StmtOpenMP.h.

Constructor & Destructor Documentation

◆ OMPCanonicalLoopSequenceTransformationDirective()

OMPCanonicalLoopSequenceTransformationDirective::OMPCanonicalLoopSequenceTransformationDirective ( StmtClass SC,
OpenMPDirectiveKind Kind,
SourceLocation StartLoc,
SourceLocation EndLoc )
inlineexplicitprotected

Member Function Documentation

◆ classof()

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

Definition at line 6072 of file StmtOpenMP.h.

◆ getPreInits()

Stmt * OMPCanonicalLoopSequenceTransformationDirective::getPreInits ( ) const

Return preinits statement.

Definition at line 481 of file StmtOpenMP.cpp.

◆ getTransformedStmt()

Stmt * OMPCanonicalLoopSequenceTransformationDirective::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 468 of file StmtOpenMP.cpp.

◆ ASTStmtReader

friend class ASTStmtReader
friend

Definition at line 6052 of file StmtOpenMP.h.

References ASTStmtReader.

Referenced by ASTStmtReader.


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