Home
last modified time | relevance | path

Searched refs:regnum (Results 1 – 25 of 38) sorted by relevance

12

/third_party/libunwind/src/arm/
Dis_fpreg.c31 unw_is_fpreg (int regnum) in unw_is_fpreg() argument
33 return ((regnum >= UNW_ARM_S0 && regnum <= UNW_ARM_S31) in unw_is_fpreg()
34 || (regnum >= UNW_ARM_F0 && regnum <= UNW_ARM_F7) in unw_is_fpreg()
35 || (regnum >= UNW_ARM_wCGR0 && regnum <= UNW_ARM_wCGR7) in unw_is_fpreg()
36 || (regnum >= UNW_ARM_wR0 && regnum <= UNW_ARM_wR15) in unw_is_fpreg()
37 || (regnum >= UNW_ARM_wC0 && regnum <= UNW_ARM_wC7) in unw_is_fpreg()
38 || (regnum >= UNW_ARM_D0 && regnum <= UNW_ARM_D31)); in unw_is_fpreg()
DGget_save_loc.c72 sloc->u.regnum = DWARF_GET_LOC (loc); in unw_get_save_loc()
/third_party/libunwind/src/coredump/
D_UCD_access_reg_linux.c31 unw_regnum_t regnum, unw_word_t *valp, in _UCD_access_reg() argument
42 if (regnum < 0) in _UCD_access_reg()
46 if (regnum >= UNW_AARCH64_FPCR) in _UCD_access_reg()
49 if (regnum >= 16) in _UCD_access_reg()
52 if (regnum > UNW_SH_PR) in _UCD_access_reg()
55 if (regnum > UNW_TILEGX_CFA) in _UCD_access_reg()
58 if (regnum > UNW_S390X_R15) in _UCD_access_reg()
61 if (regnum >= ARRAY_SIZE(ui->prstatus->pr_reg)) in _UCD_access_reg()
64 if (regnum == UNW_RISCV_PC) in _UCD_access_reg()
65 regnum = 0; in _UCD_access_reg()
[all …]
D_UCD_access_reg_freebsd.c30 unw_regnum_t regnum, unw_word_t *valp, in _UCD_access_reg() argument
42 switch (regnum) { in _UCD_access_reg()
77 Debug(0, "bad regnum:%d\n", regnum); in _UCD_access_reg()
81 switch (regnum) { in _UCD_access_reg()
110 Debug(0, "bad regnum:%d\n", regnum); in _UCD_access_reg()
114 if (regnum >= UNW_ARM_R0 && regnum <= UNW_ARM_R12) { in _UCD_access_reg()
115 *valp = ui->prstatus->pr_reg.r[regnum]; in _UCD_access_reg()
117 switch (regnum) { in _UCD_access_reg()
128 Debug(0, "bad regnum:%d\n", regnum); in _UCD_access_reg()
133 if (regnum >= UNW_AARCH64_X0 && regnum < UNW_AARCH64_X30) { in _UCD_access_reg()
[all …]
/third_party/libunwind/src/dwarf/
DGparser.c55 set_reg (dwarf_state_record_t *sr, unw_word_t regnum, dwarf_where_t where, in set_reg() argument
58 sr->rs_current.reg.where[regnum] = where; in set_reg()
59 sr->rs_current.reg.val[regnum] = val; in set_reg()
117 unw_word_t operand = 0, regnum, val, len; in run_cfi_program() local
176 regnum = operand; in run_cfi_program()
177 if (regnum >= DWARF_NUM_PRESERVED_REGS) in run_cfi_program()
180 (unsigned int) regnum); in run_cfi_program()
186 set_reg (sr, regnum, DWARF_WHERE_CFAREL, val * dci->data_align); in run_cfi_program()
188 (long) regnum, (long) (val * dci->data_align)); in run_cfi_program()
192 if (((ret = read_regnum (as, a, addr, &regnum, arg)) < 0) in run_cfi_program()
[all …]
/third_party/libunwind/src/x86/
Dis_fpreg.c29 unw_is_fpreg (int regnum) in unw_is_fpreg() argument
31 return ((regnum >= UNW_X86_ST0 && regnum <= UNW_X86_ST7) in unw_is_fpreg()
32 || (regnum >= UNW_X86_XMM0_lo && regnum <= UNW_X86_XMM7_hi) in unw_is_fpreg()
33 || (regnum >= UNW_X86_XMM0 && regnum <= UNW_X86_XMM7)); in unw_is_fpreg()
/third_party/libunwind/src/x86_64/
Dis_fpreg.c31 unw_is_fpreg (int regnum) in unw_is_fpreg() argument
34 return ((regnum >= UNW_X86_ST0 && regnum <= UNW_X86_ST7) in unw_is_fpreg()
35 || (regnum >= UNW_X86_XMM0_lo && regnum <= UNW_X86_XMM7_hi)); in unw_is_fpreg()
/third_party/libunwind/tests/
DGx64-test-dwarf-expressions.c15 extern int64_t DW_CFA_expression_testcase(int64_t regnum, int64_t height);
20 extern int64_t recover_register(int64_t regnum, int64_t height) in recover_register() argument
43 if ((rc = unw_get_reg(&cursor, (unw_regnum_t) regnum, &value)) != 0) in recover_register()
44 panic("%s: unw_get_reg failed to retrieve register %lu", __FUNCTION__, regnum); in recover_register()
Dtest-proc-info.c69 unw_regnum_t regnum UNUSED, in access_reg()
80 unw_regnum_t regnum UNUSED, in access_fpreg()
/third_party/libunwind/src/aarch64/
Dis_fpreg.c29 unw_is_fpreg (int regnum) in unw_is_fpreg() argument
31 return (regnum >= UNW_AARCH64_V0 && regnum <= UNW_AARCH64_V31); in unw_is_fpreg()
/third_party/libunwind/src/ppc32/
Dis_fpreg.c31 unw_is_fpreg (int regnum) in unw_is_fpreg() argument
33 return (regnum >= UNW_PPC32_F0 && regnum <= UNW_PPC32_F31); in unw_is_fpreg()
/third_party/libunwind/src/s390x/
Dis_fpreg.c32 unw_is_fpreg (int regnum) in unw_is_fpreg() argument
35 return regnum >= UNW_S390X_F0 && regnum <= UNW_S390X_F15; in unw_is_fpreg()
/third_party/libunwind/src/riscv/
Dis_fpreg.c28 unw_is_fpreg (int regnum) in unw_is_fpreg() argument
30 return (regnum >= UNW_RISCV_F0 && regnum <= UNW_RISCV_F31); in unw_is_fpreg()
/third_party/libunwind/src/ppc64/
Dis_fpreg.c31 unw_is_fpreg (int regnum) in unw_is_fpreg() argument
33 return (regnum >= UNW_PPC64_F0 && regnum <= UNW_PPC64_F31); in unw_is_fpreg()
/third_party/libunwind/src/mi/
DGget_reg.c29 unw_get_reg (unw_cursor_t *cursor, int regnum, unw_word_t *valp) in unw_get_reg() argument
34 if (regnum == UNW_REG_IP) in unw_get_reg()
40 return tdep_access_reg (c, regnum, valp, 0); in unw_get_reg()
DGset_reg.c29 unw_set_reg (unw_cursor_t *cursor, int regnum, unw_word_t valp) in unw_set_reg() argument
33 return tdep_access_reg (c, regnum, &valp, 1); in unw_set_reg()
DGget_fpreg.c29 unw_get_fpreg (unw_cursor_t *cursor, int regnum, unw_fpreg_t *valp) in unw_get_fpreg() argument
33 return tdep_access_fpreg (c, regnum, valp, 0); in unw_get_fpreg()
DGset_fpreg.c29 unw_set_fpreg (unw_cursor_t *cursor, int regnum, unw_fpreg_t val) in unw_set_fpreg() argument
33 return tdep_access_fpreg (c, regnum, &val, 1); in unw_set_fpreg()
/third_party/libunwind/doc/
Dunw_regname.tex15 \Type{const char~*}\Func{unw\_regname}(\Type{unw\_regnum\_t} \Var{regnum});\\
20 register \Var{regnum}. If \Var{regnum} is an invalid or otherwise
/third_party/libunwind/src/mips/
Dis_fpreg.c31 unw_is_fpreg (int regnum) in unw_is_fpreg() argument
/third_party/libunwind/src/tilegx/
Dis_fpreg.c30 unw_is_fpreg (int regnum) in unw_is_fpreg() argument
DGget_save_loc.c53 sloc->u.regnum = DWARF_GET_LOC (loc); in unw_get_save_loc()
/third_party/libunwind/src/sh/
Dis_fpreg.c28 unw_is_fpreg (int regnum) in unw_is_fpreg() argument
/third_party/libunwind/src/ia64/
DGparser.c474 desc_reg_when (unsigned char regnum, unw_word t, struct ia64_state_record *sr) in desc_reg_when() argument
476 struct ia64_reg_info *reg = sr->curr.reg + regnum; in desc_reg_when()
697 lookup_preg (int regnum, int memory, struct ia64_state_record *sr) in lookup_preg() argument
701 switch (regnum) in lookup_preg()
722 preg = IA64_REG_R4 + (regnum - (UNW_IA64_GR + 4)); in lookup_preg()
726 preg = IA64_REG_B1 + (regnum - UNW_IA64_BR); in lookup_preg()
730 preg = IA64_REG_F2 + (regnum - (UNW_IA64_FR + 2)); in lookup_preg()
734 preg = IA64_REG_F16 + (regnum - (UNW_IA64_FR + 16)); in lookup_preg()
738 Dprintf ("%s: invalid register number %d\n", __FUNCTION__, regnum); in lookup_preg()
/third_party/libunwind/src/hppa/
DGget_save_loc.c50 sloc->u.regnum = DWARF_GET_LOC (loc); in unw_get_save_loc()

12