search for: kernel_arg_base_type

Displaying 9 results from an estimated 9 matches for "kernel_arg_base_type".

2016 Sep 12
2
builtins name mangling in SPIR 2.0
...mangling the builtins, e.g. for: __kernel void input_zip_int(__global int *in0) { *in0 = get_global_id(0); } clang generates: define spir_kernel void @input_zip_int(i32 addrspace(1)* nocapture %in0) local_unnamed_addr #0 !kernel_arg_addr_space !3 !kernel_arg_access_qual !4 !kernel_arg_type !5 !kernel_arg_base_type !5 !kernel_arg_type_qual !6 { entry: %call = tail call spir_func i128 @get_global_id(i32 0) #2 %conv = trunc i128 %call to i32 store i32 %conv, i32 addrspace(1)* %in0, align 4, !tbaa !7 ret void } In this case, get_global_id is not mangled to _Z13get_global_idj according to [2]. Is there...
2016 Sep 12
2
builtins name mangling in SPIR 2.0
...al int *in0) { > > *in0 = get_global_id(0); > > } > > > > clang generates: > > > > define spir_kernel void @input_zip_int(i32 addrspace(1)* nocapture %in0) > local_unnamed_addr #0 !kernel_arg_addr_space !3 !kernel_arg_access_qual !4 > !kernel_arg_type !5 !kernel_arg_base_type !5 !kernel_arg_type_qual !6 { > > entry: > > %call = tail call spir_func i128 @get_global_id(i32 0) #2 > > %conv = trunc i128 %call to i32 > > store i32 %conv, i32 addrspace(1)* %in0, align 4, !tbaa !7 > > ret void > > } > > > > In this case,...
2016 Sep 16
2
builtins name mangling in SPIR 2.0
...mangling the builtins, e.g. for: __kernel void input_zip_int(__global int *in0) { *in0 = get_global_id(0); } clang generates: define spir_kernel void @input_zip_int(i32 addrspace(1)* nocapture %in0) local_unnamed_addr #0 !kernel_arg_addr_space !3 !kernel_arg_access_qual !4 !kernel_arg_type !5 !kernel_arg_base_type !5 !kernel_arg_type_qual !6 { entry: %call = tail call spir_func i128 @get_global_id(i32 0) #2 %conv = trunc i128 %call to i32 store i32 %conv, i32 addrspace(1)* %in0, align 4, !tbaa !7 ret void } In this case, get_global_id is not mangled to _Z13get_global_idj according to [2]. Is there...
2016 Jan 11
4
Some llvm questions (for tgsi backend)
...32 addrspace(1)*, i32 addrspace(1)*)* @test_kern, !1, !2, !3, !4, !5} !1 = !{!"kernel_arg_addr_space", i32 1, i32 1} !2 = !{!"kernel_arg_access_qual", !"none", !"none"} !3 = !{!"kernel_arg_type", !"uint*", !"uint*"} !4 = !{!"kernel_arg_base_type", !"uint*", !"uint*"} !5 = !{!"kernel_arg_type_qual", !"", !""} !6 = !{!"clang version 3.8.0 (http://llvm.org/git/clang.git 9376f992e00569bd08a4ecf3a1d06d8b93c97681) (http://llvm.org/git/llvm.git 7a311143550c6fc01aa5000049825ecc09787440)&q...
2016 Sep 18
2
builtins name mangling in SPIR 2.0
...mangling the builtins, e.g. for: __kernel void input_zip_int(__global int *in0) { *in0 = get_global_id(0); } clang generates: define spir_kernel void @input_zip_int(i32 addrspace(1)* nocapture %in0) local_unnamed_addr #0 !kernel_arg_addr_space !3 !kernel_arg_access_qual !4 !kernel_arg_type !5 !kernel_arg_base_type !5 !kernel_arg_type_qual !6 { entry: %call = tail call spir_func i128 @get_global_id(i32 0) #2 %conv = trunc i128 %call to i32 store i32 %conv, i32 addrspace(1)* %in0, align 4, !tbaa !7 ret void } In this case, get_global_id is not mangled to _Z13get_global_idj according to [2]. Is there...
2016 May 24
1
BitcodeReader non explicit error
...!{!"kernel_arg_type", !"double*", !"double*", !"double*", !"uint"} !4 = !{!"kernel_arg_base_type", !"double*", !"double*", !"double*", !"uint"} !5 = !{!"kernel_arg_type_qual", !&...
2016 Jan 12
1
Some llvm questions (for tgsi backend)
...* @test_kern, !1, !2, !3, !4, !5} >> !1 = !{!"kernel_arg_addr_space", i32 1, i32 1} >> !2 = !{!"kernel_arg_access_qual", !"none", !"none"} >> !3 = !{!"kernel_arg_type", !"uint*", !"uint*"} >> !4 = !{!"kernel_arg_base_type", !"uint*", !"uint*"} >> !5 = !{!"kernel_arg_type_qual", !"", !""} >> !6 = !{!"clang version 3.8.0 (http://llvm.org/git/clang.git 9376f992e00569bd08a4ecf3a1d06d8b93c97681) (http://llvm.org/git/llvm.git 7a311143550c6fc01aa500004...
2016 Jan 11
0
Some llvm questions (for tgsi backend)
...rspace(1)*)* @test_kern, !1, !2, !3, > !4, !5} > !1 = !{!"kernel_arg_addr_space", i32 1, i32 1} > !2 = !{!"kernel_arg_access_qual", !"none", !"none"} > !3 = !{!"kernel_arg_type", !"uint*", !"uint*"} > !4 = !{!"kernel_arg_base_type", !"uint*", !"uint*"} > !5 = !{!"kernel_arg_type_qual", !"", !""} > !6 = !{!"clang version 3.8.0 (http://llvm.org/git/clang.git > 9376f992e00569bd08a4ecf3a1d06d8b93c97681) (http://llvm.org/git/llvm.git > 7a311143550c6fc01aa5000...
2016 Jan 11
0
Some llvm questions (for tgsi backend)
...2 addrspace(1)*)* @test_kern, !1, !2, !3, !4, !5} > !1 = !{!"kernel_arg_addr_space", i32 1, i32 1} > !2 = !{!"kernel_arg_access_qual", !"none", !"none"} > !3 = !{!"kernel_arg_type", !"uint*", !"uint*"} > !4 = !{!"kernel_arg_base_type", !"uint*", !"uint*"} > !5 = !{!"kernel_arg_type_qual", !"", !""} > !6 = !{!"clang version 3.8.0 (http://llvm.org/git/clang.git 9376f992e00569bd08a4ecf3a1d06d8b93c97681) (http://llvm.org/git/llvm.git 7a311143550c6fc01aa5000049825ecc0...