Home
last modified time | relevance | path

Searched refs:wide_type (Results 1 - 3 of 3) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_bld_blend.c115 struct lp_type wide_type = lp_wider_type(type); in lp_build_mul_norm_expand() local
116 struct lp_type wide_type2 = wide_type; in lp_build_mul_norm_expand()
125 LLVMValueRef zero = LLVMConstNull(lp_build_vec_type(bld->gallivm, wide_type)); in lp_build_mul_norm_expand()
136 lp_build_unpack2_native(bld->gallivm, type, wide_type, a, &al, &ah); in lp_build_mul_norm_expand()
139 *resl = lp_build_mul_norm(bld->gallivm, wide_type, al, bl); in lp_build_mul_norm_expand()
140 *resh = lp_build_mul_norm(bld->gallivm, wide_type, ah, bh); in lp_build_mul_norm_expand()
265 struct lp_type wide_type = lp_wider_type(bld->type); in lp_build_blend() local
275 wide_type.norm = 0; in lp_build_blend()
276 lp_build_context_init(&bldw, bld->gallivm, wide_type); in lp_build_blend()
311 return lp_build_pack2_native(bld->gallivm, wide_type, bl in lp_build_blend()
[all...]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_arit.c884 struct lp_type wide_type, in lp_build_mul_norm()
893 assert(!wide_type.floating); in lp_build_mul_norm()
894 assert(lp_check_value(wide_type, a)); in lp_build_mul_norm()
895 assert(lp_check_value(wide_type, b)); in lp_build_mul_norm()
897 lp_build_context_init(&bld, gallivm, wide_type); in lp_build_mul_norm()
899 n = wide_type.width / 2; in lp_build_mul_norm()
900 if (wide_type.sign) { in lp_build_mul_norm()
920 half = lp_build_const_int_vec(gallivm, wide_type, 1LL << (n - 1)); in lp_build_mul_norm()
921 if (wide_type.sign) { in lp_build_mul_norm()
923 LLVMValueRef sign = lp_build_shr_imm(&bld, ab, wide_type in lp_build_mul_norm()
883 lp_build_mul_norm(struct gallivm_state *gallivm, struct lp_type wide_type, LLVMValueRef a, LLVMValueRef b) lp_build_mul_norm() argument
961 struct lp_type wide_type = lp_wider_type(type); lp_build_mul() local
1148 LLVMTypeRef wide_type, narrow_type; lp_build_mul_32_lohi() local
1426 struct lp_type wide_type; lp_build_lerp() local
[all...]
H A Dlp_bld_arit.h78 struct lp_type wide_type,

Completed in 6 milliseconds