class OMPDistributeParallelForSimdDirective

Declaration

class OMPDistributeParallelForSimdDirective : public OMPLoopDirective { /* full declaration omitted */ };

Description

This represents '#pragma omp distribute parallel for simd' composite directive. In this example directive '#pragma omp distribute parallel for simd' has clause 'private' with the variables 'x'

Declared at: clang/include/clang/AST/StmtOpenMP.h:4587

Inherits from: OMPLoopDirective

Member Variables

Inherited from OMPLoopBasedDirective:

protected NumAssociatedLoops = 0

Inherited from OMPExecutableDirective:

protected Data = nullptr

Inherited from Stmt:

protected

Method Overview

  • public static clang::OMPDistributeParallelForSimdDirective * Create(const clang::ASTContext & C, clang::SourceLocation StartLoc, clang::SourceLocation EndLoc, unsigned int CollapsedNum, ArrayRef<clang::OMPClause *> Clauses, clang::Stmt * AssociatedStmt, const clang::OMPLoopBasedDirective::HelperExprs & Exprs)
  • public static clang::OMPDistributeParallelForSimdDirective * CreateEmpty(const clang::ASTContext & C, unsigned int NumClauses, unsigned int CollapsedNum, clang::Stmt::EmptyShell)
  • private OMPDistributeParallelForSimdDirective(clang::SourceLocation StartLoc, clang::SourceLocation EndLoc, unsigned int CollapsedNum)
  • private OMPDistributeParallelForSimdDirective(unsigned int CollapsedNum)
  • public static bool classof(const clang::Stmt * T)

Inherited from OMPLoopDirective:

Inherited from OMPLoopBasedDirective:

Inherited from OMPExecutableDirective:

Inherited from Stmt:

Methods

static clang::
    OMPDistributeParallelForSimdDirective*
    Create(const clang::ASTContext& C,
           clang::SourceLocation StartLoc,
           clang::SourceLocation EndLoc,
           unsigned int CollapsedNum,
           ArrayRef<clang::OMPClause*> Clauses,
           clang::Stmt* AssociatedStmt,
           const clang::OMPLoopBasedDirective::
               HelperExprs& Exprs)

Description

Creates directive with a list of \a Clauses.

Declared at: clang/include/clang/AST/StmtOpenMP.h:4624

Parameters

const clang::ASTContext& C
AST context.
clang::SourceLocation StartLoc
Starting location of the directive kind.
clang::SourceLocation EndLoc
Ending Location of the directive.
unsigned int CollapsedNum
Number of collapsed loops.
ArrayRef<clang::OMPClause*> Clauses
List of clauses.
clang::Stmt* AssociatedStmt
Statement, associated with the directive.
const clang::OMPLoopBasedDirective::HelperExprs& Exprs
Helper expressions for CodeGen.

static clang::
    OMPDistributeParallelForSimdDirective*
    CreateEmpty(const clang::ASTContext& C,
                unsigned int NumClauses,
                unsigned int CollapsedNum,
                clang::Stmt::EmptyShell)

Description

Creates an empty directive with the place for \a NumClauses clauses.

Declared at: clang/include/clang/AST/StmtOpenMP.h:4635

Parameters

const clang::ASTContext& C
AST context.
unsigned int NumClauses
Number of clauses.
unsigned int CollapsedNum
Number of collapsed nested loops.
clang::Stmt::EmptyShell

OMPDistributeParallelForSimdDirective(
    clang::SourceLocation StartLoc,
    clang::SourceLocation EndLoc,
    unsigned int CollapsedNum)

Description

Build directive with the given start and end location.

Declared at: clang/include/clang/AST/StmtOpenMP.h:4597

Parameters

clang::SourceLocation StartLoc
Starting location of the directive kind.
clang::SourceLocation EndLoc
Ending location of the directive.
unsigned int CollapsedNum
Number of collapsed nested loops.

OMPDistributeParallelForSimdDirective(
    unsigned int CollapsedNum)

Description

Build an empty directive.

Declared at: clang/include/clang/AST/StmtOpenMP.h:4608

Parameters

unsigned int CollapsedNum
Number of collapsed nested loops.

static bool classof(const clang::Stmt* T)

Declared at: clang/include/clang/AST/StmtOpenMP.h:4639

Parameters

const clang::Stmt* T