Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/mesa/src/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_swizzle.c225 a = LLVMBuildBitCast(builder, a, lp_build_vec_type(bld->gallivm, type4), ""); in lp_build_swizzle_scalar_aos()
245 return LLVMBuildBitCast(builder, a, lp_build_vec_type(bld->gallivm, type), ""); in lp_build_swizzle_scalar_aos()
381 a = LLVMBuildBitCast(builder, a, lp_build_vec_type(bld->gallivm, type4), ""); in lp_build_swizzle_aos()
382 res = LLVMBuildBitCast(builder, res, lp_build_vec_type(bld->gallivm, type4), ""); in lp_build_swizzle_aos()
424 return LLVMBuildBitCast(builder, res, in lp_build_swizzle_aos()
538 t0 = LLVMBuildBitCast(gallivm->builder, t0, double_type, "t0"); in lp_build_transpose_aos()
539 t1 = LLVMBuildBitCast(gallivm->builder, t1, double_type, "t1"); in lp_build_transpose_aos()
540 t2 = LLVMBuildBitCast(gallivm->builder, t2, double_type, "t2"); in lp_build_transpose_aos()
541 t3 = LLVMBuildBitCast(gallivm->builder, t3, double_type, "t3"); in lp_build_transpose_aos()
550 dst[0] = LLVMBuildBitCast(gallivm->builder, dst[0], single_type, "dst0"); in lp_build_transpose_aos()
[all …]
Dlp_bld_logic.c166 res = LLVMBuildBitCast(builder, res, int_vec_type, ""); in lp_build_compare()
410 a = LLVMBuildBitCast(builder, a, int_vec_type, ""); in lp_build_select_bitwise()
411 b = LLVMBuildBitCast(builder, b, int_vec_type, ""); in lp_build_select_bitwise()
427 res = LLVMBuildBitCast(builder, res, vec_type, ""); in lp_build_select_bitwise()
527 mask = LLVMBuildBitCast(builder, mask, arg_type, ""); in lp_build_select()
531 a = LLVMBuildBitCast(builder, a, arg_type, ""); in lp_build_select()
532 b = LLVMBuildBitCast(builder, b, arg_type, ""); in lp_build_select()
543 res = LLVMBuildBitCast(builder, res, bld->vec_type, ""); in lp_build_select()
630 val = LLVMBuildBitCast(builder, val, scalar_type, ""); in lp_build_any_true_range()
Dlp_bld_arit.c815 a = LLVMBuildBitCast(builder, a, lp_build_int_vec_type(bld->type), ""); in lp_build_mul_imm()
817 a = LLVMBuildBitCast(builder, a, lp_build_vec_type(bld->gallivm, bld->type), ""); in lp_build_mul_imm()
1110 a = LLVMBuildBitCast(builder, a, int_vec_type, ""); in lp_build_abs()
1112 a = LLVMBuildBitCast(builder, a, vec_type, ""); in lp_build_abs()
1186 sign = LLVMBuildBitCast(builder, a, int_type, ""); in lp_build_sgn()
1190 res = LLVMBuildBitCast(builder, res, vec_type, ""); in lp_build_sgn()
1232 val = LLVMBuildBitCast(builder, a, int_vec_type, ""); in lp_build_set_sign()
1240 res = LLVMBuildBitCast(builder, res, vec_type, ""); in lp_build_set_sign()
1643 sign = LLVMBuildBitCast(builder, a, int_vec_type, ""); in lp_build_iround()
1647 half = LLVMBuildBitCast(builder, half, int_vec_type, ""); in lp_build_iround()
[all …]
Dlp_bld_conv.c104 LLVMValueRef f32_magic = LLVMBuildBitCast(builder, in lp_build_half_to_float()
113 …LLVMValueRef shifted = LLVMBuildBitCast(builder, LLVMBuildShl(builder, expmant, i32_13, ""),… in lp_build_half_to_float()
116 …LLVMValueRef scaled = LLVMBuildBitCast(builder, LLVMBuildFMul(builder, shifted, f32_magic, … in lp_build_half_to_float()
131 return LLVMBuildBitCast(builder, final, float_vec_type, ""); in lp_build_half_to_float()
188 res = LLVMBuildBitCast(builder, res, int_vec_type, ""); in lp_build_clamped_float_to_unsigned_norm()
334 LLVMBuildBitCast(builder, bias_, int_vec_type, ""), ""); in lp_build_unsigned_norm_to_float()
336 res = LLVMBuildBitCast(builder, res, vec_type, ""); in lp_build_unsigned_norm_to_float()
Dlp_bld_pack.c312 *dst_lo = LLVMBuildBitCast(builder, *dst_lo, dst_vec_type, ""); in lp_build_unpack2()
313 *dst_hi = LLVMBuildBitCast(builder, *dst_hi, dst_vec_type, ""); in lp_build_unpack2()
433 res = LLVMBuildBitCast(builder, res, dst_vec_type, ""); in lp_build_pack2()
457 tmpres[i] = LLVMBuildBitCast(builder, tmpres[i], ndst_vec_type, ""); in lp_build_pack2()
469 tmpres[i+num_split/2] = LLVMBuildBitCast(builder, tmpres[i+num_split/2], in lp_build_pack2()
480 lo = LLVMBuildBitCast(builder, lo, dst_vec_type, ""); in lp_build_pack2()
481 hi = LLVMBuildBitCast(builder, hi, dst_vec_type, ""); in lp_build_pack2()
Dlp_bld_format_aos.c411 packed = LLVMBuildBitCast(gallivm->builder, packed, in lp_build_fetch_rgba_aos()
560 function = LLVMBuildBitCast(builder, function, in lp_build_fetch_rgba_aos()
578 args[0] = LLVMBuildBitCast(builder, tmp_ptr, pi8t, ""); in lp_build_fetch_rgba_aos()
604 res = LLVMBuildBitCast(builder, res, bld.vec_type, ""); in lp_build_fetch_rgba_aos()
674 args[0] = LLVMBuildBitCast(builder, tmp_ptr, pf32t, ""); in lp_build_fetch_rgba_aos()
Dlp_bld_intr.c171 a = LLVMBuildBitCast(builder, a, LLVMVectorType(elem_type, 1), ""); in lp_build_intrinsic_binary_anylength()
172 b = LLVMBuildBitCast(builder, b, LLVMVectorType(elem_type, 1), ""); in lp_build_intrinsic_binary_anylength()
Dlp_bld_tgsi_soa.c269 LLVMBuildBitCast(builder, mask->exec_mask, reg_type, ""), in lp_exec_endloop()
626 temp_ptr = LLVMBuildBitCast(builder, scalar_ptr, ivtype, ""); in emit_fetch_constant()
691 inputs_array = LLVMBuildBitCast(builder, bld->inputs_array, in emit_fetch_input()
712 res = LLVMBuildBitCast(builder, res, bld_base->uint_bld.vec_type, ""); in emit_fetch_input()
714 res = LLVMBuildBitCast(builder, res, bld_base->int_bld.vec_type, ""); in emit_fetch_input()
758 temps_array = LLVMBuildBitCast(builder, bld->temps_array, in emit_fetch_temporary()
770 temp_ptr = LLVMBuildBitCast(builder, tint_ptr, itype, ""); in emit_fetch_temporary()
817 res = LLVMBuildBitCast(builder, res, bld_base->base.vec_type, ""); in emit_fetch_system_value()
819 res = LLVMBuildBitCast(builder, res, bld_base->uint_bld.vec_type, ""); in emit_fetch_system_value()
821 res = LLVMBuildBitCast(builder, res, bld_base->int_bld.vec_type, ""); in emit_fetch_system_value()
[all …]
/external/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_swizzle.c225 a = LLVMBuildBitCast(builder, a, lp_build_vec_type(bld->gallivm, type4), ""); in lp_build_swizzle_scalar_aos()
245 return LLVMBuildBitCast(builder, a, lp_build_vec_type(bld->gallivm, type), ""); in lp_build_swizzle_scalar_aos()
381 a = LLVMBuildBitCast(builder, a, lp_build_vec_type(bld->gallivm, type4), ""); in lp_build_swizzle_aos()
382 res = LLVMBuildBitCast(builder, res, lp_build_vec_type(bld->gallivm, type4), ""); in lp_build_swizzle_aos()
424 return LLVMBuildBitCast(builder, res, in lp_build_swizzle_aos()
538 t0 = LLVMBuildBitCast(gallivm->builder, t0, double_type, "t0"); in lp_build_transpose_aos()
539 t1 = LLVMBuildBitCast(gallivm->builder, t1, double_type, "t1"); in lp_build_transpose_aos()
540 t2 = LLVMBuildBitCast(gallivm->builder, t2, double_type, "t2"); in lp_build_transpose_aos()
541 t3 = LLVMBuildBitCast(gallivm->builder, t3, double_type, "t3"); in lp_build_transpose_aos()
550 dst[0] = LLVMBuildBitCast(gallivm->builder, dst[0], single_type, "dst0"); in lp_build_transpose_aos()
[all …]
Dlp_bld_logic.c166 res = LLVMBuildBitCast(builder, res, int_vec_type, ""); in lp_build_compare()
410 a = LLVMBuildBitCast(builder, a, int_vec_type, ""); in lp_build_select_bitwise()
411 b = LLVMBuildBitCast(builder, b, int_vec_type, ""); in lp_build_select_bitwise()
427 res = LLVMBuildBitCast(builder, res, vec_type, ""); in lp_build_select_bitwise()
527 mask = LLVMBuildBitCast(builder, mask, arg_type, ""); in lp_build_select()
531 a = LLVMBuildBitCast(builder, a, arg_type, ""); in lp_build_select()
532 b = LLVMBuildBitCast(builder, b, arg_type, ""); in lp_build_select()
543 res = LLVMBuildBitCast(builder, res, bld->vec_type, ""); in lp_build_select()
630 val = LLVMBuildBitCast(builder, val, scalar_type, ""); in lp_build_any_true_range()
Dlp_bld_arit.c815 a = LLVMBuildBitCast(builder, a, lp_build_int_vec_type(bld->type), ""); in lp_build_mul_imm()
817 a = LLVMBuildBitCast(builder, a, lp_build_vec_type(bld->gallivm, bld->type), ""); in lp_build_mul_imm()
1110 a = LLVMBuildBitCast(builder, a, int_vec_type, ""); in lp_build_abs()
1112 a = LLVMBuildBitCast(builder, a, vec_type, ""); in lp_build_abs()
1186 sign = LLVMBuildBitCast(builder, a, int_type, ""); in lp_build_sgn()
1190 res = LLVMBuildBitCast(builder, res, vec_type, ""); in lp_build_sgn()
1232 val = LLVMBuildBitCast(builder, a, int_vec_type, ""); in lp_build_set_sign()
1240 res = LLVMBuildBitCast(builder, res, vec_type, ""); in lp_build_set_sign()
1643 sign = LLVMBuildBitCast(builder, a, int_vec_type, ""); in lp_build_iround()
1647 half = LLVMBuildBitCast(builder, half, int_vec_type, ""); in lp_build_iround()
[all …]
Dlp_bld_pack.c312 *dst_lo = LLVMBuildBitCast(builder, *dst_lo, dst_vec_type, ""); in lp_build_unpack2()
313 *dst_hi = LLVMBuildBitCast(builder, *dst_hi, dst_vec_type, ""); in lp_build_unpack2()
433 res = LLVMBuildBitCast(builder, res, dst_vec_type, ""); in lp_build_pack2()
457 tmpres[i] = LLVMBuildBitCast(builder, tmpres[i], ndst_vec_type, ""); in lp_build_pack2()
469 tmpres[i+num_split/2] = LLVMBuildBitCast(builder, tmpres[i+num_split/2], in lp_build_pack2()
480 lo = LLVMBuildBitCast(builder, lo, dst_vec_type, ""); in lp_build_pack2()
481 hi = LLVMBuildBitCast(builder, hi, dst_vec_type, ""); in lp_build_pack2()
Dlp_bld_conv.c104 LLVMValueRef f32_magic = LLVMBuildBitCast(builder, in lp_build_half_to_float()
113 …LLVMValueRef shifted = LLVMBuildBitCast(builder, LLVMBuildShl(builder, expmant, i32_13, ""),… in lp_build_half_to_float()
116 …LLVMValueRef scaled = LLVMBuildBitCast(builder, LLVMBuildFMul(builder, shifted, f32_magic, … in lp_build_half_to_float()
131 return LLVMBuildBitCast(builder, final, float_vec_type, ""); in lp_build_half_to_float()
188 res = LLVMBuildBitCast(builder, res, int_vec_type, ""); in lp_build_clamped_float_to_unsigned_norm()
334 LLVMBuildBitCast(builder, bias_, int_vec_type, ""), ""); in lp_build_unsigned_norm_to_float()
336 res = LLVMBuildBitCast(builder, res, vec_type, ""); in lp_build_unsigned_norm_to_float()
Dlp_bld_format_aos.c411 packed = LLVMBuildBitCast(gallivm->builder, packed, in lp_build_fetch_rgba_aos()
560 function = LLVMBuildBitCast(builder, function, in lp_build_fetch_rgba_aos()
578 args[0] = LLVMBuildBitCast(builder, tmp_ptr, pi8t, ""); in lp_build_fetch_rgba_aos()
604 res = LLVMBuildBitCast(builder, res, bld.vec_type, ""); in lp_build_fetch_rgba_aos()
674 args[0] = LLVMBuildBitCast(builder, tmp_ptr, pf32t, ""); in lp_build_fetch_rgba_aos()
Dlp_bld_intr.c171 a = LLVMBuildBitCast(builder, a, LLVMVectorType(elem_type, 1), ""); in lp_build_intrinsic_binary_anylength()
172 b = LLVMBuildBitCast(builder, b, LLVMVectorType(elem_type, 1), ""); in lp_build_intrinsic_binary_anylength()
Dlp_bld_tgsi_soa.c269 LLVMBuildBitCast(builder, mask->exec_mask, reg_type, ""), in lp_exec_endloop()
626 temp_ptr = LLVMBuildBitCast(builder, scalar_ptr, ivtype, ""); in emit_fetch_constant()
691 inputs_array = LLVMBuildBitCast(builder, bld->inputs_array, in emit_fetch_input()
712 res = LLVMBuildBitCast(builder, res, bld_base->uint_bld.vec_type, ""); in emit_fetch_input()
714 res = LLVMBuildBitCast(builder, res, bld_base->int_bld.vec_type, ""); in emit_fetch_input()
758 temps_array = LLVMBuildBitCast(builder, bld->temps_array, in emit_fetch_temporary()
770 temp_ptr = LLVMBuildBitCast(builder, tint_ptr, itype, ""); in emit_fetch_temporary()
817 res = LLVMBuildBitCast(builder, res, bld_base->base.vec_type, ""); in emit_fetch_system_value()
819 res = LLVMBuildBitCast(builder, res, bld_base->uint_bld.vec_type, ""); in emit_fetch_system_value()
821 res = LLVMBuildBitCast(builder, res, bld_base->int_bld.vec_type, ""); in emit_fetch_system_value()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
Dlp_bld_depth.c451 LLVMValueRef bits = LLVMBuildBitCast(builder, maskvalue, in lp_build_occlusion_count()
461 LLVMValueRef bits = LLVMBuildBitCast(builder, maskvalue, in lp_build_occlusion_count()
477 countv = LLVMBuildBitCast(builder, countv, i8vntype, ""); in lp_build_occlusion_count()
485 countd = LLVMBuildBitCast(builder, countd, counttype, "countd"); in lp_build_occlusion_count()
634 zs_dst_ptr = LLVMBuildBitCast(builder, in lp_build_depth_stencil_test()
698 front_facing = LLVMBuildBitCast(builder, front_facing, in lp_build_depth_stencil_test()
858 zs_dst_ptr = LLVMBuildBitCast(builder, zs_dst_ptr, in lp_build_depth_write()
883 zs_dst_ptr = LLVMBuildBitCast(builder, zs_dst_ptr, in lp_build_deferred_depth_write()
Dlp_bld_interp.c197 ptr = LLVMBuildBitCast(builder, ptr, in coeffs_init_simple()
202 ptr = LLVMBuildBitCast(builder, ptr, in coeffs_init_simple()
213 ptr = LLVMBuildBitCast(builder, ptr, in coeffs_init_simple()
403 ptr = LLVMBuildBitCast(builder, ptr, in coeffs_init()
408 ptr = LLVMBuildBitCast(builder, ptr, in coeffs_init()
419 ptr = LLVMBuildBitCast(builder, ptr, in coeffs_init()
597 a = LLVMBuildBitCast(builder, a, ptr_type, ""); in attribs_update()
Dlp_state_setup.c478 one = LLVMBuildBitCast(builder, one, lp_build_int_vec_type(gallivm, type), ""); in emit_apply_cyl_wrap()
486 offset = LLVMBuildBitCast(builder, offset, float_vec_type, ""); in emit_apply_cyl_wrap()
491 offset = LLVMBuildBitCast(builder, offset, float_vec_type, ""); in emit_apply_cyl_wrap()
499 offset = LLVMBuildBitCast(builder, offset, float_vec_type, ""); in emit_apply_cyl_wrap()
504 offset = LLVMBuildBitCast(builder, offset, float_vec_type, ""); in emit_apply_cyl_wrap()
512 offset = LLVMBuildBitCast(builder, offset, float_vec_type, ""); in emit_apply_cyl_wrap()
517 offset = LLVMBuildBitCast(builder, offset, float_vec_type, ""); in emit_apply_cyl_wrap()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_depth.c451 LLVMValueRef bits = LLVMBuildBitCast(builder, maskvalue, in lp_build_occlusion_count()
461 LLVMValueRef bits = LLVMBuildBitCast(builder, maskvalue, in lp_build_occlusion_count()
477 countv = LLVMBuildBitCast(builder, countv, i8vntype, ""); in lp_build_occlusion_count()
485 countd = LLVMBuildBitCast(builder, countd, counttype, "countd"); in lp_build_occlusion_count()
634 zs_dst_ptr = LLVMBuildBitCast(builder, in lp_build_depth_stencil_test()
698 front_facing = LLVMBuildBitCast(builder, front_facing, in lp_build_depth_stencil_test()
858 zs_dst_ptr = LLVMBuildBitCast(builder, zs_dst_ptr, in lp_build_depth_write()
883 zs_dst_ptr = LLVMBuildBitCast(builder, zs_dst_ptr, in lp_build_deferred_depth_write()
Dlp_bld_interp.c197 ptr = LLVMBuildBitCast(builder, ptr, in coeffs_init_simple()
202 ptr = LLVMBuildBitCast(builder, ptr, in coeffs_init_simple()
213 ptr = LLVMBuildBitCast(builder, ptr, in coeffs_init_simple()
403 ptr = LLVMBuildBitCast(builder, ptr, in coeffs_init()
408 ptr = LLVMBuildBitCast(builder, ptr, in coeffs_init()
419 ptr = LLVMBuildBitCast(builder, ptr, in coeffs_init()
597 a = LLVMBuildBitCast(builder, a, ptr_type, ""); in attribs_update()
Dlp_state_setup.c478 one = LLVMBuildBitCast(builder, one, lp_build_int_vec_type(gallivm, type), ""); in emit_apply_cyl_wrap()
486 offset = LLVMBuildBitCast(builder, offset, float_vec_type, ""); in emit_apply_cyl_wrap()
491 offset = LLVMBuildBitCast(builder, offset, float_vec_type, ""); in emit_apply_cyl_wrap()
499 offset = LLVMBuildBitCast(builder, offset, float_vec_type, ""); in emit_apply_cyl_wrap()
504 offset = LLVMBuildBitCast(builder, offset, float_vec_type, ""); in emit_apply_cyl_wrap()
512 offset = LLVMBuildBitCast(builder, offset, float_vec_type, ""); in emit_apply_cyl_wrap()
517 offset = LLVMBuildBitCast(builder, offset, float_vec_type, ""); in emit_apply_cyl_wrap()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_llvm.h140 return LLVMBuildBitCast(builder, value, dst_type, ""); in bitcast()

12