class OMPLoopTransformationDirective
Declaration
class OMPLoopTransformationDirective : public OMPLoopBasedDirective { /* full declaration omitted */ };
Description
The base class for all loop transformation directives.
Declared at: clang/include/clang/AST/StmtOpenMP.h:959
Inherits from: OMPLoopBasedDirective
Member Variables
- private unsigned int NumGeneratedLoops = 0
- Number of loops generated by this loop transformation.
Inherited from OMPLoopBasedDirective:
Inherited from OMPExecutableDirective:
- protected Data = nullptr
Inherited from Stmt:
Method Overview
- protected OMPLoopTransformationDirective(clang::Stmt::StmtClass SC, clang::OpenMPDirectiveKind Kind, clang::SourceLocation StartLoc, clang::SourceLocation EndLoc, unsigned int NumAssociatedLoops)
- public static bool classof(const clang::Stmt * T)
- public unsigned int getNumAssociatedLoops() const
- public unsigned int getNumGeneratedLoops()
- public clang::Stmt * getPreInits() const
- public clang::Stmt * getTransformedStmt() const
- protected void setNumGeneratedLoops(unsigned int Num)
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
¶OMPLoopTransformationDirective(
clang::Stmt::StmtClass SC,
clang::OpenMPDirectiveKind Kind,
clang::SourceLocation StartLoc,
clang::SourceLocation EndLoc,
unsigned int NumAssociatedLoops)
OMPLoopTransformationDirective(
clang::Stmt::StmtClass SC,
clang::OpenMPDirectiveKind Kind,
clang::SourceLocation StartLoc,
clang::SourceLocation EndLoc,
unsigned int NumAssociatedLoops)
Declared at: clang/include/clang/AST/StmtOpenMP.h:966
Parameters
- clang::Stmt::StmtClass SC
- clang::OpenMPDirectiveKind Kind
- clang::SourceLocation StartLoc
- clang::SourceLocation EndLoc
- unsigned int NumAssociatedLoops
¶static bool classof(const clang::Stmt* T)
static bool classof(const clang::Stmt* T)
Declared at: clang/include/clang/AST/StmtOpenMP.h:993
Parameters
- const clang::Stmt* T
¶unsigned int getNumAssociatedLoops() const
unsigned int getNumAssociatedLoops() const
Description
Return the number of associated (consumed) loops.
Declared at: clang/include/clang/AST/StmtOpenMP.h:978
¶unsigned int getNumGeneratedLoops()
unsigned int getNumGeneratedLoops()
Description
Return the number of loops generated by this loop transformation.
Declared at: clang/include/clang/AST/StmtOpenMP.h:981
¶clang::Stmt* getPreInits() const
clang::Stmt* getPreInits() const
Description
Return preinits statement.
Declared at: clang/include/clang/AST/StmtOpenMP.h:991
¶clang::Stmt* getTransformedStmt() const
clang::Stmt* getTransformedStmt() const
Description
Get the de-sugared statements after 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.
Declared at: clang/include/clang/AST/StmtOpenMP.h:988
¶void setNumGeneratedLoops(unsigned int Num)
void setNumGeneratedLoops(unsigned int Num)
Description
Set the number of loops generated by this loop transformation.
Declared at: clang/include/clang/AST/StmtOpenMP.h:974
Parameters
- unsigned int Num