Searched refs:dst_type (Results 1 - 25 of 100) sorted by relevance

1234

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format_aos_array.c48 * \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 Dlp_bld_conv.c43 * 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 Dlp_bld_conv.h62 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 Dlp_bld_gather.c168 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), "");
282 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
279 lp_build_gather_avx2(struct gallivm_state * gallivm,unsigned length,unsigned src_width,struct lp_type dst_type,LLVMValueRef base_ptr,LLVMValueRef offsets) argument
409 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 Dlp_bld_pack.c409 struct lp_type dst_type,
419 assert(!dst_type.floating);
420 assert(dst_type.width == src_type.width * 2);
421 assert(dst_type.length * 2 == src_type.length);
423 if(dst_type.sign && src_type.sign) {
443 dst_vec_type = lp_build_vec_type(gallivm, dst_type);
462 struct lp_type dst_type,
472 assert(!dst_type.floating);
473 assert(dst_type.width == src_type.width * 2);
474 assert(dst_type
407 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
460 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
515 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
570 lp_build_pack2(struct gallivm_state * gallivm,struct lp_type src_type,struct lp_type dst_type,LLVMValueRef lo,LLVMValueRef hi) argument
726 lp_build_pack2_native(struct gallivm_state * gallivm,struct lp_type src_type,struct lp_type dst_type,LLVMValueRef lo,LLVMValueRef hi) argument
778 lp_build_packs2(struct gallivm_state * gallivm,struct lp_type src_type,struct lp_type dst_type,LLVMValueRef lo,LLVMValueRef hi) argument
823 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
883 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 Dlp_bld_pack.h70 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 Dlp_bld_tgsi_action.h64 LLVMTypeRef dst_type; member in struct:lp_build_emit_data
103 * 3. Setting the destination type in emit_data->dst_type (usually only
H A Dlp_bld_swizzle.h64 struct lp_type dst_type,
136 struct lp_type dst_type,
144 struct lp_type dst_type,
H A Dlp_bld_gather.h58 struct lp_type dst_type,
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format_aos_array.c48 * \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 Dlp_bld_conv.c43 * src_type.width * src_type.length == dst_type.width * dst_type.length
47 * src_type.length * num_srcs == dst_type.length * num_dsts
395 struct lp_type dst_type,
399 LLVMTypeRef vec_type = lp_build_vec_type(gallivm, dst_type);
400 LLVMTypeRef int_vec_type = lp_build_int_vec_type(gallivm, dst_type);
410 assert(dst_type.floating);
412 mantissa = lp_mantissa(dst_type);
424 lp_build_const_vec(gallivm, dst_type, scale), "");
445 lp_build_const_int_vec(gallivm, dst_type, shif
393 lp_build_unsigned_norm_to_float(struct gallivm_state * gallivm,unsigned src_width,struct lp_type dst_type,LLVMValueRef src) argument
469 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
561 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
1070 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 Dlp_bld_conv.h62 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 Dlp_bld_gather.c168 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), "");
282 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
279 lp_build_gather_avx2(struct gallivm_state * gallivm,unsigned length,unsigned src_width,struct lp_type dst_type,LLVMValueRef base_ptr,LLVMValueRef offsets) argument
409 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 Dlp_bld_pack.c409 struct lp_type dst_type,
419 assert(!dst_type.floating);
420 assert(dst_type.width == src_type.width * 2);
421 assert(dst_type.length * 2 == src_type.length);
423 if(dst_type.sign && src_type.sign) {
443 dst_vec_type = lp_build_vec_type(gallivm, dst_type);
462 struct lp_type dst_type,
472 assert(!dst_type.floating);
473 assert(dst_type.width == src_type.width * 2);
474 assert(dst_type
407 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
460 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
515 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
570 lp_build_pack2(struct gallivm_state * gallivm,struct lp_type src_type,struct lp_type dst_type,LLVMValueRef lo,LLVMValueRef hi) argument
726 lp_build_pack2_native(struct gallivm_state * gallivm,struct lp_type src_type,struct lp_type dst_type,LLVMValueRef lo,LLVMValueRef hi) argument
778 lp_build_packs2(struct gallivm_state * gallivm,struct lp_type src_type,struct lp_type dst_type,LLVMValueRef lo,LLVMValueRef hi) argument
823 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
883 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 Dlp_bld_pack.h70 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 Dlp_bld_tgsi_action.h64 LLVMTypeRef dst_type; member in struct:lp_build_emit_data
103 * 3. Setting the destination type in emit_data->dst_type (usually only
H A Dlp_bld_swizzle.h64 struct lp_type dst_type,
136 struct lp_type dst_type,
144 struct lp_type dst_type,
H A Dlp_bld_gather.h58 struct lp_type dst_type,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_test_conv.c56 "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
403 const struct lp_type *dst_type; local in function:test_all
431 const struct lp_type *dst_type; local in function:test_some
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_test_conv.c56 "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
403 const struct lp_type *dst_type; local in function:test_all
431 const struct lp_type *dst_type; local in function:test_some
[all...]
/xsrc/external/mit/pixman/dist/pixman/
H A Dpixman-mips-dspr2.h53 dst_type, dst_cnt) \
55 pixman_composite_##name##_asm_mips (dst_type *dst, \
64 dst_type *dst_line, *dst; \
71 PIXMAN_IMAGE_GET_LINE (dest_image, dest_x, dest_y, dst_type, \
91 dst_type, dst_cnt) \
93 pixman_composite_##name##_asm_mips (dst_type *dst, \
102 dst_type *dst_line, *dst; \
112 PIXMAN_IMAGE_GET_LINE (dest_image, dest_x, dest_y, dst_type, \
128 dst_type, dst_cnt) \
130 pixman_composite_##name##_asm_mips (dst_type *ds
[all...]
H A Dpixman-arm-common.h55 dst_type, dst_cnt) \
59 dst_type *dst, \
69 dst_type *dst_line; \
75 PIXMAN_IMAGE_GET_LINE (dest_image, dest_x, dest_y, dst_type, \
84 dst_type, dst_cnt) \
88 dst_type *dst, \
97 dst_type *dst_line; \
107 PIXMAN_IMAGE_GET_LINE (dest_image, dest_x, dest_y, dst_type, \
117 dst_type, dst_cnt) \
121 dst_type *ds
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_nir_lower_conversions.c30 nir_alu_type dst_type,
35 nir_alu_type dst_full_type = (nir_alu_type) (dst_type | dst_bit_size);
74 nir_alu_type dst_type = nir_alu_type_get_base_type(dst_full_type); local in function:lower_instr
95 dst_type, dst_bit_size,
117 nir_op op1 = get_conversion_op(src_type, src_bit_size, dst_type, 32,
119 nir_op op2 = get_conversion_op(dst_type, 32, dst_type, dst_bit_size,
28 get_conversion_op(nir_alu_type src_type,unsigned src_bit_size,nir_alu_type dst_type,unsigned dst_bit_size,nir_rounding_mode rounding_mode) argument
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_nir_lower_conversions.c30 nir_alu_type dst_type,
35 nir_alu_type dst_full_type = (nir_alu_type) (dst_type | dst_bit_size);
74 nir_alu_type dst_type = nir_alu_type_get_base_type(dst_full_type); local in function:lower_alu_instr
95 dst_type, dst_bit_size,
117 nir_op op1 = get_conversion_op(src_type, src_bit_size, dst_type, 32,
119 nir_op op2 = get_conversion_op(dst_type, 32, dst_type, dst_bit_size,
28 get_conversion_op(nir_alu_type src_type,unsigned src_bit_size,nir_alu_type dst_type,unsigned dst_bit_size,nir_rounding_mode rounding_mode) argument
/xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
H A Dir3_cf.c37 if (type_size(instr->cat1.src_type) == type_size(instr->cat1.dst_type) ||
38 full_type(instr->cat1.src_type) != full_type(instr->cat1.dst_type))
77 if (type_size(instr->cat1.dst_type) < type_size(instr->cat1.src_type))
123 use->cat1.src_type = use->cat1.dst_type;
149 type_t dst_type = ir3_output_conv_dst_type(src, base_type); local in function:try_conversion_folding
155 if (src_type != dst_type)

Completed in 16 milliseconds

1234