[OpenMP] Base support for target directive codegen on NVPTX device.
authorArpith Chacko Jacob <acjacob@us.ibm.com>
Tue, 22 Mar 2016 01:48:56 +0000 (01:48 +0000)
committerArpith Chacko Jacob <acjacob@us.ibm.com>
Tue, 22 Mar 2016 01:48:56 +0000 (01:48 +0000)
commit5c309e475dcf5932f9bd0aafa01297169fff60a6
treecb956e1789b88a007d5d070d311d6e44c293cd05
parentf2be78c07e4607c0e536f25779458e17a06bc42f
[OpenMP] Base support for target directive codegen on NVPTX device.

Summary:
This patch adds base support for codegen of the target directive on the NVPTX device.

Reviewers: ABataev

Differential Revision: http://reviews.llvm.org/D17877

Reworked test case after buildbot failure on windows.
Updated patch to integrate r263837 and test case nvptx_target_firstprivate_codegen.cpp.

llvm-svn: 264018
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/CodeGen/CGOpenMPRuntime.h
clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.h
clang/test/OpenMP/nvptx_target_codegen.cpp [new file with mode: 0644]