Home
last modified time | relevance | path

Searched refs:nregs (Results 1 – 25 of 63) sorted by relevance

123

/freebsd-12.1/sys/arm/arm/
H A Dmachdep_ptrace.c227 u_int addr, nregs, offset = 0; in arm_predict_branch() local
245 nregs = fetch_reg(cookie, in arm_predict_branch()
248 nregs = (insn >> 7) & 0x1f; in arm_predict_branch()
252 offset = offset << nregs; in arm_predict_branch()
256 offset = offset >> nregs; in arm_predict_branch()
301 nregs = (insn & 0x5555) + ((insn >> 1) & 0x5555); in arm_predict_branch()
302 nregs = (nregs & 0x3333) + ((nregs >> 2) & 0x3333); in arm_predict_branch()
303 nregs = (nregs + (nregs >> 4)) & 0x0f0f; in arm_predict_branch()
304 nregs = (nregs + (nregs >> 8)) & 0x001f; in arm_predict_branch()
310 addr = addr + 0 + ((nregs - 1) << 2); in arm_predict_branch()
[all …]
/freebsd-12.1/contrib/gcc/
H A Dmode-switching.c165 int regno, nregs; in reg_dies() local
172 for (nregs = hard_regno_nregs[regno][GET_MODE (reg)] - 1; nregs >= 0; in reg_dies()
173 nregs--) in reg_dies()
183 int regno, nregs; in reg_becomes_live() local
193 for (nregs = hard_regno_nregs[regno][GET_MODE (reg)] - 1; nregs >= 0; in reg_becomes_live()
194 nregs--) in reg_becomes_live()
313 nregs -= copy_num; in create_pre_exit()
332 while (nregs); in create_pre_exit()
338 gcc_assert (!nregs in create_pre_exit()
343 || (nregs in create_pre_exit()
[all …]
H A Dregrename.c104 int nregs; in note_sets() local
116 while (nregs-- > 0) in note_sets()
117 SET_HARD_REG_BIT (*pset, regno + nregs); in note_sets()
137 while (nregs-- > 0) in clear_dead_regs()
294 for (i = nregs - 1; i >= 0; --i) in regrename_optimize()
439 if (regno + nregs <= this_regno in scan_rtx_reg()
1110 for (j = 0; j < nregs; ++j) in kill_value_regno()
1160 unsigned int nregs; in set_value_regno() local
1164 nregs = hard_regno_nregs[regno][mode]; in set_value_regno()
1165 if (nregs > vd->max_value_regs) in set_value_regno()
[all …]
H A Dcaller-save.c433 int nregs; in save_call_clobbered_regs() local
437 nregs = hard_regno_nregs[r][PSEUDO_REGNO_MODE (regno)]; in save_call_clobbered_regs()
439 (r, nregs, PSEUDO_REGNO_MODE (regno)); in save_call_clobbered_regs()
443 while (nregs-- > 0) in save_call_clobbered_regs()
444 SET_HARD_REG_BIT (hard_regs_to_save, r + nregs); in save_call_clobbered_regs()
598 int nregs = hard_regno_nregs[hardregno][GET_MODE (x)]; in mark_referenced_regs() local
599 while (nregs-- > 0) in mark_referenced_regs()
600 SET_HARD_REG_BIT (referenced_regs, hardregno + nregs); in mark_referenced_regs()
H A Dregclass.c646 unsigned int nregs, bool call_saved) in choose_hard_reg_mode() argument
658 if ((unsigned) hard_regno_nregs[regno][mode] == nregs in choose_hard_reg_mode()
669 if ((unsigned) hard_regno_nregs[regno][mode] == nregs in choose_hard_reg_mode()
1208 regclass (rtx f, int nregs) in regclass() argument
1216 costs = XNEWVEC (struct costs, nregs); in regclass()
1220 in_inc_dec = XNEWVEC (char, nregs); in regclass()
1237 memset (costs, 0, nregs * sizeof (struct costs)); in regclass()
1240 memset (in_inc_dec, 0, nregs); in regclass()
1281 for (i = FIRST_PSEUDO_REGISTER; i < nregs; i++) in regclass()
2323 reg_scan (rtx f, unsigned int nregs) in reg_scan() argument
[all …]
H A Dpostreload.c1062 int nregs = hard_regno_nregs[regno][GET_MODE (reg)]; in reload_combine_note_use() local
1064 while (--nregs >= 0) in reload_combine_note_use()
1065 reg_state[regno + nregs].use_index = -1; in reload_combine_note_use()
1091 int nregs; in reload_combine_note_use() local
1096 nregs = hard_regno_nregs[regno][GET_MODE (x)]; in reload_combine_note_use()
1099 if (nregs > 1) in reload_combine_note_use()
1101 while (--nregs >= 0) in reload_combine_note_use()
1102 reg_state[regno + nregs].use_index = -1; in reload_combine_note_use()
H A Dreload1.c545 int nregs; in compute_use_by_pseudos() local
558 while (nregs-- > 0) in compute_use_by_pseudos()
1589 t = rld[r2].nregs - rld[r1].nregs; in reload_reg_class_lower()
1618 int nregs; in count_pseudo() local
1631 while (nregs-- > 0) in count_pseudo()
1702 while (nregs-- > 0) in count_spilled_pseudo()
1830 chain->rld[i].nregs in find_reload_regs()
5131 while (nregs-- > 0) in free_for_value_p()
5329 nr = rld[r].nregs; in allocate_reload_reg()
5465 if (rld[j].nregs > 1) in choose_reload_regs()
[all …]
H A Dstruct-equiv.c211 int nregs, i, old; in assign_reg_reg_set() local
216 nregs = 1; in assign_reg_reg_set()
219 nregs = hard_regno_nregs[regno][GET_MODE (reg)]; in assign_reg_reg_set()
220 for (old = 0, i = nregs; --i >= 0; regno++) in assign_reg_reg_set()
1276 int nregs = (regno >= FIRST_PSEUDO_REGISTER in find_dying_inputs() local
1279 for (info->local_rvalue[i] = false; nregs > 0; regno++, --nregs) in find_dying_inputs()
/freebsd-12.1/contrib/jemalloc/src/
H A Dbin.c8 #define BIN_INFO_bin_yes(reg_size, slab_size, nregs) \ argument
9 {reg_size, slab_size, nregs, BITMAP_INFO_INITIALIZER(nregs)},
10 #define BIN_INFO_bin_no(reg_size, slab_size, nregs) argument
/freebsd-12.1/contrib/gcc/config/i386/
H A Dnetware.c90 gen_regparm_prefix (tree decl, unsigned nregs) in gen_regparm_prefix() argument
122 if (nregs > total / BITS_PER_WORD) in gen_regparm_prefix()
123 nregs = total / BITS_PER_WORD; in gen_regparm_prefix()
124 gcc_assert (nregs <= 9); in gen_regparm_prefix()
129 nregs, in gen_regparm_prefix()
/freebsd-12.1/tools/tools/ath/athregs/
H A Ddumpregs.c53 u_int nregs; member
313 if (state.nregs == MAXREGS) in register_regs()
315 state.regs[state.nregs++] = nr; in register_regs()
356 int i, nregs; in register_range() local
362 nregs, type); in register_range()
364 for (i = 0; i < nregs; i++) { in register_range()
369 register_regs(bbregs, nregs, in register_range()
389 for (i = 0; i < state.nregs; i++) { in ath_hal_anyregs()
407 for (i = 0; i < state.nregs; i++) { in ath_hal_setupregs()
428 for (i = 0; i < state.nregs; i++) { in ath_hal_setupregs()
[all …]
/freebsd-12.1/tools/tools/ath/athpoke/
H A Dathpoke.c49 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()
/freebsd-12.1/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_regset.c43 dt_regset_create(ulong_t nregs) in dt_regset_create() argument
45 ulong_t n = BT_BITOUL(nregs); in dt_regset_create()
58 drp->dr_size = nregs; in dt_regset_create()
/freebsd-12.1/tools/tools/ath/athdecode/
H A Dmain.c51 u_int nregs; member
288 const int existing_regs = state.nregs; in register_regs()
330 if (state.nregs == MAXREGS) in register_regs()
332 state.regs[state.nregs++] = nr; in register_regs()
336 qsort(state.regs, state.nregs, sizeof(struct dumpreg *), regcompar); in register_regs()
359 for (i = 0; i < state.nregs; i++) { in findreg()
/freebsd-12.1/sys/arm64/rockchip/
H A Drk805.c98 int nregs; member
478 sc->regs = malloc(sizeof(struct rk805_reg_sc *) * sc->nregs, in rk805_attach()
485 sc->nregs = nitems(rk805_regdefs); in rk805_attach()
489 sc->nregs = nitems(rk808_regdefs); in rk805_attach()
495 for (i = 0; i < sc->nregs; i++) { in rk805_attach()
534 for (i = 0; i < sc->nregs; i++) { in rk805_map()
/freebsd-12.1/contrib/gdb/gdb/
H A Di386-nat.c559 int nregs; in i386_region_ok_for_watchpoint() local
563 nregs = i386_handle_nonaligned_watchpoint (WP_COUNT, addr, len, hw_write); in i386_region_ok_for_watchpoint()
564 return nregs <= DR_NADDR ? 1 : 0; in i386_region_ok_for_watchpoint()
/freebsd-12.1/contrib/gcc/config/sparc/
H A Dsparc.c4719 parms->nregs += 2; in function_arg_record_value_1()
4721 parms->nregs += 1; in function_arg_record_value_1()
4854 nregs = 2; in function_arg_record_value_2()
4857 nregs = 1; in function_arg_record_value_2()
4874 parms->nregs += 1; in function_arg_record_value_2()
4906 unsigned int nregs; in function_arg_record_value() local
4915 parms.nregs = 0; in function_arg_record_value()
4939 nregs = parms.nregs; in function_arg_record_value()
4942 if (nregs == 0) in function_arg_record_value()
4977 parms.nregs = 0; in function_arg_record_value()
[all …]
/freebsd-12.1/sys/powerpc/psim/
H A Diobusvar.h51 IOBUS_ACCESSOR(nregs, NREGS, u_int)
/freebsd-12.1/contrib/libgnuregex/
H A Dregexec.c415 int nregs, rval; local
441 nregs = 1;
445 nregs = regs->num_regs;
446 if (BE (nregs < 1, 0))
450 nregs = 1;
454 nregs = bufp->re_nsub + 1;
463 nregs, pmatch, eflags);
499 int nregs, regs_allocated;
503 int need_regs = nregs + 1;
546 assert (regs->num_regs >= nregs);
[all …]
/freebsd-12.1/sys/arm/nvidia/
H A Das3722_regulators.c618 sc->nregs = nitems(as3722s_def); in as3722_regulator_attach()
619 sc->regs = malloc(sizeof(struct as3722_reg_sc *) * sc->nregs, in as3722_regulator_attach()
624 for (i = 0; i < sc->nregs; i++) { in as3722_regulator_attach()
652 for (i = 0; i < sc->nregs; i++) { in as3722_regulator_map()
/freebsd-12.1/sys/arm/allwinner/
H A Daxp81x.c697 int nregs; member
1391 for (i = 0; i < sc->nregs; i++) { in axp8xx_regdev_map()
1449 sc->nregs = nitems(axp8xx_common_regdefs); in axp8xx_attach()
1453 sc->nregs += nitems(axp803_regdefs); in axp8xx_attach()
1456 sc->nregs += nitems(axp813_regdefs); in axp8xx_attach()
1463 sc->regs = malloc(sizeof(struct axp8xx_reg_sc *) * sc->nregs, in axp8xx_attach()
1469 for (i = 0; i < sc->nregs; i++) { in axp8xx_attach()
H A Daxp209.c620 int nregs; member
1172 for (i = 0; i < sc->nregs; i++) { in axp2xx_regdev_map()
1317 sc->nregs = nitems(axp209_regdefs); in axp2xx_attach()
1328 sc->nregs = nitems(axp221_regdefs); in axp2xx_attach()
1332 sc->regs = malloc(sizeof(struct axp2xx_reg_sc *) * sc->nregs, in axp2xx_attach()
1344 for (i = 0; i < sc->nregs; i++) { in axp2xx_attach()
/freebsd-12.1/sys/dev/cxgbe/common/
H A Dcommon.h568 unsigned int data_reg, u32 *vals, unsigned int nregs,
572 unsigned int nregs, unsigned int start_idx);
837 void t4_tp_pio_read(struct adapter *adap, u32 *buff, u32 nregs,
839 void t4_tp_pio_write(struct adapter *adap, const u32 *buff, u32 nregs,
841 void t4_tp_tm_pio_read(struct adapter *adap, u32 *buff, u32 nregs,
843 void t4_tp_mib_read(struct adapter *adap, u32 *buff, u32 nregs,
/freebsd-12.1/contrib/binutils/gas/config/
H A Dtc-i386.c6858 int nregs = -1; in intel_e04() local
6865 if (nregs >= 0 && NUM_ADDRESS_REGS > nregs) in intel_e04()
6869 nregs = -1; in intel_e04()
6910 nregs = ~nregs; in intel_e05()
6912 if (nregs >= 0 && NUM_ADDRESS_REGS > nregs) in intel_e05()
6951 nregs = ~nregs; in intel_e06()
6953 if (nregs >= 0 && NUM_ADDRESS_REGS > nregs) in intel_e06()
7013 if (nregs < 0) in intel_e09()
7014 nregs = ~nregs; in intel_e09()
7169 nregs = ~nregs; in intel_e09()
[all …]
/freebsd-12.1/contrib/jemalloc/include/jemalloc/internal/
H A Dbin.h42 uint32_t nregs; member

123