Home
last modified time | relevance | path

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

12

/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 …]
Dimage-attributes.ll203 !22 = !{!"kernel_arg_access_qual", !"read_only", !"none", !"write_only", !"none"}
/external/swiftshader/third_party/llvm-7.0/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 …]
Dimage-attributes.ll203 !22 = !{!"kernel_arg_access_qual", !"read_only", !"none", !"write_only", !"none"}
/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/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/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/clang/test/Parser/
Dopencl-image-access.cl15 __kernel void fwo(write_only image2d_t a) { }
/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()
/external/clang/include/clang/Basic/
DOpenCLImageTypes.def30 IMAGE_TYPE(Type, Id##WO, Id##WOTy, write_only, wo)
DTokenKinds.def520 ALIAS("write_only", __write_only , KEYOPENCL)
/external/mesa3d/src/compiler/glsl/
Dast_type.cpp116 || this->flags.q.write_only; in has_memory()
281 input_layout_mask.flags.q.write_only = 1; in merge_qualifier()
881 bad.flags.q.write_only ? " write_only" : "", in validate_flags()
Dast_to_hir.cpp3419 qual->flags.q.write_only || in validate_memory_qualifier_for_type()
3470 var->data.memory_write_only |= qual->flags.q.write_only; in apply_image_qualifier_to_variable()
3498 } else if (!qual->flags.q.write_only) { in apply_image_qualifier_to_variable()
7674 if (qual->flags.q.read_only || qual->flags.q.write_only) { in ast_process_struct_or_iface_block_members()
7676 fields[i].memory_write_only = qual->flags.q.write_only; in ast_process_struct_or_iface_block_members()
7681 layout ? layout->flags.q.write_only : 0; in ast_process_struct_or_iface_block_members()
7704 if (!qual->flags.q.write_only) { in ast_process_struct_or_iface_block_members()
7901 allowed_blk_qualifiers.flags.q.write_only = 1; in hir()
7987 if (this->layout.flags.q.read_only && this->layout.flags.q.write_only) { in hir()
Dast.h589 unsigned write_only:1; /**< "writeonly" qualifier. */ member
Dglsl_parser.yy2275 $$.flags.q.write_only = 1;
2429 input_layout_mask.flags.q.write_only = 1;
/external/clang/lib/Headers/
Dopencl-c.h16076 void __ovld write_imagef(write_only image2d_t image, int2 coord, float4 color);
16077 void __ovld write_imagei(write_only image2d_t image, int2 coord, int4 color);
16078 void __ovld write_imageui(write_only image2d_t image, int2 coord, uint4 color);
16080 void __ovld write_imagef(write_only image2d_array_t image_array, int4 coord, float4 color);
16081 void __ovld write_imagei(write_only image2d_array_t image_array, int4 coord, int4 color);
16082 void __ovld write_imageui(write_only image2d_array_t image_array, int4 coord, uint4 color);
16084 void __ovld write_imagef(write_only image1d_t image, int coord, float4 color);
16085 void __ovld write_imagei(write_only image1d_t image, int coord, int4 color);
16086 void __ovld write_imageui(write_only image1d_t image, int coord, uint4 color);
16088 void __ovld write_imagef(write_only image1d_buffer_t image, int coord, float4 color);
[all …]
/external/mesa3d/src/intel/vulkan/
Danv_nir_apply_pipeline_layout.c785 const bool write_only = in lower_image_intrinsic() local
789 nir_ssa_def *handle = nir_channel(b, desc, write_only ? 1 : 0); in lower_image_intrinsic()
1371 pipe_binding[i].write_only = in anv_nir_apply_pipeline_layout()
Danv_descriptor_set.c1364 .write_only = anv_surface_state_to_handle( in anv_descriptor_set_write_image_view()
1441 .write_only = anv_surface_state_to_handle( in anv_descriptor_set_write_buffer_view()
Danv_private.h1916 uint32_t write_only; member
2281 uint8_t write_only; member

12