clang 24.0.0git
OMPLoopTransformationDirective Class Reference

Common class of data shared between OMPCanonicalLoopNestTransformationDirective and OMPCanonicalLoopSequenceTransformationDirective. More...

#include "clang/AST/StmtOpenMP.h"

Inheritance diagram for OMPLoopTransformationDirective:
[legend]

Public Member Functions

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)

Protected Member Functions

void setNumGeneratedTopLevelLoops (unsigned N)
 OMPLoopTransformationDirective (Stmt *S)

Friends

class ASTStmtReader

Detailed Description

Common class of data shared between OMPCanonicalLoopNestTransformationDirective and OMPCanonicalLoopSequenceTransformationDirective.

Definition at line 999 of file StmtOpenMP.h.

Constructor & Destructor Documentation

◆ OMPLoopTransformationDirective()

OMPLoopTransformationDirective::OMPLoopTransformationDirective ( Stmt * S)
inlineexplicitprotected

Member Function Documentation

◆ classof()

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

Definition at line 1040 of file StmtOpenMP.h.

◆ getDirective()

Stmt * OMPLoopTransformationDirective::getDirective ( ) const
inline

Returns the specific directive related to this loop transformation.

Definition at line 1028 of file StmtOpenMP.h.

Referenced by updatePreInits().

◆ getNumGeneratedTopLevelLoops()

unsigned OMPLoopTransformationDirective::getNumGeneratedTopLevelLoops ( ) const
inline

Definition at line 1023 of file StmtOpenMP.h.

◆ getPreInits()

Stmt * OMPLoopTransformationDirective::getPreInits ( ) const

Return preinits statement.

Definition at line 433 of file StmtOpenMP.cpp.

◆ getTransformedStmt()

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

◆ setNumGeneratedTopLevelLoops()

void OMPLoopTransformationDirective::setNumGeneratedTopLevelLoops ( unsigned N)
inlineprotected

Definition at line 1016 of file StmtOpenMP.h.

Referenced by OMPFuseDirective::Create().

◆ ASTStmtReader

friend class ASTStmtReader
friend

Definition at line 1000 of file StmtOpenMP.h.

References ASTStmtReader.

Referenced by ASTStmtReader.


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