Lines Matching refs:physreg
794 struct ir3_register *reg, physreg_t physreg, bool is_source) in get_reg_specified() argument
799 physreg + i)) in get_reg_specified()
804 check_dst_overlap(ctx, file, reg, physreg, physreg + reg_size(reg))) in get_reg_specified()
817 struct ir3_register *reg, physreg_t physreg, in try_evict_regs() argument
828 BITSET_CLEAR(available_to_evict, physreg + i); in try_evict_regs()
829 BITSET_CLEAR(available, physreg + i); in try_evict_regs()
834 for (struct ra_interval *conflicting = ra_file_search_right(file, physreg), in try_evict_regs()
837 conflicting->physreg_start < physreg + reg_size(reg); in try_evict_regs()
1222 physreg_t physreg; in compress_regs_left() local
1226 physreg = dst_reg; in compress_regs_left()
1228 physreg = live_reg; in compress_regs_left()
1235 physreg = MAX2(physreg, dst_reg); in compress_regs_left()
1239 physreg = ALIGN(physreg, 2); in compress_regs_left()
1241 d("pushing reg %u physreg %u\n", cur_reg->name, physreg); in compress_regs_left()
1244 if (physreg + interval_size > in compress_regs_left()
1254 ret_reg = physreg; in compress_regs_left()
1257 interval->physreg_start = physreg; in compress_regs_left()
1258 interval->physreg_end = physreg + interval_size; in compress_regs_left()
1262 ra_push_interval(ctx, file, &intervals[live_index], physreg); in compress_regs_left()
1266 physreg += interval_size; in compress_regs_left()
1269 dst_reg = physreg; in compress_regs_left()
1271 live_reg = physreg; in compress_regs_left()
1301 physreg_t physreg) in update_affinity() argument
1306 if (physreg < reg->merge_set_offset) in update_affinity()
1309 if ((physreg - reg->merge_set_offset + reg->merge_set->size) > file->size) in update_affinity()
1312 reg->merge_set->preferred_reg = physreg - reg->merge_set_offset; in update_affinity()
1496 physreg_t physreg) in allocate_dst_fixed() argument
1500 update_affinity(file, dst, physreg); in allocate_dst_fixed()
1503 interval->physreg_start = physreg; in allocate_dst_fixed()
1504 interval->physreg_end = physreg + reg_size(dst); in allocate_dst_fixed()
1557 physreg_t physreg = get_reg(ctx, file, dst); in allocate_dst() local
1559 allocate_dst_fixed(ctx, dst, physreg); in allocate_dst()
1570 physreg_t physreg; in assign_src() local
1573 physreg = ra_interval_get_physreg(tied_interval); in assign_src()
1575 physreg = ra_interval_get_physreg(interval); in assign_src()
1578 assign_reg(instr, src, ra_physreg_to_num(physreg, src->flags)); in assign_src()
1671 physreg_t physreg = ra_interval_get_physreg(src_interval); in handle_split() local
1675 ctx, dst, physreg - src->def->merge_set_offset + dst->merge_set_offset); in handle_split()
1802 physreg_t physreg = ra_reg_get_physreg(instr->dsts[0]); in handle_precolored_input() local
1803 allocate_dst_fixed(ctx, instr->dsts[0], physreg); in handle_precolored_input()
1865 physreg_t physreg = ra_reg_get_physreg(src); in handle_precolored_source() local
1874 if (!get_reg_specified(ctx, file, src, physreg, true)) { in handle_precolored_source()
1876 if (!try_evict_regs(ctx, file, src, physreg, &eviction_count, true, in handle_precolored_source()
1883 ra_move_interval(ctx, file, interval, physreg); in handle_precolored_source()
1927 physreg_t physreg = ~0; in handle_live_in() local
1935 physreg = read_register(ctx, pred, def); in handle_live_in()
1939 assert(physreg != (physreg_t)~0); in handle_live_in()
1944 interval->physreg_start = physreg; in handle_live_in()
1945 interval->physreg_end = physreg + reg_size(def); in handle_live_in()
1961 physreg_t physreg = ra_interval_get_physreg(interval); in handle_live_out() local
1962 if (physreg != ra_reg_get_physreg(def)) { in handle_live_out()
1965 _mesa_hash_table_insert(state->renames, def, (void *)(uintptr_t)physreg); in handle_live_out()
1981 physreg_t physreg; in handle_phi() local
1984 physreg = ra_interval_get_physreg(parent) + in handle_phi()
1987 physreg = get_reg(ctx, file, def); in handle_phi()
1990 allocate_dst_fixed(ctx, def, physreg); in handle_phi()
2082 physreg_t physreg = ra_interval_get_physreg(interval); in insert_live_in_move() local
2099 if (pred_reg != physreg) { in insert_live_in_move()
2100 insert_liveout_copy(pred, physreg, pred_reg, interval->interval.reg); in insert_live_in_move()
2121 (void *)(uintptr_t)physreg); in insert_live_in_move()
2414 unsigned physreg = ra_reg_get_physreg(dst) + reg_size(dst); in calc_min_limit_pressure() local
2416 limit->half = MAX2(limit->half, physreg); in calc_min_limit_pressure()
2418 limit->full = MAX2(limit->full, physreg); in calc_min_limit_pressure()