Searched refs:src_type (Results 1 - 25 of 59) sorted by relevance

123

/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format_aos_array.c59 struct lp_type src_type; local
61 memset(&src_type, 0, sizeof src_type);
62 src_type.floating = format_desc->channel[0].type == UTIL_FORMAT_TYPE_FLOAT;
63 src_type.fixed = format_desc->channel[0].type == UTIL_FORMAT_TYPE_FIXED;
64 src_type.sign = format_desc->channel[0].type != UTIL_FORMAT_TYPE_UNSIGNED;
65 src_type.norm = format_desc->channel[0].normalized;
66 src_type.width = format_desc->channel[0].size;
67 src_type.length = format_desc->nr_channels;
69 assert(src_type
[all...]
H A Dlp_bld_pack.c184 struct lp_type src_type,
191 assert(src_type.length * num_vectors <= Elements(shuffles));
194 new_length = src_type.length;
276 struct lp_type src_type,
286 assert(!src_type.floating);
288 assert(dst_type.width == src_type.width * 2);
289 assert(dst_type.length * 2 == src_type.length);
291 if(dst_type.sign && src_type.sign) {
293 msb = LLVMBuildAShr(builder, src, lp_build_const_int_vec(gallivm, src_type, src_type
182 lp_build_concat(struct gallivm_state *gallivm, LLVMValueRef src[], struct lp_type src_type, unsigned num_vectors) argument
275 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
324 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
378 lp_build_pack2(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef lo, LLVMValueRef hi) argument
499 lp_build_packs2(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef lo, LLVMValueRef hi) argument
543 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
603 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
747 lp_build_pad_vector(struct gallivm_state *gallivm, LLVMValueRef src, struct lp_type src_type, unsigned dst_length) argument
[all...]
H A Dlp_bld_conv.h47 struct lp_type src_type,
52 struct lp_type src_type,
65 struct lp_type src_type,
72 struct lp_type src_type,
H A Dlp_bld_pack.h64 struct lp_type src_type,
73 struct lp_type src_type,
87 struct lp_type src_type,
92 struct lp_type src_type,
100 struct lp_type src_type,
108 struct lp_type src_type,
116 struct lp_type src_type,
125 struct lp_type src_type,
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
81 * @param src_type <vector> type of int16
88 struct lp_type src_type,
91 struct lp_type f32_type = lp_type_float_vec(32, 32 * src_type.length);
92 struct lp_type i32_type = lp_type_int_vec(32, 32 * src_type.length);
153 struct lp_type src_type,
158 LLVMTypeRef int_vec_type = lp_build_int_vec_type(gallivm, src_type);
162 assert(src_type
87 lp_build_half_to_float(struct gallivm_state *gallivm, struct lp_type src_type, LLVMValueRef src) argument
152 lp_build_clamped_float_to_unsigned_norm(struct gallivm_state *gallivm, struct lp_type src_type, unsigned dst_width, LLVMValueRef src) argument
353 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
720 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_intr.c145 struct lp_type src_type,
151 struct lp_type intrin_type = src_type;
155 unsigned intrin_length = intr_size / src_type.width;
159 if (intrin_length > src_type.length) {
163 for (i = 0; i < src_type.length; i++) {
169 if (src_type.length == 1) {
180 if (src_type.length > 1) {
181 constvec = LLVMConstVector(elems, src_type.length);
188 else if (intrin_length < src_type.length) {
189 unsigned num_vec = src_type
143 lp_build_intrinsic_binary_anylength(struct gallivm_state *gallivm, const char *name, struct lp_type src_type, unsigned intr_size, LLVMValueRef a, LLVMValueRef b) argument
[all...]
H A Dlp_bld_swizzle.h63 struct lp_type src_type,
118 struct lp_type src_type,
125 struct lp_type src_type,
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format_aos_array.c59 struct lp_type src_type; local
61 memset(&src_type, 0, sizeof src_type);
62 src_type.floating = format_desc->channel[0].type == UTIL_FORMAT_TYPE_FLOAT;
63 src_type.fixed = format_desc->channel[0].type == UTIL_FORMAT_TYPE_FIXED;
64 src_type.sign = format_desc->channel[0].type != UTIL_FORMAT_TYPE_UNSIGNED;
65 src_type.norm = format_desc->channel[0].normalized;
66 src_type.width = format_desc->channel[0].size;
67 src_type.length = format_desc->nr_channels;
69 assert(src_type
[all...]
H A Dlp_bld_pack.c184 struct lp_type src_type,
191 assert(src_type.length * num_vectors <= Elements(shuffles));
194 new_length = src_type.length;
276 struct lp_type src_type,
286 assert(!src_type.floating);
288 assert(dst_type.width == src_type.width * 2);
289 assert(dst_type.length * 2 == src_type.length);
291 if(dst_type.sign && src_type.sign) {
293 msb = LLVMBuildAShr(builder, src, lp_build_const_int_vec(gallivm, src_type, src_type
182 lp_build_concat(struct gallivm_state *gallivm, LLVMValueRef src[], struct lp_type src_type, unsigned num_vectors) argument
275 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
324 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
378 lp_build_pack2(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef lo, LLVMValueRef hi) argument
499 lp_build_packs2(struct gallivm_state *gallivm, struct lp_type src_type, struct lp_type dst_type, LLVMValueRef lo, LLVMValueRef hi) argument
543 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
603 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
747 lp_build_pad_vector(struct gallivm_state *gallivm, LLVMValueRef src, struct lp_type src_type, unsigned dst_length) argument
[all...]
H A Dlp_bld_conv.h47 struct lp_type src_type,
52 struct lp_type src_type,
65 struct lp_type src_type,
72 struct lp_type src_type,
H A Dlp_bld_pack.h64 struct lp_type src_type,
73 struct lp_type src_type,
87 struct lp_type src_type,
92 struct lp_type src_type,
100 struct lp_type src_type,
108 struct lp_type src_type,
116 struct lp_type src_type,
125 struct lp_type src_type,
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
81 * @param src_type <vector> type of int16
88 struct lp_type src_type,
91 struct lp_type f32_type = lp_type_float_vec(32, 32 * src_type.length);
92 struct lp_type i32_type = lp_type_int_vec(32, 32 * src_type.length);
153 struct lp_type src_type,
158 LLVMTypeRef int_vec_type = lp_build_int_vec_type(gallivm, src_type);
162 assert(src_type
87 lp_build_half_to_float(struct gallivm_state *gallivm, struct lp_type src_type, LLVMValueRef src) argument
152 lp_build_clamped_float_to_unsigned_norm(struct gallivm_state *gallivm, struct lp_type src_type, unsigned dst_width, LLVMValueRef src) argument
353 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
720 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_intr.c145 struct lp_type src_type,
151 struct lp_type intrin_type = src_type;
155 unsigned intrin_length = intr_size / src_type.width;
159 if (intrin_length > src_type.length) {
163 for (i = 0; i < src_type.length; i++) {
169 if (src_type.length == 1) {
180 if (src_type.length > 1) {
181 constvec = LLVMConstVector(elems, src_type.length);
188 else if (intrin_length < src_type.length) {
189 unsigned num_vec = src_type
143 lp_build_intrinsic_binary_anylength(struct gallivm_state *gallivm, const char *name, struct lp_type src_type, unsigned intr_size, LLVMValueRef a, LLVMValueRef b) argument
[all...]
H A Dlp_bld_swizzle.h63 struct lp_type src_type,
118 struct lp_type src_type,
125 struct lp_type src_type,
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_test_conv.c55 "src_type\t"
64 struct lp_type src_type,
71 fprintf(fp, "%.1f\t", cycles / MAX2(src_type.length, dst_type.length));
73 dump_type(fp, src_type);
85 struct lp_type src_type,
88 fprintf(fp, "src_type=");
89 dump_type(fp, src_type);
101 struct lp_type src_type, unsigned num_srcs,
116 args[0] = LLVMPointerType(lp_build_vec_type(gallivm, src_type), 0);
135 lp_build_conv(gallivm, src_type, dst_typ
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
389 const struct lp_type *src_type; local
417 const struct lp_type *src_type; local
[all...]
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_test_conv.c55 "src_type\t"
64 struct lp_type src_type,
71 fprintf(fp, "%.1f\t", cycles / MAX2(src_type.length, dst_type.length));
73 dump_type(fp, src_type);
85 struct lp_type src_type,
88 fprintf(fp, "src_type=");
89 dump_type(fp, src_type);
101 struct lp_type src_type, unsigned num_srcs,
116 args[0] = LLVMPointerType(lp_build_vec_type(gallivm, src_type), 0);
135 lp_build_conv(gallivm, src_type, dst_typ
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
389 const struct lp_type *src_type; local
417 const struct lp_type *src_type; local
[all...]
/external/pixman/pixman/
H A Dpixman-mips-dspr2.h52 src_type, src_cnt, \
56 src_type *src, \
65 src_type *src_line, *src; \
69 PIXMAN_IMAGE_GET_LINE (src_image, src_x, src_y, src_type, \
169 src_type, src_cnt, \
173 src_type *src, \
183 src_type *src_line, *src; \
195 PIXMAN_IMAGE_GET_LINE (src_image, src_x, src_y, src_type, \
211 #define PIXMAN_MIPS_BIND_FAST_PATH_SRC_MASK_DST(name, src_type, src_cnt, \
216 src_type *sr
[all...]
H A Dpixman-arm-common.h54 src_type, src_cnt, \
61 src_type *src, \
70 src_type *src_line; \
73 PIXMAN_IMAGE_GET_LINE (src_image, src_x, src_y, src_type, \
156 src_type, src_cnt, \
163 src_type *src, \
173 src_type *src_line; \
185 PIXMAN_IMAGE_GET_LINE (src_image, src_x, src_y, src_type, \
195 src_type, src_cnt, \
203 src_type *sr
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
H A Dradeon_variable.h84 unsigned int src_type,
89 unsigned int src_type,
H A Dradeon_variable.c83 unsigned int src_type = rc_source_type_swz( local
95 if (rc_pair_remove_src(reader->Inst, src_type,
102 if (src_type & RC_SOURCE_RGB) {
110 if (src_type & RC_SOURCE_ALPHA) {
121 src_type & RC_SOURCE_RGB,
122 src_type & RC_SOURCE_ALPHA,
128 "Inst %u src_type=%x "
130 var->Inst->IP, reader->Inst->IP, src_type, new_index, new_writemask);
445 unsigned int src_type,
448 if (reader.Inst->Type != src_type) {
443 reader_equals_src( struct rc_reader reader, unsigned int src_type, void * src) argument
458 variable_writes_src( struct rc_variable * var, unsigned int src_type, void * src) argument
473 rc_variable_list_get_writers( struct rc_list * var_list, unsigned int src_type, void * src) argument
504 rc_variable_list_get_writers_one_reader( struct rc_list * var_list, unsigned int src_type, void * src) argument
[all...]
H A Dradeon_pair_dead_sources.c26 unsigned int src_type = rc_source_type_swz(sub->Arg[i].Swizzle); local
27 if (src_type & RC_SOURCE_RGB) {
31 if (src_type & RC_SOURCE_ALPHA) {
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_variable.h84 unsigned int src_type,
89 unsigned int src_type,
H A Dradeon_variable.c83 unsigned int src_type = rc_source_type_swz( local
95 if (rc_pair_remove_src(reader->Inst, src_type,
102 if (src_type & RC_SOURCE_RGB) {
110 if (src_type & RC_SOURCE_ALPHA) {
121 src_type & RC_SOURCE_RGB,
122 src_type & RC_SOURCE_ALPHA,
128 "Inst %u src_type=%x "
130 var->Inst->IP, reader->Inst->IP, src_type, new_index, new_writemask);
445 unsigned int src_type,
448 if (reader.Inst->Type != src_type) {
443 reader_equals_src( struct rc_reader reader, unsigned int src_type, void * src) argument
458 variable_writes_src( struct rc_variable * var, unsigned int src_type, void * src) argument
473 rc_variable_list_get_writers( struct rc_list * var_list, unsigned int src_type, void * src) argument
504 rc_variable_list_get_writers_one_reader( struct rc_list * var_list, unsigned int src_type, void * src) argument
[all...]
H A Dradeon_pair_dead_sources.c26 unsigned int src_type = rc_source_type_swz(sub->Arg[i].Swizzle); local
27 if (src_type & RC_SOURCE_RGB) {
31 if (src_type & RC_SOURCE_ALPHA) {
/external/valgrind/main/none/tests/s390x/
H A Drounding-1.c26 #define convert_to_int(opcode,src_type,dst_type,dst_fmt,round,value) \
28 src_type src = value; \

Completed in 413 milliseconds

123