llvm-project/clang/test
Samuel Antao 4af1b7b693 [OpenMP] Update target directive codegen to use 4.5 implicit data mappings.
Summary:
This patch implements the 4.5 specification for the implicit data maps. OpenMP 4.5 specification changes the default way data is captured into a target region. All the non-aggregate kinds are passed by value by default. This required activating the capturing by value during SEMA for the target region. All the non-aggregate values that can be encoded in the size of a pointer are properly casted and forwarded to the runtime library. On top of fixing the previous weird behavior for mapping pointers in nested data regions (an explicit map was always required), this also improves performance as the number of allocations/transactions to the device per non-aggregate map are reduced from two to only one - instead of passing a reference and the value, only the value passed.

Explicit maps will be added later on once firstprivate, private, and map clauses' SEMA and parsing are available.

Reviewers: hfinkel, rjmccall, ABataev

Subscribers: cfe-commits, carlo.bertolli

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

llvm-svn: 254521
2015-12-02 17:44:43 +00:00
..
ARCMT Define weak and __weak to mean ARC-style weak references, even in MRC. 2015-10-22 18:38:17 +00:00
ASTMerge Update tests touched by r249656 2015-10-08 06:31:22 +00:00
Analysis [analyzer] Fix IssueHash generation. 2015-12-01 09:00:41 +00:00
CXX [PR25661] Revert part of r217213 according to r254323. 2015-11-30 23:46:32 +00:00
CodeCompletion [Tests] Modified Lit Tests to be C++11 compatibile 2015-08-27 18:49:15 +00:00
CodeGen Teaches clang about Cortex-A35. 2015-12-02 12:03:42 +00:00
CodeGenCUDA Allow linking multiple bitcode files. 2015-10-27 17:56:59 +00:00
CodeGenCXX [MS ABI] Correctly mangle nullptr member pointers for variable templates 2015-12-01 19:13:51 +00:00
CodeGenObjC Add -disable-llvm-passes for frontend debug info tests. 2015-11-20 18:29:01 +00:00
CodeGenObjCXX Revert "Change memcpy/memset/memmove to have dest and source alignments." 2015-11-19 05:55:59 +00:00
CodeGenOpenCL [OpenCL 2.0] Apply default address space (AS). 2015-11-23 11:14:44 +00:00
Coverage Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
CoverageMapping InstrProf: Fix a misuse of the FunctionDecl API when generating coverage 2015-07-28 00:41:51 +00:00
Driver Teaches clang about Cortex-A35. 2015-12-02 12:03:42 +00:00
FixIt [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
Format Fix clang-format test. I believe that the new behavior is better. 2015-11-23 08:50:52 +00:00
Frontend Preprocessor: define correct tvOS and watchOS version macros 2015-10-30 16:30:30 +00:00
Headers Make ms-intrin.cpp test require the x86 target. 2015-09-23 00:24:34 +00:00
Index Make clang_Cursor_getMangling not mangle if the declaration isn't mangled 2015-11-23 19:56:46 +00:00
Integration
Layout [MS] Fix for bug 25013 - #pragma vtordisp is unknown inside functions, by Denis Zobnin. 2015-11-20 07:02:57 +00:00
Lexer [coroutines] Add forgotten test for lexing coroutines keywords. 2015-10-22 05:21:12 +00:00
Misc Do not crash when dumping the objc_bridge_related attribute when its optional arguments are not supplied. 2015-11-30 15:25:34 +00:00
Modules [modules] Don't reject multiple modules providing contents for the same embedded file. 2015-12-01 03:32:49 +00:00
OpenMP [OpenMP] Update target directive codegen to use 4.5 implicit data mappings. 2015-12-02 17:44:43 +00:00
PCH [Sema] Implement __make_integer_seq 2015-11-04 03:40:30 +00:00
Parser [coroutines] Factor out co_await representation into common base class for co_await and co_yield, and use it to hold await_* calls. 2015-11-22 02:57:17 +00:00
Preprocessor Teaches clang about Cortex-A35. 2015-12-02 12:03:42 +00:00
Profile [PGO] Test update for revision 253484. 2015-11-18 18:15:55 +00:00
Rewriter Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
Sema [mips] Interrupt attribute support. 2015-11-27 18:03:44 +00:00
SemaCUDA Produce a better diagnostic for global register variables. 2015-11-18 00:15:28 +00:00
SemaCXX [MS Compat] Adjust thiscall to cdecl when deducing template arguments 2015-11-30 20:34:28 +00:00
SemaObjC Don't actually add the __unsafe_unretained qualifier in MRC; 2015-11-19 02:28:03 +00:00
SemaObjCXX [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
SemaOpenCL [OpenCL 2.0] Apply default address space (AS). 2015-11-23 11:14:44 +00:00
SemaTemplate [Lit Test] Updated 34 Lit tests to be C++11 compatible. 2015-11-17 20:25:05 +00:00
TableGen
Tooling int function without a return statement is invalid C++. 2015-11-27 18:10:49 +00:00
Unit
VFS Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
.clang-format
CMakeLists.txt [CMake] Reformat CLANG_TEST_DEPS. 2015-10-16 09:38:42 +00:00
Makefile
TestRunner.sh
cxx-sections.data
lit.cfg Revert r247977, "clang/test/lit.cfg: *-ps4 doesn't have appropriate driver yet. Mark it as "non-clang-driver"." 2015-10-20 22:36:16 +00:00
lit.site.cfg.in
make_test_dirs.pl