]> granicus.if.org Git - clang/commit
[OpenMP] Code generation for target exit data directive
authorSamuel Antao <sfantao@us.ibm.com>
Wed, 27 Apr 2016 23:14:30 +0000 (23:14 +0000)
committerSamuel Antao <sfantao@us.ibm.com>
Wed, 27 Apr 2016 23:14:30 +0000 (23:14 +0000)
commit435fb2e082de73cf836ef5272504a4872115ff07
tree6f1365f3772face1a2f6975d0e7cb3eedc718963
parentcecb590d46c7657cb8a9cd47e317dd6b65fce925
[OpenMP] Code generation for target exit data directive

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

Given that, apart from the employed runtime call, target exit data requires the same code generation pattern as target enter data, the OpenMP codegen entry point was renamed and reused for both.

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

Subscribers: cfe-commits, fraggamuffin, caomhin

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@267814 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGOpenMPRuntime.cpp
lib/CodeGen/CGOpenMPRuntime.h
lib/CodeGen/CGStmtOpenMP.cpp
test/OpenMP/target_exit_data_codegen.cpp [new file with mode: 0644]