Searched refs:hard_regno (Results 1 - 25 of 38) sorted by relevance

12

/netbsd-current/external/gpl3/gcc.old/dist/gcc/
H A Dlra-assigns.c454 adjust_hard_regno_cost (int hard_regno, int incr) argument
456 if (hard_regno_costs_check[hard_regno] != curr_hard_regno_costs_check)
457 hard_regno_costs[hard_regno] = 0;
458 hard_regno_costs_check[hard_regno] = curr_hard_regno_costs_check;
459 hard_regno_costs[hard_regno] += incr;
484 int p, i, j, rclass_size, best_hard_regno, priority, hard_regno; local
537 if ((hard_regno = lra_reg_info[regno].preferred_hard_regno1) >= 0)
540 (hard_regno, -lra_reg_info[regno].preferred_hard_regno_profit1);
541 if ((hard_regno = lra_reg_info[regno].preferred_hard_regno2) >= 0)
543 (hard_regno,
692 int hard_regno; local
728 update_hard_regno_preference(int regno, int hard_regno, int div) argument
780 lra_setup_reg_renumber(int regno, int hard_regno, bool print_p) argument
829 int i, hard_regno; local
861 assign_temporarily(int regno, int hard_regno) argument
926 int i, j, n, p, hard_regno, best_hard_regno, cost, best_cost, rclass_size; local
1117 assign_hard_regno(int hard_regno, int regno) argument
1147 int p, i, j, n, regno, hard_regno, biggest_nregs, nregs_diff; local
1271 int regno, another_regno, hard_regno, another_hard_regno, cost, i, n; local
1384 int i, n, nfails, iter, regno, regno2, hard_regno, cost; local
[all...]
H A Dira-color.c92 int hard_regno; member in struct:update_cost_record
901 int j, n, hard_regno;
908 hard_regno = ira_class_hard_regs[aclass][j];
909 if (TEST_HARD_REG_BIT (temp_set, hard_regno))
1024 int j, k, nobj, hard_regno, nregs, class_size;
1066 || (hard_regno = ALLOCNO_HARD_REGNO (a)) < 0)
1069 nregs = hard_regno_nregs (hard_regno, mode);
1090 hard_regno + nobj - num - 1);
1094 hard_regno + num);
1098 &= ~ira_reg_mode_hard_regset[hard_regno][mod
899 int j, n, hard_regno; local
1022 int j, k, nobj, hard_regno, nregs, class_size; local
1153 get_update_cost_record(int hard_regno, int divisor, struct update_cost_record *next) argument
1315 update_allocno_cost(ira_allocno_t allocno, int hard_regno, int update_cost, int update_conflict_cost) argument
1363 update_costs_from_allocno(ira_allocno_t allocno, int hard_regno, int divisor, bool decr_p, bool record_p, bool conflict_cost_update_p) argument
1469 int hard_regno; local
1538 int index, hard_regno; local
1644 check_hard_reg_p(ira_allocno_t a, int hard_regno, HARD_REG_SET *conflict_regs, HARD_REG_SET profitable_regs) argument
1687 calculate_saved_nregs(int hard_regno, machine_mode mode) argument
1728 int i, j, hard_regno, best_hard_regno, class_size; local
2710 int i, n, hard_regno, hard_regs_num, nwords; local
2838 allocno_copy_cost_saving(ira_allocno_t allocno, int hard_regno) argument
3308 int regno, hard_regno, index = -1, n; local
3515 int cost, regno, hard_regno, hard_regno2, index; local
3633 int i, hard_regno, cost; local
4356 int old_hard_regno, hard_regno, cost; local
4417 int hard_regno; local
4745 int i, cost, regno, hard_regno, count, saved_cost; local
4805 int hard_regno, other_hard_regno; local
4885 int i, j, k, num, class_size, hard_regno, best_hard_regno, cost, min_cost; local
[all...]
H A Dlra-constraints.c174 int hard_regno;
177 if ((hard_regno = regno) >= FIRST_PSEUDO_REGISTER)
178 hard_regno = lra_get_regno_hard_regno (regno);
179 if (hard_regno >= 0)
180 return hard_regno;
195 int hard_regno;
202 if (! HARD_REGISTER_NUM_P (hard_regno = REGNO (reg)))
203 hard_regno = lra_get_regno_hard_regno (hard_regno);
204 if (hard_regno <
173 int hard_regno; local
194 int hard_regno; local
220 int hard_regno; local
253 int class_size, hard_regno, nregs, i, j; local
1543 int hard_regno, inner_hard_regno; local
2016 int hard_regno[MAX_RECOG_OPERANDS]; local
4437 int hard_regno; local
4873 int i, hard_regno, new_insns_num; local
5567 int hard_regno = regno < FIRST_PSEUDO_REGISTER ? regno : reg_renumber[regno]; local
5693 int hard_regno, nregs; local
5887 int i, hard_regno; local
6551 int regno, hard_regno; local
7229 int hard_regno; local
[all...]
H A Dlra-spills.c107 int hard_regno; variable
227 int i, k, p, regno, res, spill_class_size, hard_regno, nr; local
249 && (hard_regno = lra_get_regno_hard_regno (i)) >= 0)
253 lra_reg_info[i].biggest_mode, hard_regno);
285 hard_regno = ira_class_hard_regs[spill_class][k];
286 if (TEST_HARD_REG_BIT (eliminable_regset, hard_regno)
287 || !targetm.hard_regno_mode_ok (hard_regno, mode))
289 if (! overlaps_hard_reg_set_p (conflict_hard_regs, mode, hard_regno))
299 fprintf (lra_dump_file, " Spill r%d into hr%d\n", regno, hard_regno);
301 lra_reg_info[regno].biggest_mode, hard_regno);
775 int i, hard_regno; local
[all...]
H A Dira-emit.c774 int i, n, nregs, hard_regno;
785 if ((hard_regno = ALLOCNO_HARD_REGNO (to)) < 0)
787 nregs = hard_regno_nregs (hard_regno, ALLOCNO_MODE (to));
790 hard_regno_last_set[hard_regno + i] = move;
791 hard_regno_last_set_check[hard_regno + i] = curr_tick;
798 if ((hard_regno = ALLOCNO_HARD_REGNO (from)) >= 0)
800 nregs = hard_regno_nregs (hard_regno, ALLOCNO_MODE (from));
802 if (hard_regno_last_set_check[hard_regno + i] == curr_tick
803 && (ALLOCNO_REGNO (hard_regno_last_set[hard_regno + i]->to)
808 if (hard_regno_last_set_check[hard_regno
773 int i, n, nregs, hard_regno; local
[all...]
H A Dira.c447 int i, m, hard_regno;
450 for (hard_regno = 0; hard_regno < FIRST_PSEUDO_REGISTER; hard_regno++)
452 CLEAR_HARD_REG_SET (ira_reg_mode_hard_regset[hard_regno][m]);
453 for (i = hard_regno_nregs (hard_regno, (machine_mode) m) - 1;
455 if (hard_regno + i < FIRST_PSEUDO_REGISTER)
456 SET_HARD_REG_BIT (ira_reg_mode_hard_regset[hard_regno][m],
457 hard_regno + i);
470 int cl, i, hard_regno,
446 int i, m, hard_regno; local
468 int cl, i, hard_regno, n; local
1473 int j, k, hard_regno, cl, last_hard_regno, count; local
1507 int j, k, hard_regno, cl, pclass, nregs; local
2349 int regno, hard_regno; local
2400 int hard_regno; local
2433 int hard_regno, cost; local
2490 int hard_regno, nregs, conflict_nregs; local
2719 int hard_regno; local
[all...]
H A Dlra-lives.c539 int hard_regno, int profit)
542 if (lra_reg_info[regno].preferred_hard_regno1 == hard_regno)
544 else if (lra_reg_info[regno].preferred_hard_regno2 == hard_regno)
548 lra_reg_info[regno].preferred_hard_regno1 = hard_regno;
554 lra_reg_info[regno].preferred_hard_regno2 = hard_regno;
572 if ((hard_regno = lra_reg_info[regno].preferred_hard_regno1) >= 0)
575 hard_regno, regno,
577 if ((hard_regno = lra_reg_info[regno].preferred_hard_regno2) >= 0)
580 hard_regno, regno,
810 int hard_regno
536 lra_setup_reload_pseudo_preferenced_hard_reg(int regno, int hard_regno, int profit) argument
808 int hard_regno = -1, regno = -1; local
1322 int i, hard_regno, max_regno = max_reg_num (); local
[all...]
H A Dlra-remat.c1028 int hard_regno = regno < FIRST_PSEUDO_REGISTER ? regno : reg_renumber[regno];
1030 if (hard_regno >= 0)
1031 nregs = hard_regno_nregs (hard_regno, reg->biggest_mode);
1032 return hard_regno;
1078 int hard_regno = regno < FIRST_PSEUDO_REGISTER
1081 if (hard_regno >= 0)
1082 SET_HARD_REG_BIT (live_hard_regs, hard_regno);
1126 int i, hard_regno, nregs;
1151 hard_regno = get_hard_regs (reg, nregs);
1152 gcc_assert (hard_regno >
1019 int hard_regno = regno < FIRST_PSEUDO_REGISTER ? regno : reg_renumber[regno]; local
1069 int hard_regno = regno < FIRST_PSEUDO_REGISTER local
1117 int i, hard_regno, nregs; local
[all...]
H A Dira-int.h324 signed int hard_regno : 16;
427 #define ALLOCNO_HARD_REGNO(A) ((A)->hard_regno)
547 int hard_regno;
1410 ira_hard_reg_set_intersection_p (int hard_regno, machine_mode mode,
1415 gcc_assert (hard_regno >= 0);
1416 for (i = hard_regno_nregs (hard_regno, mode) - 1; i >= 0; i--)
1417 if (TEST_HARD_REG_BIT (hard_regset, hard_regno + i))
1438 ira_hard_reg_in_set_p (int hard_regno, machine_mode mode,
1443 ira_assert (hard_regno >= 0);
1444 for (i = hard_regno_nregs (hard_regno, mod
323 signed int hard_regno : 16; member in struct:ira_allocno
546 int hard_regno; member in struct:ira_allocno_pref
1397 ira_hard_reg_set_intersection_p(int hard_regno, machine_mode mode, HARD_REG_SET hard_regset) argument
1425 ira_hard_reg_in_set_p(int hard_regno, machine_mode mode, HARD_REG_SET hard_regset) argument
[all...]
H A Dlra-eliminations.c244 lra_get_elimination_hard_regno (int hard_regno)
248 if (hard_regno < 0 || hard_regno >= FIRST_PSEUDO_REGISTER)
249 return hard_regno;
250 if ((ep = elimination_map[hard_regno]) == NULL)
251 return hard_regno;
260 int hard_regno;
264 if ((hard_regno = REGNO (reg)) < 0 || hard_regno >= FIRST_PSEUDO_REGISTER)
266 if ((ep = elimination_map[hard_regno]) !
243 lra_get_elimination_hard_regno(int hard_regno) argument
259 int hard_regno; local
[all...]
H A Dreg-stack.c793 int hard_regno;
811 hard_regno = get_hard_regnum (regstack, reg);
813 gcc_assert (hard_regno >= FIRST_STACK_REG);
815 pop_rtx = gen_rtx_SET (FP_MODE_REG (hard_regno, raw_mode),
825 regstack->reg[regstack->top - (hard_regno - FIRST_STACK_REG)]
844 int hard_regno;
849 hard_regno = get_hard_regnum (regstack, reg);
851 if (hard_regno == FIRST_STACK_REG)
853 if (hard_regno == -1)
863 gcc_assert (hard_regno >
784 int hard_regno; local
834 int hard_regno; local
1486 int hard_regno = get_hard_regnum (regstack, x); local
[all...]
H A Dira-costs.c192 unsigned int hard_regno = ira_class_hard_regs[cl][j];
193 if (classes_ptr->hard_regno_index[hard_regno] < 0)
194 classes_ptr->hard_regno_index[hard_regno] = i;
2062 int i, freq, src_regno, dst_regno, hard_regno, a_regno;
2093 hard_regno = src_regno;
2100 hard_regno = dst_regno;
2106 if (reg_class_size[(int) REGNO_REG_CLASS (hard_regno)]
2108 [REGNO_REG_CLASS (hard_regno)][(int) ALLOCNO_MODE(a)]))
2114 if (! TEST_HARD_REG_BIT (reg_class_contents[rclass], hard_regno))
2116 i = ira_class_hard_reg_index[rclass][hard_regno];
191 unsigned int hard_regno = ira_class_hard_regs[cl][j]; local
2054 int i, freq, src_regno, dst_regno, hard_regno, a_regno; local
2145 int i, j, n, regno, hard_regno, num; local
[all...]
H A Dcaller-save.c298 int hard_regno;
346 saved_reg->hard_regno = regno;
580 regno = saved_reg->hard_regno;
598 [saved_reg2->hard_regno][1])))
602 (slot, regno_save_mode[saved_reg->hard_regno][1], 0);
608 regno, saved_reg2->hard_regno);
633 regno_save_mode[saved_reg->hard_regno][1], 0);
295 int hard_regno; member in struct:saved_hard_reg
/netbsd-current/external/gpl3/gcc/dist/gcc/
H A Dlra-assigns.cc454 adjust_hard_regno_cost (int hard_regno, int incr) argument
456 if (hard_regno_costs_check[hard_regno] != curr_hard_regno_costs_check)
457 hard_regno_costs[hard_regno] = 0;
458 hard_regno_costs_check[hard_regno] = curr_hard_regno_costs_check;
459 hard_regno_costs[hard_regno] += incr;
484 int p, i, j, rclass_size, best_hard_regno, priority, hard_regno; local
537 if ((hard_regno = lra_reg_info[regno].preferred_hard_regno1) >= 0)
540 (hard_regno, -lra_reg_info[regno].preferred_hard_regno_profit1);
541 if ((hard_regno = lra_reg_info[regno].preferred_hard_regno2) >= 0)
543 (hard_regno,
692 int hard_regno; local
728 update_hard_regno_preference(int regno, int hard_regno, int div) argument
780 lra_setup_reg_renumber(int regno, int hard_regno, bool print_p) argument
[all...]
H A Dira-color.cc97 int hard_regno; member in struct:update_cost_record
906 int j, n, hard_regno;
913 hard_regno = ira_class_hard_regs[aclass][j];
914 if (TEST_HARD_REG_BIT (temp_set, hard_regno))
1029 int j, k, nobj, hard_regno, nregs, class_size;
1071 || (hard_regno = ALLOCNO_HARD_REGNO (a)) < 0)
1074 nregs = hard_regno_nregs (hard_regno, mode);
1095 hard_regno + nobj - num - 1);
1099 hard_regno + num);
1103 &= ~ira_reg_mode_hard_regset[hard_regno][mod
904 int j, n, hard_regno; local
[all...]
H A Dlra-spills.cc107 int hard_regno; member in class:slot
227 int i, k, p, regno, res, spill_class_size, hard_regno, nr; local
249 && (hard_regno = lra_get_regno_hard_regno (i)) >= 0)
253 lra_reg_info[i].biggest_mode, hard_regno);
285 hard_regno = ira_class_hard_regs[spill_class][k];
286 if (TEST_HARD_REG_BIT (eliminable_regset, hard_regno)
287 || !targetm.hard_regno_mode_ok (hard_regno, mode))
289 if (! overlaps_hard_reg_set_p (conflict_hard_regs, mode, hard_regno))
299 fprintf (lra_dump_file, " Spill r%d into hr%d\n", regno, hard_regno);
301 lra_reg_info[regno].biggest_mode, hard_regno);
775 int i, hard_regno; local
[all...]
H A Dira-emit.cc774 int i, n, nregs, hard_regno;
785 if ((hard_regno = ALLOCNO_HARD_REGNO (to)) < 0)
787 nregs = hard_regno_nregs (hard_regno, ALLOCNO_MODE (to));
790 hard_regno_last_set[hard_regno + i] = move;
791 hard_regno_last_set_check[hard_regno + i] = curr_tick;
798 if ((hard_regno = ALLOCNO_HARD_REGNO (from)) >= 0)
800 nregs = hard_regno_nregs (hard_regno, ALLOCNO_MODE (from));
802 if (hard_regno_last_set_check[hard_regno + i] == curr_tick
803 && (ALLOCNO_REGNO (hard_regno_last_set[hard_regno + i]->to)
808 if (hard_regno_last_set_check[hard_regno
773 int i, n, nregs, hard_regno; local
[all...]
H A Dira.cc447 int i, m, hard_regno;
450 for (hard_regno = 0; hard_regno < FIRST_PSEUDO_REGISTER; hard_regno++)
452 CLEAR_HARD_REG_SET (ira_reg_mode_hard_regset[hard_regno][m]);
453 for (i = hard_regno_nregs (hard_regno, (machine_mode) m) - 1;
455 if (hard_regno + i < FIRST_PSEUDO_REGISTER)
456 SET_HARD_REG_BIT (ira_reg_mode_hard_regset[hard_regno][m],
457 hard_regno + i);
470 int cl, i, hard_regno,
446 int i, m, hard_regno; local
468 int cl, i, hard_regno, n; local
1474 int j, k, hard_regno, cl, last_hard_regno, count; local
1513 int j, k, hard_regno, cl, pclass, nregs; local
[all...]
H A Dlra-lives.cc539 int hard_regno, int profit)
542 if (lra_reg_info[regno].preferred_hard_regno1 == hard_regno)
544 else if (lra_reg_info[regno].preferred_hard_regno2 == hard_regno)
548 lra_reg_info[regno].preferred_hard_regno1 = hard_regno;
554 lra_reg_info[regno].preferred_hard_regno2 = hard_regno;
572 if ((hard_regno = lra_reg_info[regno].preferred_hard_regno1) >= 0)
575 hard_regno, regno,
577 if ((hard_regno = lra_reg_info[regno].preferred_hard_regno2) >= 0)
580 hard_regno, regno,
828 int hard_regno
536 lra_setup_reload_pseudo_preferenced_hard_reg(int regno, int hard_regno, int profit) argument
826 int hard_regno = -1, regno = -1; local
1346 int i, hard_regno, max_regno = max_reg_num (); local
[all...]
H A Dlra-constraints.cc175 int hard_regno;
178 if ((hard_regno = regno) >= FIRST_PSEUDO_REGISTER)
179 hard_regno = lra_get_regno_hard_regno (regno);
180 if (hard_regno >= 0)
181 return hard_regno;
196 int hard_regno;
203 if (! HARD_REGISTER_NUM_P (hard_regno = REGNO (reg)))
204 hard_regno = lra_get_regno_hard_regno (hard_regno);
205 if (hard_regno <
174 int hard_regno; local
195 int hard_regno; local
221 int hard_regno; local
254 int class_size, hard_regno, nregs, i, j; local
[all...]
H A Dlra-remat.cc1028 int hard_regno = regno < FIRST_PSEUDO_REGISTER ? regno : reg_renumber[regno];
1030 if (hard_regno >= 0)
1031 nregs = hard_regno_nregs (hard_regno, reg->biggest_mode);
1032 return hard_regno;
1078 int hard_regno = regno < FIRST_PSEUDO_REGISTER
1081 if (hard_regno >= 0)
1082 SET_HARD_REG_BIT (live_hard_regs, hard_regno);
1126 int i, hard_regno, nregs;
1151 hard_regno = get_hard_regs (reg, nregs);
1152 gcc_assert (hard_regno >
1019 int hard_regno = regno < FIRST_PSEUDO_REGISTER ? regno : reg_renumber[regno]; local
1069 int hard_regno = regno < FIRST_PSEUDO_REGISTER local
1117 int i, hard_regno, nregs; local
[all...]
H A Dira-int.h331 signed int hard_regno : 16;
436 #define ALLOCNO_HARD_REGNO(A) ((A)->hard_regno)
556 int hard_regno;
1422 ira_hard_reg_set_intersection_p (int hard_regno, machine_mode mode,
1427 gcc_assert (hard_regno >= 0);
1428 for (i = hard_regno_nregs (hard_regno, mode) - 1; i >= 0; i--)
1429 if (TEST_HARD_REG_BIT (hard_regset, hard_regno + i))
1450 ira_hard_reg_in_set_p (int hard_regno, machine_mode mode,
1455 ira_assert (hard_regno >= 0);
1456 for (i = hard_regno_nregs (hard_regno, mod
330 signed int hard_regno : 16; member in struct:ira_allocno
555 int hard_regno; member in struct:ira_allocno_pref
1409 ira_hard_reg_set_intersection_p(int hard_regno, machine_mode mode, HARD_REG_SET hard_regset) argument
1437 ira_hard_reg_in_set_p(int hard_regno, machine_mode mode, HARD_REG_SET hard_regset) argument
[all...]
H A Dlra-eliminations.cc244 lra_get_elimination_hard_regno (int hard_regno)
248 if (hard_regno < 0 || hard_regno >= FIRST_PSEUDO_REGISTER)
249 return hard_regno;
250 if ((ep = elimination_map[hard_regno]) == NULL)
251 return hard_regno;
260 int hard_regno;
264 if ((hard_regno = REGNO (reg)) < 0 || hard_regno >= FIRST_PSEUDO_REGISTER)
266 if ((ep = elimination_map[hard_regno]) !
243 lra_get_elimination_hard_regno(int hard_regno) argument
259 int hard_regno; local
[all...]
H A Dreg-stack.cc794 int hard_regno;
812 hard_regno = get_hard_regnum (regstack, reg);
814 gcc_assert (hard_regno >= FIRST_STACK_REG);
816 pop_rtx = gen_rtx_SET (FP_MODE_REG (hard_regno, raw_mode),
826 regstack->reg[regstack->top - (hard_regno - FIRST_STACK_REG)]
845 int hard_regno;
850 hard_regno = get_hard_regnum (regstack, reg);
852 if (hard_regno == FIRST_STACK_REG)
854 if (hard_regno == -1)
864 gcc_assert (hard_regno >
785 int hard_regno; local
835 int hard_regno; local
[all...]
H A Dira-costs.cc193 unsigned int hard_regno = ira_class_hard_regs[cl][j];
194 if (classes_ptr->hard_regno_index[hard_regno] < 0)
195 classes_ptr->hard_regno_index[hard_regno] = i;
2150 int i, freq, src_regno, dst_regno, hard_regno, a_regno;
2181 hard_regno = src_regno;
2188 hard_regno = dst_regno;
2194 if (reg_class_size[(int) REGNO_REG_CLASS (hard_regno)]
2196 [REGNO_REG_CLASS (hard_regno)][(int) ALLOCNO_MODE(a)]))
2202 if (! TEST_HARD_REG_BIT (reg_class_contents[rclass], hard_regno))
2204 i = ira_class_hard_reg_index[rclass][hard_regno];
192 unsigned int hard_regno = ira_class_hard_regs[cl][j]; local
2142 int i, freq, src_regno, dst_regno, hard_regno, a_regno; local
2233 int i, j, n, regno, hard_regno, num; local
[all...]

Completed in 422 milliseconds

12