Home
last modified time | relevance | path

Searched refs:write_only (Results 1 – 25 of 55) sorted by relevance

123

/external/llvm/test/CodeGen/AMDGPU/
Dimage-resource-id.ll33 ; === 1 image arg, write_only ==================================================
40 define void @test_2d_wr_1_0(%opencl.image2d_t addrspace(1)* %in, ; write_only
54 define void @test_3d_wr_1_0(%opencl.image3d_t addrspace(1)* %in, ; write_only
125 ; === 2 image args, write_only =================================================
132 define void @test_2d_wr_2_0(%opencl.image2d_t addrspace(1)* %in1, ; write_only
133 %opencl.image2d_t addrspace(1)* %in2, ; write_only
147 define void @test_2d_wr_2_1(%opencl.image2d_t addrspace(1)* %in1, ; write_only
148 %opencl.image2d_t addrspace(1)* %in2, ; write_only
162 define void @test_3d_wr_2_0(%opencl.image3d_t addrspace(1)* %in1, ; write_only
163 %opencl.image3d_t addrspace(1)* %in2, ; write_only
[all …]
/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Dimage-resource-id.ll33 ; === 1 image arg, write_only ==================================================
40 define amdgpu_kernel void @test_2d_wr_1_0(%opencl.image2d_t addrspace(1)* %in, ; write_only
54 define amdgpu_kernel void @test_3d_wr_1_0(%opencl.image3d_t addrspace(1)* %in, ; write_only
125 ; === 2 image args, write_only =================================================
132 define amdgpu_kernel void @test_2d_wr_2_0(%opencl.image2d_t addrspace(1)* %in1, ; write_only
133 %opencl.image2d_t addrspace(1)* %in2, ; write_only
147 define amdgpu_kernel void @test_2d_wr_2_1(%opencl.image2d_t addrspace(1)* %in1, ; write_only
148 %opencl.image2d_t addrspace(1)* %in2, ; write_only
162 define amdgpu_kernel void @test_3d_wr_2_0(%opencl.image3d_t addrspace(1)* %in1, ; write_only
163 %opencl.image3d_t addrspace(1)* %in2, ; write_only
[all …]
/external/llvm-project/clang/test/SemaOpenCL/
Daccess-qualifier.cl6 typedef write_only image1d_t img1d_wo; // expected-note {{previously declared 'write_only' here}}
17 void myWrite(write_only image1d_t); // expected-note {{passing argument to parameter here}} expecte…
55 kernel void k8(write_only img1d_ro_default img){} // expected-error {{multiple access qualifiers}}
61 kernel void k11(read_only write_only image1d_t i){} // expected-error{{multiple access qualifiers}}
72 void myPipeWrite(write_only pipe int); // expected-note {{passing argument to parameter here}}
74 … {{passing '__private read_only pipe int' to parameter of incompatible type 'write_only pipe int'}}
79 kernel void test_image3d_wo(write_only image3d_t img) {} // expected-error {{use of type '__write_o…
89 kernel void pipe_ro_wo(read_only write_only pipe int i){} // expected-error{{multiple access qualif…
96 …Int' (aka '__private read_only pipe int') to parameter of incompatible type 'write_only pipe int'}}
107 kernel void image_wo_twice(write_only __write_only image1d_t i){} // expected-warning {{duplicate '…
[all …]
Dimages.cl4 void img2d_wo(write_only image2d_t); // expected-note 2{{passing argument to parameter here}}
20 kernel void write_only_access_test(write_only image2d_t img) {
22 img2d_wo(img); // write_only = write_only
Dinvalid-pipe-builtin-cl2.0.cl18 write_pipe(p, ptr); // expected-error {{invalid pipe access modifier (expecting write_only)}}
19 …ipe(p, rid, tmp, ptr); // expected-error {{invalid pipe access modifier (expecting write_only)}}
25 …rve_write_pipe(p, tmp); // expected-error{{invalid pipe access modifier (expecting write_only)}}
31 …mit_write_pipe(p, tmp); // expected-error{{invalid pipe access modifier (expecting write_only)}}
34 void test2(write_only pipe int p, global int* ptr){
Dinvalid-pipes-cl2.0.cl7write_only int get_pipe(); // expected-error-re{{type '__global write_only pipe int ({{(void)?}})'…
/external/llvm-project/clang/test/Index/
Dopencl-types.cl54 void kernel OCLImage1dWOTest(write_only image1d_t scalarOCLImage1dWO);
55 void kernel OCLImage1dArrayWOTest(write_only image1d_array_t scalarOCLImage1dArrayWO);
56 void kernel OCLImage1dBufferWOTest(write_only image1d_buffer_t scalarOCLImage1dBufferWO);
57 void kernel OCLImage2dWOTest(write_only image2d_t scalarOCLImage2dWO);
58 void kernel OCLImage2dArrayWOTest(write_only image2d_array_t scalarOCLImage2dArrayWO);
59 void kernel OCLImage2dDepthWOTest(write_only image2d_depth_t scalarOCLImage2dDepthWO);
60 void kernel OCLImage2dArrayDepthWOTest(write_only image2d_array_depth_t scalarOCLImage2dArrayDepthW…
61 void kernel OCLImage2dMSAAWOTest(write_only image2d_msaa_t scalarOCLImage2dMSAAWO);
62 void kernel OCLImage2dArrayMSAAWOTest(write_only image2d_array_msaa_t scalarOCLImage2dArrayMSAAWO);
63 void kernel OCLImage2dMSAADepthWOTest(write_only image2d_msaa_depth_t scalarOCLImage2dMSAADepthWO);
[all …]
/external/clang/test/SemaOpenCL/
Daccess-qualifier.cl6 typedef write_only image1d_t img1d_wo; // expected-note {{previously declared 'write_only' here}}
17 void myWrite(write_only image1d_t); // expected-note {{passing argument to parameter here}} expecte…
55 kernel void k8(write_only img1d_ro_default img){} // expected-error {{multiple access qualifiers}}
61 kernel void k11(read_only write_only image1d_t i){} // expected-error{{multiple access qualifiers}}
Dinvalid-pipe-builtin-cl2.0.cl16 write_pipe(p, ptr); // expected-error {{invalid pipe access modifier (expecting write_only)}}
17 …ipe(p, rid, tmp, ptr); // expected-error {{invalid pipe access modifier (expecting write_only)}}
23 …rve_write_pipe(p, tmp); // expected-error{{invalid pipe access modifier (expecting write_only)}}
29 …mit_write_pipe(p, tmp); // expected-error{{invalid pipe access modifier (expecting write_only)}}
32 void test2(write_only pipe int p, global int* ptr){
Dimages.cl5 void imgage_access_test(image2d_t img2dro, write_only image2d_t img2dwo, image3d_t img3dro) {
/external/clang/test/CodeGenOpenCL/
Dpipe_builtin.cl17 void test2(write_only pipe int p, global int *ptr) {
35 void test4(write_only pipe int p, global int *ptr) {
49 void test6(write_only pipe int p, global int *ptr) {
56 void test7(write_only pipe int p, global int *ptr) {
Dkernel-arg-info.cl17 kernel void foo2(read_only image1d_t img1, image2d_t img2, write_only image2d_array_t img3) {
52 kernel void foo5(myImage img1, write_only image1d_t img2) {
69 // CHECK: ![[MD22]] = !{!"read_only", !"read_only", !"write_only"}
84 // CHECK: ![[MD51]] = !{!"read_only", !"write_only"}
Dimages.cl4 __attribute__((overloadable)) void read_image(write_only image1d_t img_wo);
6 kernel void test_read_image(read_only image1d_t img_ro, write_only image1d_t img_wo) {
Dpipe_types.cl13 void test2(write_only pipe float p) {
/external/llvm-project/clang/test/CodeGenOpenCL/
Dkernel-arg-info.cl32 kernel void foo2(read_only image1d_t img1, image2d_t img2, write_only image2d_array_t img3, read_wr…
67 kernel void foo5(myImage img1, write_only image1d_t img2) {
84 typedef write_only image1d_t WOImage;
103 // CHECK: ![[MD22]] = !{!"read_only", !"read_only", !"write_only", !"read_write"}
118 // CHECK: ![[MD51]] = !{!"read_only", !"write_only"}
125 // CHECK: ![[MD72]] = !{!"read_only", !"write_only", !"read_write"}
Dpipe_builtin.cl22 void test2(write_only pipe int p, global int *ptr) {
40 void test4(write_only pipe int p, global int *ptr) {
54 void test6(write_only pipe int p, global int *ptr) {
68 void test8(write_only pipe int p, global int *ptr) {
Dimages.cl5 __attribute__((overloadable)) void read_image(write_only image1d_t img_wo);
7 kernel void test_read_image(read_only image1d_t img_ro, write_only image1d_t img_wo) {
/external/llvm-project/clang/test/AST/
Dast-dump-pipe.cl19 typedef write_only pipe int pipetype3;
20 // CHECK: PipeType {{.*}} 'write_only pipe int'
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_buffer_objects.c184 const GLboolean write_only = in radeonMapBufferRange() local
187 if (write_only) { in radeonMapBufferRange()
200 radeon_bo_map(radeon_obj->bo, write_only); in radeonMapBufferRange()
/external/llvm-project/clang/test/Modules/
Dodr_hash.cl45 typedef write_only pipe int y;
50 typedef write_only pipe int x;
57 typedef write_only pipe int y;
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_buffer_objects.c184 const GLboolean write_only = in radeonMapBufferRange() local
187 if (write_only) { in radeonMapBufferRange()
200 radeon_bo_map(radeon_obj->bo, write_only); in radeonMapBufferRange()
/external/llvm-project/clang/test/Parser/
Dopencl-image-access.cl15 __kernel void fwo(write_only image2d_t a) { }
/external/clang/test/Parser/
Dopencl-image-access.cl15 __kernel void fwo(write_only image2d_t a) { }
/external/deqp-deps/amber/tests/cases/
Dopencl_write_image.amber17 kernel void foo(write_only image2d_t image, global float4* data) {
/external/igt-gpu-tools/tests/i915/
Dgem_workarounds.c68 static bool write_only(const uint32_t addr) in write_only() function
161 } else if (write_only(wa_regs[i].addr)) { in workaround_fail_count()

123