struct ReductionCodeGen::ReductionData

Declaration

struct ReductionCodeGen::ReductionData { /* full declaration omitted */ };

Description

Data required for codegen of reduction clauses.

Declared at: clang/lib/CodeGen/CGOpenMPRuntime.h:130

Member Variables

public const clang::Expr* Shared = nullptr
Reference to the item shared between tasks to reduce into.
public const clang::Expr* Ref = nullptr
Reference to the original item.
public const clang::Expr* Private = nullptr
Helper expression for generation of private copy.
public const clang::Expr* ReductionOp = nullptr
Helper expression for generation reduction operation.

Method Overview

  • public ReductionData(const clang::Expr * Shared, const clang::Expr * Ref, const clang::Expr * Private, const clang::Expr * ReductionOp)

Methods

ΒΆReductionData(const clang::Expr* Shared,
              const clang::Expr* Ref,
              const clang::Expr* Private,
              const clang::Expr* ReductionOp)

Declared at: clang/lib/CodeGen/CGOpenMPRuntime.h:139

Parameters

const clang::Expr* Shared
const clang::Expr* Ref
const clang::Expr* Private
const clang::Expr* ReductionOp