/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_bitarit.c | 52 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 …]
|
D | lp_bld_format_float.c | 99 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 …]
|
D | lp_bld_format_s3tc.c | 250 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 …]
|
D | lp_bld_swizzle.c | 209 a = LLVMBuildBitCast(builder, a, lp_build_vec_type(bld->gallivm, type2), ""); in lp_build_swizzle_scalar_aos() 242 return LLVMBuildBitCast(builder, a, lp_build_vec_type(bld->gallivm, type), ""); in lp_build_swizzle_scalar_aos() 289 a = LLVMBuildBitCast(builder, a, lp_build_vec_type(bld->gallivm, type4), ""); in lp_build_swizzle_scalar_aos() 310 return LLVMBuildBitCast(builder, a, lp_build_vec_type(bld->gallivm, type), ""); in lp_build_swizzle_scalar_aos() 492 a = LLVMBuildBitCast(builder, a, lp_build_vec_type(bld->gallivm, type4), ""); in lp_build_swizzle_aos() 493 res = LLVMBuildBitCast(builder, res, lp_build_vec_type(bld->gallivm, type4), ""); in lp_build_swizzle_aos() 556 return LLVMBuildBitCast(builder, res, in lp_build_swizzle_aos() 676 t0 = LLVMBuildBitCast(gallivm->builder, t0, double_type, "t0"); in lp_build_transpose_aos() 677 t2 = LLVMBuildBitCast(gallivm->builder, t2, double_type, "t2"); in lp_build_transpose_aos() 690 t1 = LLVMBuildBitCast(gallivm->builder, t1, double_type, "t1"); in lp_build_transpose_aos() [all …]
|
D | lp_bld_gather.c | 99 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()
|
D | lp_bld_logic.c | 270 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()
|
D | lp_bld_quad.c | 197 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()
|
D | lp_bld_pack.c | 338 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 …]
|
D | lp_bld_arit.c | 1157 muleven = LLVMBuildBitCast(builder, muleven, bld->vec_type, ""); in lp_build_mul_32_lohi_cpu() 1158 mulodd = LLVMBuildBitCast(builder, mulodd, bld->vec_type, ""); in lp_build_mul_32_lohi_cpu() 1281 a = LLVMBuildBitCast(builder, a, lp_build_int_vec_type(bld->type), ""); in lp_build_mul_imm() 1283 a = LLVMBuildBitCast(builder, a, lp_build_vec_type(bld->gallivm, bld->type), ""); in lp_build_mul_imm() 1422 res = LLVMBuildBitCast(builder, res, narrow_bld.vec_type, ""); in lp_build_lerp_simple() 1423 v0 = LLVMBuildBitCast(builder, v0, narrow_bld.vec_type, ""); in lp_build_lerp_simple() 1425 res = LLVMBuildBitCast(builder, res, bld->vec_type, ""); in lp_build_lerp_simple() 1821 sign = LLVMBuildBitCast(builder, a, int_type, ""); in lp_build_sgn() 1825 res = LLVMBuildBitCast(builder, res, vec_type, ""); in lp_build_sgn() 1867 val = LLVMBuildBitCast(builder, a, int_vec_type, ""); in lp_build_set_sign() [all …]
|
D | lp_bld_format_soa.c | 246 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() 960 *output = LLVMBuildBitCast(builder, rgba, bld->int_vec_type, ""); in lp_build_insert_soa_chan() 1100 this_offset = LLVMBuildBitCast(gallivm->builder, this_offset, int8_ptr_type, ""); in lp_build_store_rgba_soa() [all …]
|
D | lp_bld_sample.c | 1180 lf = LLVMBuildBitCast(builder, lf, fbld.vec_type, ""); in lp_build_minify() 1758 mai = LLVMBuildBitCast(builder, ma, cint_vec_type, ""); in lp_build_cube_lookup() 1785 si = LLVMBuildBitCast(builder, s, cint_vec_type, ""); in lp_build_cube_lookup() 1786 ti = LLVMBuildBitCast(builder, t, cint_vec_type, ""); in lp_build_cube_lookup() 1787 ri = LLVMBuildBitCast(builder, r, cint_vec_type, ""); in lp_build_cube_lookup() 1789 sdxi = LLVMBuildBitCast(builder, ddx[0], cint_vec_type, ""); in lp_build_cube_lookup() 1790 tdxi = LLVMBuildBitCast(builder, ddx[1], cint_vec_type, ""); in lp_build_cube_lookup() 1791 rdxi = LLVMBuildBitCast(builder, ddx[2], cint_vec_type, ""); in lp_build_cube_lookup() 1793 sdyi = LLVMBuildBitCast(builder, ddy[0], cint_vec_type, ""); in lp_build_cube_lookup() 1794 tdyi = LLVMBuildBitCast(builder, ddy[1], cint_vec_type, ""); in lp_build_cube_lookup() [all …]
|
D | lp_bld_nir_soa.c | 98 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() 436 inputs_array = LLVMBuildBitCast(gallivm->builder, bld->inputs_array, fptr_type, ""); in emit_load_var() 531 dst = LLVMBuildBitCast(builder, dst, float_bld->vec_type, ""); in emit_store_chan() 591 chan_val = LLVMBuildBitCast(builder, chan_val, bld_base->base.vec_type, ""); in emit_store_tcs_chan() 667 … reg_storage = LLVMBuildBitCast(builder, reg_storage, LLVMPointerType(reg_bld->elem_type, 0), ""); in emit_load_reg() 702 … reg_storage = LLVMBuildBitCast(builder, reg_storage, LLVMPointerType(reg_bld->elem_type, 0), ""); in emit_store_reg() 707 dst[i] = LLVMBuildBitCast(builder, dst[i], reg_bld->vec_type, ""); in emit_store_reg() 716 dst[i] = LLVMBuildBitCast(builder, dst[i], reg_bld->vec_type, ""); in emit_store_reg() [all …]
|
D | lp_bld_format_aos.c | 521 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()
|
D | lp_bld_tgsi_soa.c | 609 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 …]
|
D | lp_bld_nir.c | 50 …return LLVMBuildBitCast(builder, val, LLVMVectorType(LLVMHalfTypeInContext(bld_base->base.gallivm-… in cast_type() 52 return LLVMBuildBitCast(builder, val, bld_base->base.vec_type, ""); in cast_type() 54 return LLVMBuildBitCast(builder, val, bld_base->dbl_bld.vec_type, ""); in cast_type() 63 return LLVMBuildBitCast(builder, val, bld_base->int8_bld.vec_type, ""); in cast_type() 65 return LLVMBuildBitCast(builder, val, bld_base->int16_bld.vec_type, ""); in cast_type() 67 return LLVMBuildBitCast(builder, val, bld_base->int_bld.vec_type, ""); in cast_type() 69 return LLVMBuildBitCast(builder, val, bld_base->int64_bld.vec_type, ""); in cast_type() 78 return LLVMBuildBitCast(builder, val, bld_base->uint8_bld.vec_type, ""); in cast_type() 80 return LLVMBuildBitCast(builder, val, bld_base->uint16_bld.vec_type, ""); in cast_type() 82 return LLVMBuildBitCast(builder, val, bld_base->uint_bld.vec_type, ""); in cast_type() [all …]
|
D | lp_bld_format_srgb.c | 200 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()
|
D | lp_bld_conv.c | 127 src = LLVMBuildBitCast(builder, src, in lp_build_half_to_float() 208 func = LLVMBuildBitCast(builder, func, LLVMPointerType(func_type, 0), "_mesa_float_to_half"); in lp_build_float_to_half() 290 res = LLVMBuildBitCast(builder, res, int_vec_type, ""); in lp_build_clamped_float_to_unsigned_norm() 441 LLVMBuildBitCast(builder, bias_, int_vec_type, ""), ""); in lp_build_unsigned_norm_to_float() 443 res = LLVMBuildBitCast(builder, res, vec_type, ""); in lp_build_unsigned_norm_to_float()
|
D | lp_bld_format_aos_array.c | 116 res = LLVMBuildBitCast(builder, res, lp_build_vec_type(gallivm, dst_type), ""); in lp_build_fetch_rgba_aos_array()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_bld_depth.c | 441 LLVMValueRef bits = LLVMBuildBitCast(builder, maskvalue, in lp_build_occlusion_count() 452 LLVMValueRef bits = LLVMBuildBitCast(builder, maskvalue, in lp_build_occlusion_count() 469 countv = LLVMBuildBitCast(builder, countv, i8vntype, ""); in lp_build_occlusion_count() 481 countd = LLVMBuildBitCast(builder, countd, counttype, "countd"); in lp_build_occlusion_count() 591 zs_dst_ptr = LLVMBuildBitCast(builder, zs_dst_ptr, load_ptr_type, ""); in lp_build_depth_stencil_load_swizzled() 598 zs_dst_ptr = LLVMBuildBitCast(builder, zs_dst_ptr, load_ptr_type, ""); in lp_build_depth_stencil_load_swizzled() 632 tmp = LLVMBuildBitCast(builder, *z_fb, in lp_build_depth_stencil_load_swizzled() 643 *s_fb = LLVMBuildBitCast(builder, *s_fb, in lp_build_depth_stencil_load_swizzled() 736 zs_dst_ptr1 = LLVMBuildBitCast(builder, zs_dst_ptr1, load_ptr_type, ""); in lp_build_depth_stencil_write_swizzled() 738 zs_dst_ptr2 = LLVMBuildBitCast(builder, zs_dst_ptr2, load_ptr_type, ""); in lp_build_depth_stencil_write_swizzled() [all …]
|
D | lp_bld_interp.c | 237 ptr = LLVMBuildBitCast(builder, ptr, in coeffs_init_simple() 242 ptr = LLVMBuildBitCast(builder, ptr, in coeffs_init_simple() 253 ptr = LLVMBuildBitCast(builder, ptr, in coeffs_init_simple() 469 … true, LLVMBuildBitCast(builder, bld->dadx_ptr, u8ptr, ""), index, false); in lp_build_interp_soa_indirect() 473 … true, LLVMBuildBitCast(builder, bld->dady_ptr, u8ptr, ""), index, false); in lp_build_interp_soa_indirect() 477 true, LLVMBuildBitCast(builder, bld->a0_ptr, u8ptr, ""), index, false); in lp_build_interp_soa_indirect() 498 true, LLVMBuildBitCast(builder, bld->a0_ptr, u8ptr, ""), index, false); in lp_build_interp_soa_indirect() 555 LLVMValueRef base_ptr = LLVMBuildBitCast(gallivm->builder, bld->sample_pos_array, in lp_build_interp_soa()
|
D | lp_state_setup.c | 291 exp = LLVMBuildBitCast(b, maxz_value, int_scalar_bld.vec_type, ""); in lp_do_offset_tri() 298 exp = LLVMBuildBitCast(b, exp, flt_scalar_bld.vec_type, ""); in lp_do_offset_tri() 515 one = LLVMBuildBitCast(builder, one, lp_build_int_vec_type(gallivm, type), ""); in emit_apply_cyl_wrap() 523 offset = LLVMBuildBitCast(builder, offset, float_vec_type, ""); in emit_apply_cyl_wrap() 528 offset = LLVMBuildBitCast(builder, offset, float_vec_type, ""); in emit_apply_cyl_wrap() 536 offset = LLVMBuildBitCast(builder, offset, float_vec_type, ""); in emit_apply_cyl_wrap() 541 offset = LLVMBuildBitCast(builder, offset, float_vec_type, ""); in emit_apply_cyl_wrap() 549 offset = LLVMBuildBitCast(builder, offset, float_vec_type, ""); in emit_apply_cyl_wrap() 554 offset = LLVMBuildBitCast(builder, offset, float_vec_type, ""); in emit_apply_cyl_wrap()
|
D | lp_state_fs.c | 507 color_ptr = LLVMBuildBitCast(builder, color_ptr, LLVMPointerType(blend_vec_type, 0), ""); in fs_fb_fetch() 533 dst[i] = LLVMBuildBitCast(builder, dst[i], LLVMInt32TypeInContext(gallivm->context), ""); in fs_fb_fetch() 848 …inter_set(builder, z_sample_value_store, sample_loop_state.counter, LLVMBuildBitCast(builder, z_va… in generate_fs_loop() 849 …inter_set(builder, s_sample_value_store, sample_loop_state.counter, LLVMBuildBitCast(builder, s_va… in generate_fs_loop() 1032 output_smask = LLVMBuildBitCast(builder, output_smask, smask_bld.vec_type, ""); in generate_fs_loop() 1146 stencil_refs[0] = LLVMBuildBitCast(builder, stencil_refs[0], int_vec_type, ""); in generate_fs_loop() 1185 …z_value = LLVMBuildBitCast(builder, lp_build_pointer_get(builder, z_sample_value_store, sample_loo… in generate_fs_loop() 1187 …z_fb = LLVMBuildBitCast(builder, lp_build_pointer_get(builder, z_fb_store, sample_loop_state.count… in generate_fs_loop() 1421 tmp[0] = LLVMBuildBitCast(builder, src[0], type16_t, ""); in fs_twiddle_transpose() 1423 dst[0] = LLVMBuildBitCast(builder, tmp[0], type8_t, ""); in fs_twiddle_transpose() [all …]
|
/external/mesa3d/src/amd/llvm/ |
D | ac_nir_to_llvm.c | 91 return LLVMBuildBitCast(ctx->ac.builder, ptr, LLVMPointerType(type, addr_space), ""); in get_memory_ptr() 359 LLVMBuildBitCast(ctx->builder, LLVMConstInt(ctx->i32, 0x38800000, false), ctx->f32, ""), in emit_f2f16() 425 return LLVMBuildBitCast(ctx->builder, pack(ctx, comp), ctx->i32, ""); in emit_pack_2x16() 437 val = LLVMBuildBitCast(ctx->builder, val, ctx->f16, ""); in emit_unpack_half_2x16() 1041 result = LLVMBuildBitCast(ctx->ac.builder, in visit_alu() 1076 result = LLVMBuildBitCast(ctx->ac.builder, src[0], ctx->ac.v4i16, ""); in visit_alu() 1080 result = LLVMBuildBitCast(ctx->ac.builder, src[0], ctx->ac.i64, ""); in visit_alu() 1085 result = LLVMBuildBitCast(ctx->ac.builder, src[0], in visit_alu() 1091 LLVMValueRef tmp = LLVMBuildBitCast(ctx->ac.builder, src[0], ctx->ac.v2i32, ""); in visit_alu() 1097 LLVMValueRef tmp = LLVMBuildBitCast(ctx->ac.builder, src[0], ctx->ac.v2i32, ""); in visit_alu() [all …]
|
D | ac_llvm_build.c | 246 return LLVMBuildBitCast(ctx->builder, v, ac_to_integer_type(ctx, type), ""); in ac_to_integer() 283 return LLVMBuildBitCast(ctx->builder, v, ac_to_float_type(ctx, type), ""); in ac_to_float() 415 vgpr = LLVMBuildBitCast(builder, vgpr, LLVMVectorType(ctx->i32, vgpr_size / 4), ""); in ac_build_optimization_barrier() 419 vgpr = LLVMBuildBitCast(builder, vgpr, vgpr_type, ""); in ac_build_optimization_barrier() 434 return LLVMBuildBitCast(ctx->builder, tmp, ctx->v2i32, ""); in ac_build_shader_clock() 1076 args[idx++] = LLVMBuildBitCast(ctx->builder, rsrc, ctx->v4i32, ""); in ac_build_buffer_store_common() 1162 args[idx++] = LLVMBuildBitCast(ctx->builder, rsrc, ctx->v4i32, ""); in ac_build_buffer_load_common() 1252 args[idx++] = LLVMBuildBitCast(ctx->builder, rsrc, ctx->v4i32, ""); in ac_build_tbuffer_load() 1524 loads[i] = LLVMBuildBitCast(ctx->builder, tmp, ctx->f64, ""); in ac_build_opencoded_load_format() 1645 args[idx++] = LLVMBuildBitCast(ctx->builder, rsrc, ctx->v4i32, ""); in ac_build_tbuffer_store() [all …]
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_llvm.c | 377 ctx->ac.lds = LLVMBuildBitCast(ctx->ac.builder, var, i8p, ""); in si_llvm_declare_compute_memory() 584 param = LLVMBuildBitCast(builder, param, out_type, ""); in si_build_wrapper_function() 595 param = LLVMBuildBitCast(builder, param, vector_type, ""); in si_build_wrapper_function() 661 arg = LLVMBuildBitCast(builder, arg, ctx->ac.i32, ""); in si_build_wrapper_function() 664 arg = LLVMBuildBitCast(builder, arg, ctx->ac.i64, ""); in si_build_wrapper_function() 668 arg = LLVMBuildBitCast(builder, arg, param_type, ""); in si_build_wrapper_function()
|