clang 22.0.0git
|
This represents the '#pragma omp tile' loop transformation directive. More...
#include "clang/AST/StmtOpenMP.h"
Public Member Functions | |
Stmt * | getTransformedStmt () const |
Gets/sets the associated loops after tiling. | |
Stmt * | getPreInits () const |
Return preinits statement. |
Static Public Member Functions | |
static OMPTileDirective * | Create (const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, ArrayRef< OMPClause * > Clauses, unsigned NumLoops, Stmt *AssociatedStmt, Stmt *TransformedStmt, Stmt *PreInits) |
Create a new AST node representation for '#pragma omp tile'. | |
static OMPTileDirective * | CreateEmpty (const ASTContext &C, unsigned NumClauses, unsigned NumLoops) |
Build an empty '#pragma omp tile' AST node for deserialization. | |
static bool | classof (const Stmt *T) |
Friends | |
class | ASTStmtReader |
class | OMPExecutableDirective |
This represents the '#pragma omp tile' loop transformation directive.
Definition at line 5548 of file StmtOpenMP.h.
|
inlinestatic |
Definition at line 5620 of file StmtOpenMP.h.
|
static |
Create a new AST node representation for '#pragma omp tile'.
C | Context of the AST. |
StartLoc | Location of the introducer (e.g. the 'omp' token). |
EndLoc | Location of the directive's end (e.g. the tok::eod). |
Clauses | The directive's clauses. |
NumLoops | Number of associated loops (number of items in the 'sizes' clause). |
AssociatedStmt | The outermost associated loop. |
TransformedStmt | The loop nest after tiling, or nullptr in dependent contexts. |
PreInits | Helper preinits statements for the loop nest. |
Definition at line 409 of file StmtOpenMP.cpp.
References clang::C.
Referenced by clang::SemaOpenMP::ActOnOpenMPTileDirective().
|
static |
Build an empty '#pragma omp tile' AST node for deserialization.
C | Context of the AST. |
NumClauses | Number of clauses to allocate. |
NumLoops | Number of associated loops to allocate. |
Definition at line 421 of file StmtOpenMP.cpp.
References clang::C.
|
inline |
Return preinits statement.
Definition at line 5618 of file StmtOpenMP.h.
|
inline |
Gets/sets the associated loops after tiling.
This is in de-sugared format stored as a CompoundStmt.
Note that if the generated loops a become associated loops of another directive, they may need to be hoisted before them.
Definition at line 5613 of file StmtOpenMP.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitOMPTileDirective().
|
friend |
Definition at line 5550 of file StmtOpenMP.h.
References ASTStmtReader.
Referenced by ASTStmtReader.
|
friend |
Definition at line 5551 of file StmtOpenMP.h.
References OMPExecutableDirective.
Referenced by OMPExecutableDirective.