/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/ |
D | lower.c | 90 assert(alu->num_src == 2); in ppir_lower_swap_args() 156 alu->num_src = 2; in ppir_lower_ddxy() 245 move_alu->num_src = 1; in ppir_lower_select() 289 assert(alu->num_src == 1); in ppir_lower_abs() 303 assert(alu->num_src == 1); in ppir_lower_neg() 316 assert(alu->num_src == 1); in ppir_lower_sat() 398 assert(cond->num_src == 2); in ppir_lower_branch_merge_condition() 400 branch->num_src = 2; in ppir_lower_branch_merge_condition() 422 if (branch->num_src == 0) in ppir_lower_branch() 452 branch->num_src = 2; in ppir_lower_branch() [all …]
|
D | ppir.h | 278 int num_src; member 305 int num_src; member 321 int num_src; member 396 int num_src; member 527 return ppir_node_to_alu(node)->num_src; in ppir_node_get_src_num() 529 return ppir_node_to_branch(node)->num_src; in ppir_node_get_src_num() 531 return ppir_node_to_load(node)->num_src; in ppir_node_get_src_num() 533 return ppir_node_to_load_texture(node)->num_src; in ppir_node_get_src_num()
|
D | nir.c | 192 node->num_src = num_child; in ppir_emit_alu() 247 branch->num_src = 1; in ppir_emit_discard_if() 282 lnode->num_src = 1; in ppir_emit_intrinsic() 331 lnode->num_src = 1; in ppir_emit_intrinsic() 386 alu_node->num_src = 1; in ppir_emit_intrinsic() 517 node->num_src++; in ppir_emit_tex() 525 node->num_src++; in ppir_emit_tex() 551 load->num_src = 1; in ppir_emit_tex() 619 branch->num_src = 0; in ppir_emit_jump() 684 else_branch->num_src = 1; in ppir_emit_if() [all …]
|
D | codegen.c | 69 if (load->num_src) { in ppir_codegen_encode_varying() 117 if (load->num_src) { in ppir_codegen_encode_varying() 195 if (load->num_src) { in ppir_codegen_encode_uniform() 286 if (alu->num_src == 2) { in ppir_codegen_encode_vec_mul() 357 if (alu->num_src == 2) { in ppir_codegen_encode_scl_mul() 445 if (++src < alu->src + alu->num_src) { in ppir_codegen_encode_vec_add() 523 if (++src < alu->src + alu->num_src) { in ppir_codegen_encode_scl_add() 641 if (branch->num_src == 2) { in ppir_codegen_encode_branch() 647 } else if (branch->num_src == 0) { in ppir_codegen_encode_branch()
|
D | instr.c | 77 if (add_alu->num_src > 1) { in ppir_instr_insert_mul_node() 78 ppir_src *last_src = add_alu->src + add_alu->num_src - 1; in ppir_instr_insert_mul_node() 85 if (add_alu->num_src == 3) { in ppir_instr_insert_mul_node() 161 for (int j = 0; j < alu->num_src; j++) { in ppir_instr_update_src_pipeline()
|
D | node.c | 436 for (int i = 0; i < alu->num_src; i++) in ppir_node_replace_child() 456 for (int i = 0; i < load_texture->num_src; i++) in ppir_node_replace_child() 616 alu->num_src = 1; in ppir_node_insert_mov_local()
|
/third_party/mesa3d/src/gallium/drivers/svga/svgadump/ |
D | svga_shader_dump.c | 492 uint num_src) in parse_op() argument 497 assert(num_src <= DUMP_MAX_OP_SRC); in parse_op() 517 for (i = 0; i < num_src; ++i) { in parse_op() 547 parse_op(di, assem, &dop, info->num_dst, info->num_src); in dump_inst() 553 for (i = 0; i < info->num_src; i++) { in dump_inst() 650 assert(info.num_src == 0); in svga_shader_dump() 652 info.num_src = 1; in svga_shader_dump() 665 assert(info.num_src == 0); in svga_shader_dump() 668 info.num_src = 2; in svga_shader_dump() 671 info.num_src = 1; in svga_shader_dump() [all …]
|
D | svga_shader_op.h | 40 unsigned num_src:8; member
|
/third_party/mesa3d/src/broadcom/qpu/ |
D | qpu_disasm.c | 105 int num_src = v3d_qpu_add_op_num_src(instr->alu.add.op); in v3d_qpu_disasm_add() local 121 if (num_src >= 1) { in v3d_qpu_disasm_add() 129 if (num_src >= 2) { in v3d_qpu_disasm_add() 142 int num_src = v3d_qpu_mul_op_num_src(instr->alu.mul.op); in v3d_qpu_disasm_mul() local 164 if (num_src >= 1) { in v3d_qpu_disasm_mul() 172 if (num_src >= 2) { in v3d_qpu_disasm_mul()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_swizzle.c | 748 unsigned num_src = src_type.length / 4; in lp_build_pack_aos_scalars() local 751 assert(num_src <= num_dst); in lp_build_pack_aos_scalars() 753 for (unsigned i = 0; i < num_src; i++) { in lp_build_pack_aos_scalars() 756 for (unsigned i = num_src; i < num_dst; i++) { in lp_build_pack_aos_scalars() 783 unsigned num_src = dst_type.length / 4; in lp_build_unpack_broadcast_aos_scalars() local 787 for (unsigned i = 0; i < num_src; i++) { in lp_build_unpack_broadcast_aos_scalars() 794 if (num_src == 1) { in lp_build_unpack_broadcast_aos_scalars()
|
D | lp_bld_tgsi.c | 184 for (unsigned src = 0; src < emit_data->info->num_src; src++) { in lp_build_fetch_args() 188 emit_data->arg_count = emit_data->info->num_src; in lp_build_fetch_args()
|
/third_party/mesa3d/src/amd/common/ |
D | ac_nir_lower_global_access.c | 158 unsigned num_src = nir_intrinsic_infos[intrin->intrinsic].num_srcs; in process_instr() local 159 for (unsigned i = 0; i < num_src; i++) in process_instr() 161 new_intrin->src[num_src] = nir_src_for_ssa(offset ? offset : nir_imm_zero(b, 1, 32)); in process_instr()
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
D | i915_fpc_optimize.c | 82 unsigned num_src; member 142 return op_table[opcode].num_src; in op_num_src() 295 int num_dst, num_src; in liveness_analysis() local 332 num_src = op_num_src(opcode); in liveness_analysis() 334 switch (num_src) { in liveness_analysis() 350 debug_printf("Op %d has %d src regs\n", opcode, num_src); in liveness_analysis()
|
/third_party/mesa3d/src/gallium/frontends/d3d10umd/ |
D | ShaderParse.c | 64 unsigned num_src; member 419 opcode->num_src = 0; in Shader_parse_opcode() 424 opcode->num_src = info->num_src; in Shader_parse_opcode() 452 for (i = 0; i < info->num_src; i++) { in Shader_parse_opcode()
|
D | ShaderParse.h | 117 unsigned num_src; member
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_asm.c | 317 unsigned num_src = r600_bytecode_get_num_operands(alu); in alu_uses_rel() local 324 for (src = 0; src < num_src; ++src) { in alu_uses_rel() 339 unsigned num_src = r600_bytecode_get_num_operands(alu); in alu_uses_lds() local 342 for (src = 0; src < num_src; ++src) { in alu_uses_lds() 515 int r, src, num_src, sel, elem, cycle; in check_vector() local 517 num_src = r600_bytecode_get_num_operands(alu); in check_vector() 518 for (src = 0; src < num_src; src++) { in check_vector() 545 int r, src, num_src, const_count, sel, elem, cycle; in check_scalar() local 547 num_src = r600_bytecode_get_num_operands(alu); in check_scalar() 548 for (const_count = 0, src = 0; src < num_src; ++src) { in check_scalar() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_to_tgsi.c | 310 for (int i = 0; i < opcode_info->num_src; i++) { in ntt_live_reg_setup_def_use() 501 for (int i = 0; i < opcode_info->num_src; i++) { in ntt_allocate_regs() 1882 int num_src = 0; in ntt_emit_mem() local 1919 src[num_src++] = ntt_get_src(c, instr->src[next_src + 1]); /* offset */ in ntt_emit_mem() 1920 src[num_src++] = ntt_get_src(c, instr->src[0]); /* value */ in ntt_emit_mem() 1922 src[num_src++] = memory; in ntt_emit_mem() 1924 src[num_src++] = ntt_get_src(c, instr->src[next_src++]); /* offset */ in ntt_emit_mem() 1927 src[num_src++] = ureg_imm1i(c->ureg, 1); in ntt_emit_mem() 1930 src[num_src++] = ureg_imm1i(c->ureg, -1); in ntt_emit_mem() 1934 src[num_src++] = ntt_get_src(c, instr->src[next_src++]); /* value */ in ntt_emit_mem() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_info.h | 75 unsigned num_src:3; member
|
D | tgsi_text.c | 1058 if (info->num_dst + info->num_src + info->is_tex == 0) { in parse_instruction() 1080 inst.Instruction.NumSrcRegs = info->num_src; in parse_instruction() 1099 assume(info->num_src <= TGSI_FULL_MAX_SRC_REGISTERS); in parse_instruction() 1103 for (i = 0; i < info->num_dst + info->num_src + info->is_tex; i++) { in parse_instruction() 1118 else if (i < info->num_dst + info->num_src) { in parse_instruction()
|
D | tgsi_sanity.c | 332 if (info->num_src != inst->Instruction.NumSrcRegs) { in iter_instruction() 334 tgsi_get_opcode_name(inst->Instruction.Opcode), info->num_src ); in iter_instruction()
|
D | tgsi_info.c | 40 .output_mode = _output_mode, .num_dst = _num_dst, .num_src = _num_src, \
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_fs_analysis.c | 379 unsigned num_src = nir_op_infos[alu->op].num_inputs;; in llvmpipe_nir_fn_is_linear_compat() local 380 for (unsigned s = 0; s < num_src; s++) { in llvmpipe_nir_fn_is_linear_compat()
|
/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_pair_schedule.c | 709 int prev_rgb_index, prev_alpha_index, i, num_src; in presub_nop() local 726 num_src = rc_presubtract_src_reg_count( in presub_nop() 728 for (i = 0; i < num_src; i++) { in presub_nop() 743 num_src = rc_presubtract_src_reg_count( in presub_nop() 745 for (i = 0; i < num_src; i++) { in presub_nop()
|
/third_party/mesa3d/src/mesa/program/ |
D | program.c | 450 unsigned num_src = _mesa_num_inst_src_regs(inst->Opcode); in _mesa_add_separate_state_parameters() local 452 for (unsigned j = 0; j < num_src; j++) { in _mesa_add_separate_state_parameters()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_alu_width.c | 182 unsigned num_src = nir_op_infos[alu->op].num_inputs; in lower_alu_instr_width() local 383 for (i = 0; i < num_src; i++) { in lower_alu_instr_width()
|