llvm-project/clang/test
Artem Belevich 42e1949b46 [CUDA] Emit host-side 'shadows' for device-side global variables
... and register them with CUDA runtime.

This is needed for commonly used cudaMemcpy*() APIs that use address of
host-side shadow to access their counterparts on device side.

Fixes PR26340

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

llvm-svn: 262498
2016-03-02 18:28:50 +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 [ASTImporter] Implement missing VisitAccessSpecDecl function in ASTImporter class. 2016-02-18 23:08:36 +00:00
Analysis [analyzer] Update CheckObjCDealloc diagnostic for missing -dealloc. 2016-03-01 00:39:04 +00:00
CXX [modules] Prefer more complete array types. 2016-02-28 19:08:24 +00:00
CodeCompletion [Parse] Code complete expressions in bracket declarators. 2016-02-18 15:30:24 +00:00
CodeGen [CLANG] [AVX512] [BUILTIN] Adding PSRA{W|WI}{128|256|512}. 2016-03-02 12:06:06 +00:00
CodeGenCUDA [CUDA] Emit host-side 'shadows' for device-side global variables 2016-03-02 18:28:50 +00:00
CodeGenCXX Add a few dllimport/dllexport tests. NFC 2016-03-02 01:21:48 +00:00
CodeGenObjC Objective-C: Add a size field to non-fragile category metadata. 2016-02-24 17:49:50 +00:00
CodeGenObjCXX Mangle extended qualifiers in the proper order and mangle the 2016-03-01 22:18:03 +00:00
CodeGenOpenCL AMDGPU: Add builtins for recently added intrinsics 2016-02-27 09:54:43 +00:00
Coverage Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
CoverageMapping Restrengthen tests relaxed in r259955 2016-02-17 00:58:13 +00:00
Driver test/Driver/cl-pch-errorhandling.cpp: Copy input file to a temporary 2016-03-02 14:26:59 +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 Revert r260266 (and r260276), "clang-cl: Enable plugins on Windows" 2016-02-11 16:43:08 +00:00
Headers test/Headers/float.c: fix theoretical edge values 2016-02-12 19:24:36 +00:00
Index Fix test breakage on windows where the default std is c++11 by forcing c++03 in the test. 2016-03-01 12:53:18 +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 [OpenCL] Added half type literal with suffix h. 2016-02-17 11:34:37 +00:00
Misc Don't crash w/ a diagnostic range containing a null byte 2016-02-17 22:37:45 +00:00
Modules [modules] Prefer more complete array types. 2016-02-28 19:08:24 +00:00
OpenMP [OPENMP 4.5] Codegen for data members in 'reduction' clause. 2016-03-02 04:57:40 +00:00
PCH Serialize `#pragma comment`. 2016-03-02 17:28:48 +00:00
Parser [OpenCL] Refine OpenCLImageAccessAttr to OpenCLAccessAttr 2016-02-26 03:13:03 +00:00
Preprocessor [X86] Disabling avx512f should also disable avx512vbmi and avx512ifma. Enabling avx512vbmi or avx512ifma should enable avx512f. Add command line switches and header defines for avx512ifma and avx512vbmi. 2016-02-29 06:51:38 +00:00
Profile Test simplification 2016-02-17 00:59:01 +00:00
Rewriter Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
Sema [Sema] PR26444 fix crash when alignment value is >= 2**16 2016-03-02 06:48:47 +00:00
SemaCUDA [CUDA] do not allow attribute-based overloading for __global__ functions. 2016-02-24 21:54:45 +00:00
SemaCXX Fix bug in using shadow decl checking: a using shadow decl should not conflict 2016-02-27 02:36:43 +00:00
SemaObjC [Sema] More changes to fix Objective-C fallout from r249995. 2016-02-13 01:41:41 +00:00
SemaObjCXX Test template instantiation of ns_consumed and ns_returns_retained. 2016-03-01 06:54:30 +00:00
SemaOpenCL AMDGPU: Add builtins for recently added intrinsics 2016-02-27 09:54:43 +00:00
SemaTemplate Fix assertion failure on MaybeODRUseExprs. 2016-02-24 23:05:43 +00:00
TableGen
Tooling int function without a return statement is invalid C++. 2015-11-27 18:10:49 +00:00
Unit
VFS [VFS] Fix status() of opened redirected file 2015-12-10 23:41:39 +00:00
.clang-format
CMakeLists.txt [CMake] Add convenience target clang-test-depends to build test dependencies. 2016-03-02 00:27:15 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg Revert r260266 (and r260276), "clang-cl: Enable plugins on Windows" 2016-02-11 16:43:08 +00:00
lit.site.cfg.in [modules] Compress files embedded into a .pcm file, to reduce the disk usage of -fembed-all-files mode. 2016-02-06 02:06:43 +00:00
make_test_dirs.pl