• Home
  • Raw
  • Download

Lines Matching refs:physreg

735                   physreg_t physreg, bool is_source)  in get_reg_specified()  argument
739 physreg + i)) in get_reg_specified()
753 struct ir3_register *reg, physreg_t physreg, in try_evict_regs() argument
764 BITSET_CLEAR(available_to_evict, physreg + i); in try_evict_regs()
765 BITSET_CLEAR(available, physreg + i); in try_evict_regs()
770 for (struct ra_interval *conflicting = ra_file_search_right(file, physreg), in try_evict_regs()
773 conflicting->physreg_start < physreg + reg_size(reg); in try_evict_regs()
993 physreg_t physreg = start_reg; in compress_regs_left() local
999 ret_reg = ALIGN(physreg, align); in compress_regs_left()
1004 physreg = MAX2(physreg, ret_reg + size); in compress_regs_left()
1008 physreg = ALIGN(physreg, 2); in compress_regs_left()
1011 if (physreg + intervals[i].size > in compress_regs_left()
1020 intervals[i].interval->interval.reg->name, physreg); in compress_regs_left()
1021 ra_push_interval(ctx, file, &intervals[i], physreg); in compress_regs_left()
1023 physreg += intervals[i].size; in compress_regs_left()
1027 ret_reg = physreg; in compress_regs_left()
1041 physreg_t physreg) in update_affinity() argument
1046 if (physreg < reg->merge_set_offset) in update_affinity()
1049 if ((physreg - reg->merge_set_offset + reg->merge_set->size) > file->size) in update_affinity()
1052 reg->merge_set->preferred_reg = physreg - reg->merge_set_offset; in update_affinity()
1242 physreg_t physreg) in allocate_dst_fixed() argument
1246 update_affinity(file, dst, physreg); in allocate_dst_fixed()
1249 interval->physreg_start = physreg; in allocate_dst_fixed()
1250 interval->physreg_end = physreg + reg_size(dst); in allocate_dst_fixed()
1274 physreg_t physreg = get_reg(ctx, file, dst, true); in allocate_dst() local
1275 allocate_dst_fixed(ctx, dst, physreg); in allocate_dst()
1287 physreg_t physreg = get_reg(ctx, file, dst, false); in allocate_dst() local
1289 allocate_dst_fixed(ctx, dst, physreg); in allocate_dst()
1300 physreg_t physreg; in assign_src() local
1303 physreg = ra_interval_get_physreg(tied_interval); in assign_src()
1305 physreg = ra_interval_get_physreg(interval); in assign_src()
1308 assign_reg(instr, src, ra_physreg_to_num(physreg, src->flags)); in assign_src()
1394 physreg_t physreg = ra_interval_get_physreg(src_interval); in handle_split() local
1398 ctx, dst, physreg - src->def->merge_set_offset + dst->merge_set_offset); in handle_split()
1524 physreg_t physreg = ra_reg_get_physreg(instr->dsts[0]); in handle_precolored_input() local
1525 allocate_dst_fixed(ctx, instr->dsts[0], physreg); in handle_precolored_input()
1583 physreg_t physreg = ra_reg_get_physreg(src); in handle_precolored_source() local
1592 if (!get_reg_specified(file, src, physreg, true)) { in handle_precolored_source()
1594 if (!try_evict_regs(ctx, file, src, physreg, &eviction_count, true, in handle_precolored_source()
1601 ra_move_interval(ctx, file, interval, physreg); in handle_precolored_source()
1645 physreg_t physreg = ~0; in handle_live_in() local
1653 physreg = read_register(ctx, pred, def); in handle_live_in()
1657 assert(physreg != (physreg_t)~0); in handle_live_in()
1662 interval->physreg_start = physreg; in handle_live_in()
1663 interval->physreg_end = physreg + reg_size(def); in handle_live_in()
1679 physreg_t physreg = ra_interval_get_physreg(interval); in handle_live_out() local
1680 if (physreg != ra_reg_get_physreg(def)) { in handle_live_out()
1683 _mesa_hash_table_insert(state->renames, def, (void *)(uintptr_t)physreg); in handle_live_out()
1699 physreg_t physreg; in handle_phi() local
1702 physreg = ra_interval_get_physreg(parent) + in handle_phi()
1705 physreg = get_reg(ctx, file, def, false); in handle_phi()
1708 allocate_dst_fixed(ctx, def, physreg); in handle_phi()
1800 physreg_t physreg = ra_interval_get_physreg(interval); in insert_live_in_move() local
1817 if (pred_reg != physreg) { in insert_live_in_move()
1818 insert_liveout_copy(pred, physreg, pred_reg, interval->interval.reg); in insert_live_in_move()
1839 (void *)(uintptr_t)physreg); in insert_live_in_move()
2132 unsigned physreg = ra_reg_get_physreg(dst) + reg_size(dst); in calc_min_limit_pressure() local
2134 limit->half = MAX2(limit->half, physreg); in calc_min_limit_pressure()
2136 limit->full = MAX2(limit->full, physreg); in calc_min_limit_pressure()