clang/test/SemaOpenCL
Joey Gouly 596a7b3492 [OpenCL] Refactor read_only/write_only pipes.
This adds the access qualifier to the Pipe Type, rather than using a class
hierarchy. 

It also fixes mergeTypes for Pipes, by disallowing merges. Only identical
pipe types can be merged. The test case in invalid-pipes-cl2.0.cl is added
to check that.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288332 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-01 11:30:49 +00:00
..
access-qualifier.cl [OpenCL] Introduce ReadPipeType and WritePipeType. 2016-11-18 14:10:54 +00:00
address-spaces-conversions-cl2.0.cl PR19957: [OpenCL] Incorrectly accepts implicit address space conversion with ternary operator. 2016-04-12 19:43:36 +00:00
address-spaces.cl OpenCL: Emit global variables in the constant addr space as constant globals 2014-10-16 15:29:19 +00:00
amdgpu-attrs.cl [AMDGPU] Expose flat work group size, register and wave control attributes 2016-09-26 01:02:57 +00:00
array-parameters.cl Allow address space qualifiers on OpenCL array parameters 2014-04-15 11:38:29 +00:00
as_type.cl [OpenCL] Fix __builtin_astype for vec3 types. 2016-06-08 15:11:21 +00:00
bool-vectors.cl [Sema] Make extended vectors of `bool` an error. 2016-01-28 01:38:18 +00:00
builtin.cl [OpenCL] Diagnose variadic arguments 2016-10-28 12:59:39 +00:00
builtins-amdgcn-error-f16.cl [AMDGPU] Add f16 builtin functions (VI+) 2016-11-13 02:37:05 +00:00
builtins-amdgcn-error.cl [AMDGPU] Add f16 builtin functions (VI+) 2016-11-13 02:37:05 +00:00
cl20-device-side-enqueue.cl Fix OpenCL test for buildbot by removing extra (erroneous) RUN line 2016-11-14 18:11:09 +00:00
clang-builtin-version.cl [OpenCL] Make OpenCL Builtins added according to the right version. 2016-07-04 16:07:18 +00:00
cond.cl [OpenCL] Disallow taking an address of a function. 2016-01-05 14:39:27 +00:00
convergent.cl [OpenCL] Mark group functions as convergent in opencl-c.h 2016-11-01 18:45:32 +00:00
endian-attr.cl Removing the endian attribute and updating associated test cases. This functionality was never completely implemented, and this is an improvement over silently eating the attribute. 2013-09-09 12:57:20 +00:00
event_t.cl [OpenCL] Prohibit using reserve_id_t in program scope. 2016-11-29 10:21:40 +00:00
event_t_overload.cl [Sema] Relax overloading restrictions in C. 2016-09-02 22:59:57 +00:00
ext_vectors.cl Add .rgba syntax extension to ext_vector_type types 2016-07-22 18:49:43 +00:00
extension-version.cl [OpenCL] AMDGPU: add support of cl_khr_subgroups 2016-08-17 20:39:49 +00:00
extensions.cl Revert "Improve handling of floating point literals in OpenCL to only use double precision if the target supports fp64." 2016-11-14 12:19:18 +00:00
extern.cl Update clang for D20348 2016-06-14 21:02:05 +00:00
func.cl [OpenCL] Diagnose variadic arguments 2016-10-28 12:59:39 +00:00
half.cl [OpenCL] Allow half type kernel argument when cl_khr_fp16 is enabled 2016-09-19 17:11:22 +00:00
images.cl [OpenCL] Complete image types support. 2016-04-08 13:40:33 +00:00
init.cl Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
invalid-block.cl [OpenCL] Diagnose variadic arguments 2016-10-28 12:59:39 +00:00
invalid-clk-events-cl2.0.cl [OpenCL] Prohibit using reserve_id_t in program scope. 2016-11-29 10:21:40 +00:00
invalid-constant.cl [OpenCL] Add test case for previous commit. 2014-01-03 15:11:57 +00:00
invalid-image.cl [OpenCL] Use the semantic spelling of the Access attribute, rather than a string. 2016-11-16 11:34:09 +00:00
invalid-kernel-attrs.cl [OpenCL] Refine OpenCLImageAccessAttr to OpenCLAccessAttr 2016-02-26 03:13:03 +00:00
invalid-kernel-parameters.cl [OpenCL] Allow half type kernel argument when cl_khr_fp16 is enabled 2016-09-19 17:11:22 +00:00
invalid-kernel.cl Allow address space qualifiers on OpenCL array parameters 2014-04-15 11:38:29 +00:00
invalid-logical-ops-1.1.cl Add a 64-bit triple to these tests, to fix 32-bit bots. 2013-02-21 13:42:33 +00:00
invalid-logical-ops-1.2.cl Disable warning about core features by default 2016-06-01 18:04:53 +00:00
invalid-pipe-builtin-cl2.0.cl [OpenCL] Fix pipe builtin bugs 2016-03-30 04:46:32 +00:00
invalid-pipes-cl2.0.cl [OpenCL] Refactor read_only/write_only pipes. 2016-12-01 11:30:49 +00:00
lit.local.cfg Disallow driver use in more Sema tests 2014-04-19 19:07:31 +00:00
nosvm.cl [OpenCL] Added nosvm attribute for OpenCL v2.0. 2016-03-31 11:07:22 +00:00
null_literal.cl [OpenCL 2.0] In OpenCL v2.0 s6.5 all pointers are implicitly in generic 2015-12-11 17:41:19 +00:00
pipes-1.2-negative.cl [OpenCL] Pipe type support 2016-01-09 12:53:17 +00:00
sampler_t.cl [OpenCL] Generate opaque type for sampler_t and function call for the initializer 2016-07-28 19:26:30 +00:00
sampler_t_overload.cl Add OpenCL samplers as Clang builtin types and check sampler related restrictions. 2013-02-07 10:55:47 +00:00
shifts.cl Restores r228382, which was reverted in r228406. 2015-02-25 05:48:23 +00:00
sizeof.cl [OpenCL] Produce an error, instead of a warning, for sizeof(void) in OpenCL. 2013-12-31 15:47:49 +00:00
storageclass-cl20.cl [OpenCL] Improve diagnostics of address spaces for variables in function 2016-03-03 18:38:40 +00:00
storageclass.cl [OpenCL] Output OpenCL version in diagnostics. 2016-05-12 16:28:25 +00:00
str_literals.cl [OpenCL] Make sure we put string literals in the constant address space. 2013-11-14 18:26:10 +00:00
to_addr_builtin.cl [OpenCL] Make OpenCL Builtins added according to the right version. 2016-07-04 16:07:18 +00:00
unroll-hint.cl [OpenCL] Generate metadata for opencl_unroll_hint attribute 2016-02-19 18:30:11 +00:00
unsupported.cl [OpenCL] Adding reserved operator logical xor for OpenCL 2016-02-03 15:17:14 +00:00
vec_compare.cl Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
vec_step.cl Add support for the OpenCL vec_step operator, by generalising and 2011-03-11 19:24:49 +00:00
vector_conv_invalid.cl Print detailed vector type information on diagnostics. 2014-04-25 20:41:38 +00:00
vector_inc_dec_ops.cl OpenCL allows the (pre/post)-(increment/decrement) operator on integer vector types, 2013-09-06 09:58:08 +00:00
vector_literals_const.cl Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
vector_literals_invalid.cl In the OpenCL mode, the AltiVec mode must be off and checks must be strict 2011-09-21 18:28:29 +00:00
warn-missing-prototypes.cl Disable the warning for missing prototypes for OpenCL kernels. Includes testcase. 2012-07-26 00:08:28 +00:00