[PATCH] [OPENMP] Codegen for threadprivate variables

Alexey Bataev a.bataev at hotmail.com
Fri Oct 24 03:36:19 PDT 2014


Reworked patch. Added attribute OMPThreadPrivateAttr to simplify codegen. Fixed problem with the codegen for static locals

http://reviews.llvm.org/D4002

Files:
  include/clang/AST/DeclOpenMP.h
  include/clang/Basic/Attr.td
  lib/AST/ASTContext.cpp
  lib/CodeGen/CGDeclCXX.cpp
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CGOpenMPRuntime.cpp
  lib/CodeGen/CGOpenMPRuntime.h
  lib/CodeGen/CodeGenModule.cpp
  lib/CodeGen/CodeGenModule.h
  lib/Parse/Parser.cpp
  lib/Sema/SemaOpenMP.cpp
  lib/Serialization/ASTReaderDecl.cpp
  test/OpenMP/threadprivate_codegen.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4002.15394.patch
Type: text/x-patch
Size: 62367 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141024/1b14210e/attachment.bin>


More information about the cfe-commits mailing list