/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_format_yuv.c | 93 tmp = LLVMBuildLShr(builder, packed, lp_build_const_int_vec(gallivm, type, 8), ""); in uyvy_to_yuv_soa() 94 tmp2 = LLVMBuildLShr(builder, tmp, lp_build_const_int_vec(gallivm, type, 16), ""); in uyvy_to_yuv_soa() 95 …sel = lp_build_compare(gallivm, type, PIPE_FUNC_EQUAL, i, lp_build_const_int_vec(gallivm, type, 0)… in uyvy_to_yuv_soa() 101 shift = LLVMBuildMul(builder, i, lp_build_const_int_vec(gallivm, type, 16), ""); in uyvy_to_yuv_soa() 102 shift = LLVMBuildAdd(builder, shift, lp_build_const_int_vec(gallivm, type, 8), ""); in uyvy_to_yuv_soa() 107 *v = LLVMBuildLShr(builder, packed, lp_build_const_int_vec(gallivm, type, 16), ""); in uyvy_to_yuv_soa() 109 mask = lp_build_const_int_vec(gallivm, type, 0xff); in uyvy_to_yuv_soa() 161 tmp = LLVMBuildLShr(builder, packed, lp_build_const_int_vec(gallivm, type, 16), ""); in yuyv_to_yuv_soa() 162 …sel = lp_build_compare(gallivm, type, PIPE_FUNC_EQUAL, i, lp_build_const_int_vec(gallivm, type, 0)… in yuyv_to_yuv_soa() 168 shift = LLVMBuildMul(builder, i, lp_build_const_int_vec(gallivm, type, 16), ""); in yuyv_to_yuv_soa() [all …]
|
D | lp_bld_conv.c | 99 LLVMValueRef i32_13 = lp_build_const_int_vec(gallivm, i32_type, 13); in lp_build_half_to_float() 100 LLVMValueRef i32_16 = lp_build_const_int_vec(gallivm, i32_type, 16); in lp_build_half_to_float() 101 LLVMValueRef i32_mask_nosign = lp_build_const_int_vec(gallivm, i32_type, 0x7fff); in lp_build_half_to_float() 102 LLVMValueRef i32_was_infnan = lp_build_const_int_vec(gallivm, i32_type, 0x7bff); in lp_build_half_to_float() 103 LLVMValueRef i32_exp_infnan = lp_build_const_int_vec(gallivm, i32_type, 0xff << 23); in lp_build_half_to_float() 105 … lp_build_const_int_vec(gallivm, i32_type, (254 - 15) << 23), in lp_build_half_to_float() 190 lp_build_const_int_vec(gallivm, src_type, mask), ""); in lp_build_clamped_float_to_unsigned_norm() 244 lp_build_const_int_vec(gallivm, src_type, in lp_build_clamped_float_to_unsigned_norm() 254 lp_build_const_int_vec(gallivm, src_type, rshift), in lp_build_clamped_float_to_unsigned_norm() 327 lp_build_const_int_vec(gallivm, dst_type, shift), ""); in lp_build_unsigned_norm_to_float() [all …]
|
D | lp_bld_arit.c | 671 c8 = lp_build_const_int_vec(gallivm, i16_type, 8); in lp_build_mul_u8n() 676 b = LLVMBuildAdd(builder, b, lp_build_const_int_vec(gallium, i16_type, 1), ""); in lp_build_mul_u8n() 684 ab = LLVMBuildAdd(builder, ab, lp_build_const_int_vec(gallivm, i16_type, 0x80), ""); in lp_build_mul_u8n() 743 shift = lp_build_const_int_vec(bld->gallivm, type, type.width/2); in lp_build_mul() 814 … factor = lp_build_const_int_vec(bld->gallivm, bld->type, (unsigned long long)shift << mantissa); in lp_build_mul_imm() 910 …res = LLVMBuildAnd(builder, res, lp_build_const_int_vec(bld->gallivm, bld->type, (1 << bld->type.w… in lp_build_lerp_simple() 962 shift = lp_build_const_int_vec(bld->gallivm, wide_type, type.width - 1); in lp_build_lerp() 1109 … LLVMValueRef mask = lp_build_const_int_vec(bld->gallivm, type, ((unsigned long long) absMask)); in lp_build_abs() 1183 mask = lp_build_const_int_vec(bld->gallivm, type, maskBit); in lp_build_sgn() 1223 LLVMValueRef shift = lp_build_const_int_vec(bld->gallivm, type, type.width - 1); in lp_build_set_sign() [all …]
|
D | lp_bld_format_soa.c | 142 input = LLVMBuildLShr(builder, input, lp_build_const_int_vec(gallivm, type, start), ""); in lp_build_unpack_rgba_soa() 151 input = LLVMBuildAnd(builder, input, lp_build_const_int_vec(gallivm, type, mask), ""); in lp_build_unpack_rgba_soa() 180 LLVMValueRef bits_val = lp_build_const_int_vec(gallivm, type, bits); in lp_build_unpack_rgba_soa() 190 LLVMValueRef bits_val = lp_build_const_int_vec(gallivm, type, bits); in lp_build_unpack_rgba_soa() 264 LLVMValueRef mask = lp_build_const_int_vec(gallivm, dst_type, 0xff); in lp_build_rgba8_to_f32_soa() 280 lp_build_const_int_vec(gallivm, dst_type, start), ""); in lp_build_rgba8_to_f32_soa()
|
D | lp_bld_swizzle.c | 236 …tmp = LLVMBuildLShr(builder, a, lp_build_const_int_vec(bld->gallivm, type4, shift*type.width), ""); in lp_build_swizzle_scalar_aos() 238 …tmp = LLVMBuildShl(builder, a, lp_build_const_int_vec(bld->gallivm, type4, -shift*type.width), ""); in lp_build_swizzle_scalar_aos() 409 lp_build_const_int_vec(bld->gallivm, type4, mask), ""); in lp_build_swizzle_aos() 412 … lp_build_const_int_vec(bld->gallivm, type4, shift*type.width), ""); in lp_build_swizzle_aos() 415 … lp_build_const_int_vec(bld->gallivm, type4, -shift*type.width), ""); in lp_build_swizzle_aos()
|
D | lp_bld_sample.c | 1023 LLVMValueRef signmask = lp_build_const_int_vec(gallivm, intctype, in lp_build_cube_lookup() 1025 LLVMValueRef signshift = lp_build_const_int_vec(gallivm, intctype, in lp_build_cube_lookup() 1027 LLVMValueRef facex = lp_build_const_int_vec(gallivm, intctype, PIPE_TEX_FACE_POS_X); in lp_build_cube_lookup() 1028 LLVMValueRef facey = lp_build_const_int_vec(gallivm, intctype, PIPE_TEX_FACE_POS_Y); in lp_build_cube_lookup() 1029 LLVMValueRef facez = lp_build_const_int_vec(gallivm, intctype, PIPE_TEX_FACE_POS_Z); in lp_build_cube_lookup() 1272 LLVMValueRef block_width = lp_build_const_int_vec(bld->type, block_length); in lp_build_sample_partial_offset() 1277 LLVMValueRef block_shift = lp_build_const_int_vec(bld->gallivm, bld->type, logbase2); in lp_build_sample_partial_offset() 1278 LLVMValueRef block_mask = lp_build_const_int_vec(bld->gallivm, bld->type, block_length - 1); in lp_build_sample_partial_offset()
|
D | lp_bld_bitarit.c | 221 LLVMValueRef b = lp_build_const_int_vec(bld->gallivm, bld->type, imm); in lp_build_shl_imm() 233 LLVMValueRef b = lp_build_const_int_vec(bld->gallivm, bld->type, imm); in lp_build_shr_imm()
|
D | lp_bld_const.c | 279 vec = LLVMConstLShr(vec, lp_build_const_int_vec(type, 1)); in lp_build_one() 342 lp_build_const_int_vec(struct gallivm_state *gallivm, struct lp_type type, in lp_build_const_int_vec() function
|
D | lp_bld_const.h | 98 lp_build_const_int_vec(struct gallivm_state *gallivm,
|
D | lp_bld_tgsi_soa.c | 532 base = lp_build_const_int_vec(bld->bld_base.base.gallivm, uint_bld->type, reg_index); in get_indirect_index() 541 max_index = lp_build_const_int_vec(bld->bld_base.base.gallivm, in get_indirect_index() 604 lp_build_const_int_vec(bld->bld_base.base.gallivm, uint_bld->type, swizzle); in emit_fetch_constant() 677 lp_build_const_int_vec(gallivm, uint_bld->type, swizzle); in emit_fetch_input() 679 lp_build_const_int_vec(gallivm, uint_bld->type, bld->bld_base.base.type.length); in emit_fetch_input() 743 lp_build_const_int_vec(bld->bld_base.base.gallivm, uint_bld->type, swizzle); in emit_fetch_temporary() 745 lp_build_const_int_vec(bld->bld_base.base.gallivm, uint_bld->type, in emit_fetch_temporary() 991 lp_build_const_int_vec(gallivm, uint_bld->type, chan_index); in emit_store_chan() 993 lp_build_const_int_vec(gallivm, uint_bld->type, bld->bld_base.base.type.length); in emit_store_chan() 1033 lp_build_const_int_vec(gallivm, uint_bld->type, chan_index); in emit_store_chan() [all …]
|
D | lp_bld_pack.c | 293 …msb = LLVMBuildAShr(builder, src, lp_build_const_int_vec(gallivm, src_type, src_type.width - 1), "… in lp_build_unpack2() 526 …LLVMValueRef dst_max = lp_build_const_int_vec(gallivm, src_type, ((unsigned long long)1 << dst_bit… in lp_build_packs2()
|
D | lp_bld_sample_aos.c | 579 i32_c8 = lp_build_const_int_vec(bld->gallivm, i32.type, 8); in lp_build_sample_image_nearest() 1034 i32_c128 = lp_build_const_int_vec(bld->gallivm, i32.type, -128); in lp_build_sample_image_linear() 1046 i32_c8 = lp_build_const_int_vec(bld->gallivm, i32.type, 8); in lp_build_sample_image_linear() 1054 i32_c255 = lp_build_const_int_vec(bld->gallivm, i32.type, 255); in lp_build_sample_image_linear()
|
D | lp_bld_logic.c | 214 …LLVMValueRef msb = lp_build_const_int_vec(gallivm, type, (unsigned long long)1 << (type.width - 1)… in lp_build_compare()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_bld_depth.c | 121 LLVMValueRef valuemask = lp_build_const_int_vec(bld->gallivm, type, stencil->valuemask); in lp_build_stencil_test_single() 184 LLVMValueRef max = lp_build_const_int_vec(bld->gallivm, type, 0xff); in lp_build_stencil_op_single() 279 LLVMValueRef writemask = lp_build_const_int_vec(bld->gallivm, bld->type, in lp_build_stencil_op() 282 LLVMValueRef back_writemask = lp_build_const_int_vec(bld->gallivm, bld->type, in lp_build_stencil_op() 442 LLVMValueRef countmask = lp_build_const_int_vec(gallivm, type, 1); in lp_build_occlusion_count() 649 z_bitmask = lp_build_const_int_vec(gallivm, z_type, z_mask); in lp_build_depth_stencil_test() 656 LLVMValueRef shift = lp_build_const_int_vec(gallivm, z_type, z_shift); in lp_build_depth_stencil_test() 670 LLVMValueRef shift = lp_build_const_int_vec(gallivm, s_type, s_shift); in lp_build_depth_stencil_test() 679 LLVMValueRef mask = lp_build_const_int_vec(gallivm, s_type, s_mask); in lp_build_depth_stencil_test() 748 LLVMValueRef shift = lp_build_const_int_vec(gallivm, z_src_type, in lp_build_depth_stencil_test() [all …]
|
D | lp_state_fs.c | 184 lp_build_const_int_vec(gallivm, mask_type, 0)); in generate_quad_mask() 308 *pmask = lp_build_const_int_vec(gallivm, type, ~0); in generate_fs() 1006 mask = lp_build_const_int_vec(gallivm, fs_type, ~0); in generate_fragment() 1077 blend_mask = lp_build_const_int_vec(variant->gallivm, blend_type, ~0); in generate_fragment()
|
D | lp_bld_interp.c | 559 LLVMValueRef shuffle = lp_build_const_int_vec(gallivm, coeff_bld->type, quad_start_index); in attribs_update()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm.c | 642 val = lp_build_const_int_vec(gallivm, lp_int_type(soa_type), vertex_id_pad_edgeflag); in store_aos_array() 884 mask = lp_build_const_int_vec(gallivm, i32_type, 0); in generate_clipmask() 885 temp = lp_build_const_int_vec(gallivm, i32_type, 0); in generate_clipmask() 887 shift = lp_build_const_int_vec(gallivm, i32_type, 1); /* 1 1 1 1 */ in generate_clipmask() 940 temp = lp_build_const_int_vec(gallivm, i32_type, 16); in generate_clipmask() 983 temp = lp_build_const_int_vec(gallivm, i32_type, 1 << plane_idx); in generate_clipmask() 1019 temp = lp_build_const_int_vec(gallivm, i32_type, 1 << plane_idx); in generate_clipmask() 1282 clipmask = lp_build_const_int_vec(gallivm, lp_int_type(vs_type), 0); in draw_llvm_generate()
|