Home
last modified time | relevance | path

Searched refs:num_dst (Results 1 – 22 of 22) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_swizzle.c743 unsigned num_dst = dst_type.length; in lp_build_pack_aos_scalars() local
746 assert(num_src <= num_dst); in lp_build_pack_aos_scalars()
751 for (i = num_src; i < num_dst; i++) { in lp_build_pack_aos_scalars()
755 if (num_dst == 1) { in lp_build_pack_aos_scalars()
760 LLVMConstVector(shuffles, num_dst), ""); in lp_build_pack_aos_scalars()
777 unsigned num_dst = dst_type.length; in lp_build_unpack_broadcast_aos_scalars() local
781 assert(num_dst / 4 <= src_type.length); in lp_build_unpack_broadcast_aos_scalars()
796 LLVMConstVector(shuffles, num_dst), ""); in lp_build_unpack_broadcast_aos_scalars()
Dlp_bld_tgsi.c267 assert(info->num_dst <= 2); in lp_build_tgsi_inst_llvm()
268 if (info->num_dst) { in lp_build_tgsi_inst_llvm()
273 if (info->num_dst >= 2) { in lp_build_tgsi_inst_llvm()
319 if (info->num_dst >= 2) { in lp_build_tgsi_inst_llvm()
329 if (info->num_dst > 0 && info->opcode != TGSI_OPCODE_STORE) { in lp_build_tgsi_inst_llvm()
331 if (info->num_dst >= 2) in lp_build_tgsi_inst_llvm()
Dlp_bld_tgsi_aos.c451 assert(info->num_dst <= 1); in lp_emit_instruction_aos()
452 if (info->num_dst) { in lp_emit_instruction_aos()
849 if (info->num_dst) { in lp_emit_instruction_aos()
/external/mesa3d/src/gallium/drivers/svga/svgadump/
Dsvga_shader_dump.c488 uint num_dst, in parse_op() argument
493 assert(num_dst <= 1); in parse_op()
499 if (num_dst >= 1) { in parse_op()
536 assert(info->num_dst <= 1); in dump_inst()
544 parse_op(di, assem, &dop, info->num_dst, info->num_src); in dump_inst()
545 if (info->num_dst > 0) { in dump_inst()
Dsvga_shader_op.h39 unsigned num_dst:8; member
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c76 unsigned num_dst; member
124 return (op_table[opcode].num_dst > 0); in op_has_dst()
129 return op_table[opcode].num_dst; in op_num_dst()
296 int num_dst, num_src; in liveness_analysis() local
313 num_dst = op_num_dst(opcode); in liveness_analysis()
315 switch(num_dst) in liveness_analysis()
323 debug_printf("Op %d has %d dst regs\n", opcode, num_dst); in liveness_analysis()
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_info.h74 unsigned num_dst:3; member
Dtgsi_text.c1044 if (info->num_dst + info->num_src + info->is_tex == 0) { in parse_instruction()
1065 inst.Instruction.NumDstRegs = info->num_dst; in parse_instruction()
1086 for (i = 0; i < info->num_dst + info->num_src + info->is_tex; i++) { in parse_instruction()
1097 if (i < info->num_dst) { in parse_instruction()
1101 else if (i < info->num_dst + info->num_src) { in parse_instruction()
1102 if (!parse_src_operand( ctx, &inst.Src[i - info->num_dst] )) in parse_instruction()
Dtgsi_sanity.c328 if (info->num_dst != inst->Instruction.NumDstRegs) { in iter_instruction()
329 …( ctx, "%s: Invalid number of destination operands, should be %u", info->mnemonic, info->num_dst ); in iter_instruction()
Dtgsi_ureg.c916 assert(nr_dst == info->num_dst); in validate()
931 unsigned num_dst, in ureg_emit_insn() argument
938 validate( opcode, num_dst, num_src ); in ureg_emit_insn()
945 out[0].insn.NumDstRegs = num_dst; in ureg_emit_insn()
Dtgsi_ureg.h514 unsigned num_dst,
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_info.h74 unsigned num_dst:3; member
Dtgsi_text.c1058 if (info->num_dst + info->num_src + info->is_tex == 0) { in parse_instruction()
1079 inst.Instruction.NumDstRegs = info->num_dst; in parse_instruction()
1098 assume(info->num_dst <= TGSI_FULL_MAX_DST_REGISTERS); in parse_instruction()
1103 for (i = 0; i < info->num_dst + info->num_src + info->is_tex; i++) { in parse_instruction()
1114 if (i < info->num_dst) { in parse_instruction()
1118 else if (i < info->num_dst + info->num_src) { in parse_instruction()
1119 if (!parse_src_operand( ctx, &inst.Src[i - info->num_dst] )) in parse_instruction()
Dtgsi_info.c40 .output_mode = _output_mode, .num_dst = _num_dst, .num_src = _num_src, \
Dtgsi_sanity.c328 if (info->num_dst != inst->Instruction.NumDstRegs) { in iter_instruction()
330 tgsi_get_opcode_name(inst->Instruction.Opcode), info->num_dst ); in iter_instruction()
Dtgsi_ureg.c1241 assert(nr_dst == info->num_dst); in validate()
1252 unsigned num_dst, in ureg_emit_insn() argument
1259 validate( opcode, num_dst, num_src ); in ureg_emit_insn()
1266 out[0].insn.NumDstRegs = num_dst; in ureg_emit_insn()
Dtgsi_ureg.h598 unsigned num_dst,
/external/mesa3d/src/mesa/state_tracker/
Dst_mesa_to_tgsi.c519 unsigned num_dst; in compile_instruction() local
522 num_dst = _mesa_num_inst_dst_regs(inst->Opcode); in compile_instruction()
525 if (num_dst) in compile_instruction()
542 dst, num_dst, in compile_instruction()
600 dst, num_dst, in compile_instruction()
Dst_glsl_to_tgsi_private.h171 return op->info->num_dst; in num_inst_dst_regs()
Dst_glsl_to_tgsi.cpp5800 int num_dst; in compile_tgsi_instruction() local
5804 num_dst = num_inst_dst_regs(inst); in compile_tgsi_instruction()
5807 for (i = 0; i < num_dst; i++) in compile_tgsi_instruction()
5821 assert(num_dst == 0); in compile_tgsi_instruction()
5859 dst, num_dst, in compile_tgsi_instruction()
5904 ureg_memory_insn(ureg, inst->op, dst, num_dst, src, num_src, in compile_tgsi_instruction()
5928 ureg_memory_insn(ureg, inst->op, dst, num_dst, src, num_src, in compile_tgsi_instruction()
5936 dst, num_dst, in compile_tgsi_instruction()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler.c1062 assert(info->num_dst <= 1); in trans_instr()
1063 if (info->num_dst) in trans_instr()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c5364 for (i = 0; i < op->num_dst; i++) { in emit_simple()