/external/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_format_aos_array.c | 48 * \param dst_type output type 55 struct lp_type dst_type, 69 assert(src_type.length <= dst_type.length); 95 if (src_type.length < dst_type.length) { 96 res = lp_build_pad_vector(gallivm, res, dst_type.length); 97 src_type.length = dst_type.length; 100 tmp_type = dst_type; 115 if (pure_integer && dst_type.floating) { 116 res = LLVMBuildBitCast(builder, res, lp_build_vec_type(gallivm, dst_type), ""); 53 lp_build_fetch_rgba_aos_array(struct gallivm_state *gallivm, const struct util_format_description *format_desc, struct lp_type dst_type, LLVMValueRef base_ptr, LLVMValueRef offset) argument
|
H A D | lp_bld_conv.c | 43 * src_type.width * src_type.length == dst_type.width * dst_type.length 47 * src_type.length * num_srcs == dst_type.length * num_dsts 367 struct lp_type dst_type, 371 LLVMTypeRef vec_type = lp_build_vec_type(gallivm, dst_type); 372 LLVMTypeRef int_vec_type = lp_build_int_vec_type(gallivm, dst_type); 382 assert(dst_type.floating); 384 mantissa = lp_mantissa(dst_type); 396 lp_build_const_vec(gallivm, dst_type, scale), ""); 417 lp_build_const_int_vec(gallivm, dst_type, shif 365 lp_build_unsigned_norm_to_float(struct gallivm_state *gallivm, unsigned src_width, struct lp_type dst_type, LLVMValueRef src) argument 441 lp_build_conv_auto(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type* dst_type, const LLVMValueRef *src, unsigned num_srcs, LLVMValueRef *dst) argument 533 lp_build_conv(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, const LLVMValueRef *src, unsigned num_srcs, LLVMValueRef *dst, unsigned num_dsts) argument 1040 lp_build_conv_mask(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, const LLVMValueRef *src, unsigned num_srcs, LLVMValueRef *dst, unsigned num_dsts) argument [all...] |
H A 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,
|
H A D | lp_bld_gather.c | 168 struct lp_type dst_type, 221 assert(src_width <= dst_type.width * dst_type.length); 222 if (src_width < dst_type.width * dst_type.length) { 223 if (dst_type.length > 1) { 224 res = lp_build_pad_vector(gallivm, res, dst_type.length); 230 LLVMTypeRef dst_elem_type = lp_build_vec_type(gallivm, dst_type); 241 dst_type.width - src_width, 0), ""); 256 struct lp_type dst_type, 164 lp_build_gather_elem_vec(struct gallivm_state *gallivm, unsigned length, unsigned src_width, LLVMTypeRef src_type, struct lp_type dst_type, boolean aligned, LLVMValueRef base_ptr, LLVMValueRef offsets, unsigned i, boolean vector_justify) argument 253 lp_build_gather_avx2(struct gallivm_state *gallivm, unsigned length, unsigned src_width, struct lp_type dst_type, LLVMValueRef base_ptr, LLVMValueRef offsets) argument 383 lp_build_gather(struct gallivm_state *gallivm, unsigned length, unsigned src_width, struct lp_type dst_type, boolean aligned, LLVMValueRef base_ptr, LLVMValueRef offsets, boolean vector_justify) argument [all...] |
H A D | lp_bld_pack.c | 373 struct lp_type dst_type, 383 assert(!dst_type.floating); 384 assert(dst_type.width == src_type.width * 2); 385 assert(dst_type.length * 2 == src_type.length); 387 if(dst_type.sign && src_type.sign) { 407 dst_vec_type = lp_build_vec_type(gallivm, dst_type); 426 struct lp_type dst_type, 436 assert(!dst_type.floating); 437 assert(dst_type.width == src_type.width * 2); 438 assert(dst_type 371 lp_build_unpack2(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef src, LLVMValueRef *dst_lo, LLVMValueRef *dst_hi) argument 424 lp_build_unpack2_native(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef src, LLVMValueRef *dst_lo, LLVMValueRef *dst_hi) argument 479 lp_build_unpack(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef src, LLVMValueRef *dst, unsigned num_dsts) argument 534 lp_build_pack2(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef lo, LLVMValueRef hi) argument 690 lp_build_pack2_native(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef lo, LLVMValueRef hi) argument 742 lp_build_packs2(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef lo, LLVMValueRef hi) argument 787 lp_build_pack(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, boolean clamped, const LLVMValueRef *src, unsigned num_srcs) argument 847 lp_build_resize(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, const LLVMValueRef *src, unsigned num_srcs, LLVMValueRef *dst, unsigned num_dsts) argument [all...] |
H A 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,
|
H A D | lp_bld_tgsi_action.h | 64 LLVMTypeRef dst_type; member in struct:lp_build_emit_data 98 * 3. Setting the destination type in emit_data->dst_type (usually only
|
H A D | lp_bld_swizzle.h | 64 struct lp_type dst_type, 136 struct lp_type dst_type, 144 struct lp_type dst_type,
|
H A D | lp_bld_gather.h | 58 struct lp_type dst_type,
|
H A D | lp_bld_swizzle.c | 94 struct lp_type dst_type, 101 assert(src_type.floating == dst_type.floating); 102 assert(src_type.width == dst_type.width); 108 if (dst_type.length == 1) { 121 lp_build_vec_type(gallivm, dst_type), 126 if (dst_type.length > 1) { 133 LLVMVectorType(i32t, dst_type.length), 735 struct lp_type dst_type, 743 unsigned num_dst = dst_type.length; 772 struct lp_type dst_type, 92 lp_build_extract_broadcast(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef vector, LLVMValueRef index) argument 733 lp_build_pack_aos_scalars(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, const LLVMValueRef src, unsigned channel) argument 770 lp_build_unpack_broadcast_aos_scalars(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, const LLVMValueRef src) argument [all...] |
H A D | lp_bld_format_soa.c | 344 * \param dst_type The desired return type. For pure integer formats 354 struct lp_type dst_type, 359 LLVMValueRef mask = lp_build_const_int_vec(gallivm, dst_type, 0xff); 362 /* XXX technically shouldn't use that for uint dst_type */ 364 lp_build_int_vec_type(gallivm, dst_type), ""); 380 lp_build_const_int_vec(gallivm, dst_type, start), ""); 385 if (dst_type.floating) 386 input = lp_build_unsigned_norm_to_float(gallivm, 8, dst_type, input); 353 lp_build_rgba8_to_fi32_soa(struct gallivm_state *gallivm, struct lp_type dst_type, LLVMValueRef packed, LLVMValueRef *rgba) argument
|
H A D | lp_bld_format.h | 138 struct lp_type dst_type,
|
H A D | lp_bld_tgsi.c | 91 emit_data->dst_type = LLVMVoidTypeInContext(bld_base->base.gallivm->context); 94 emit_data->dst_type = LLVMTypeOf(emit_data->args[0]); 107 emit_data->dst_type, emit_data->args, emit_data->arg_count, 0);
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_test_conv.c | 56 "dst_type\n"); 65 struct lp_type dst_type, 71 fprintf(fp, "%.1f\t", cycles / MAX2(src_type.length, dst_type.length)); 76 dump_type(fp, dst_type); 86 struct lp_type dst_type) 91 fprintf(fp, " dst_type="); 92 dump_type(fp, dst_type); 102 struct lp_type dst_type, unsigned num_dsts) 117 args[1] = LLVMPointerType(lp_build_vec_type(gallivm, dst_type), 0); 135 lp_build_conv(gallivm, src_type, dst_type, sr 63 write_tsv_row(FILE *fp, struct lp_type src_type, struct lp_type dst_type, double cycles, boolean success) argument 84 dump_conv_types(FILE *fp, struct lp_type src_type, struct lp_type dst_type) argument 100 add_conv_test(struct gallivm_state *gallivm, struct lp_type src_type, unsigned num_srcs, struct lp_type dst_type, unsigned num_dsts) argument 153 test_one(unsigned verbose, FILE *fp, struct lp_type src_type, struct lp_type dst_type) argument 395 const struct lp_type *dst_type; local 423 const struct lp_type *dst_type; local [all...] |
H A D | lp_state_fs.c | 869 struct lp_type dst_type, 884 LLVMValueRef bx = lp_build_const_int32(gallivm, x * (dst_type.width / 8) * dst_type.length); 895 LLVMPointerType(lp_build_vec_type(gallivm, dst_type), 0), ""); 1223 have_smallfloat_format(struct lp_type dst_type, argument 1226 return ((dst_type.floating && dst_type.width != 32) || 1243 struct lp_type dst_type, 1268 assert(dst_type.floating); 1269 assert(dst_type 863 load_unswizzled_block(struct gallivm_state *gallivm, LLVMValueRef base_ptr, LLVMValueRef stride, unsigned block_width, unsigned block_height, LLVMValueRef* dst, struct lp_type dst_type, unsigned dst_count, unsigned dst_alignment) argument 1239 convert_to_blend_type(struct gallivm_state *gallivm, unsigned block_size, const struct util_format_description *src_fmt, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef* src, unsigned num_srcs) argument 1407 convert_from_blend_type(struct gallivm_state *gallivm, unsigned block_size, const struct util_format_description *src_fmt, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef* src, unsigned num_srcs) argument 1730 struct lp_type dst_type; local [all...] |
/external/valgrind/none/tests/s390x/ |
H A D | rounding-1.c | 26 #define convert_to_int(opcode,src_type,dst_type,dst_fmt,round,value) \ 29 dst_type dst; \
|
H A D | rounding-3.c | 42 #define convert_to_int(opcode,src_type,dst_type,dst_fmt,round,value) \ 45 dst_type dst; \
|
H A D | rounding-6.c | 30 #define convert_to_int(opcode,src_type,dst_type,dst_fmt,round,value) \ 33 dst_type dst; \
|
/external/libcxxabi/src/ |
H A D | private_typeinfo.cpp | 549 // dst_type: destination type of the cast (the "T" in "dynamic_cast<T>(v)"). 554 // -2: static_type is not a public base of dst_type 558 // base type of dst_type at offset src2dst_offset from the 559 // origin of dst_type. 574 // There are two flavors of nodes which have the type dst_type: 583 // or may not go through a node having type dst_type. 586 // there is only one node with dynamic_type. And if dynamic_type == dst_type, 587 // then there is only one dst_type in the DAG. 589 // No node of type dst_type appears above a node of type static_type. Such 591 // compile time, and only calls __dynamic_cast when dst_type lie 619 __dynamic_cast(const void *static_ptr, const __class_type_info *static_type, const __class_type_info *dst_type, std::ptrdiff_t src2dst_offset) argument [all...] |
H A D | private_typeinfo.h | 73 const __class_type_info* dst_type; member in struct:__cxxabiv1::__dynamic_cast_info 80 // pointer to a dst_type which has (static_ptr, static_type) above it 82 // pointer to a dst_type which does not have (static_ptr, static_type) above it 89 // when there is no dst_type along the path 91 // access of path from (dynamic_ptr, dynamic_type) to dst_type 92 // (not used if there is a (static_ptr, static_type) above a dst_type). 104 // Number of dst_type in tree. If 0, then that means unknown. 106 // communicates to a dst_type node that (static_ptr, static_type) was found 109 // communicates to a dst_type node that a static_type was found
|
/external/mesa3d/src/mesa/main/ |
H A D | format_utils.c | 277 enum mesa_array_format_datatype src_type = 0, dst_type = 0, common_type; local 400 dst_type = _mesa_array_format_get_datatype(dst_array_format); 418 _mesa_swizzle_and_convert(dst, dst_type, dst_num_channels, 530 _mesa_swizzle_and_convert(dst, dst_type, dst_num_channels, 573 _mesa_swizzle_and_convert(dst, dst_type, dst_num_channels, 617 _mesa_swizzle_and_convert(dst, dst_type, dst_num_channels, 756 enum mesa_array_format_datatype dst_type, 765 if (src_type != dst_type) 1465 * \param[in] dst_type the destination GL type of the converted 1490 _mesa_swizzle_and_convert(void *void_dst, enum mesa_array_format_datatype dst_type, in argument 755 swizzle_convert_try_memcpy(void *dst, enum mesa_array_format_datatype dst_type, int num_dst_channels, const void *src, enum mesa_array_format_datatype src_type, int num_src_channels, const uint8_t swizzle[4], bool normalized, int count) argument [all...] |
H A D | pack.h | 96 GLenum dst_type);
|
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
H A D | ir3_print.c | 78 if (instr->cat1.src_type == instr->cat1.dst_type) 82 printf(".%s%s", type[instr->cat1.src_type], type[instr->cat1.dst_type]);
|
/external/opencv/ml/src/ |
H A D | ml_inner_functions.cpp | 1331 uchar* dst, int dst_step, int dst_type, 1340 dst_type = CV_MAT_TYPE(dst_type); 1342 if( CV_MAT_CN(src_type) != 1 || CV_MAT_CN(dst_type) != 1 ) 1349 dst_step = CV_ELEM_SIZE(dst_type); 1354 CV_ELEM_SIZE(dst_type)*size.width == dst_step ) 1360 if( src_type == dst_type ) 1362 int full_width = CV_ELEM_SIZE(dst_type)*size.width; 1371 else if( src_type == CV_32SC1 && (dst_type == CV_32FC1 || dst_type 1330 icvConvertDataToSparse( const uchar* src, int src_step, int src_type, uchar* dst, int dst_step, int dst_type, CvSize size, int* idx ) argument [all...] |
/external/opencv/cv/src/ |
H A D | cvderiv.cpp | 188 int src_type, dst_type; local 201 dst_type = CV_MAT_TYPE( dst->type ); 208 (src_type == CV_8UC1 && dst_type == CV_16SC1/* || 209 src_type == CV_32FC1 && dst_type == CV_32FC1*/) ) 338 CV_CALL( filter.init_deriv( src->cols, src_type, dst_type, dx, dy, 385 int dst_depth = CV_MAT_DEPTH(dst_type); 387 work_type = CV_MAKETYPE( work_depth, CV_MAT_CN(dst_type)*2 ); 810 int src_type, dst_type; local 816 dst_type = CV_MAT_TYPE(dst->type); 819 (src_type == CV_8UC1 && dst_type [all...] |