/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_conv.c | 367 struct lp_type dst_type, in lp_build_unsigned_norm_to_float() argument 371 LLVMTypeRef vec_type = lp_build_vec_type(gallivm, dst_type); in lp_build_unsigned_norm_to_float() 372 LLVMTypeRef int_vec_type = lp_build_int_vec_type(gallivm, dst_type); in lp_build_unsigned_norm_to_float() 382 assert(dst_type.floating); in lp_build_unsigned_norm_to_float() 384 mantissa = lp_mantissa(dst_type); in lp_build_unsigned_norm_to_float() 396 lp_build_const_vec(gallivm, dst_type, scale), ""); in lp_build_unsigned_norm_to_float() 417 lp_build_const_int_vec(gallivm, dst_type, shift), ""); in lp_build_unsigned_norm_to_float() 420 bias_ = lp_build_const_vec(gallivm, dst_type, bias); in lp_build_unsigned_norm_to_float() 429 res = LLVMBuildFMul(builder, res, lp_build_const_vec(gallivm, dst_type, scale), ""); in lp_build_unsigned_norm_to_float() 443 struct lp_type* dst_type, in lp_build_conv_auto() argument [all …]
|
D | lp_bld_pack.c | 373 struct lp_type dst_type, in lp_build_unpack2() argument 383 assert(!dst_type.floating); in lp_build_unpack2() 384 assert(dst_type.width == src_type.width * 2); in lp_build_unpack2() 385 assert(dst_type.length * 2 == src_type.length); in lp_build_unpack2() 387 if(dst_type.sign && src_type.sign) { in lp_build_unpack2() 407 dst_vec_type = lp_build_vec_type(gallivm, dst_type); in lp_build_unpack2() 426 struct lp_type dst_type, in lp_build_unpack2_native() argument 436 assert(!dst_type.floating); in lp_build_unpack2_native() 437 assert(dst_type.width == src_type.width * 2); in lp_build_unpack2_native() 438 assert(dst_type.length * 2 == src_type.length); in lp_build_unpack2_native() [all …]
|
D | lp_bld_gather.c | 168 struct lp_type dst_type, in lp_build_gather_elem_vec() argument 221 assert(src_width <= dst_type.width * dst_type.length); in lp_build_gather_elem_vec() 222 if (src_width < dst_type.width * dst_type.length) { in lp_build_gather_elem_vec() 223 if (dst_type.length > 1) { in lp_build_gather_elem_vec() 224 res = lp_build_pad_vector(gallivm, res, dst_type.length); in lp_build_gather_elem_vec() 230 LLVMTypeRef dst_elem_type = lp_build_vec_type(gallivm, dst_type); in lp_build_gather_elem_vec() 241 dst_type.width - src_width, 0), ""); in lp_build_gather_elem_vec() 256 struct lp_type dst_type, in lp_build_gather_avx2() argument 263 struct lp_type res_type = dst_type; in lp_build_gather_avx2() 266 if (dst_type.floating) { in lp_build_gather_avx2() [all …]
|
D | lp_bld_format_aos_array.c | 55 struct lp_type dst_type, in lp_build_fetch_rgba_aos_array() argument 69 assert(src_type.length <= dst_type.length); in lp_build_fetch_rgba_aos_array() 95 if (src_type.length < dst_type.length) { in lp_build_fetch_rgba_aos_array() 96 res = lp_build_pad_vector(gallivm, res, dst_type.length); in lp_build_fetch_rgba_aos_array() 97 src_type.length = dst_type.length; in lp_build_fetch_rgba_aos_array() 100 tmp_type = dst_type; in lp_build_fetch_rgba_aos_array() 115 if (pure_integer && dst_type.floating) { in lp_build_fetch_rgba_aos_array() 116 res = LLVMBuildBitCast(builder, res, lp_build_vec_type(gallivm, dst_type), ""); in lp_build_fetch_rgba_aos_array()
|
D | lp_bld_pack.h | 70 struct lp_type dst_type, 79 struct lp_type dst_type, 87 struct lp_type dst_type, 115 struct lp_type dst_type, 123 struct lp_type dst_type, 131 struct lp_type dst_type, 139 struct lp_type dst_type, 147 struct lp_type dst_type,
|
D | lp_bld_conv.h | 62 struct lp_type dst_type, 69 struct lp_type dst_type, 77 struct lp_type* dst_type, 86 struct lp_type dst_type,
|
D | lp_bld_swizzle.c | 94 struct lp_type dst_type, in lp_build_extract_broadcast() argument 101 assert(src_type.floating == dst_type.floating); in lp_build_extract_broadcast() 102 assert(src_type.width == dst_type.width); in lp_build_extract_broadcast() 108 if (dst_type.length == 1) { in lp_build_extract_broadcast() 121 lp_build_vec_type(gallivm, dst_type), in lp_build_extract_broadcast() 126 if (dst_type.length > 1) { in lp_build_extract_broadcast() 133 LLVMVectorType(i32t, dst_type.length), in lp_build_extract_broadcast() 735 struct lp_type dst_type, in lp_build_pack_aos_scalars() argument 743 unsigned num_dst = dst_type.length; in lp_build_pack_aos_scalars() 772 struct lp_type dst_type, in lp_build_unpack_broadcast_aos_scalars() argument [all …]
|
D | lp_bld_swizzle.h | 64 struct lp_type dst_type, 136 struct lp_type dst_type, 144 struct lp_type dst_type,
|
D | lp_bld_format_soa.c | 354 struct lp_type dst_type, in lp_build_rgba8_to_fi32_soa() argument 359 LLVMValueRef mask = lp_build_const_int_vec(gallivm, dst_type, 0xff); in lp_build_rgba8_to_fi32_soa() 364 lp_build_int_vec_type(gallivm, dst_type), ""); in lp_build_rgba8_to_fi32_soa() 380 lp_build_const_int_vec(gallivm, dst_type, start), ""); in lp_build_rgba8_to_fi32_soa() 385 if (dst_type.floating) in lp_build_rgba8_to_fi32_soa() 386 input = lp_build_unsigned_norm_to_float(gallivm, 8, dst_type, input); in lp_build_rgba8_to_fi32_soa()
|
D | lp_bld_tgsi_action.h | 64 LLVMTypeRef dst_type; member
|
D | lp_bld_gather.h | 58 struct lp_type dst_type,
|
D | lp_bld_tgsi.c | 91 emit_data->dst_type = LLVMVoidTypeInContext(bld_base->base.gallivm->context); in lp_build_action_set_dst_type() 94 emit_data->dst_type = LLVMTypeOf(emit_data->args[0]); in lp_build_action_set_dst_type() 107 emit_data->dst_type, emit_data->args, emit_data->arg_count, 0); in lp_build_tgsi_intrinsic()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_test_conv.c | 65 struct lp_type dst_type, in write_tsv_row() argument 71 fprintf(fp, "%.1f\t", cycles / MAX2(src_type.length, dst_type.length)); in write_tsv_row() 76 dump_type(fp, dst_type); in write_tsv_row() 86 struct lp_type dst_type) in dump_conv_types() argument 92 dump_type(fp, dst_type); in dump_conv_types() 102 struct lp_type dst_type, unsigned num_dsts) in add_conv_test() argument 117 args[1] = LLVMPointerType(lp_build_vec_type(gallivm, dst_type), 0); in add_conv_test() 135 lp_build_conv(gallivm, src_type, dst_type, src, num_srcs, dst, num_dsts); in add_conv_test() 156 struct lp_type dst_type) in test_one() argument 171 if ((src_type.width >= dst_type.width && src_type.length > dst_type.length) || in test_one() [all …]
|
D | lp_state_fs.c | 869 struct lp_type dst_type, in load_unswizzled_block() argument 884 LLVMValueRef bx = lp_build_const_int32(gallivm, x * (dst_type.width / 8) * dst_type.length); in load_unswizzled_block() 895 LLVMPointerType(lp_build_vec_type(gallivm, dst_type), 0), ""); in load_unswizzled_block() 1223 have_smallfloat_format(struct lp_type dst_type, in have_smallfloat_format() argument 1226 return ((dst_type.floating && dst_type.width != 32) || in have_smallfloat_format() 1243 struct lp_type dst_type, in convert_to_blend_type() argument 1268 assert(dst_type.floating); in convert_to_blend_type() 1269 assert(dst_type.width == 32); in convert_to_blend_type() 1270 assert(dst_type.length % 4 == 0); in convert_to_blend_type() 1277 unsigned num_fetch = dst_type.length == 8 ? num_srcs / 2 : num_srcs / 4; in convert_to_blend_type() [all …]
|
/external/libcxxabi/src/ |
D | private_typeinfo.cpp | 620 const __class_type_info *dst_type, in __dynamic_cast() argument 636 …__dynamic_cast_info info = {dst_type, static_ptr, static_type, src2dst_offset, 0, 0, 0, 0, 0, 0, 0… in __dynamic_cast() 639 if (is_equal(dynamic_type, dst_type, false)) in __dynamic_cast() 656 info = {dst_type, static_ptr, static_type, src2dst_offset, 0}; in __dynamic_cast() 678 dst_type->name()); in __dynamic_cast() 680 info = {dst_type, static_ptr, static_type, src2dst_offset, 0}; in __dynamic_cast() 844 else if (is_equal(this, info->dst_type, use_strcmp)) in search_below_dst() 1015 else if (is_equal(this, info->dst_type, use_strcmp)) in search_below_dst() 1092 else if (is_equal(this, info->dst_type, use_strcmp)) in search_below_dst()
|
/external/valgrind/none/tests/s390x/ |
D | rounding-1.c | 26 #define convert_to_int(opcode,src_type,dst_type,dst_fmt,round,value) \ argument 29 dst_type dst; \
|
D | rounding-3.c | 42 #define convert_to_int(opcode,src_type,dst_type,dst_fmt,round,value) \ argument 45 dst_type dst; \
|
D | rounding-6.c | 30 #define convert_to_int(opcode,src_type,dst_type,dst_fmt,round,value) \ argument 33 dst_type dst; \
|
D | pfpo.c | 29 #define PFPO(initial, src_type, dst_type, fn_code, round, ret_code, cc) \ argument 32 register dst_type dst_reg asm("f0"); \
|
/external/mesa3d/src/mesa/main/ |
D | format_utils.c | 277 enum mesa_array_format_datatype src_type = 0, dst_type = 0, common_type; in _mesa_format_convert() local 400 dst_type = _mesa_array_format_get_datatype(dst_array_format); in _mesa_format_convert() 418 _mesa_swizzle_and_convert(dst, dst_type, dst_num_channels, in _mesa_format_convert() 530 _mesa_swizzle_and_convert(dst, dst_type, dst_num_channels, in _mesa_format_convert() 573 _mesa_swizzle_and_convert(dst, dst_type, dst_num_channels, in _mesa_format_convert() 617 _mesa_swizzle_and_convert(dst, dst_type, dst_num_channels, in _mesa_format_convert() 756 enum mesa_array_format_datatype dst_type, in swizzle_convert_try_memcpy() argument 765 if (src_type != dst_type) in swizzle_convert_try_memcpy() 1490 _mesa_swizzle_and_convert(void *void_dst, enum mesa_array_format_datatype dst_type, int num_dst_cha… in _mesa_swizzle_and_convert() argument 1494 if (swizzle_convert_try_memcpy(void_dst, dst_type, num_dst_channels, in _mesa_swizzle_and_convert() [all …]
|
D | pack.c | 1460 GLenum dst_type) in _mesa_pack_luminance_from_rgba_integer() argument 1480 dst_is_signed = (dst_type == GL_BYTE || dst_type == GL_SHORT || in _mesa_pack_luminance_from_rgba_integer() 1481 dst_type == GL_INT); in _mesa_pack_luminance_from_rgba_integer() 1483 dst_bits = _mesa_sizeof_type(dst_type) * 8; in _mesa_pack_luminance_from_rgba_integer() 1500 switch (dst_type) { in _mesa_pack_luminance_from_rgba_integer() 1537 switch (dst_type) { in _mesa_pack_luminance_from_rgba_integer()
|
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3.h | 203 type_t src_type, dst_type; member 562 return instr->cat1.src_type == instr->cat1.dst_type; in is_same_type_mov() 948 instr->cat1.dst_type = type; in ir3_MOV() 954 type_t src_type, type_t dst_type) in ir3_COV() argument 960 instr->cat1.dst_type = dst_type; in ir3_COV()
|
D | ir3_print.c | 78 if (instr->cat1.src_type == instr->cat1.dst_type) in print_instr_name() 82 printf(".%s%s", type[instr->cat1.src_type], type[instr->cat1.dst_type]); in print_instr_name()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_tgsi_alu.c | 50 emit_data->dst_type = LLVMVoidTypeInContext(gallivm->context); in kill_if_fetch_args() 66 emit_data->dst_type, emit_data->args[i]); in kil_emit() 400 LLVMValueRef floor = lp_build_intrinsic(builder, intr, emit_data->dst_type, in emit_frac() 451 emit_data->dst_type, emit_data->args, in build_tgsi_intrinsic_nomem() 509 emit_data->dst_type, emit_data->args, in emit_bfe() 541 emit_data->dst_type, args, ARRAY_SIZE(args), in emit_lsb() 568 emit_data->dst_type, args, ARRAY_SIZE(args), in emit_umsb() 595 emit_data->dst_type, &arg, 1, in emit_imsb()
|
/external/mesa3d/src/intel/blorp/ |
D | blorp_blit.c | 167 nir_alu_type dst_type) in blorp_create_nir_tex_instr() argument 173 tex->dest_type = dst_type; in blorp_create_nir_tex_instr() 202 nir_ssa_def *pos, nir_alu_type dst_type) in blorp_nir_tex() argument 205 blorp_create_nir_tex_instr(b, v, nir_texop_tex, pos, 2, dst_type); in blorp_nir_tex() 219 nir_ssa_def *pos, nir_alu_type dst_type) in blorp_nir_txf() argument 222 blorp_create_nir_tex_instr(b, v, nir_texop_txf, pos, 2, dst_type); in blorp_nir_txf() 235 nir_ssa_def *pos, nir_ssa_def *mcs, nir_alu_type dst_type) in blorp_nir_txf_ms() argument 239 mcs != NULL ? 3 : 2, dst_type); in blorp_nir_txf_ms() 605 nir_alu_type dst_type) in blorp_nir_manual_blend_average() argument 657 texture_data[stack_depth++] = blorp_nir_txf_ms(b, v, ms_pos, mcs, dst_type); in blorp_nir_manual_blend_average() [all …]
|