]> granicus.if.org Git - clang/commit
[OpenMP] Code generation for the is_device_ptr clause
authorSamuel Antao <sfantao@us.ibm.com>
Thu, 28 Jul 2016 14:25:09 +0000 (14:25 +0000)
committerSamuel Antao <sfantao@us.ibm.com>
Thu, 28 Jul 2016 14:25:09 +0000 (14:25 +0000)
commitf15ab0cbaee2580b3ee1ff3d09851aa89d5b131f
tree7f5377569a7f18ab77b84a8a61442d178dd78594
parent56b9ac6ad63c9f348accee7e00130b872564efa3
[OpenMP] Code generation for the is_device_ptr clause

Summary: This patch adds support for the is_device_ptr clause. It expands SEMA to use the mappable expression logic that can only be tested with code generation in place and check conflicts with other data sharing related clauses using the mappable expressions infrastructure.

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

Subscribers: caomhin, cfe-commits

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

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