Home
last modified time | relevance | path

Searched refs:opencl (Results 1 – 25 of 140) sorted by relevance

123456

/external/clang/test/CodeGenOpenCL/
Dcl20-device-side-enqueue.cl8 // CHECK: %default_queue = alloca %opencl.queue_t*
12 // CHECK: %ndrange = alloca %opencl.ndrange_t*
14 // CHECK: %clk_event = alloca %opencl.clk_event_t*
16 // CHECK: %event_wait_list = alloca %opencl.clk_event_t*
18 // CHECK: %event_wait_list2 = alloca [1 x %opencl.clk_event_t*]
21 // CHECK: [[DEF_Q:%[0-9]+]] = load %opencl.queue_t*, %opencl.queue_t** %default_queue
23 // CHECK: [[NDR:%[0-9]+]] = load %opencl.ndrange_t*, %opencl.ndrange_t** %ndrange
26 …// CHECK: call i32 @__enqueue_kernel_basic(%opencl.queue_t* [[DEF_Q]], i32 [[FLAGS]], %opencl.ndra…
32 // CHECK: [[DEF_Q:%[0-9]+]] = load %opencl.queue_t*, %opencl.queue_t** %default_queue
34 // CHECK: [[NDR:%[0-9]+]] = load %opencl.ndrange_t*, %opencl.ndrange_t** %ndrange
[all …]
Dpipe_builtin.cl3 // CHECK: %opencl.pipe_t = type opaque
4 // CHECK: %opencl.reserve_id_t = type opaque
7 // CHECK: call i32 @__read_pipe_2(%opencl.pipe_t* %{{.*}}, i8* %{{.*}})
9 // CHECK: call %opencl.reserve_id_t* @__reserve_read_pipe(%opencl.pipe_t* %{{.*}}, i32 {{.*}})
11 …// CHECK: call i32 @__read_pipe_4(%opencl.pipe_t* %{{.*}}, %opencl.reserve_id_t* %{{.*}}, i32 {{.*…
13 // CHECK: call void @__commit_read_pipe(%opencl.pipe_t* %{{.*}}, %opencl.reserve_id_t* %{{.*}})
18 // CHECK: call i32 @__write_pipe_2(%opencl.pipe_t* %{{.*}}, i8* %{{.*}})
20 // CHECK: call %opencl.reserve_id_t* @__reserve_write_pipe(%opencl.pipe_t* %{{.*}}, i32 {{.*}})
22 …// CHECK: call i32 @__write_pipe_4(%opencl.pipe_t* %{{.*}}, %opencl.reserve_id_t* %{{.*}}, i32 {{.…
24 // CHECK: call void @__commit_write_pipe(%opencl.pipe_t* %{{.*}}, %opencl.reserve_id_t* %{{.*}})
[all …]
Dpipe_types.cl3 // CHECK: %opencl.pipe_t = type opaque
8 // CHECK: define void @test1(%opencl.pipe_t* %p)
10 // CHECK: %rid = alloca %opencl.reserve_id_t
14 // CHECK: define void @test2(%opencl.pipe_t* %p)
18 // CHECK: define void @test3(%opencl.pipe_t* %p)
22 // CHECK: define void @test4(%opencl.pipe_t* %p)
26 // CHECK: define void @test5(%opencl.pipe_t* %p)
31 // CHECK: define void @test6(%opencl.pipe_t* %p)
44 // CHECK: call i32 @__read_pipe_2(%opencl.pipe_t* %{{.*}}, i8* %{{.*}})
46 // CHECK: call i32 @__read_pipe_2(%opencl.pipe_t* %{{.*}}, i8* %{{.*}})
Dopencl_types.cl7 // CHECK: @fnc1(%opencl.image1d_ro_t*
10 // CHECK: @fnc1arr(%opencl.image1d_array_ro_t*
13 // CHECK: @fnc1buff(%opencl.image1d_buffer_ro_t*
16 // CHECK: @fnc2(%opencl.image2d_ro_t*
19 // CHECK: @fnc2arr(%opencl.image2d_array_ro_t*
22 // CHECK: @fnc3(%opencl.image3d_ro_t*
31 // CHECK: alloca %opencl.event_t*
Dspir_version.cl8 // CL10: !opencl.spir.version = !{[[SPIR:![0-9]+]]}
9 // CL10: !opencl.ocl.version = !{[[OCL:![0-9]+]]}
12 // CL12: !opencl.spir.version = !{[[SPIR:![0-9]+]]}
13 // CL12: !opencl.ocl.version = !{[[OCL:![0-9]+]]}
16 // CL20: !opencl.spir.version = !{[[SPIR:![0-9]+]]}
17 // CL20: !opencl.ocl.version = !{[[SPIR:![0-9]+]]}
Devent_t.cl7 // 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)
/external/llvm/test/CodeGen/AMDGPU/
Dimage-resource-id.ll10 define void @test_2d_rd_1_0(%opencl.image2d_t addrspace(1)* %in, ; read_only
14 %opencl.image2d_t addrspace(1)* %in) #0
24 define void @test_3d_rd_1_0(%opencl.image3d_t addrspace(1)* %in, ; read_only
28 %opencl.image3d_t addrspace(1)* %in) #0
40 define void @test_2d_wr_1_0(%opencl.image2d_t addrspace(1)* %in, ; write_only
44 %opencl.image2d_t addrspace(1)* %in) #0
54 define void @test_3d_wr_1_0(%opencl.image3d_t addrspace(1)* %in, ; write_only
58 %opencl.image3d_t addrspace(1)* %in) #0
70 define void @test_2d_rd_2_0(%opencl.image2d_t addrspace(1)* %in1, ; read_only
71 %opencl.image2d_t addrspace(1)* %in2, ; read_only
[all …]
Dimage-attributes.ll10 define void @width_2d (%opencl.image2d_t addrspace(1)* %in,
14 %opencl.image2d_t addrspace(1)* %in) #0
23 define void @width_3d (%opencl.image3d_t addrspace(1)* %in,
27 %opencl.image3d_t addrspace(1)* %in) #0
40 define void @height_2d (%opencl.image2d_t addrspace(1)* %in,
44 %opencl.image2d_t addrspace(1)* %in) #0
53 define void @height_3d (%opencl.image3d_t addrspace(1)* %in,
57 %opencl.image3d_t addrspace(1)* %in) #0
70 define void @depth_3d (%opencl.image3d_t addrspace(1)* %in,
74 %opencl.image3d_t addrspace(1)* %in) #0
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dimage-resource-id.ll10 define amdgpu_kernel void @test_2d_rd_1_0(%opencl.image2d_t addrspace(1)* %in, ; read_only
14 %opencl.image2d_t addrspace(1)* %in) #0
24 define amdgpu_kernel void @test_3d_rd_1_0(%opencl.image3d_t addrspace(1)* %in, ; read_only
28 %opencl.image3d_t addrspace(1)* %in) #0
40 define amdgpu_kernel void @test_2d_wr_1_0(%opencl.image2d_t addrspace(1)* %in, ; write_only
44 %opencl.image2d_t addrspace(1)* %in) #0
54 define amdgpu_kernel void @test_3d_wr_1_0(%opencl.image3d_t addrspace(1)* %in, ; write_only
58 %opencl.image3d_t addrspace(1)* %in) #0
70 define amdgpu_kernel void @test_2d_rd_2_0(%opencl.image2d_t addrspace(1)* %in1, ; read_only
71 %opencl.image2d_t addrspace(1)* %in2, ; read_only
[all …]
Dhsa-metadata-images.ll5 %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
12 %opencl.image2d_array_msaa_depth_t = type opaque
13 %opencl.image2d_depth_t = type opaque
14 %opencl.image2d_msaa_t = type opaque
[all …]
Dimage-attributes.ll10 define amdgpu_kernel void @width_2d (%opencl.image2d_t addrspace(1)* %in,
14 %opencl.image2d_t addrspace(1)* %in) #0
23 define amdgpu_kernel void @width_3d (%opencl.image3d_t addrspace(1)* %in,
27 %opencl.image3d_t addrspace(1)* %in) #0
40 define amdgpu_kernel void @height_2d (%opencl.image2d_t addrspace(1)* %in,
44 %opencl.image2d_t addrspace(1)* %in) #0
53 define amdgpu_kernel void @height_3d (%opencl.image3d_t addrspace(1)* %in,
57 %opencl.image3d_t addrspace(1)* %in) #0
70 define amdgpu_kernel void @depth_3d (%opencl.image3d_t addrspace(1)* %in,
74 %opencl.image3d_t addrspace(1)* %in) #0
[all …]
Dsimplify-libcalls.ll696 %opencl.pipe_t = type opaque
697 %opencl.reserve_id_t = type opaque
699 ; GCN-LABEL: {{^}}define amdgpu_kernel void @test_read_pipe(%opencl.pipe_t addrspace(1)* %p, i32 ad…
700 ; GCN-PRELINK: call i32 @__read_pipe_2_4(%opencl.pipe_t addrspace(1)* %{{.*}}, i32* %{{.*}}) #[[$NO…
701 ; GCN-PRELINK: call i32 @__read_pipe_4_4(%opencl.pipe_t addrspace(1)* %{{.*}}, %opencl.reserve_id_t…
702 define amdgpu_kernel void @test_read_pipe(%opencl.pipe_t addrspace(1)* %p, i32 addrspace(1)* %ptr) …
706 %tmp2 = tail call i32 @__read_pipe_2(%opencl.pipe_t addrspace(1)* %p, i8* %tmp1, i32 4, i32 4) #0
707 …%tmp3 = tail call %opencl.reserve_id_t addrspace(5)* @__reserve_read_pipe(%opencl.pipe_t addrspace…
708 …%tmp4 = tail call i32 @__read_pipe_4(%opencl.pipe_t addrspace(1)* %p, %opencl.reserve_id_t addrspa…
709 …tail call void @__commit_read_pipe(%opencl.pipe_t addrspace(1)* %p, %opencl.reserve_id_t addrspace…
[all …]
Dunify-metadata.ll4 ; modules for records such as opencl.ocl.version, llvm.ident and similar.
6 ; ALL-DAG: !opencl.ocl.version = !{![[OCL_VER:[0-9]+]]}
8 ; ALL-DAG: !opencl.used.extensions = !{![[USED_EXT_0:[0-9]+]], ![[USED_EXT_1:[0-9]+]], ![[USED_EXT_…
17 !opencl.ocl.version = !{!1, !0, !0, !0}
19 !opencl.used.extensions = !{!3, !3, !4, !5}
Dhsa-metadata-invalid-ocl-version-1.ll3 ; Make sure llc does not crash for invalid opencl version metadata.
9 !opencl.ocl.version = !{}
Dhsa-metadata-invalid-ocl-version-2.ll3 ; Make sure llc does not crash for invalid opencl version metadata.
9 !opencl.ocl.version = !{!0}
Dhsa-metadata-invalid-ocl-version-3.ll3 ; Make sure llc does not crash for invalid opencl version metadata.
9 !opencl.ocl.version = !{!0}
/external/clang/test/Headers/
Dopencl-c-header.cl1 // RUN: %clang_cc1 -triple spir-unknown-unknown -internal-isystem ../../lib/Headers -include opencl
2 // RUN: %clang_cc1 -triple spir-unknown-unknown -internal-isystem ../../lib/Headers -include opencl
3 // RUN: %clang_cc1 -triple spir-unknown-unknown -internal-isystem ../../lib/Headers -include opencl
4 // RUN: %clang_cc1 -triple spir-unknown-unknown -internal-isystem ../../lib/Headers -include opencl
5 …iple spir64-unknown-unknown -internal-isystem ../../lib/Headers -include opencl-c.h -emit-llvm -o …
6 …iple spir64-unknown-unknown -internal-isystem ../../lib/Headers -include opencl-c.h -emit-llvm -o …
7 …iple spir64-unknown-unknown -internal-isystem ../../lib/Headers -include opencl-c.h -emit-llvm -o …
8 …iple spir64-unknown-unknown -internal-isystem ../../lib/Headers -include opencl-c.h -fblocks -emit…
9 …riple amdgcn-unknown-amdhsa -internal-isystem ../../lib/Headers -include opencl-c.h -emit-llvm -o …
10 …riple amdgcn-unknown-amdhsa -internal-isystem ../../lib/Headers -include opencl-c.h -emit-llvm -o …
[all …]
/external/deqp-deps/SPIRV-Tools/
DAndroid.bp16 "opencl.debuginfo.100.insts.inc",
17 "opencl.std.insts.inc",
26 ":deqp_spirv_headers_unified1_extinst.opencl.std.100.grammar.json",
29 "source/extinst.opencl.debuginfo.100.grammar.json",
38 …grammar.json) --extinst-cldebuginfo100-grammar=$(location source/extinst.opencl.debuginfo.100.gram…
43 …ndor-grammar=$(location source/extinst.opencl.debuginfo.100.grammar.json) --vendor-insts-output=$(…
44 …grammar.json) --extinst-cldebuginfo100-grammar=$(location source/extinst.opencl.debuginfo.100.gram…
45 … --extinst-opencl-grammar=$(location :deqp_spirv_headers_unified1_extinst.opencl.std.100.grammar.j…
58 "source/extinst.opencl.debuginfo.100.grammar.json",
63 …"$(location) --extinst-grammar=$(location source/extinst.opencl.debuginfo.100.grammar.json) --exti…
/external/swiftshader/third_party/SPIRV-Tools/
DAndroid.bp33 "opencl.debuginfo.100.insts.inc",
34 "opencl.std.insts.inc",
43 ":swiftshader_spirv_headers_unified1_extinst.opencl.std.100.grammar.json",
46 "source/extinst.opencl.debuginfo.100.grammar.json",
55 …grammar.json) --extinst-cldebuginfo100-grammar=$(location source/extinst.opencl.debuginfo.100.gram…
60 …ndor-grammar=$(location source/extinst.opencl.debuginfo.100.grammar.json) --vendor-insts-output=$(…
61 …grammar.json) --extinst-cldebuginfo100-grammar=$(location source/extinst.opencl.debuginfo.100.gram…
62 …xtinst-opencl-grammar=$(location :swiftshader_spirv_headers_unified1_extinst.opencl.std.100.gramma…
75 "source/extinst.opencl.debuginfo.100.grammar.json",
80 …inst-name=OpenCLDebugInfo100 --extinst-grammar=$(location source/extinst.opencl.debuginfo.100.gram…
/external/OpenCL-CTS/
Dreadme-spir-v-binaries.txt14 Repository: https://gitlab.khronos.org/opencl/SPIRV-LLVM
21 Repository: https://gitlab.khronos.org/opencl/clang
28 Repository: https://gitlab.khronos.org/opencl/libclcxx
35 Repository: https://gitlab.khronos.org/opencl/headers
40 Repository: https://gitlab.khronos.org/opencl/icd
/external/swiftshader/third_party/SPIRV-Headers/
DBUILD.bazel21 srcs = ["include/spirv/1.0/extinst.opencl.std.100.grammar.json"],
36 srcs = ["include/spirv/1.1/extinst.opencl.std.100.grammar.json"],
51 srcs = ["include/spirv/1.2/extinst.opencl.std.100.grammar.json"],
66 srcs = ["include/spirv/unified1/extinst.opencl.std.100.grammar.json"],
/external/angle/third_party/spirv-headers/src/
DBUILD.bazel21 srcs = ["include/spirv/1.0/extinst.opencl.std.100.grammar.json"],
36 srcs = ["include/spirv/1.1/extinst.opencl.std.100.grammar.json"],
51 srcs = ["include/spirv/1.2/extinst.opencl.std.100.grammar.json"],
66 srcs = ["include/spirv/unified1/extinst.opencl.std.100.grammar.json"],
/external/deqp-deps/SPIRV-Headers/
DBUILD.bazel21 srcs = ["include/spirv/1.0/extinst.opencl.std.100.grammar.json"],
36 srcs = ["include/spirv/1.1/extinst.opencl.std.100.grammar.json"],
51 srcs = ["include/spirv/1.2/extinst.opencl.std.100.grammar.json"],
66 srcs = ["include/spirv/unified1/extinst.opencl.std.100.grammar.json"],
/external/angle/third_party/spirv-tools/src/
DAndroid.mk184 SPV_OPENCL_GRAMMAR=$(SPVHEADERS_LOCAL_PATH)/include/spirv/1.2/extinst.opencl.std.100.grammar.json
187 SPV_CLDEBUGINFO100_GRAMMAR=$(LOCAL_PATH)/source/extinst.opencl.debuginfo.100.grammar.json
193 $(1)/opencl.std.insts.inc \
204 --extinst-opencl-grammar=$(SPV_OPENCL_GRAMMAR) \
209 --opencl-insts-output=$(1)/opencl.std.insts.inc \
216 $(1)/opencl.std.insts.inc \
218 $(1)/opencl.debuginfo.100.insts.inc \
264 $(eval $(call gen_spvtools_vendor_tables,$(SPVTOOLS_OUT_PATH),opencl.debuginfo.100,"CLDEBUG100_"))
/external/skia/third_party/opencl/
DBUILD.gn3 third_party("opencl") {
6 public_include_dirs = [ "../externals/opencl-registry/api/2.1" ]

123456