/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | regrename.c | 232 int nregs; in create_new_chain() local 249 nregs = head->nregs; in create_new_chain() 539 int nregs; member 635 nregs = chain->nregs; in set_incoming_from_chain() 637 if (ri->incoming[chain->regno + nregs].nregs != 0 in set_incoming_from_chain() 642 nregs = chain->nregs; in set_incoming_from_chain() 643 ri->incoming[chain->regno].nregs = nregs; in set_incoming_from_chain() 645 ri->incoming[chain->regno + nregs].nregs = -nregs; in set_incoming_from_chain() 854 && outgoing_chain->nregs == chain->nregs) in regrename_analyze() 917 && incoming_chain->nregs == chain->nregs) in regrename_analyze() [all …]
|
H A D | regs.h | 347 int nregs) in add_range_to_hard_reg_set() argument 349 while (nregs-- > 0) in add_range_to_hard_reg_set() 350 SET_HARD_REG_BIT (*regs, regno + nregs); in add_range_to_hard_reg_set() 357 int nregs) in remove_range_from_hard_reg_set() argument 359 while (nregs-- > 0) in remove_range_from_hard_reg_set() 360 CLEAR_HARD_REG_BIT (*regs, regno + nregs); in remove_range_from_hard_reg_set() 367 int nregs) in range_overlaps_hard_reg_set_p() argument 369 while (nregs-- > 0) in range_overlaps_hard_reg_set_p() 370 if (TEST_HARD_REG_BIT (set, regno + nregs)) in range_overlaps_hard_reg_set_p() 380 while (nregs-- > 0) in range_in_hard_reg_set_p() [all …]
|
H A D | caller-save.c | 833 int nregs; in save_call_clobbered_regs() local 840 (r, nregs, PSEUDO_REGNO_MODE (regno)); in save_call_clobbered_regs() 843 while (nregs-- > 0) in save_call_clobbered_regs() 1108 for (i = 0; i < nregs; i++) in replace_reg_with_saved_mem() 1114 if (i == nregs) in replace_reg_with_saved_mem() 1117 while (++i < nregs) in replace_reg_with_saved_mem() 1121 if (i == nregs in replace_reg_with_saved_mem() 1122 && regno_save_mem[regno][nregs]) in replace_reg_with_saved_mem() 1124 mem = copy_rtx (regno_save_mem[regno][nregs]); in replace_reg_with_saved_mem() 1140 for (i = 0; i < nregs; i++) in replace_reg_with_saved_mem() [all …]
|
H A D | lra-remat.c | 663 int nregs; in reg_overlap_for_remat_p() local 668 nregs = 1; in reg_overlap_for_remat_p() 1008 get_hard_regs (struct lra_insn_reg *reg, int &nregs) in get_hard_regs() argument 1118 int i, hard_regno, nregs; in do_remat() local 1143 hard_regno = get_hard_regs (reg, nregs); in do_remat() 1145 for (i = 0; i < nregs; i++) in do_remat() 1148 if (i < nregs) in do_remat() 1151 if (hard_regno + nregs > dst_hard_regno in do_remat() 1260 if ((hard_regno = get_hard_regs (reg, nregs)) < 0) in do_remat() 1262 for (i = 0; i < nregs; i++) in do_remat() [all …]
|
H A D | loop-invariant.c | 1276 *nregs = 0; in get_pressure_class_and_nregs() 1290 *nregs in get_pressure_class_and_nregs() 1335 int nregs; in get_inv_cost() local 1339 regs_needed[pressure_class] += nregs; in get_inv_cost() 1425 int nregs; in get_inv_cost() local 1429 aregs_needed[pressure_class] -= nregs; in get_inv_cost() 1992 *nregs in get_regno_pressure_class() 1999 *nregs = 1; in get_regno_pressure_class() 2004 *nregs = 0; in get_regno_pressure_class() 2014 int nregs; in change_pressure() local [all …]
|
H A D | gcse.c | 2824 int nregs; in update_bb_reg_pressure() local 2984 pressure_class, nregs, in should_hoist_expr_to_dom() 3140 int nregs = 0; in hoist_code() local 3207 &nregs); in hoist_code() 3216 pressure_class, &nregs, in hoist_code() 3356 *nregs in get_regno_pressure_class() 3363 *nregs = 1; in get_regno_pressure_class() 3368 *nregs = 0; in get_regno_pressure_class() 3387 *nregs = 0; in get_pressure_class_and_nregs() 3395 *nregs in get_pressure_class_and_nregs() [all …]
|
H A D | reginfo.c | 627 unsigned int nregs, bool call_saved) in choose_hard_reg_mode() argument 639 if (hard_regno_nregs (regno, mode) == nregs in choose_hard_reg_mode() 647 if (hard_regno_nregs (regno, mode) == nregs in choose_hard_reg_mode() 655 if (hard_regno_nregs (regno, mode) == nregs in choose_hard_reg_mode() 663 if (hard_regno_nregs (regno, mode) == nregs in choose_hard_reg_mode() 677 if (hard_regno_nregs (regno, mode) == nregs in choose_hard_reg_mode() 695 int reg, nregs; in fix_register() local 700 if ((reg = decode_reg_name_and_count (name, &nregs)) >= 0) in fix_register() 702 gcc_assert (nregs >= 1); in fix_register() 703 for (i = reg; i < reg + nregs; i++) in fix_register() [all …]
|
H A D | mode-switching.c | 258 int nregs = REG_NREGS (ret_reg); in create_pre_exit() local 259 int ret_end = ret_start + nregs; in create_pre_exit() 357 if (ret_start + nregs == ret_end) in create_pre_exit() 412 nregs -= copy_num; in create_pre_exit() 432 while (nregs); in create_pre_exit() 438 gcc_assert (!nregs in create_pre_exit() 443 || nregs != REG_NREGS (ret_reg) in create_pre_exit() 451 && nregs != 1)); in create_pre_exit()
|
H A D | ira-lives.c | 206 dec_register_pressure (enum reg_class pclass, int nregs) in dec_register_pressure() argument 219 curr_reg_pressure[cl] -= nregs; in dec_register_pressure() 267 int i, n, nregs; in mark_pseudo_regno_live() local 277 nregs = ira_reg_class_max_nregs[ALLOCNO_CLASS (a)][ALLOCNO_MODE (a)]; in mark_pseudo_regno_live() 281 gcc_assert (nregs == n); in mark_pseudo_regno_live() 282 nregs = 1; in mark_pseudo_regno_live() 292 inc_register_pressure (pclass, nregs); in mark_pseudo_regno_live() 398 int n, i, nregs; in mark_pseudo_regno_dead() local 413 gcc_assert (nregs == n); in mark_pseudo_regno_dead() 414 nregs = 1; in mark_pseudo_regno_dead() [all …]
|
H A D | ira-emit.c | 773 int i, n, nregs, hard_regno; in modify_move_list() local 786 nregs = hard_regno_nregs (hard_regno, ALLOCNO_MODE (to)); in modify_move_list() 787 for (i = 0; i < nregs; i++) in modify_move_list() 799 nregs = hard_regno_nregs (hard_regno, ALLOCNO_MODE (from)); in modify_move_list() 800 for (n = i = 0; i < nregs; i++) in modify_move_list() 806 for (n = i = 0; i < nregs; i++) in modify_move_list() 837 nregs = hard_regno_nregs (hard_regno, ALLOCNO_MODE (from)); in modify_move_list() 838 for (i = 0; i < nregs; i++) in modify_move_list() 889 nregs = hard_regno_nregs (hard_regno, ALLOCNO_MODE (to)); in modify_move_list() 890 for (i = 0; i < nregs; i++) in modify_move_list()
|
H A D | reload1.c | 1666 t = rld[r2].nregs - rld[r1].nregs; in reload_reg_class_lower() 1699 int nregs; in count_pseudo() local 1715 while (nregs-- > 0) in count_pseudo() 1783 int nregs; in count_spilled_pseudo() local 1800 while (nregs-- > 0) in count_spilled_pseudo() 6049 while (nregs-- > 0) in free_for_value_p() 6256 nr = rld[r].nregs; in allocate_reload_reg() 6912 || rld[s].nregs < rld[r].nregs) in choose_reload_regs() 8309 int nregs; in emit_reload_insns() local 8782 int nregs; in delete_output_reload() local [all …]
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | regrename.c | 228 int nregs; in create_new_chain() local 246 nregs = head->nregs; in create_new_chain() 511 int nregs; member 610 nregs = chain->nregs; in set_incoming_from_chain() 612 if (ri->incoming[chain->regno + nregs].nregs != 0 in set_incoming_from_chain() 617 nregs = chain->nregs; in set_incoming_from_chain() 618 ri->incoming[chain->regno].nregs = nregs; in set_incoming_from_chain() 620 ri->incoming[chain->regno + nregs].nregs = -nregs; in set_incoming_from_chain() 830 && outgoing_chain->nregs == chain->nregs) in regrename_analyze() 893 && incoming_chain->nregs == chain->nregs) in regrename_analyze() [all …]
|
H A D | regs.h | 405 int nregs) in add_range_to_hard_reg_set() argument 407 while (nregs-- > 0) in add_range_to_hard_reg_set() 408 SET_HARD_REG_BIT (*regs, regno + nregs); in add_range_to_hard_reg_set() 415 int nregs) in remove_range_from_hard_reg_set() argument 417 while (nregs-- > 0) in remove_range_from_hard_reg_set() 418 CLEAR_HARD_REG_BIT (*regs, regno + nregs); in remove_range_from_hard_reg_set() 425 int nregs) in range_overlaps_hard_reg_set_p() argument 427 while (nregs-- > 0) in range_overlaps_hard_reg_set_p() 428 if (TEST_HARD_REG_BIT (set, regno + nregs)) in range_overlaps_hard_reg_set_p() 438 while (nregs-- > 0) in range_in_hard_reg_set_p() [all …]
|
H A D | loop-invariant.c | 1031 *nregs = 0; in get_pressure_class_and_nregs() 1045 *nregs in get_pressure_class_and_nregs() 1084 int nregs; in get_inv_cost() local 1088 regs_needed[pressure_class] += nregs; in get_inv_cost() 1157 int nregs; in get_inv_cost() local 1161 aregs_needed[pressure_class] -= nregs; in get_inv_cost() 1633 *nregs in get_regno_pressure_class() 1640 *nregs = 1; in get_regno_pressure_class() 1645 *nregs = 0; in get_regno_pressure_class() 1655 int nregs; in change_pressure() local [all …]
|
H A D | caller-save.c | 817 int nregs; in save_call_clobbered_regs() local 824 (r, nregs, PSEUDO_REGNO_MODE (regno)); in save_call_clobbered_regs() 828 while (nregs-- > 0) in save_call_clobbered_regs() 829 SET_HARD_REG_BIT (hard_regs_to_save, r + nregs); in save_call_clobbered_regs() 1075 for (i = 0; i < nregs; i++) in replace_reg_with_saved_mem() 1081 if (i == nregs) in replace_reg_with_saved_mem() 1084 while (++i < nregs) in replace_reg_with_saved_mem() 1088 if (i == nregs in replace_reg_with_saved_mem() 1089 && regno_save_mem[regno][nregs]) in replace_reg_with_saved_mem() 1091 mem = copy_rtx (regno_save_mem[regno][nregs]); in replace_reg_with_saved_mem() [all …]
|
H A D | mode-switching.c | 233 int nregs = hard_regno_nregs[ret_start][GET_MODE (ret_reg)]; in create_pre_exit() local 234 int ret_end = ret_start + nregs; in create_pre_exit() 361 nregs -= copy_num; in create_pre_exit() 381 while (nregs); in create_pre_exit() 387 gcc_assert (!nregs in create_pre_exit() 392 || (nregs in create_pre_exit() 401 && nregs != 1)); in create_pre_exit()
|
H A D | reginfo.c | 723 unsigned int nregs, bool call_saved) in choose_hard_reg_mode() argument 735 if ((unsigned) hard_regno_nregs[regno][mode] == nregs in choose_hard_reg_mode() 746 if ((unsigned) hard_regno_nregs[regno][mode] == nregs in choose_hard_reg_mode() 757 if ((unsigned) hard_regno_nregs[regno][mode] == nregs in choose_hard_reg_mode() 768 if ((unsigned) hard_regno_nregs[regno][mode] == nregs in choose_hard_reg_mode() 780 if ((unsigned) hard_regno_nregs[regno][mode] == nregs in choose_hard_reg_mode() 797 int reg, nregs; in fix_register() local 802 if ((reg = decode_reg_name_and_count (name, &nregs)) >= 0) in fix_register() 804 gcc_assert (nregs >= 1); in fix_register() 805 for (i = reg; i < reg + nregs; i++) in fix_register() [all …]
|
H A D | ira-lives.c | 208 dec_register_pressure (enum reg_class pclass, int nregs) in dec_register_pressure() argument 221 curr_reg_pressure[cl] -= nregs; in dec_register_pressure() 251 int i, n, nregs; in mark_pseudo_regno_live() local 261 nregs = ira_reg_class_max_nregs[ALLOCNO_CLASS (a)][ALLOCNO_MODE (a)]; in mark_pseudo_regno_live() 265 gcc_assert (nregs == n); in mark_pseudo_regno_live() 266 nregs = 1; in mark_pseudo_regno_live() 276 inc_register_pressure (pclass, nregs); in mark_pseudo_regno_live() 382 int n, i, nregs; in mark_pseudo_regno_dead() local 397 gcc_assert (nregs == n); in mark_pseudo_regno_dead() 398 nregs = 1; in mark_pseudo_regno_dead() [all …]
|
H A D | postreload.c | 1521 while (--nregs >= 0) in reload_combine_note_use() 1522 reg_state[regno + nregs].use_index = -1; in reload_combine_note_use() 1548 int nregs; in reload_combine_note_use() local 1556 if (nregs > 1) in reload_combine_note_use() 1558 while (--nregs >= 0) in reload_combine_note_use() 2086 unsigned int nregs = 0; in move2add_note_store() local 2096 nregs = subreg_nregs (dst); in move2add_note_store() 2114 if (!nregs) in move2add_note_store() 2115 nregs = hard_regno_nregs[regno][mode]; in move2add_note_store() 2150 && nregs == 1 && GET_CODE (set) == SET in move2add_note_store() [all …]
|
H A D | ira-emit.c | 767 int i, n, nregs, hard_regno; in modify_move_list() local 780 nregs = hard_regno_nregs[hard_regno][ALLOCNO_MODE (to)]; in modify_move_list() 781 for (i = 0; i < nregs; i++) in modify_move_list() 793 nregs = hard_regno_nregs[hard_regno][ALLOCNO_MODE (from)]; in modify_move_list() 794 for (n = i = 0; i < nregs; i++) in modify_move_list() 800 for (n = i = 0; i < nregs; i++) in modify_move_list() 831 nregs = hard_regno_nregs[hard_regno][ALLOCNO_MODE (from)]; in modify_move_list() 832 for (i = 0; i < nregs; i++) in modify_move_list() 883 nregs = hard_regno_nregs[hard_regno][ALLOCNO_MODE (to)]; in modify_move_list() 884 for (i = 0; i < nregs; i++) in modify_move_list()
|
H A D | reload1.c | 1714 t = rld[r2].nregs - rld[r1].nregs; in reload_reg_class_lower() 1747 int nregs; in count_pseudo() local 1762 while (nregs-- > 0) in count_pseudo() 1842 while (nregs-- > 0) in count_spilled_pseudo() 2012 chain->rld[i].nregs in find_reload_regs() 5373 int nregs; in reload_reg_reaches_end_p() local 6261 nr = rld[r].nregs; in allocate_reload_reg() 6873 || rld[s].nregs < rld[r].nregs) in choose_reload_regs() 8243 int nregs; in emit_reload_insns() local 8721 int nregs; in delete_output_reload() local [all …]
|
/dragonfly/tools/tools/ath/athregs/ |
H A D | dumpregs.c | 50 u_int nregs; member 296 if (state.nregs == MAXREGS) in register_regs() 298 state.regs[state.nregs++] = nr; in register_regs() 339 int i, nregs; in register_range() local 345 nregs, type); in register_range() 347 for (i = 0; i < nregs; i++) { in register_range() 352 register_regs(bbregs, nregs, in register_range() 372 for (i = 0; i < state.nregs; i++) { in ath_hal_anyregs() 390 for (i = 0; i < state.nregs; i++) { in ath_hal_setupregs() 411 for (i = 0; i < state.nregs; i++) { in ath_hal_setupregs() [all …]
|
/dragonfly/tools/tools/ath/athpoke/ |
H A D | athpoke.c | 49 u_int nregs; member 167 const int existing_regs = state.nregs; in register_regs() 209 if (state.nregs == MAXREGS) in register_regs() 211 state.regs[state.nregs++] = nr; in register_regs() 215 qsort(state.regs, state.nregs, sizeof(struct dumpreg *), regcompar); in register_regs() 240 for (i = 0; i < state.nregs; i++) { in reglookup()
|
/dragonfly/tools/tools/ath/athdecode/ |
H A D | main.c | 49 u_int nregs; member 282 const int existing_regs = state.nregs; in register_regs() 324 if (state.nregs == MAXREGS) in register_regs() 326 state.regs[state.nregs++] = nr; in register_regs() 330 qsort(state.regs, state.nregs, sizeof(struct dumpreg *), regcompar); in register_regs() 353 for (i = 0; i < state.nregs; i++) { in findreg()
|
/dragonfly/contrib/grep/lib/ |
H A D | regexec.c | 374 Idx nregs; in re_search_stub() local 404 nregs = 1; in re_search_stub() 408 nregs = regs->num_regs; in re_search_stub() 409 if (__glibc_unlikely (nregs < 1)) in re_search_stub() 413 nregs = 1; in re_search_stub() 417 nregs = bufp->re_nsub + 1; in re_search_stub() 426 nregs, pmatch, eflags); in re_search_stub() 464 Idx need_regs = nregs + 1; in re_copy_regs() 512 for (i = 0; i < nregs; ++i) in re_copy_regs() 1269 if (subexp_idx < nregs) in proceed_next_node() [all …]
|