[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
Showing
- include/clang/AST/OpenMPClause.h 125 additions, 22 deletionsinclude/clang/AST/OpenMPClause.h
- lib/AST/OpenMPClause.cpp 57 additions, 13 deletionslib/AST/OpenMPClause.cpp
- lib/CodeGen/CGOpenMPRuntime.cpp 247 additions, 131 deletionslib/CodeGen/CGOpenMPRuntime.cpp
- lib/CodeGen/CGOpenMPRuntime.h 46 additions, 4 deletionslib/CodeGen/CGOpenMPRuntime.h
- lib/CodeGen/CGStmtOpenMP.cpp 129 additions, 9 deletionslib/CodeGen/CGStmtOpenMP.cpp
- lib/CodeGen/CodeGenFunction.h 3 additions, 0 deletionslib/CodeGen/CodeGenFunction.h
- lib/Sema/SemaOpenMP.cpp 57 additions, 8 deletionslib/Sema/SemaOpenMP.cpp
- lib/Serialization/ASTReaderStmt.cpp 50 additions, 3 deletionslib/Serialization/ASTReaderStmt.cpp
- lib/Serialization/ASTWriterStmt.cpp 17 additions, 1 deletionlib/Serialization/ASTWriterStmt.cpp
- test/OpenMP/target_data_use_device_ptr_codegen.cpp 464 additions, 0 deletionstest/OpenMP/target_data_use_device_ptr_codegen.cpp
Loading
Please register or sign in to comment