Home
last modified time | relevance | path

Searched refs:num_srcs (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_pack.c547 const LLVMValueRef *src, unsigned num_srcs) in lp_build_pack() argument
561 assert(src_type.length * num_srcs == dst_type.length); in lp_build_pack()
568 for(i = 0; i < num_srcs; ++i) in lp_build_pack()
581 num_srcs /= 2; in lp_build_pack()
583 for(i = 0; i < num_srcs; ++i) in lp_build_pack()
590 assert(num_srcs == 1); in lp_build_pack()
606 const LLVMValueRef *src, unsigned num_srcs, in lp_build_resize() argument
627 assert(src_type.length * num_srcs == dst_type.length * num_dsts); in lp_build_resize()
630 assert(num_srcs == 1 || num_dsts == 1); in lp_build_resize()
634 assert(num_srcs <= LP_MAX_VECTOR_LENGTH); in lp_build_resize()
[all …]
Dlp_bld_conv.c356 const LLVMValueRef *src, unsigned num_srcs, in lp_build_conv() argument
366 assert(src_type.length * num_srcs == dst_type.length * num_dsts); in lp_build_conv()
370 assert(num_srcs <= LP_MAX_VECTOR_LENGTH); in lp_build_conv()
374 for(i = 0; i < num_srcs; ++i) { in lp_build_conv()
378 num_tmps = num_srcs; in lp_build_conv()
397 4 * num_dsts == num_srcs && in lp_build_conv()
452 2 * num_dsts == num_srcs && in lp_build_conv()
628 lp_build_resize(gallivm, tmp_type, new_type, tmp, num_srcs, tmp, num_dsts); in lp_build_conv()
723 const LLVMValueRef *src, unsigned num_srcs, in lp_build_conv_mask() argument
728 assert(src_type.length * num_srcs == dst_type.length * num_dsts); in lp_build_conv_mask()
[all …]
Dlp_bld_conv.h67 const LLVMValueRef *srcs, unsigned num_srcs,
74 const LLVMValueRef *src, unsigned num_srcs,
Dlp_bld_pack.h111 const LLVMValueRef *src, unsigned num_srcs);
118 const LLVMValueRef *src, unsigned num_srcs,
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_test_conv.c101 struct lp_type src_type, unsigned num_srcs, in add_conv_test() argument
129 for(i = 0; i < num_srcs; ++i) { in add_conv_test()
135 lp_build_conv(gallivm, src_type, dst_type, src, num_srcs, dst, num_dsts); in add_conv_test()
165 unsigned num_srcs; in test_one() local
197 num_srcs = 1; in test_one()
202 num_srcs = dst_type.length/src_type.length; in test_one()
206 num_srcs = 1; in test_one()
210 assert(src_type.length * num_srcs == dst_type.length * num_dsts); in test_one()
216 func = add_conv_test(gallivm, src_type, num_srcs, dst_type, num_dsts); in test_one()
233 for(j = 0; j < num_srcs; ++j) { in test_one()
[all …]
/external/mesa3d/src/mesa/program/
Dprog_opt_constant_fold.c34 src_regs_are_constant(const struct prog_instruction *inst, unsigned num_srcs) in src_regs_are_constant() argument
38 for (i = 0; i < num_srcs; i++) { in src_regs_are_constant()