clang 19.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"

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

Member Data Documentation

◆ DeclToUniqueName

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

Definition at line 273 of file CGOpenMPRuntime.h.

◆ Disabled

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

Definition at line 276 of file CGOpenMPRuntime.h.

◆ Fn

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

Definition at line 275 of file CGOpenMPRuntime.h.

◆ IVLVal

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

Definition at line 274 of file CGOpenMPRuntime.h.


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