clang 10.0.0git

Public Attributes | List of all members
clang::CodeGen::CGOpenMPRuntime::LastprivateConditionalData Struct Reference

Maps the expression for the lastprivate variable to the global copy used to store new value because original variables are not mapped in inner parallel regions. More...

`#include "/work/www-prereleases/10.0.0/rc1/docsbuild/clang/lib/CodeGen/CGOpenMPRuntime.h"`

Collaboration diagram for clang::CodeGen::CGOpenMPRuntime::LastprivateConditionalData:
[legend]

## Public Attributes
llvm::SmallDenseMap< CanonicalDeclPtr< const Decl >, SmallString< 16 > > | DeclToUniqeName
LValue | IVLVal
SmallString< 16 > | IVName
bool | UseOriginalIV = false
| True if original lvalue for loop counter can be used in codegen (simd region or simd only mode) and no need to create threadprivate references. More...

## Detailed Description

Maps the expression for the lastprivate variable to the global copy used to store new value because original variables are not mapped in inner parallel regions.

Only private copies are captured but we need also to store private copy in shared address. Also, stores the expression for the private loop counter and it threaprivate name.

Definition at line 232 of file CGOpenMPRuntime.h.

## Member Data Documentation

## ◆ DeclToUniqeName

llvm::SmallDenseMap<CanonicalDeclPtr<const Decl>, SmallString<16> > clang::CodeGen::CGOpenMPRuntime::LastprivateConditionalData::DeclToUniqeName

Definition at line 234 of file CGOpenMPRuntime.h.

Referenced by clang::CodeGen::CGOpenMPRuntime::LastprivateConditionalRAII::LastprivateConditionalRAII().

## ◆ IVLVal

LValue clang::CodeGen::CGOpenMPRuntime::LastprivateConditionalData::IVLVal

Definition at line 235 of file CGOpenMPRuntime.h.

Referenced by clang::CodeGen::initLastprivateConditionalCounter(), and clang::CodeGen::CGOpenMPRuntime::LastprivateConditionalRAII::LastprivateConditionalRAII().

## ◆ IVName

SmallString<16> clang::CodeGen::CGOpenMPRuntime::LastprivateConditionalData::IVName

Definition at line 236 of file CGOpenMPRuntime.h.

Referenced by clang::CodeGen::initLastprivateConditionalCounter(), and clang::CodeGen::CGOpenMPRuntime::LastprivateConditionalRAII::LastprivateConditionalRAII().

## ◆ UseOriginalIV

bool clang::CodeGen::CGOpenMPRuntime::LastprivateConditionalData::UseOriginalIV = false

True if original lvalue for loop counter can be used in codegen (simd region or simd only mode) and no need to create threadprivate references.

Definition at line 240 of file CGOpenMPRuntime.h.

Referenced by clang::CodeGen::initLastprivateConditionalCounter(), and clang::CodeGen::CGOpenMPRuntime::LastprivateConditionalRAII::LastprivateConditionalRAII().

The documentation for this struct was generated from the following file:

- lib/CodeGen/CGOpenMPRuntime.h