Home
last modified time | relevance | path

Searched refs:srcs_count (Results 1 – 21 of 21) sorted by relevance

/third_party/mesa3d/src/freedreno/ir3/
Dir3_remove_unreachable.c54 end->srcs_count = 0; in delete_block()
75 phi->srcs[pred_idx] = phi->srcs[phi->srcs_count - 1]; in delete_block()
76 phi->srcs_count--; in delete_block()
Dir3_cse.c66 if (i1->srcs_count != i2->srcs_count) in instrs_equal()
72 for (unsigned i = 0; i < i1->srcs_count; i++) { in instrs_equal()
Dir3_validate.c116 validate_assert(ctx, phi->srcs_count == block->predecessors_count); in validate_phi_src()
247 validate_assert(ctx, instr->srcs_count == 2); in validate_instr()
251 validate_assert(ctx, instr->srcs_count == 4); in validate_instr()
255 validate_assert(ctx, instr->srcs_count == 1); in validate_instr()
335 if (instr->srcs_count > 1) in validate_instr()
Dir3.c466 instr->block, instr->opc, instr->dsts_count, instr->srcs_count); in ir3_instr_clone()
479 new_instr->srcs_count = 0; in ir3_instr_clone()
494 assert(instr->srcs_count > 0); in ir3_instr_clone()
495 new_instr->address = new_instr->srcs[instr->srcs_count - 1]; in ir3_instr_clone()
518 debug_assert(instr->srcs_count < instr->srcs_max); in ir3_src_create()
521 instr->srcs[instr->srcs_count++] = reg; in ir3_src_create()
866 if (m < instr->srcs_count) { in ir3_valid_flags()
Dir3_merge_regs.c359 for (unsigned i = 0; i < phi->srcs_count; i++) { in coalesce_phi()
388 for (unsigned i = 0, offset = 0; i < collect->srcs_count; in aggressive_coalesce_collect()
451 pcopy->srcs[pcopy->srcs_count++] = in create_parallel_copy()
Dir3_cp.c516 if (instr->srcs_count == 0) in instr_cp()
630 instr->srcs_count--; in instr_cp()
631 for (unsigned i = 0; i < instr->srcs_count; i++) { in instr_cp()
Dir3.h302 unsigned srcs_count, dsts_count; member
824 return instr->srcs_count == 1; in is_same_type_mov()
1500 if ((__instr)->srcs_count) \
1503 for (unsigned __cnt = (__instr)->srcs_count, __n = 0; __n < __cnt; \
1525 return instr->srcs_count + instr->deps_count; in __ssa_src_cnt()
1531 if (n >= instr->srcs_count) in __is_false_dep()
1540 return &instr->deps[n - instr->srcs_count]; in __ssa_srcp_n()
Dir3_ra.h122 for (int __cnt = (__instr)->srcs_count, __i = __cnt - 1; __i >= 0; \
Dir3_liveness.c191 for (unsigned i = 0; i < test_instr->srcs_count; i++) { in ir3_def_live_after()
Dir3_ra_validate.c258 for (unsigned i = 0; i < collect->srcs_count; i++) { in propagate_collect()
289 for (unsigned i = 0; i < pcopy->srcs_count; i++) { in propagate_parallelcopy()
Dir3_array_to_ssa.c281 for (unsigned i = 0; i < instr->srcs_count; i++) { in ir3_array_to_ssa()
Dir3_ra.c1150 for (unsigned i = 0; i < reg->instr->srcs_count; i++) { in get_reg()
1723 for (unsigned i = 0; i < phi->srcs_count; i++) { in assign_phi()
1768 unsigned old_pcopy_srcs = old_pcopy ? old_pcopy->srcs_count : 0; in insert_liveout_copy()
1784 pcopy->srcs[pcopy->srcs_count++] = old_pcopy->srcs[i]; in insert_liveout_copy()
2308 for (unsigned i = 0; i < instr->srcs_count; i++) { in ir3_ra()
Dir3_print.c316 } else if ((instr->srcs_count > 0 || instr->dsts_count > 0) && in print_instr()
Dir3_lower_parallelcopy.c549 for (unsigned i = 0; i < instr->srcs_count; i++) { in ir3_lower_copies()
Dir3_context.c369 debug_assert((base + n) <= src->srcs_count); in ir3_split_dest()
Dir3_legalize.c173 for (i = 0; i < n->dsts_count + n->srcs_count; i++) { in legalize_block()
Dir3_parser.y196 struct ir3_register *s2en_src = instr->srcs[instr->srcs_count - 1]; in fixup_cat5_s2en()
203 for (int i = 0; i < instr->srcs_count - 1; i++) { in fixup_cat5_s2en()
Dir3_sched.c539 new_live *= n->collect->srcs_count; in live_effect()
Dir3_compiler_nir.c3884 for (i = 0, j = 0; i < end->srcs_count; i++) { in fixup_binning_pass()
3894 end->srcs_count = j; in fixup_binning_pass()
3906 for (unsigned k = 0; k < end->srcs_count; k++) { in fixup_binning_pass()
4297 for (unsigned i = 0; i < end->srcs_count; i++) { in ir3_compile_shader_nir()
Dir3_spill.c191 for (unsigned i = 0; i < instr->srcs_count; i++) { in instr_cycles()
1055 for (unsigned j = src_n + 1; j < pcopy->srcs_count; j++) { in is_last_pcopy_src()
/third_party/mesa3d/src/freedreno/isa/
Dencode.c66 if (instr->srcs_count > 1) in extract_SRC2_R()
160 if (n < instr->srcs_count) in extract_cat5_SRC()
237 assert(n < instr->srcs_count); in extract_cat6_SRC()