class OMPTileDirective
Declaration
class OMPTileDirective : public OMPLoopTransformationDirective { /* full declaration omitted */ };
Description
This represents the '#pragma omp tile' loop transformation directive.
Declared at: clang/include/clang/AST/StmtOpenMP.h:5492
Inherits from: OMPLoopTransformationDirective
Member Variables
Inherited from OMPLoopBasedDirective:
Inherited from OMPExecutableDirective:
- protected Data = nullptr
Inherited from Stmt:
Method Overview
- public static clang::OMPTileDirective * Create(const clang::ASTContext & C, clang::SourceLocation StartLoc, clang::SourceLocation EndLoc, ArrayRef<clang::OMPClause *> Clauses, unsigned int NumLoops, clang::Stmt * AssociatedStmt, clang::Stmt * TransformedStmt, clang::Stmt * PreInits)
- public static clang::OMPTileDirective * CreateEmpty(const clang::ASTContext & C, unsigned int NumClauses, unsigned int NumLoops)
- private OMPTileDirective(clang::SourceLocation StartLoc, clang::SourceLocation EndLoc, unsigned int NumLoops)
- public static bool classof(const clang::Stmt * T)
- public clang::Stmt * getPreInits() const
- public clang::Stmt * getTransformedStmt() const
- private void setPreInits(clang::Stmt * PreInits)
- private void setTransformedStmt(clang::Stmt * S)
Inherited from OMPLoopTransformationDirective:
- public classof
- public getNumAssociatedLoops
- public getNumGeneratedLoops
- public getPreInits
- public getTransformedStmt
- protected setNumGeneratedLoops
Inherited from OMPLoopBasedDirective:
- public classof
- public doForAllLoops
- public doForAllLoops
- public doForAllLoops
- public doForAllLoops
- public doForAllLoopsBodies
- public doForAllLoopsBodies
- public getLoopsNumber
- public tryToFindNextInnerLoop
- public tryToFindNextInnerLoop
Inherited from OMPExecutableDirective:
- public children
- public children
- public classof
- public clauses
- protected createDirective
- protected createEmptyDirective
- protected createEmptyDirective
- public getAssociatedStmt
- public getAssociatedStmt
- public getBeginLoc
- public getCapturedStmt
- public getClause
- public getClausesOfKind
- public getClausesOfKind
- public getDirectiveKind
- public getEndLoc
- public getInnermostCapturedStmt
- public getInnermostCapturedStmt
- public getNumClauses
- public getRawStmt
- public getRawStmt
- public getSingleClause
- public getSingleClause
- public getStructuredBlock
- public getStructuredBlock
- public hasAssociatedStmt
- public hasClausesOfKind
- public isStandaloneDirective
- public setLocEnd
- public setLocStart
- public used_clauses_children
Inherited from Stmt:
- public EnableStatistics
- public IgnoreContainers
- public IgnoreContainers
- public PrintStats
- public ProcessODRHash
- public Profile
- public addStmtClass
- public child_begin
- public child_begin
- public child_end
- public child_end
- public children
- public children
- public determineLikelihoodConflict
- public dump
- public dump
- public dumpColor
- public dumpPretty
- public getBeginLoc
- public getEndLoc
- public getID
- public getLikelihood
- public getLikelihood
- public getLikelihood
- public getLikelihoodAttr
- public getSourceRange
- public getStmtClass
- public getStmtClassName
- public printJson
- public printPretty
- public printPrettyControlled
- public stripLabelLikeStatements
- public stripLabelLikeStatements
- public viewAST
Methods
¶static clang::OMPTileDirective* Create(
const clang::ASTContext& C,
clang::SourceLocation StartLoc,
clang::SourceLocation EndLoc,
ArrayRef<clang::OMPClause*> Clauses,
unsigned int NumLoops,
clang::Stmt* AssociatedStmt,
clang::Stmt* TransformedStmt,
clang::Stmt* PreInits)
static clang::OMPTileDirective* Create(
const clang::ASTContext& C,
clang::SourceLocation StartLoc,
clang::SourceLocation EndLoc,
ArrayRef<clang::OMPClause*> Clauses,
unsigned int NumLoops,
clang::Stmt* AssociatedStmt,
clang::Stmt* TransformedStmt,
clang::Stmt* PreInits)
Description
Create a new AST node representation for '#pragma omp tile'.
Declared at: clang/include/clang/AST/StmtOpenMP.h:5531
Parameters
- const clang::ASTContext& C
- Context of the AST.
- clang::SourceLocation StartLoc
- Location of the introducer (e.g. the 'omp' token).
- clang::SourceLocation EndLoc
- Location of the directive's end (e.g. the tok::eod).
- ArrayRef<clang::OMPClause*> Clauses
- The directive's clauses.
- unsigned int NumLoops
- Number of associated loops (number of items in the 'sizes' clause).
- clang::Stmt* AssociatedStmt
- The outermost associated loop.
- clang::Stmt* TransformedStmt
- The loop nest after tiling, or nullptr in dependent contexts.
- clang::Stmt* PreInits
- Helper preinits statements for the loop nest.
¶static clang::OMPTileDirective* CreateEmpty(
const clang::ASTContext& C,
unsigned int NumClauses,
unsigned int NumLoops)
static clang::OMPTileDirective* CreateEmpty(
const clang::ASTContext& C,
unsigned int NumClauses,
unsigned int NumLoops)
Description
Build an empty '#pragma omp tile' AST node for deserialization.
Declared at: clang/include/clang/AST/StmtOpenMP.h:5542
Parameters
- const clang::ASTContext& C
- Context of the AST.
- unsigned int NumClauses
- Number of clauses to allocate.
- unsigned int NumLoops
- Number of associated loops to allocate.
¶OMPTileDirective(clang::SourceLocation StartLoc,
clang::SourceLocation EndLoc,
unsigned int NumLoops)
OMPTileDirective(clang::SourceLocation StartLoc,
clang::SourceLocation EndLoc,
unsigned int NumLoops)
Declared at: clang/include/clang/AST/StmtOpenMP.h:5502
Parameters
- clang::SourceLocation StartLoc
- clang::SourceLocation EndLoc
- unsigned int NumLoops
¶static bool classof(const clang::Stmt* T)
static bool classof(const clang::Stmt* T)
Declared at: clang/include/clang/AST/StmtOpenMP.h:5563
Parameters
- const clang::Stmt* T
¶clang::Stmt* getPreInits() const
clang::Stmt* getPreInits() const
Description
Return preinits statement.
Declared at: clang/include/clang/AST/StmtOpenMP.h:5561
¶clang::Stmt* getTransformedStmt() const
clang::Stmt* getTransformedStmt() const
Description
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.
Declared at: clang/include/clang/AST/StmtOpenMP.h:5556
¶void setPreInits(clang::Stmt* PreInits)
void setPreInits(clang::Stmt* PreInits)
Declared at: clang/include/clang/AST/StmtOpenMP.h:5510
Parameters
- clang::Stmt* PreInits
¶void setTransformedStmt(clang::Stmt* S)
void setTransformedStmt(clang::Stmt* S)
Declared at: clang/include/clang/AST/StmtOpenMP.h:5514
Parameters
- clang::Stmt* S