[OpenMP] Add OpenMP data sharing infrastructure using global memory
authorGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>
Wed, 14 Mar 2018 14:17:45 +0000 (14:17 +0000)
committerGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>
Wed, 14 Mar 2018 14:17:45 +0000 (14:17 +0000)
commitd3dcf2f05d0b15a51ed3ca0021943b935c708142
tree32761d1094457b58b3531f4f2bca846572de28bd
parent81ccb97024bb5a05f1d27d352ec20d0e83d8e3e7
[OpenMP] Add OpenMP data sharing infrastructure using global memory

Summary:
This patch handles the Clang code generation phase for the OpenMP data sharing infrastructure.

TODO: add a more detailed description.

Reviewers: ABataev, carlo.bertolli, caomhin, hfinkel, Hahnfeld

Reviewed By: ABataev

Subscribers: jholewinski, guansong, cfe-commits

Differential Revision: https://reviews.llvm.org/D43660

llvm-svn: 327513
clang/lib/CodeGen/CGDecl.cpp
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/CodeGen/CGOpenMPRuntime.h
clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.h
clang/lib/CodeGen/CGStmtOpenMP.cpp
clang/lib/CodeGen/CodeGenFunction.cpp
clang/test/OpenMP/nvptx_data_sharing.cpp [new file with mode: 0644]
clang/test/OpenMP/nvptx_parallel_codegen.cpp