Searched refs:srcs_count (Results 1 – 21 of 21) sorted by relevance
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_remove_unreachable.c | 54 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()
|
D | ir3_cse.c | 66 if (i1->srcs_count != i2->srcs_count) in instrs_equal() 72 for (unsigned i = 0; i < i1->srcs_count; i++) { in instrs_equal()
|
D | ir3_validate.c | 116 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()
|
D | ir3.c | 466 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()
|
D | ir3_merge_regs.c | 359 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()
|
D | ir3_cp.c | 516 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()
|
D | ir3.h | 302 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()
|
D | ir3_ra.h | 122 for (int __cnt = (__instr)->srcs_count, __i = __cnt - 1; __i >= 0; \
|
D | ir3_liveness.c | 191 for (unsigned i = 0; i < test_instr->srcs_count; i++) { in ir3_def_live_after()
|
D | ir3_ra_validate.c | 258 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()
|
D | ir3_array_to_ssa.c | 281 for (unsigned i = 0; i < instr->srcs_count; i++) { in ir3_array_to_ssa()
|
D | ir3_ra.c | 1150 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()
|
D | ir3_print.c | 316 } else if ((instr->srcs_count > 0 || instr->dsts_count > 0) && in print_instr()
|
D | ir3_lower_parallelcopy.c | 549 for (unsigned i = 0; i < instr->srcs_count; i++) { in ir3_lower_copies()
|
D | ir3_context.c | 369 debug_assert((base + n) <= src->srcs_count); in ir3_split_dest()
|
D | ir3_legalize.c | 173 for (i = 0; i < n->dsts_count + n->srcs_count; i++) { in legalize_block()
|
D | ir3_parser.y | 196 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()
|
D | ir3_sched.c | 539 new_live *= n->collect->srcs_count; in live_effect()
|
D | ir3_compiler_nir.c | 3884 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()
|
D | ir3_spill.c | 191 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/ |
D | encode.c | 66 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()
|