struct CGOpenMPRuntime::LastprivateConditionalData

Declaration

struct CGOpenMPRuntime::LastprivateConditionalData { /* full declaration omitted */ };

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.

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

Member Variables

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