/third_party/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 | 201 a = LLVMBuildBitCast(builder, a, lp_build_vec_type(bld->gallivm, type2), ""); in lp_build_swizzle_scalar_aos() 234 return LLVMBuildBitCast(builder, a, lp_build_vec_type(bld->gallivm, type), ""); in lp_build_swizzle_scalar_aos() 278 a = LLVMBuildBitCast(builder, a, lp_build_vec_type(bld->gallivm, type4), ""); in lp_build_swizzle_scalar_aos() 299 return LLVMBuildBitCast(builder, a, lp_build_vec_type(bld->gallivm, type), ""); in lp_build_swizzle_scalar_aos() 477 a = LLVMBuildBitCast(builder, a, lp_build_vec_type(bld->gallivm, type4), ""); in lp_build_swizzle_aos() 478 res = LLVMBuildBitCast(builder, res, lp_build_vec_type(bld->gallivm, type4), ""); in lp_build_swizzle_aos() 542 return LLVMBuildBitCast(builder, res, in lp_build_swizzle_aos() 657 t0 = LLVMBuildBitCast(gallivm->builder, t0, double_type, "t0"); in lp_build_transpose_aos() 658 t2 = LLVMBuildBitCast(gallivm->builder, t2, double_type, "t2"); in lp_build_transpose_aos() 671 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, LLVMPointerType(src_type, 0), ""); in lp_build_gather_elem() 179 ptr = LLVMBuildBitCast(gallivm->builder, ptr, LLVMPointerType(src_type, 0), ""); in lp_build_gather_elem_vec() 263 res = LLVMBuildBitCast(gallivm->builder, res, in lp_build_gather_elem_vec() 266 res = LLVMBuildBitCast(gallivm->builder, res, dst_elem_type, ""); in lp_build_gather_elem_vec() 318 base_ptr = LLVMBuildBitCast(builder, base_ptr, src_ptr_type, ""); in lp_build_gather_avx2() 378 res = LLVMBuildBitCast(builder, res, lp_build_vec_type(gallivm, res_type), ""); in lp_build_gather_avx2() 483 return LLVMBuildBitCast(gallivm->builder, res, in lp_build_gather() 568 elems[i] = LLVMBuildBitCast(gallivm->builder, elems[i], in lp_build_gather() 577 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() 404 mask = LLVMBuildBitCast(builder, mask, arg_type, ""); in lp_build_select() 408 a = LLVMBuildBitCast(builder, a, arg_type, ""); in lp_build_select() 409 b = LLVMBuildBitCast(builder, b, arg_type, ""); in lp_build_select() 420 res = LLVMBuildBitCast(builder, res, bld->vec_type, ""); in lp_build_select() 509 val = LLVMBuildBitCast(builder, val, scalar_type, ""); in lp_build_any_true_range()
|
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_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_arit.c | 1109 muleven = LLVMBuildBitCast(builder, muleven, bld->vec_type, ""); in lp_build_mul_32_lohi_cpu() 1110 mulodd = LLVMBuildBitCast(builder, mulodd, bld->vec_type, ""); in lp_build_mul_32_lohi_cpu() 1233 a = LLVMBuildBitCast(builder, a, lp_build_int_vec_type(bld->type), ""); in lp_build_mul_imm() 1235 a = LLVMBuildBitCast(builder, a, lp_build_vec_type(bld->gallivm, bld->type), ""); in lp_build_mul_imm() 1379 res = LLVMBuildBitCast(builder, res, narrow_bld.vec_type, ""); in lp_build_lerp_simple() 1380 v0 = LLVMBuildBitCast(builder, v0, narrow_bld.vec_type, ""); in lp_build_lerp_simple() 1382 res = LLVMBuildBitCast(builder, res, bld->vec_type, ""); in lp_build_lerp_simple() 1780 sign = LLVMBuildBitCast(builder, a, int_type, ""); in lp_build_sgn() 1784 res = LLVMBuildBitCast(builder, res, vec_type, ""); in lp_build_sgn() 1826 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() 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 …]
|
D | lp_bld_sample.c | 1286 lf = LLVMBuildBitCast(builder, lf, fbld.vec_type, ""); in lp_build_minify() 1860 mai = LLVMBuildBitCast(builder, ma, cint_vec_type, ""); in lp_build_cube_lookup() 1887 si = LLVMBuildBitCast(builder, s, cint_vec_type, ""); in lp_build_cube_lookup() 1888 ti = LLVMBuildBitCast(builder, t, cint_vec_type, ""); in lp_build_cube_lookup() 1889 ri = LLVMBuildBitCast(builder, r, cint_vec_type, ""); in lp_build_cube_lookup() 1891 sdxi = LLVMBuildBitCast(builder, ddx[0], cint_vec_type, ""); in lp_build_cube_lookup() 1892 tdxi = LLVMBuildBitCast(builder, ddx[1], cint_vec_type, ""); in lp_build_cube_lookup() 1893 rdxi = LLVMBuildBitCast(builder, ddx[2], cint_vec_type, ""); in lp_build_cube_lookup() 1895 sdyi = LLVMBuildBitCast(builder, ddy[0], cint_vec_type, ""); in lp_build_cube_lookup() 1896 tdyi = LLVMBuildBitCast(builder, ddy[1], cint_vec_type, ""); in lp_build_cube_lookup() [all …]
|
D | lp_bld_nir_soa.c | 134 return LLVMBuildBitCast(builder, res, bld_base->dbl_bld.vec_type, ""); in emit_fetch_64bit() 149 …value = LLVMBuildBitCast(gallivm->builder, value, LLVMVectorType(LLVMFloatTypeInContext(gallivm->c… in emit_store_64bit_split() 294 res = LLVMBuildBitCast(builder, res, bld_base->dbl_bld.vec_type, ""); in build_gather() 473 inputs_array = LLVMBuildBitCast(gallivm->builder, bld->inputs_array, fptr_type, ""); in emit_load_var() 568 dst = LLVMBuildBitCast(builder, dst, float_bld->vec_type, ""); in emit_store_chan() 629 chan_val = LLVMBuildBitCast(builder, chan_val, bld_base->base.vec_type, ""); in emit_store_tcs_chan() 705 … reg_storage = LLVMBuildBitCast(builder, reg_storage, LLVMPointerType(reg_bld->elem_type, 0), ""); in emit_load_reg() 740 … reg_storage = LLVMBuildBitCast(builder, reg_storage, LLVMPointerType(reg_bld->elem_type, 0), ""); in emit_store_reg() 745 dst[i] = LLVMBuildBitCast(builder, dst[i], reg_bld->vec_type, ""); in emit_store_reg() 754 dst[i] = LLVMBuildBitCast(builder, dst[i], reg_bld->vec_type, ""); in emit_store_reg() [all …]
|
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_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, LLVMPointerType(function_type, 0), "cast callee"); in lp_build_fetch_rgba_aos() 862 args[0] = LLVMBuildBitCast(builder, tmp_ptr, pi8t, ""); in lp_build_fetch_rgba_aos() 888 res = LLVMBuildBitCast(builder, res, bld.vec_type, ""); in lp_build_fetch_rgba_aos() 962 args[0] = LLVMBuildBitCast(builder, tmp_ptr, pf32t, ""); in lp_build_fetch_rgba_aos()
|
D | lp_bld_nir.c | 66 return LLVMBuildBitCast(builder, val, bld_base->half_bld.vec_type, ""); in cast_type() 68 return LLVMBuildBitCast(builder, val, bld_base->base.vec_type, ""); in cast_type() 70 return LLVMBuildBitCast(builder, val, bld_base->dbl_bld.vec_type, ""); in cast_type() 79 return LLVMBuildBitCast(builder, val, bld_base->int8_bld.vec_type, ""); in cast_type() 81 return LLVMBuildBitCast(builder, val, bld_base->int16_bld.vec_type, ""); in cast_type() 83 return LLVMBuildBitCast(builder, val, bld_base->int_bld.vec_type, ""); in cast_type() 85 return LLVMBuildBitCast(builder, val, bld_base->int64_bld.vec_type, ""); in cast_type() 94 return LLVMBuildBitCast(builder, val, bld_base->uint8_bld.vec_type, ""); in cast_type() 96 return LLVMBuildBitCast(builder, val, bld_base->uint16_bld.vec_type, ""); in cast_type() 99 return LLVMBuildBitCast(builder, val, bld_base->uint_bld.vec_type, ""); in cast_type() [all …]
|
D | lp_bld_conv.c | 123 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()
|
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_format_aos_array.c | 117 res = LLVMBuildBitCast(builder, res, lp_build_vec_type(gallivm, dst_type), ""); in lp_build_fetch_rgba_aos_array()
|
D | lp_bld_sample_aos.c | 415 rgba8 = LLVMBuildBitCast(builder, rgba8, u8n_vec_type, ""); in lp_build_sample_fetch_image_nearest() 598 s_fpart = LLVMBuildBitCast(builder, s_fpart, u8n_vec_type, ""); in lp_build_sample_fetch_image_linear() 600 t_fpart = LLVMBuildBitCast(builder, t_fpart, u8n_vec_type, ""); in lp_build_sample_fetch_image_linear() 602 r_fpart = LLVMBuildBitCast(builder, r_fpart, u8n_vec_type, ""); in lp_build_sample_fetch_image_linear() 668 rgba8 = LLVMBuildBitCast(builder, rgba8, u8n_vec_type, ""); in lp_build_sample_fetch_image_linear()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_bld_depth.c | 444 LLVMValueRef bits = LLVMBuildBitCast(builder, maskvalue, in lp_build_occlusion_count() 455 LLVMValueRef bits = LLVMBuildBitCast(builder, maskvalue, in lp_build_occlusion_count() 471 countv = LLVMBuildBitCast(builder, countv, i8vntype, ""); in lp_build_occlusion_count() 483 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() 600 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 …]
|
D | lp_state_fs_linear_llvm.c | 348 color0_ptr = LLVMBuildBitCast(builder, color0_ptr, in llvmpipe_fs_variant_linear_llvm() 356 blend_color = LLVMBuildBitCast(builder, blend_color, in llvmpipe_fs_variant_linear_llvm() 385 elem = LLVMBuildBitCast(builder, elem, pint8t, ""); in llvmpipe_fs_variant_linear_llvm() 422 elem = LLVMBuildBitCast(builder, elem, pint8t, ""); in llvmpipe_fs_variant_linear_llvm() 478 pixel_ptr = LLVMBuildBitCast(gallivm->builder, pixel_ptr, in llvmpipe_fs_variant_linear_llvm() 497 buf = LLVMBuildBitCast(builder, buf, bld.vec_type, ""); in llvmpipe_fs_variant_linear_llvm() 502 result = LLVMBuildBitCast(builder, result, pixelt, ""); in llvmpipe_fs_variant_linear_llvm() 518 color0_ptr = LLVMBuildBitCast(builder, color0_ptr, pint8t, ""); in llvmpipe_fs_variant_linear_llvm()
|
D | lp_bld_interp.c | 197 ptr = LLVMBuildBitCast(builder, ptr, LLVMPointerType(elem_type, 0), name); in load_casted() 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_fs.c | 921 …inter_set(builder, z_sample_value_store, sample_loop_state.counter, LLVMBuildBitCast(builder, z_va… in generate_fs_loop() 922 …inter_set(builder, s_sample_value_store, sample_loop_state.counter, LLVMBuildBitCast(builder, s_va… in generate_fs_loop() 1112 output_smask = LLVMBuildBitCast(builder, output_smask, smask_bld.vec_type, ""); in generate_fs_loop() 1276 stencil_refs[0] = LLVMBuildBitCast(builder, stencil_refs[0], int_vec_type, ""); in generate_fs_loop() 1316 …z_value = LLVMBuildBitCast(builder, lp_build_pointer_get(builder, z_sample_value_store, sample_loo… in generate_fs_loop() 1318 …z_fb = LLVMBuildBitCast(builder, lp_build_pointer_get(builder, z_fb_store, sample_loop_state.count… in generate_fs_loop() 1568 tmp[0] = LLVMBuildBitCast(builder, src[0], type16_t, ""); in fs_twiddle_transpose() 1570 dst[0] = LLVMBuildBitCast(builder, tmp[0], type8_t, ""); in fs_twiddle_transpose() 1576 tmp[i] = LLVMBuildBitCast(builder, tmp[i], type32_t, ""); in fs_twiddle_transpose() 1578 dst[i] = LLVMBuildBitCast(builder, tmp[i], type8_t, ""); in fs_twiddle_transpose() [all …]
|
/third_party/mesa3d/src/amd/llvm/ |
D | ac_nir_to_llvm.c | 95 …lds_i8 = LLVMBuildBitCast(ctx->ac.builder, ctx->ac.lds, LLVMPointerType(ctx->ac.i8, AC_ADDR_SPACE_… in get_memory_ptr_t() 101 return LLVMBuildBitCast(ctx->ac.builder, ptr, LLVMPointerType(elem_type, addr_space), ""); in get_memory_ptr_t() 365 LLVMBuildBitCast(ctx->builder, LLVMConstInt(ctx->i32, 0x38800000, false), ctx->f32, ""), in emit_f2f16() 431 return LLVMBuildBitCast(ctx->builder, pack(ctx, comp), ctx->i32, ""); in emit_pack_2x16() 443 val = LLVMBuildBitCast(ctx->builder, val, ctx->f16, ""); in emit_unpack_half_2x16() 1152 result = LLVMBuildBitCast(ctx->ac.builder, in visit_alu() 1205 result = LLVMBuildBitCast(ctx->ac.builder, src[0], ctx->ac.v4i16, ""); in visit_alu() 1209 result = LLVMBuildBitCast(ctx->ac.builder, src[0], ctx->ac.i64, ""); in visit_alu() 1214 result = LLVMBuildBitCast(ctx->ac.builder, src[0], in visit_alu() 1220 LLVMValueRef tmp = LLVMBuildBitCast(ctx->ac.builder, src[0], ctx->ac.v2i32, ""); in visit_alu() [all …]
|
D | ac_llvm_build.c | 250 return LLVMBuildBitCast(ctx->builder, v, ac_to_integer_type(ctx, type), ""); in ac_to_integer() 287 return LLVMBuildBitCast(ctx->builder, v, ac_to_float_type(ctx, type), ""); in ac_to_float() 464 vgpr = LLVMBuildBitCast(builder, vgpr, LLVMVectorType(ctx->i32, vgpr_size / 4), ""); in ac_build_optimization_barrier() 468 vgpr = LLVMBuildBitCast(builder, vgpr, vgpr_type, ""); in ac_build_optimization_barrier() 483 return LLVMBuildBitCast(ctx->builder, tmp, ctx->v2i32, ""); in ac_build_shader_clock() 1210 args[idx++] = LLVMBuildBitCast(ctx->builder, rsrc, ctx->v4i32, ""); in ac_build_buffer_store_common() 1274 args[idx++] = LLVMBuildBitCast(ctx->builder, rsrc, ctx->v4i32, ""); in ac_build_buffer_load_common() 1375 LLVMBuildBitCast(ctx->builder, rsrc, ctx->v4i32, "")}; in ac_build_buffer_load_format() 1395 args[idx++] = LLVMBuildBitCast(ctx->builder, rsrc, ctx->v4i32, ""); in ac_build_tbuffer_load() 1622 loads[i] = LLVMBuildBitCast(ctx->builder, tmp, ctx->f64, ""); in ac_build_opencoded_load_format() [all …]
|