clang  16.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 "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/CGOpenMPRuntime.h"

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

Public Attributes

llvm::MapVector< CanonicalDeclPtr< const Decl >, SmallString< 16 > > DeclToUniqueName
 
LValue IVLVal
 
llvm::Function * Fn = nullptr
 
bool Disabled = false
 

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 270 of file CGOpenMPRuntime.h.

Member Data Documentation

◆ DeclToUniqueName

llvm::MapVector<CanonicalDeclPtr<const Decl>, SmallString<16> > clang::CodeGen::CGOpenMPRuntime::LastprivateConditionalData::DeclToUniqueName

Definition at line 272 of file CGOpenMPRuntime.h.

◆ Disabled

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

◆ Fn

llvm::Function* clang::CodeGen::CGOpenMPRuntime::LastprivateConditionalData::Fn = nullptr

Definition at line 274 of file CGOpenMPRuntime.h.

◆ IVLVal

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

Definition at line 273 of file CGOpenMPRuntime.h.


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