Home
last modified time | relevance | path

Searched refs:reg_elem_size (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/freedreno/ir3/
Dir3_delay.c142 unsigned src_start = post_ra_reg_num(src) * reg_elem_size(src); in ir3_delayslots_with_repeat()
143 unsigned dst_start = post_ra_reg_num(dst) * reg_elem_size(dst); in ir3_delayslots_with_repeat()
173 unsigned first_num = MAX2(src_start, dst_start) / reg_elem_size(dst); in ir3_delayslots_with_repeat()
230 unsigned src_start = post_ra_reg_num(src) * reg_elem_size(src); in delay_calc_srcn()
231 unsigned src_end = src_start + post_ra_reg_elems(src) * reg_elem_size(src); in delay_calc_srcn()
232 unsigned dst_start = post_ra_reg_num(dst) * reg_elem_size(dst); in delay_calc_srcn()
233 unsigned dst_end = dst_start + post_ra_reg_elems(dst) * reg_elem_size(dst); in delay_calc_srcn()
Dir3_ra_validate.c242 unsigned offset = split->split.off * reg_elem_size(src); in propagate_split()
243 for (unsigned i = 0; i < reg_elem_size(src); i++) { in propagate_split()
260 unsigned dst_offset = i * reg_elem_size(dst); in propagate_collect()
261 for (unsigned j = 0; j < reg_elem_size(dst); j++) { in propagate_collect()
372 unsigned offset = instr->split.off * reg_elem_size(new_def); in chase_definition()
380 unsigned src_idx = state->offset / reg_elem_size(state->def); in chase_definition()
381 unsigned src_offset = state->offset % reg_elem_size(state->def); in chase_definition()
Dir3_merge_regs.c120 value.offset += instr->split.off * reg_elem_size(value.reg); in chase_copies()
123 if (value.offset % reg_elem_size(value.reg) != 0 || in chase_copies()
124 value.size > reg_elem_size(value.reg) || in chase_copies()
128 instr->srcs[value.offset / reg_elem_size(value.reg)]; in chase_copies()
381 split->split.off * reg_elem_size(split->dsts[0])); in aggressive_coalesce_split()
389 offset += reg_elem_size(collect->srcs[i]), i++) { in aggressive_coalesce_collect()
Dir3_lower_parallelcopy.c537 .dst = dst_physreg + j * reg_elem_size(dst), in ir3_lower_copies()
538 .src = get_copy_src(src, j * reg_elem_size(dst)), in ir3_lower_copies()
569 src, instr->split.off * reg_elem_size(dst)), in ir3_lower_copies()
Dir3_ra.c980 unsigned i1_align = reg_elem_size(i1->interval->interval.reg); in removed_interval_cmp()
981 unsigned i2_align = reg_elem_size(i2->interval->interval.reg); in removed_interval_cmp()
1011 unsigned i1_align = reg_elem_size(i1); in dsts_cmp()
1012 unsigned i2_align = reg_elem_size(i2); in dsts_cmp()
1046 unsigned align = reg_elem_size(reg); in compress_regs_left()
1378 preferred_reg % reg_elem_size(reg) == 0 && in get_reg()
1412 if (src_physreg % reg_elem_size(reg) == 0 && in get_reg()
1421 find_best_gap(ctx, file, reg, file_size, size, reg_elem_size(reg)); in get_reg()
1431 for (physreg_t i = 0; i + size <= file_size; i += reg_elem_size(reg)) { in get_reg()
Dir3_spill.c682 reg->spill_slot = ALIGN_POT(ctx->spill_slot, reg_elem_size(reg)); in get_spill_slot()
864 def->merge_set_offset + offset * reg_elem_size(def)); in split()
962 interval->interval.reg->interval_start) / reg_elem_size(def), in rewrite_src_interval()
984 reg_elem_size(def), elems, instr, block); in reload_def()
1479 reg_elem_size(def), reg_elems(child->interval.reg), in live_in_rewrite()
Dir3.h1146 reg_elem_size(const struct ir3_register *reg) in reg_elem_size() function
1154 return reg_elems(reg) * reg_elem_size(reg); in reg_size()
/third_party/mesa3d/docs/relnotes/
D21.2.0.rst1448 - ir3: Add reg_elems(), reg_elem_size(), and reg_size()