search for: kernel_arg_type_qual

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

2016 Sep 12
2
builtins name mangling in SPIR 2.0
...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 an option for clang or an...
2016 Sep 12
2
builtins name mangling in SPIR 2.0
...*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 mang...
2016 Sep 16
2
builtins name mangling in SPIR 2.0
...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 an option for clang or an...
2016 Jan 11
4
Some llvm questions (for tgsi backend)
...t;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)"} !7 = !{!8, !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omni...
2016 Sep 18
2
builtins name mangling in SPIR 2.0
...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 an option for clang or an...
2016 May 24
1
BitcodeReader non explicit error
...!{!"kernel_arg_base_type", !"double*", !"double*", !"double*", !"uint"} !5 = !{!"kernel_arg_type_qual", !"const", !"const", !"", !"const"} !6 = !{!"kernel_arg_name", !"...
2016 Jan 12
1
Some llvm questions (for tgsi backend)
..., 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)"} >> !7 = !{!8, !8, i64 0} >> !8 = !{!"int", !9...
2016 Jan 11
0
Some llvm questions (for tgsi backend)
...ace", 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)"} > !7 = !{!8, !8, i64 0} > !8 = !{!"int", !9,...
2016 Jan 11
0
Some llvm questions (for tgsi backend)
...ace", 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)"} > !7 = !{!8, !8, i64 0} > !8 = !{!"int", !9, i64 0} &gt...