]> granicus.if.org Git - clang/commit
[OpenMP] Codegen for use_device_ptr clause.
authorSamuel Antao <sfantao@us.ibm.com>
Thu, 28 Jul 2016 14:23:26 +0000 (14:23 +0000)
committerSamuel Antao <sfantao@us.ibm.com>
Thu, 28 Jul 2016 14:23:26 +0000 (14:23 +0000)
commit56b9ac6ad63c9f348accee7e00130b872564efa3
treeef2dc61ff45db5a16e826ae963d92529d304b7b7
parentb0e340c77e6a65d47177230d9f60d928ba95899b
[OpenMP] Codegen for use_device_ptr clause.

Summary: This patch adds support for the use_device_ptr clause. It includes changes in SEMA that could not be tested without codegen, namely, the use of the first private logic and mappable expressions support.

Reviewers: hfinkel, carlo.bertolli, arpith-jacob, kkwli0, ABataev

Subscribers: caomhin, cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@276977 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/OpenMPClause.h
lib/AST/OpenMPClause.cpp
lib/CodeGen/CGOpenMPRuntime.cpp
lib/CodeGen/CGOpenMPRuntime.h
lib/CodeGen/CGStmtOpenMP.cpp
lib/CodeGen/CodeGenFunction.h
lib/Sema/SemaOpenMP.cpp
lib/Serialization/ASTReaderStmt.cpp
lib/Serialization/ASTWriterStmt.cpp
test/OpenMP/target_data_use_device_ptr_codegen.cpp [new file with mode: 0644]