/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_conv.c | 186 res = LLVMBuildFMul(builder, src, lp_build_const_vec(gallivm, src_type, scale), ""); in lp_build_clamped_float_to_unsigned_norm() 187 res = LLVMBuildFAdd(builder, res, lp_build_const_vec(gallivm, src_type, bias), ""); in lp_build_clamped_float_to_unsigned_norm() 204 lp_build_const_vec(gallivm, src_type, scale), ""); in lp_build_clamped_float_to_unsigned_norm() 233 lp_build_const_vec(gallivm, src_type, scale), ""); in lp_build_clamped_float_to_unsigned_norm() 306 lp_build_const_vec(gallivm, dst_type, scale), ""); in lp_build_unsigned_norm_to_float() 330 bias_ = lp_build_const_vec(gallivm, dst_type, bias); in lp_build_unsigned_norm_to_float() 339 res = LLVMBuildFMul(builder, res, lp_build_const_vec(gallivm, dst_type, scale), ""); in lp_build_unsigned_norm_to_float() 417 const_255f = lp_build_const_vec(gallivm, src_type, 255.0f); in lp_build_conv() 472 const_255f = lp_build_const_vec(gallivm, src_type, 255.0f); in lp_build_conv() 524 thres = lp_build_const_vec(gallivm, src_type, dst_min); in lp_build_conv() [all …]
|
D | lp_bld_arit.c | 822 factor = lp_build_const_vec(bld->gallivm, bld->type, shift); in lp_build_mul_imm() 827 factor = lp_build_const_vec(bld->gallivm, bld->type, (double)b); in lp_build_mul_imm() 1196 LLVMValueRef minus_one = lp_build_const_vec(bld->gallivm, type, -1.0); in lp_build_sgn() 1566 max = lp_build_const_vec(bld->gallivm, bld->type, in clamp_fract() 1634 half = lp_build_const_vec(bld->gallivm, type, 0.5); in lp_build_iround() 1701 offset = lp_build_const_vec(bld->gallivm, type, in lp_build_ifloor() 1746 offset = lp_build_const_vec(bld->gallivm, type, in lp_build_iceil() 1879 LLVMValueRef two = lp_build_const_vec(bld->gallivm, bld->type, 2.0); in lp_build_rcp_refine() 1965 LLVMValueRef half = lp_build_const_vec(bld->gallivm, bld->type, 0.5); in lp_build_rsqrt_refine() 1966 LLVMValueRef three = lp_build_const_vec(bld->gallivm, bld->type, 3.0); in lp_build_rsqrt_refine() [all …]
|
D | lp_bld_sample.c | 398 lp_build_const_vec(bld->gallivm, bld->type, pre_offset)); in lp_build_brilinear_lod() 403 lp_build_const_vec(bld->gallivm, bld->type, factor)); in lp_build_brilinear_lod() 406 lp_build_const_vec(bld->gallivm, bld->type, post_offset)); in lp_build_brilinear_lod() 453 lp_build_const_vec(bld->gallivm, bld->type, pre_factor)); in lp_build_brilinear_rho() 462 lp_build_const_vec(bld->gallivm, bld->type, factor)); in lp_build_brilinear_rho() 465 lp_build_const_vec(bld->gallivm, bld->type, post_offset)); in lp_build_brilinear_rho() 911 LLVMValueRef posHalf = lp_build_const_vec(coord_bld->gallivm, coord_bld->type, 0.5); in lp_build_cube_imapos() 922 LLVMValueRef negHalf = lp_build_const_vec(coord_bld->gallivm, coord_bld->type, -0.5); in lp_build_cube_imaneg() 944 LLVMValueRef half = lp_build_const_vec(coord_bld->gallivm, coord_bld->type, 0.5); in lp_build_cube_coord() 1022 LLVMValueRef posHalf = lp_build_const_vec(gallivm, coord_bld->type, 0.5); in lp_build_cube_lookup() [all …]
|
D | lp_bld_format_soa.c | 202 LLVMValueRef scale_val = lp_build_const_vec(gallivm, type, scale); in lp_build_unpack_rgba_soa() 231 LLVMValueRef scale_val = lp_build_const_vec(gallivm, type, scale); in lp_build_unpack_rgba_soa()
|
D | lp_bld_const.h | 93 lp_build_const_vec(struct gallivm_state *gallivm, struct lp_type type,
|
D | lp_bld_sample_aos.c | 367 LLVMValueRef half = lp_build_const_vec(bld->gallivm, coord_bld->type, 0.5); in lp_build_sample_wrap_linear_float() 587 x_stride = lp_build_const_vec(bld->gallivm, in lp_build_sample_image_nearest() 1062 x_stride = lp_build_const_vec(bld->gallivm, bld->int_coord_bld.type, in lp_build_sample_image_linear() 1222 x_stride = lp_build_const_vec(bld->gallivm, in lp_build_sample_image_linear_afloat() 1381 LLVMValueRef h16vec_scale = lp_build_const_vec(bld->gallivm, in lp_build_sample_mipmap()
|
D | lp_bld_const.c | 325 lp_build_const_vec(struct gallivm_state *gallivm, struct lp_type type, in lp_build_const_vec() function
|
D | lp_bld_tgsi_action.c | 920 half = lp_build_const_vec(bld_base->base.gallivm, bld_base->base.type, 0.5); in cnd_emit_cpu() 1064 LLVMValueRef nz = lp_build_const_vec(bld_base->base.gallivm, in iset_emit_cpu() 1483 LLVMValueRef nz = lp_build_const_vec(bld_base->base.gallivm, in uset_emit_cpu()
|
D | lp_bld_sample_soa.c | 239 LLVMValueRef half = lp_build_const_vec(bld->gallivm, coord_bld->type, 0.5); in lp_build_coord_repeat_npot_linear() 280 LLVMValueRef half = lp_build_const_vec(bld->gallivm, coord_bld->type, 0.5); in lp_build_sample_wrap_linear() 358 min = lp_build_const_vec(bld->gallivm, coord_bld->type, -1.0F); in lp_build_sample_wrap_linear()
|
D | lp_bld_tgsi_aos.c | 246 …value = lp_build_max(&bld->bld_base.base, value, lp_build_const_vec(bld->bld_base.base.gallivm, bl… in lp_emit_store_aos() 593 tmp1 = lp_build_const_vec(bld->bld_base.base.gallivm, bld->bld_base.base.type, 0.5); in lp_emit_instruction_aos()
|
D | lp_bld_tgsi_soa.c | 969 …value = lp_build_max(&bld->bld_base.base, value, lp_build_const_vec(bld->bld_base.base.gallivm, bl… in emit_store_chan() 1616 lp_build_const_vec(gallivm, bld_base->base.type, imm->u[i].Float); in lp_emit_immediate_soa() 1621 LLVMValueRef tmp = lp_build_const_vec(gallivm, bld_base->uint_bld.type, imm->u[i].Uint); in lp_emit_immediate_soa() 1629 LLVMValueRef tmp = lp_build_const_vec(gallivm, bld_base->int_bld.type, imm->u[i].Int); in lp_emit_immediate_soa()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_setup.c | 473 pos_half = lp_build_const_vec(gallivm, type, +0.5f); in emit_apply_cyl_wrap() 474 neg_half = lp_build_const_vec(gallivm, type, -0.5f); in emit_apply_cyl_wrap() 477 one = lp_build_const_vec(gallivm, type, 1.0f); in emit_apply_cyl_wrap() 614 pixel_center = lp_build_const_vec(gallivm, typef4, in init_args()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm.c | 806 LLVMValueRef const1 = lp_build_const_vec(gallivm, f32_type, 1.0); /*1.0 1.0 1.0 1.0*/ in generate_viewport() 886 zero = lp_build_const_vec(gallivm, f32_type, 0); /* 0.0f 0.0f 0.0f 0.0f */ in generate_clipmask()
|