[OpenMP] Code generation for target data directive
authorSamuel Antao <sfantao@us.ibm.com>
Wed, 27 Apr 2016 22:58:19 +0000 (22:58 +0000)
committerSamuel Antao <sfantao@us.ibm.com>
Wed, 27 Apr 2016 22:58:19 +0000 (22:58 +0000)
commitdf158d55678182a57485ba8005b3e444aaeff5ca
tree7c5fed557c71cec302c897b2aab5298dfb9ab1f9
parentf88174dd807a377380528ed0f58110f3b96a9513
[OpenMP] Code generation for target data directive

Summary:
This patch adds support for the target data directive code generation.

Part of the already existent functionality related with data maps is moved to a new function so that it could be reused.

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

Subscribers: cfe-commits, fraggamuffin, caomhin

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

llvm-svn: 267811
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/CodeGen/CGOpenMPRuntime.h
clang/lib/CodeGen/CGStmtOpenMP.cpp
clang/test/OpenMP/target_data_codegen.cpp [new file with mode: 0644]