Home
last modified time | relevance | path

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

12

/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_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 …]
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_format_soa.c219 input = LLVMBuildBitCast(builder, input, lp_build_vec_type(gallivm, type), ""); in lp_build_unpack_rgba_soa()
267 packed = LLVMBuildBitCast(builder, packed, in lp_build_rgba8_to_f32_soa()
Dlp_bld_sample.c1035 rx = LLVMBuildBitCast(builder, s, lp_build_vec_type(gallivm, intctype), ""); in lp_build_cube_lookup()
1036 ry = LLVMBuildBitCast(builder, t, lp_build_vec_type(gallivm, intctype), ""); in lp_build_cube_lookup()
1037 rz = LLVMBuildBitCast(builder, r, lp_build_vec_type(gallivm, intctype), ""); in lp_build_cube_lookup()
1043 signrxyz = LLVMBuildBitCast(builder, rxyz, lp_build_vec_type(gallivm, intctype), ""); in lp_build_cube_lookup()
1100 *face_s = LLVMBuildBitCast(builder, *face_s, in lp_build_cube_lookup()
1102 *face_t = LLVMBuildBitCast(builder, *face_t, in lp_build_cube_lookup()
Dlp_bld_gather.c91 ptr = LLVMBuildBitCast(gallivm->builder, ptr, src_ptr_type, ""); in lp_build_gather_elem()
Dlp_bld_printf.c68 …func_printf = LLVMBuildBitCast(builder, func_printf, LLVMPointerType(printf_type, 0), "debug_print… in lp_build_print_args()
Dlp_bld_sample_aos.c490 rgba8 = LLVMBuildBitCast(builder, rgba8, u8n_vec_type, ""); in lp_build_sample_fetch_image_nearest()
776 s_fpart = LLVMBuildBitCast(builder, s_fpart, h16_vec_type, ""); in lp_build_sample_fetch_image_linear()
778 t_fpart = LLVMBuildBitCast(builder, t_fpart, h16_vec_type, ""); in lp_build_sample_fetch_image_linear()
780 r_fpart = LLVMBuildBitCast(builder, r_fpart, h16_vec_type, ""); in lp_build_sample_fetch_image_linear()
854 rgba8 = LLVMBuildBitCast(builder, rgba8, u8n_vec_type, ""); in lp_build_sample_fetch_image_linear()
1495 lod_fpart = LLVMBuildBitCast(builder, lod_fpart, in lp_build_sample_mipmap()
Dlp_bld_const.c476 function = LLVMBuildBitCast(gallivm->builder, function, in lp_build_const_func_pointer()
Dlp_bld_flow.c146 LLVMBuildBitCast(builder, value, mask->reg_type, ""), in lp_build_mask_check()
Dlp_bld_format_yuv.c315 rgba = LLVMBuildBitCast(builder, rgba, in rgb_to_rgba_aos()
/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()
Dlp_state_fs.c723 const_ptr = LLVMBuildBitCast(builder, const_ptr, in generate_blend()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_llvm.h140 return LLVMBuildBitCast(builder, value, dst_type, ""); in bitcast()
/external/llvm/include/llvm-c/
DCore.h2720 LLVMValueRef LLVMBuildBitCast(LLVMBuilderRef, LLVMValueRef Val,
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c2124 return LLVMBuildBitCast(Builder_val(B), X, Ty, String_val(Name)); in llvm_build_bitcast()
/external/llvm/lib/IR/
DCore.cpp2666 LLVMValueRef LLVMBuildBitCast(LLVMBuilderRef B, LLVMValueRef Val, in LLVMBuildBitCast() function

12