| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | image-resource-id.ll | 351 !4 = !{void (%opencl.image2d_t addrspace(1)*, %opencl.image2d_t addrspace(1)*, 353 !5 = !{void (%opencl.image2d_t addrspace(1)*, %opencl.image2d_t addrspace(1)*, 355 !6 = !{void (%opencl.image3d_t addrspace(1)*, %opencl.image3d_t addrspace(1)*, 357 !7 = !{void (%opencl.image3d_t addrspace(1)*, %opencl.image3d_t addrspace(1)*, 359 !8 = !{void (%opencl.image2d_t addrspace(1)*, %opencl.image2d_t addrspace(1)*, 361 !9 = !{void (%opencl.image2d_t addrspace(1)*, %opencl.image2d_t addrspace(1)*, 363 !10 = !{void (%opencl.image3d_t addrspace(1)*, %opencl.image3d_t addrspace(1)*, 365 !11 = !{void (%opencl.image3d_t addrspace(1)*, %opencl.image3d_t addrspace(1)*, 376 !12 = !{void (%opencl.image2d_t addrspace(1)*, %opencl.image3d_t addrspace(1)*, 379 !13 = !{void (%opencl.image3d_t addrspace(1)*, %opencl.image2d_t addrspace(1)*, [all …]
|
| H A D | hsa-metadata-images.ll | 5 %opencl.image1d_t = type opaque 6 %opencl.image1d_array_t = type opaque 7 %opencl.image1d_buffer_t = type opaque 8 %opencl.image2d_t = type opaque 9 %opencl.image2d_array_t = type opaque 10 %opencl.image2d_array_depth_t = type opaque 11 %opencl.image2d_array_msaa_t = type opaque 13 %opencl.image2d_depth_t = type opaque 14 %opencl.image2d_msaa_t = type opaque 15 %opencl.image2d_msaa_depth_t = type opaque [all …]
|
| H A D | image-attributes.ll | 14 %opencl.image2d_t addrspace(1)* %in) #0 27 %opencl.image3d_t addrspace(1)* %in) #0 44 %opencl.image2d_t addrspace(1)* %in) #0 57 %opencl.image3d_t addrspace(1)* %in) #0 74 %opencl.image3d_t addrspace(1)* %in) #0 91 %opencl.image2d_t addrspace(1)* %in) #0 104 %opencl.image3d_t addrspace(1)* %in) #0 121 %opencl.image2d_t addrspace(1)* %in) #0 161 %opencl.image2d_t = type opaque 162 %opencl.image3d_t = type opaque [all …]
|
| H A D | hsa-metadata-images-v3.ll | 5 %opencl.image1d_t = type opaque 6 %opencl.image1d_array_t = type opaque 7 %opencl.image1d_buffer_t = type opaque 8 %opencl.image2d_t = type opaque 9 %opencl.image2d_array_t = type opaque 10 %opencl.image2d_array_depth_t = type opaque 11 %opencl.image2d_array_msaa_t = type opaque 13 %opencl.image2d_depth_t = type opaque 14 %opencl.image2d_msaa_t = type opaque 15 %opencl.image2d_msaa_depth_t = type opaque [all …]
|
| H A D | simplify-libcalls.ll | 699 %opencl.pipe_t = type opaque 700 %opencl.reserve_id_t = type opaque 710 …%tmp3 = call %opencl.reserve_id_t addrspace(5)* @__reserve_read_pipe(%opencl.pipe_t addrspace(1)* … 712 …call void @__commit_read_pipe(%opencl.pipe_t addrspace(1)* %p, %opencl.reserve_id_t addrspace(5)* … 718 declare %opencl.reserve_id_t addrspace(5)* @__reserve_read_pipe(%opencl.pipe_t addrspace(1)*, i32, … 720 declare i32 @__read_pipe_4(%opencl.pipe_t addrspace(1)*, %opencl.reserve_id_t addrspace(5)*, i32, i… 722 declare void @__commit_read_pipe(%opencl.pipe_t addrspace(1)*, %opencl.reserve_id_t addrspace(5)*, … 732 …%tmp3 = call %opencl.reserve_id_t addrspace(5)* @__reserve_write_pipe(%opencl.pipe_t addrspace(1)*… 734 …call void @__commit_write_pipe(%opencl.pipe_t addrspace(1)* %p, %opencl.reserve_id_t addrspace(5)*… 740 declare %opencl.reserve_id_t addrspace(5)* @__reserve_write_pipe(%opencl.pipe_t addrspace(1)*, i32,… [all …]
|
| H A D | unify-metadata.ll | 5 ; modules for records such as opencl.ocl.version, llvm.ident and similar. 7 ; ALL-DAG: !opencl.ocl.version = !{![[OCL_VER:[0-9]+]]} 9 ; ALL-DAG: !opencl.used.extensions = !{![[USED_EXT_0:[0-9]+]], ![[USED_EXT_1:[0-9]+]], ![[USED_EXT_… 18 !opencl.ocl.version = !{!1, !0, !0, !0} 20 !opencl.used.extensions = !{!3, !3, !4, !5}
|
| /llvm-project-15.0.7/clang/test/CodeGenOpenCL/ |
| H A D | intel-subgroups-avc-ext-types.cl | 3 // CHECK: %opencl.intel_sub_group_avc_mce_payload_t = type opaque 4 // CHECK: %opencl.intel_sub_group_avc_ime_payload_t = type opaque 5 // CHECK: %opencl.intel_sub_group_avc_ref_payload_t = type opaque 6 // CHECK: %opencl.intel_sub_group_avc_sic_payload_t = type opaque 8 // CHECK: %opencl.intel_sub_group_avc_mce_result_t = type opaque 9 // CHECK: %opencl.intel_sub_group_avc_ime_result_t = type opaque 10 // CHECK: %opencl.intel_sub_group_avc_ref_result_t = type opaque 11 // CHECK: %opencl.intel_sub_group_avc_sic_result_t = type opaque 22 // CHECK: store %opencl.intel_sub_group_avc_ime_result_t* null, 23 // CHECK: store %opencl.intel_sub_group_avc_ref_result_t* null, [all …]
|
| H A D | opencl_types.cl | 13 // CHECK-SPIR: @fnc1(%opencl.image1d_ro_t addrspace(1)* 14 // CHECK-AMDGCN: @fnc1(%opencl.image1d_ro_t addrspace(4)* 25 // CHECK-SPIR: @fnc2(%opencl.image2d_ro_t addrspace(1)* 33 // CHECK-SPIR: @fnc3(%opencl.image3d_ro_t addrspace(1)* 42 // CHECK-SPIR: alloca %opencl.sampler_t addrspace(2)* 45 // CHECK-SPIR: alloca %opencl.event_t* 46 // CHECK-AMDGCN: alloca %opencl.event_t addrspace(5)* 48 // CHECK-SPIR: alloca %opencl.clk_event_t* 51 // CHECK-SPIR: alloca %opencl.queue_t* 54 // CHECK-SPIR: alloca %opencl.reserve_id_t* [all …]
|
| H A D | pipe_builtin.cl | 5 // CHECK-DAG: %opencl.pipe_ro_t = type opaque 6 // CHECK-DAG: %opencl.pipe_wo_t = type opaque 7 // CHECK-DAG: %opencl.reserve_id_t = type opaque 14 …// CHECK: call %opencl.reserve_id_t* @__reserve_read_pipe(%opencl.pipe_ro_t* %{{.*}}, i32 {{.*}}, … 18 …// CHECK: call void @__commit_read_pipe(%opencl.pipe_ro_t* %{{.*}}, %opencl.reserve_id_t* %{{.*}},… 25 …// CHECK: call %opencl.reserve_id_t* @__reserve_write_pipe(%opencl.pipe_wo_t* %{{.*}}, i32 {{.*}},… 29 …// CHECK: call void @__commit_write_pipe(%opencl.pipe_wo_t* %{{.*}}, %opencl.reserve_id_t* %{{.*}}… 34 …// CHECK: call %opencl.reserve_id_t* @__work_group_reserve_read_pipe(%opencl.pipe_ro_t* %{{.*}}, i… 36 …// CHECK: call void @__work_group_commit_read_pipe(%opencl.pipe_ro_t* %{{.*}}, %opencl.reserve_id_… 41 …// CHECK: call %opencl.reserve_id_t* @__work_group_reserve_write_pipe(%opencl.pipe_wo_t* %{{.*}}, … [all …]
|
| H A D | sampler.cl | 20 // CHECK: %opencl.sampler_t = type opaque 37 // CHECK: [[smp_par_ptr:%[A-Za-z0-9_\.]+]] = alloca %opencl.sampler_t addrspace(2)* 41 // CHECK: [[smp_ptr:%[A-Za-z0-9_\.]+]] = alloca %opencl.sampler_t addrspace(2)* 43 …// CHECK: store %opencl.sampler_t addrspace(2)* [[SAMP]], %opencl.sampler_t addrspace(2)** [[smp_p… 48 …// CHECK: [[SAMP:%[0-9]+]] = load %opencl.sampler_t addrspace(2)*, %opencl.sampler_t addrspace(2)*… 49 // CHECK: call spir_func void [[FUNCNAME]](%opencl.sampler_t addrspace(2)* [[SAMP]]) 54 …// CHECK: [[SAMP:%[0-9]+]] = load %opencl.sampler_t addrspace(2)*, %opencl.sampler_t addrspace(2)*… 55 // CHECK: call spir_func void [[FUNCNAME]](%opencl.sampler_t addrspace(2)* [[SAMP]]) 69 …// CHECK: [[SAMP:%[0-9]+]] = load %opencl.sampler_t addrspace(2)*, %opencl.sampler_t addrspace(2)*… 79 …// CHECK: store %opencl.sampler_t addrspace(2)* [[CONST_SAMP]], %opencl.sampler_t addrspace(2)** [… [all …]
|
| H A D | spir_version.cl | 18 // CHECK-SPIR-CL10-DAG: !opencl.ocl.version = !{[[OCL:![0-9]+]]} 21 // CHECK-SPIR-CL12-DAG: !opencl.spir.version = !{[[VER:![0-9]+]]} 22 // CHECK-SPIR-CL12-DAG: !opencl.ocl.version = !{[[VER]]} 25 // CHECK-SPIR-CL20-DAG: !opencl.spir.version = !{[[VER:![0-9]+]]} 26 // CHECK-SPIR-CL20-DAG: !opencl.ocl.version = !{[[VER]]} 29 // CHECK-AMDGCN-CL10-NOT: !opencl.spir.version 30 // CHECK-AMDGCN-CL10: !opencl.ocl.version = !{[[OCL:![0-9]+]]} 32 // CHECK-AMDGCN-CL12-NOT: !opencl.spir.version 33 // CHECK-AMDGCN-CL12: !opencl.ocl.version = !{[[OCL:![0-9]+]]} 35 // CHECK-AMDGCN-CL20-NOT: !opencl.spir.version [all …]
|
| H A D | pipe_types.cl | 7 // CHECK: %opencl.pipe_ro_t = type opaque 8 // CHECK: %opencl.pipe_wo_t = type opaque 13 // CHECK: define{{.*}} void @{{.*}}test1{{.*}}(%opencl.pipe_ro_t* %p) 15 // CHECK: %rid = alloca %opencl.reserve_id_t 19 // CHECK: define{{.*}} void @{{.*}}test2{{.*}}(%opencl.pipe_wo_t* %p) 23 // CHECK: define{{.*}} void @{{.*}}test3{{.*}}(%opencl.pipe_ro_t* %p) 27 // CHECK: define{{.*}} void @{{.*}}test4{{.*}}(%opencl.pipe_ro_t* %p) 31 // CHECK: define{{.*}} void @{{.*}}test5{{.*}}(%opencl.pipe_ro_t* %p) 36 // CHECK: define{{.*}} spir_kernel void @test6(%opencl.pipe_ro_t* %p) 49 // CHECK-STRUCT: call i32 @__read_pipe_2(%opencl.pipe_ro_t* %{{.*}}, i8* %{{.*}}, i32 16, i32 8) [all …]
|
| H A D | cl20-device-side-enqueue.cl | 80 // COMMON: [[DEF_Q:%[0-9]+]] = load %opencl.queue_t{{.*}}*, %opencl.queue_t{{.*}}** %default_queue 96 // COMMON: [[DEF_Q:%[0-9]+]] = load %opencl.queue_t{{.*}}*, %opencl.queue_t{{.*}}** %default_queue 120 // COMMON: [[DEF_Q:%[0-9]+]] = load %opencl.queue_t{{.*}}*, %opencl.queue_t{{.*}}** %default_queue 145 // COMMON: [[DEF_Q:%[0-9]+]] = load %opencl.queue_t{{.*}}*, %opencl.queue_t{{.*}}** %default_queue 169 // COMMON: [[DEF_Q:%[0-9]+]] = load %opencl.queue_t{{.*}}*, %opencl.queue_t{{.*}}** %default_queue 196 // COMMON: [[DEF_Q:%[0-9]+]] = load %opencl.queue_t{{.*}}*, %opencl.queue_t{{.*}}** %default_queue 224 // COMMON: [[DEF_Q:%[0-9]+]] = load %opencl.queue_t{{.*}}*, %opencl.queue_t{{.*}}** %default_queue 248 // COMMON: [[DEF_Q:%[0-9]+]] = load %opencl.queue_t{{.*}}*, %opencl.queue_t{{.*}}** %default_queue 280 // COMMON: [[DEF_Q:%[0-9]+]] = load %opencl.queue_t*, %opencl.queue_t** %default_queue 322 // COMMON: [[DEF_Q:%[0-9]+]] = load %opencl.queue_t{{.*}}*, %opencl.queue_t{{.*}}** %default_queue [all …]
|
| H A D | null_queue.cl | 7 // CHECK: icmp eq %opencl.queue_t* null, %{{.*}} 8 // CHECK: icmp eq %opencl.queue_t* %{{.*}}, null 16 // CHECK: store %opencl.queue_t* null, %opencl.queue_t** %q 17 // CHECK: call void @func(%opencl.queue_t* null)
|
| H A D | event_t.cl | 7 // CHECK: alloca %opencl.event_t*, 9 // CHECK: call {{.*}}void @foo(%opencl.event_t* % 11 // CHECK: call {{.*}}void @foo(%opencl.event_t* null) 13 // CHECK: call {{.*}}void @foo(%opencl.event_t* null)
|
| H A D | amdgpu-sizeof-alignof.cl | 3 // RUN: %clang_cc1 -triple amdgcn---opencl -cl-std=CL1.2 %s -emit-llvm -o - | FileCheck %s 4 // RUN: %clang_cc1 -triple amdgcn---opencl -cl-std=CL2.0 %s -emit-llvm -o - | FileCheck %s 10 // RUN: %clang_cc1 -triple amdgcn---opencl -cl-std=CL3.0 %s -emit-llvm -o - | FileCheck %s 13 // RUN: %clang_cc1 -triple amdgcn---opencl -cl-ext=+__opencl_c_generic_address_space -cl-std=CL3.0 … 17 // RUN: %clang_cc1 -triple amdgcn---opencl -cl-ext=+cl_khr_fp64,+__opencl_c_fp64 -cl-std=CL3.0 %s -…
|
| /llvm-project-15.0.7/libclc/r600/lib/image/ |
| H A D | get_image_attributes_impl.ll | 3 %opencl.image2d_t = type opaque 4 %opencl.image3d_t = type opaque 24 %opencl.image2d_t addrspace(1)* %img) 31 %opencl.image3d_t addrspace(1)* %img) 39 %opencl.image2d_t addrspace(1)* %img) 46 %opencl.image3d_t addrspace(1)* %img) 54 %opencl.image3d_t addrspace(1)* %img) 62 %opencl.image2d_t addrspace(1)* %img) 69 %opencl.image3d_t addrspace(1)* %img) 77 %opencl.image2d_t addrspace(1)* %img) [all …]
|
| H A D | write_image_impl.ll | 3 %opencl.image2d_t = type opaque 4 %opencl.image3d_t = type opaque 7 %opencl.image2d_t addrspace(1)*) nounwind readnone 9 %opencl.image3d_t addrspace(1)*) nounwind readnone 14 %opencl.image2d_t addrspace(1)* nocapture %img, 27 %opencl.image2d_t addrspace(1)* %img) 36 %opencl.image2d_t addrspace(1)* nocapture %img, 39 %opencl.image2d_t addrspace(1)* nocapture %img, 45 %opencl.image2d_t addrspace(1)* nocapture %img, 49 %opencl.image2d_t addrspace(1)* nocapture %img,
|
| H A D | read_image_impl.ll | 3 %opencl.image2d_t = type opaque 8 %opencl.image2d_t addrspace(1)*) nounwind readnone 22 %opencl.image2d_t addrspace(1)* nocapture %img, 28 %opencl.image2d_t addrspace(1)* %img)
|
| /llvm-project-15.0.7/clang/test/Driver/ |
| H A D | amdgpu-toolchain-opencl.cl | 1 // RUN: %clang -### --target=amdgcn-amd-amdhsa-opencl -x cl -c -emit-llvm -mcpu=fiji -O0 %s 2>&1 | … 2 // RUN: %clang -### --target=amdgcn-amd-amdhsa-opencl -x cl -c -emit-llvm -mcpu=fiji -O1 %s 2>&1 | … 3 // RUN: %clang -### --target=amdgcn-amd-amdhsa-opencl -x cl -c -emit-llvm -mcpu=fiji -O2 %s 2>&1 | … 4 // RUN: %clang -### --target=amdgcn-amd-amdhsa-opencl -x cl -c -emit-llvm -mcpu=fiji -O3 %s 2>&1 | … 5 // RUN: %clang -### --target=amdgcn-amd-amdhsa-opencl -x cl -c -emit-llvm -mcpu=fiji -O4 %s 2>&1 | … 6 // RUN: %clang -### --target=amdgcn-amd-amdhsa-opencl -x cl -c -emit-llvm -mcpu=fiji -O5 %s 2>&1 | … 7 // RUN: %clang -### --target=amdgcn-amd-amdhsa-opencl -x cl -c -emit-llvm -mcpu=fiji -Og %s 2>&1 | … 9 // RUN: %clang -### --target=amdgcn-amd-amdhsa-opencl -x cl -c -emit-llvm -mcpu=fiji %s 2>&1 | File… 13 // RUN: %clang -### --target=amdgcn-amd-amdhsa-opencl -x cl -c -emit-llvm -mcpu=fiji %s 2>&1 | File… 26 // CHK-INC: "-cc1" {{.*}}"-finclude-default-header" "-fdeclare-opencl-builtins" {{.*}}"-x" "cl" [all …]
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | pipe-size.cl | 8 // X86: store %opencl.pipe_ro_t* %test, %opencl.pipe_ro_t** %test.addr, align 8 10 …// SPIR: store %opencl.pipe_ro_t addrspace(1)* %test, %opencl.pipe_ro_t addrspace(1)** %test.addr,… 12 …// SPIR64: store %opencl.pipe_ro_t addrspace(1)* %test, %opencl.pipe_ro_t addrspace(1)** %test.add… 14 …// AMDGCN: store %opencl.pipe_ro_t addrspace(1)* %test, %opencl.pipe_ro_t addrspace(1)* addrspace(…
|
| /llvm-project-15.0.7/clang/test/Headers/ |
| H A D | opencl-builtins.cl | 1 // RUN: clang-tblgen -gen-clang-opencl-builtin-tests %clang_src_sema_dir/OpenCLBuiltins.td -o %t.cl 3 …lude %s %t.cl -triple spir -verify -fsyntax-only -cl-std=CL2.0 -fdeclare-opencl-builtins -finclude… 10 // - The generated file can be parsed using opencl-c.h, giving some confidence 11 // that OpenCLBuiltins.td does not provide more than what opencl-c.h provides 14 // - The generated file can be parsed using -fdeclare-opencl-builtins, ensuring
|
| /llvm-project-15.0.7/clang/test/SemaOpenCL/ |
| H A D | null_literal.cl | 1 // RUN: %clang_cc1 -cl-std=CL1.0 -fdeclare-opencl-builtins -finclude-default-header -verify %s 2 // RUN: %clang_cc1 -cl-std=CL1.1 -fdeclare-opencl-builtins -finclude-default-header -verify %s 3 // RUN: %clang_cc1 -cl-std=CL1.2 -fdeclare-opencl-builtins -finclude-default-header -verify %s 4 // RUN: %clang_cc1 -cl-std=CL2.0 -fdeclare-opencl-builtins -finclude-default-header -verify %s 5 // RUN: %clang_cc1 -cl-std=clc++ -fdeclare-opencl-builtins -finclude-default-header -verify %s
|
| H A D | fdeclare-opencl-builtins.cl | 1 …verify -pedantic -Wconversion -Werror -fsyntax-only -cl-std=CL -fdeclare-opencl-builtins -DNO_HEAD… 2 …verify -pedantic -Wconversion -Werror -fsyntax-only -cl-std=CL -fdeclare-opencl-builtins -finclude… 3 …ify -pedantic -Wconversion -Werror -fsyntax-only -cl-std=CL1.2 -fdeclare-opencl-builtins -DNO_HEAD… 5 …ify -pedantic -Wconversion -Werror -fsyntax-only -cl-std=CL2.0 -fdeclare-opencl-builtins -DNO_HEAD… 6 …ify -pedantic -Wconversion -Werror -fsyntax-only -cl-std=CL2.0 -fdeclare-opencl-builtins -finclude… 7 …ify -pedantic -Wconversion -Werror -fsyntax-only -cl-std=CL3.0 -fdeclare-opencl-builtins -finclude… 8 …ify -pedantic -Wconversion -Werror -fsyntax-only -cl-std=CLC++ -fdeclare-opencl-builtins -DNO_HEAD… 9 …ify -pedantic -Wconversion -Werror -fsyntax-only -cl-std=CLC++ -fdeclare-opencl-builtins -finclude… 10 …-pedantic -Wconversion -Werror -fsyntax-only -cl-std=CLC++2021 -fdeclare-opencl-builtins -finclude… 14 // Test the -fdeclare-opencl-builtins option. This is not a completeness [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/SPIRV/ |
| H A D | metadata-opencl.ll | 7 !opencl.ocl.version = !{!0} 12 !opencl.ocl.version = !{!0} 17 !opencl.ocl.version = !{!0}
|