Home
last modified time | relevance | path

Searched refs:LLVMBuildBitCast (Results 1 – 25 of 45) sorted by relevance

12

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_bitarit.c52 a = LLVMBuildBitCast(builder, a, bld->int_vec_type, ""); in lp_build_or()
53 b = LLVMBuildBitCast(builder, b, bld->int_vec_type, ""); in lp_build_or()
59 res = LLVMBuildBitCast(builder, res, bld->vec_type, ""); in lp_build_or()
78 a = LLVMBuildBitCast(builder, a, bld->int_vec_type, ""); in lp_build_xor()
79 b = LLVMBuildBitCast(builder, b, bld->int_vec_type, ""); in lp_build_xor()
85 res = LLVMBuildBitCast(builder, res, bld->vec_type, ""); in lp_build_xor()
106 a = LLVMBuildBitCast(builder, a, bld->int_vec_type, ""); in lp_build_and()
107 b = LLVMBuildBitCast(builder, b, bld->int_vec_type, ""); in lp_build_and()
113 res = LLVMBuildBitCast(builder, res, bld->vec_type, ""); in lp_build_and()
135 a = LLVMBuildBitCast(builder, a, bld->int_vec_type, ""); in lp_build_andnot()
[all …]
Dlp_bld_format_float.c99 i32_src = LLVMBuildBitCast(builder, src, i32_bld.vec_type, ""); in lp_build_float_to_smallfloat()
108 rescale_src = LLVMBuildBitCast(builder, rescale_src, i32_bld.vec_type, ""); in lp_build_float_to_smallfloat()
121 rescale_src = LLVMBuildBitCast(builder, rescale_src, i32_bld.vec_type, ""); in lp_build_float_to_smallfloat()
123 rescale_src = LLVMBuildBitCast(builder, rescale_src, f32_bld.vec_type, ""); in lp_build_float_to_smallfloat()
132 magic = LLVMBuildBitCast(builder, magic, f32_bld.vec_type, ""); in lp_build_float_to_smallfloat()
139 small_max = LLVMBuildBitCast(builder, small_max, f32_bld.vec_type, ""); in lp_build_float_to_smallfloat()
141 normal = LLVMBuildBitCast(builder, normal, i32_bld.vec_type, ""); in lp_build_float_to_smallfloat()
155 src_abs = LLVMBuildBitCast(builder, src_abs, i32_bld.vec_type, ""); in lp_build_float_to_smallfloat()
188 rescale_src = LLVMBuildBitCast(builder, rescale_src, i32_bld.vec_type, ""); in lp_build_float_to_smallfloat()
328 srcabs = LLVMBuildBitCast(builder, srcabs, f32_bld.vec_type, ""); in lp_build_smallfloat_to_float()
[all …]
Dlp_bld_format_s3tc.c250 elems[i] = LLVMBuildBitCast(builder, elems[i], type32dxt, ""); in lp_build_gather_s3tc()
318 cc01 = LLVMBuildBitCast(builder, cc01, type64_vec, ""); in lp_build_gather_s3tc()
319 cc23 = LLVMBuildBitCast(builder, cc23, type64_vec, ""); in lp_build_gather_s3tc()
322 *colors = LLVMBuildBitCast(builder, *colors, type32_vec, ""); in lp_build_gather_s3tc()
323 *codewords = LLVMBuildBitCast(builder, *codewords, type32_vec, ""); in lp_build_gather_s3tc()
362 colors = LLVMBuildBitCast(builder, colors, in color_expand2_565_to_8888()
381 rb = LLVMBuildBitCast(builder, rb, lp_build_vec_type(gallivm, type8), ""); in color_expand2_565_to_8888()
382 g = LLVMBuildBitCast(builder, g, lp_build_vec_type(gallivm, type8), ""); in color_expand2_565_to_8888()
386 rgb0 = LLVMBuildBitCast(builder, rgb0, lp_build_vec_type(gallivm, type), ""); in color_expand2_565_to_8888()
387 rgb1 = LLVMBuildBitCast(builder, rgb1, lp_build_vec_type(gallivm, type), ""); in color_expand2_565_to_8888()
[all …]
Dlp_bld_swizzle.c210 a = LLVMBuildBitCast(builder, a, lp_build_vec_type(bld->gallivm, type2), ""); in lp_build_swizzle_scalar_aos()
243 return LLVMBuildBitCast(builder, a, lp_build_vec_type(bld->gallivm, type), ""); in lp_build_swizzle_scalar_aos()
290 a = LLVMBuildBitCast(builder, a, lp_build_vec_type(bld->gallivm, type4), ""); in lp_build_swizzle_scalar_aos()
311 return LLVMBuildBitCast(builder, a, lp_build_vec_type(bld->gallivm, type), ""); in lp_build_swizzle_scalar_aos()
495 a = LLVMBuildBitCast(builder, a, lp_build_vec_type(bld->gallivm, type4), ""); in lp_build_swizzle_aos()
496 res = LLVMBuildBitCast(builder, res, lp_build_vec_type(bld->gallivm, type4), ""); in lp_build_swizzle_aos()
559 return LLVMBuildBitCast(builder, res, in lp_build_swizzle_aos()
679 t0 = LLVMBuildBitCast(gallivm->builder, t0, double_type, "t0"); in lp_build_transpose_aos()
680 t2 = LLVMBuildBitCast(gallivm->builder, t2, double_type, "t2"); in lp_build_transpose_aos()
693 t1 = LLVMBuildBitCast(gallivm->builder, t1, double_type, "t1"); in lp_build_transpose_aos()
[all …]
Dlp_bld_gather.c99 ptr = LLVMBuildBitCast(gallivm->builder, ptr, src_ptr_type, ""); in lp_build_gather_elem()
180 ptr = LLVMBuildBitCast(gallivm->builder, ptr, src_ptr_type, ""); in lp_build_gather_elem_vec()
264 res = LLVMBuildBitCast(gallivm->builder, res, in lp_build_gather_elem_vec()
267 res = LLVMBuildBitCast(gallivm->builder, res, dst_elem_type, ""); in lp_build_gather_elem_vec()
319 base_ptr = LLVMBuildBitCast(builder, base_ptr, src_ptr_type, ""); in lp_build_gather_avx2()
379 res = LLVMBuildBitCast(builder, res, lp_build_vec_type(gallivm, res_type), ""); in lp_build_gather_avx2()
484 return LLVMBuildBitCast(gallivm->builder, res, in lp_build_gather()
569 elems[i] = LLVMBuildBitCast(gallivm->builder, elems[i], in lp_build_gather()
578 res = LLVMBuildBitCast(gallivm->builder, res, in lp_build_gather()
Dlp_bld_logic.c270 a = LLVMBuildBitCast(builder, a, int_vec_type, ""); in lp_build_select_bitwise()
271 b = LLVMBuildBitCast(builder, b, int_vec_type, ""); in lp_build_select_bitwise()
289 res = LLVMBuildBitCast(builder, res, vec_type, ""); in lp_build_select_bitwise()
401 mask = LLVMBuildBitCast(builder, mask, arg_type, ""); in lp_build_select()
405 a = LLVMBuildBitCast(builder, a, arg_type, ""); in lp_build_select()
406 b = LLVMBuildBitCast(builder, b, arg_type, ""); in lp_build_select()
417 res = LLVMBuildBitCast(builder, res, bld->vec_type, ""); in lp_build_select()
505 val = LLVMBuildBitCast(builder, val, scalar_type, ""); in lp_build_any_true_range()
Dlp_bld_quad.c197 src0 = LLVMBuildBitCast(builder, src[i + 0], type2_ref, ""); in lp_bld_quad_twiddle()
198 src1 = LLVMBuildBitCast(builder, src[i + 1], type2_ref, ""); in lp_bld_quad_twiddle()
203 dst[i + 0] = LLVMBuildBitCast(builder, dst[i + 0], dst_type_ref, ""); in lp_bld_quad_twiddle()
204 dst[i + 1] = LLVMBuildBitCast(builder, dst[i + 1], dst_type_ref, ""); in lp_bld_quad_twiddle()
Dlp_bld_pack.c338 a = LLVMBuildBitCast(gallivm->builder, a, lp_build_vec_type(gallivm, tmp_type), ""); in lp_build_interleave2()
339 b = LLVMBuildBitCast(gallivm->builder, b, lp_build_vec_type(gallivm, tmp_type), ""); in lp_build_interleave2()
344 return LLVMBuildBitCast(gallivm->builder, tmpdst, lp_build_vec_type(gallivm, type), ""); in lp_build_interleave2()
445 *dst_lo = LLVMBuildBitCast(builder, *dst_lo, dst_vec_type, ""); in lp_build_unpack2()
446 *dst_hi = LLVMBuildBitCast(builder, *dst_hi, dst_vec_type, ""); in lp_build_unpack2()
503 *dst_lo = LLVMBuildBitCast(builder, *dst_lo, dst_vec_type, ""); in lp_build_unpack2_native()
504 *dst_hi = LLVMBuildBitCast(builder, *dst_hi, dst_vec_type, ""); in lp_build_unpack2_native()
646 res = LLVMBuildBitCast(builder, res, dst_vec_type, ""); in lp_build_pack2()
672 tmpres[i] = LLVMBuildBitCast(builder, tmpres[i], ndst_vec_type, ""); in lp_build_pack2()
684 tmpres[i+num_split/2] = LLVMBuildBitCast(builder, tmpres[i+num_split/2], in lp_build_pack2()
[all …]
Dlp_bld_format_soa.c246 input = LLVMBuildBitCast(builder, input, bld->vec_type, ""); in lp_build_extract_soa_chan()
365 packed = LLVMBuildBitCast(builder, packed, in lp_build_rgba8_to_fi32_soa()
617 packed[i] = LLVMBuildBitCast(builder, packed[i], in lp_build_fetch_rgba_soa()
650 dst[i] = LLVMBuildBitCast(builder, dst[i], bld.int_vec_type, ""); in lp_build_fetch_rgba_soa()
732 packed = LLVMBuildBitCast(builder, packed, in lp_build_fetch_rgba_soa()
781 packed = LLVMBuildBitCast(builder, packed, bld.int_vec_type, ""); in lp_build_fetch_rgba_soa()
899 chan = LLVMBuildBitCast(builder, rgba, bld->int_vec_type, ""); in lp_build_insert_soa_chan()
921 chan = LLVMBuildBitCast(builder, rgba, bld->int_vec_type, ""); in lp_build_insert_soa_chan()
956 chan = LLVMBuildBitCast(builder, chan, in lp_build_insert_soa_chan()
970 *output = LLVMBuildBitCast(builder, rgba, bld->int_vec_type, ""); in lp_build_insert_soa_chan()
[all …]
Dlp_bld_arit.c1125 muleven = LLVMBuildBitCast(builder, muleven, bld->vec_type, ""); in lp_build_mul_32_lohi_cpu()
1126 mulodd = LLVMBuildBitCast(builder, mulodd, bld->vec_type, ""); in lp_build_mul_32_lohi_cpu()
1249 a = LLVMBuildBitCast(builder, a, lp_build_int_vec_type(bld->type), ""); in lp_build_mul_imm()
1251 a = LLVMBuildBitCast(builder, a, lp_build_vec_type(bld->gallivm, bld->type), ""); in lp_build_mul_imm()
1403 res = LLVMBuildBitCast(builder, res, narrow_bld.vec_type, ""); in lp_build_lerp_simple()
1404 v0 = LLVMBuildBitCast(builder, v0, narrow_bld.vec_type, ""); in lp_build_lerp_simple()
1406 res = LLVMBuildBitCast(builder, res, bld->vec_type, ""); in lp_build_lerp_simple()
1801 sign = LLVMBuildBitCast(builder, a, int_type, ""); in lp_build_sgn()
1805 res = LLVMBuildBitCast(builder, res, vec_type, ""); in lp_build_sgn()
1847 val = LLVMBuildBitCast(builder, a, int_vec_type, ""); in lp_build_set_sign()
[all …]
Dlp_bld_sample.c1280 lf = LLVMBuildBitCast(builder, lf, fbld.vec_type, ""); in lp_build_minify()
1858 mai = LLVMBuildBitCast(builder, ma, cint_vec_type, ""); in lp_build_cube_lookup()
1885 si = LLVMBuildBitCast(builder, s, cint_vec_type, ""); in lp_build_cube_lookup()
1886 ti = LLVMBuildBitCast(builder, t, cint_vec_type, ""); in lp_build_cube_lookup()
1887 ri = LLVMBuildBitCast(builder, r, cint_vec_type, ""); in lp_build_cube_lookup()
1889 sdxi = LLVMBuildBitCast(builder, ddx[0], cint_vec_type, ""); in lp_build_cube_lookup()
1890 tdxi = LLVMBuildBitCast(builder, ddx[1], cint_vec_type, ""); in lp_build_cube_lookup()
1891 rdxi = LLVMBuildBitCast(builder, ddx[2], cint_vec_type, ""); in lp_build_cube_lookup()
1893 sdyi = LLVMBuildBitCast(builder, ddy[0], cint_vec_type, ""); in lp_build_cube_lookup()
1894 tdyi = LLVMBuildBitCast(builder, ddy[1], cint_vec_type, ""); in lp_build_cube_lookup()
[all …]
Dlp_bld_nir_soa.c98 return LLVMBuildBitCast(builder, res, bld_base->dbl_bld.vec_type, ""); in emit_fetch_64bit()
113 …value = LLVMBuildBitCast(gallivm->builder, value, LLVMVectorType(LLVMFloatTypeInContext(gallivm->c… in emit_store_64bit_split()
258 res = LLVMBuildBitCast(builder, res, bld_base->dbl_bld.vec_type, ""); in build_gather()
437 inputs_array = LLVMBuildBitCast(gallivm->builder, bld->inputs_array, fptr_type, ""); in emit_load_var()
532 dst = LLVMBuildBitCast(builder, dst, float_bld->vec_type, ""); in emit_store_chan()
592 chan_val = LLVMBuildBitCast(builder, chan_val, bld_base->base.vec_type, ""); in emit_store_tcs_chan()
668 … reg_storage = LLVMBuildBitCast(builder, reg_storage, LLVMPointerType(reg_bld->elem_type, 0), ""); in emit_load_reg()
703 … reg_storage = LLVMBuildBitCast(builder, reg_storage, LLVMPointerType(reg_bld->elem_type, 0), ""); in emit_store_reg()
708 dst[i] = LLVMBuildBitCast(builder, dst[i], reg_bld->vec_type, ""); in emit_store_reg()
717 dst[i] = LLVMBuildBitCast(builder, dst[i], reg_bld->vec_type, ""); in emit_store_reg()
[all …]
Dlp_bld_format_aos.c521 packed = LLVMBuildBitCast(gallivm->builder, packed, dst_vec_type, ""); in lp_build_fetch_rgba_aos()
557 packed = LLVMBuildBitCast(gallivm->builder, packed, conv_vec_type, ""); in lp_build_fetch_rgba_aos()
600 res = LLVMBuildBitCast(gallivm->builder, res, dst_vec_type, ""); in lp_build_fetch_rgba_aos()
847 function = LLVMBuildBitCast(builder, function, in lp_build_fetch_rgba_aos()
865 args[0] = LLVMBuildBitCast(builder, tmp_ptr, pi8t, ""); in lp_build_fetch_rgba_aos()
891 res = LLVMBuildBitCast(builder, res, bld.vec_type, ""); in lp_build_fetch_rgba_aos()
965 args[0] = LLVMBuildBitCast(builder, tmp_ptr, pf32t, ""); in lp_build_fetch_rgba_aos()
Dlp_bld_tgsi_soa.c609 res = LLVMBuildBitCast(builder, res, bld_base->dbl_bld.vec_type, ""); in build_gather()
703 rel = LLVMBuildBitCast(builder, rel, uint_bld->vec_type, ""); in get_indirect_index()
895 scalar_ptr = LLVMBuildBitCast(builder, scalar_ptr, dptr_type, ""); in emit_fetch_constant()
899 scalar_ptr = LLVMBuildBitCast(builder, scalar_ptr, u64ptr_type, ""); in emit_fetch_constant()
903 scalar_ptr = LLVMBuildBitCast(builder, scalar_ptr, i64ptr_type, ""); in emit_fetch_constant()
914 res = LLVMBuildBitCast(builder, res, bld_fetch->vec_type, ""); in emit_fetch_constant()
950 return LLVMBuildBitCast(builder, res, bld_fetch->vec_type, ""); in emit_fetch_64bit()
972 imms_array = LLVMBuildBitCast(builder, bld->imms_array, fptr_type, ""); in emit_fetch_immediate()
1028 res = LLVMBuildBitCast(builder, res, bld_fetch->vec_type, ""); in emit_fetch_immediate()
1071 inputs_array = LLVMBuildBitCast(builder, bld->inputs_array, fptr_type, ""); in emit_fetch_input()
[all …]
Dlp_bld_conv.c123 src = LLVMBuildBitCast(builder, src, in lp_build_half_to_float()
137 src = LLVMBuildBitCast(builder, src, in lp_build_half_to_float()
198 …result = LLVMBuildBitCast(builder, result, lp_build_vec_type(gallivm, lp_type_float_vec(16, 16 * l… in lp_build_float_to_half()
219 func = LLVMBuildBitCast(builder, func, LLVMPointerType(func_type, 0), "_mesa_float_to_half"); in lp_build_float_to_half()
301 res = LLVMBuildBitCast(builder, res, int_vec_type, ""); in lp_build_clamped_float_to_unsigned_norm()
452 LLVMBuildBitCast(builder, bias_, int_vec_type, ""), ""); in lp_build_unsigned_norm_to_float()
454 res = LLVMBuildBitCast(builder, res, vec_type, ""); in lp_build_unsigned_norm_to_float()
Dlp_bld_nir.c53 return LLVMBuildBitCast(builder, val, bld_base->half_bld.vec_type, ""); in cast_type()
55 return LLVMBuildBitCast(builder, val, bld_base->base.vec_type, ""); in cast_type()
57 return LLVMBuildBitCast(builder, val, bld_base->dbl_bld.vec_type, ""); in cast_type()
66 return LLVMBuildBitCast(builder, val, bld_base->int8_bld.vec_type, ""); in cast_type()
68 return LLVMBuildBitCast(builder, val, bld_base->int16_bld.vec_type, ""); in cast_type()
70 return LLVMBuildBitCast(builder, val, bld_base->int_bld.vec_type, ""); in cast_type()
72 return LLVMBuildBitCast(builder, val, bld_base->int64_bld.vec_type, ""); in cast_type()
81 return LLVMBuildBitCast(builder, val, bld_base->uint8_bld.vec_type, ""); in cast_type()
83 return LLVMBuildBitCast(builder, val, bld_base->uint16_bld.vec_type, ""); in cast_type()
86 return LLVMBuildBitCast(builder, val, bld_base->uint_bld.vec_type, ""); in cast_type()
[all …]
Dlp_bld_format_srgb.c200 tmp = LLVMBuildBitCast(builder, tmp, lp_build_vec_type(gallivm, int_type), ""); in lp_build_linear_to_srgb()
206 pow_approx = LLVMBuildBitCast(builder, pow_approx, in lp_build_linear_to_srgb()
Dlp_bld_format_aos_array.c116 res = LLVMBuildBitCast(builder, res, lp_build_vec_type(gallivm, dst_type), ""); in lp_build_fetch_rgba_aos_array()
Dlp_bld_intr.c338 a = LLVMBuildBitCast(builder, a, LLVMVectorType(elem_type, 1), ""); in lp_build_intrinsic_binary_anylength()
339 b = LLVMBuildBitCast(builder, b, LLVMVectorType(elem_type, 1), ""); in lp_build_intrinsic_binary_anylength()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs_linear_llvm.c364 color0_ptr = LLVMBuildBitCast(builder, color0_ptr, LLVMPointerType(bld.vec_type, 0), ""); in llvmpipe_fs_variant_linear_llvm()
369 blend_color = LLVMBuildBitCast(builder, blend_color, LLVMVectorType(int8t, 16), ""); in llvmpipe_fs_variant_linear_llvm()
399 elem = LLVMBuildBitCast(builder, elem, pint8t, ""); in llvmpipe_fs_variant_linear_llvm()
439 elem = LLVMBuildBitCast(builder, elem, pint8t, ""); in llvmpipe_fs_variant_linear_llvm()
483 pixel_ptr = LLVMBuildBitCast(gallivm->builder, pixel_ptr, LLVMPointerType(int32t, 0), ""); in llvmpipe_fs_variant_linear_llvm()
498 buf = LLVMBuildBitCast(builder, buf, bld.vec_type, ""); in llvmpipe_fs_variant_linear_llvm()
501 result = LLVMBuildBitCast(builder, result, pixelt, ""); in llvmpipe_fs_variant_linear_llvm()
515 color0_ptr = LLVMBuildBitCast(builder, color0_ptr, pint8t, ""); in llvmpipe_fs_variant_linear_llvm()
Dlp_bld_depth.c442 LLVMValueRef bits = LLVMBuildBitCast(builder, maskvalue, in lp_build_occlusion_count()
453 LLVMValueRef bits = LLVMBuildBitCast(builder, maskvalue, in lp_build_occlusion_count()
470 countv = LLVMBuildBitCast(builder, countv, i8vntype, ""); in lp_build_occlusion_count()
482 countd = LLVMBuildBitCast(builder, countd, counttype, "countd"); in lp_build_occlusion_count()
592 zs_dst_ptr = LLVMBuildBitCast(builder, zs_dst_ptr, load_ptr_type, ""); in lp_build_depth_stencil_load_swizzled()
599 zs_dst_ptr = LLVMBuildBitCast(builder, zs_dst_ptr, load_ptr_type, ""); in lp_build_depth_stencil_load_swizzled()
633 tmp = LLVMBuildBitCast(builder, *z_fb, in lp_build_depth_stencil_load_swizzled()
644 *s_fb = LLVMBuildBitCast(builder, *s_fb, in lp_build_depth_stencil_load_swizzled()
737 zs_dst_ptr1 = LLVMBuildBitCast(builder, zs_dst_ptr1, load_ptr_type, ""); in lp_build_depth_stencil_write_swizzled()
739 zs_dst_ptr2 = LLVMBuildBitCast(builder, zs_dst_ptr2, load_ptr_type, ""); in lp_build_depth_stencil_write_swizzled()
[all …]
Dlp_bld_interp.c238 ptr = LLVMBuildBitCast(builder, ptr, in coeffs_init_simple()
243 ptr = LLVMBuildBitCast(builder, ptr, in coeffs_init_simple()
254 ptr = LLVMBuildBitCast(builder, ptr, in coeffs_init_simple()
474 … true, LLVMBuildBitCast(builder, bld->dadx_ptr, u8ptr, ""), index, false); in lp_build_interp_soa_indirect()
478 … true, LLVMBuildBitCast(builder, bld->dady_ptr, u8ptr, ""), index, false); in lp_build_interp_soa_indirect()
482 true, LLVMBuildBitCast(builder, bld->a0_ptr, u8ptr, ""), index, false); in lp_build_interp_soa_indirect()
503 true, LLVMBuildBitCast(builder, bld->a0_ptr, u8ptr, ""), index, false); in lp_build_interp_soa_indirect()
560 LLVMValueRef base_ptr = LLVMBuildBitCast(gallivm->builder, bld->sample_pos_array, in lp_build_interp_soa()
Dlp_state_fs.c511 color_ptr = LLVMBuildBitCast(builder, color_ptr, LLVMPointerType(blend_vec_type, 0), ""); in fs_fb_fetch()
537 dst[i] = LLVMBuildBitCast(builder, dst[i], LLVMInt32TypeInContext(gallivm->context), ""); in fs_fb_fetch()
865 …inter_set(builder, z_sample_value_store, sample_loop_state.counter, LLVMBuildBitCast(builder, z_va… in generate_fs_loop()
866 …inter_set(builder, s_sample_value_store, sample_loop_state.counter, LLVMBuildBitCast(builder, s_va… in generate_fs_loop()
1050 output_smask = LLVMBuildBitCast(builder, output_smask, smask_bld.vec_type, ""); in generate_fs_loop()
1202 stencil_refs[0] = LLVMBuildBitCast(builder, stencil_refs[0], int_vec_type, ""); in generate_fs_loop()
1241 …z_value = LLVMBuildBitCast(builder, lp_build_pointer_get(builder, z_sample_value_store, sample_loo… in generate_fs_loop()
1243 …z_fb = LLVMBuildBitCast(builder, lp_build_pointer_get(builder, z_fb_store, sample_loop_state.count… in generate_fs_loop()
1477 tmp[0] = LLVMBuildBitCast(builder, src[0], type16_t, ""); in fs_twiddle_transpose()
1479 dst[0] = LLVMBuildBitCast(builder, tmp[0], type8_t, ""); in fs_twiddle_transpose()
[all …]
/third_party/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c95 …lds_i8 = LLVMBuildBitCast(ctx->ac.builder, ctx->ac.lds, LLVMPointerType(ctx->ac.i8, AC_ADDR_SPACE_… in get_memory_ptr()
103 return LLVMBuildBitCast(ctx->ac.builder, ptr, LLVMPointerType(type, addr_space), ""); in get_memory_ptr()
362 LLVMBuildBitCast(ctx->builder, LLVMConstInt(ctx->i32, 0x38800000, false), ctx->f32, ""), in emit_f2f16()
428 return LLVMBuildBitCast(ctx->builder, pack(ctx, comp), ctx->i32, ""); in emit_pack_2x16()
440 val = LLVMBuildBitCast(ctx->builder, val, ctx->f16, ""); in emit_unpack_half_2x16()
1101 result = LLVMBuildBitCast(ctx->ac.builder, in visit_alu()
1136 result = LLVMBuildBitCast(ctx->ac.builder, src[0], ctx->ac.v4i16, ""); in visit_alu()
1140 result = LLVMBuildBitCast(ctx->ac.builder, src[0], ctx->ac.i64, ""); in visit_alu()
1145 result = LLVMBuildBitCast(ctx->ac.builder, src[0], in visit_alu()
1151 LLVMValueRef tmp = LLVMBuildBitCast(ctx->ac.builder, src[0], ctx->ac.v2i32, ""); in visit_alu()
[all …]
Dac_llvm_build.c247 return LLVMBuildBitCast(ctx->builder, v, ac_to_integer_type(ctx, type), ""); in ac_to_integer()
284 return LLVMBuildBitCast(ctx->builder, v, ac_to_float_type(ctx, type), ""); in ac_to_float()
456 vgpr = LLVMBuildBitCast(builder, vgpr, LLVMVectorType(ctx->i32, vgpr_size / 4), ""); in ac_build_optimization_barrier()
460 vgpr = LLVMBuildBitCast(builder, vgpr, vgpr_type, ""); in ac_build_optimization_barrier()
475 return LLVMBuildBitCast(ctx->builder, tmp, ctx->v2i32, ""); in ac_build_shader_clock()
1126 args[idx++] = LLVMBuildBitCast(ctx->builder, rsrc, ctx->v4i32, ""); in ac_build_buffer_store_common()
1211 args[idx++] = LLVMBuildBitCast(ctx->builder, rsrc, ctx->v4i32, ""); in ac_build_buffer_load_common()
1312 LLVMBuildBitCast(ctx->builder, rsrc, ctx->v4i32, "")}; in ac_build_buffer_load_format()
1335 args[idx++] = LLVMBuildBitCast(ctx->builder, rsrc, ctx->v4i32, ""); in ac_build_tbuffer_load()
1566 loads[i] = LLVMBuildBitCast(ctx->builder, tmp, ctx->f64, ""); in ac_build_opencoded_load_format()
[all …]

12