Lines Matching refs:regNum
158 _LIBUNWIND_EXPORT int unw_get_reg(unw_cursor_t *cursor, unw_regnum_t regNum, in unw_get_reg() argument
161 static_cast<void *>(cursor), regNum, in unw_get_reg()
164 if (co->validReg(regNum)) { in unw_get_reg()
165 *value = co->getReg(regNum); in unw_get_reg()
173 _LIBUNWIND_EXPORT int unw_set_reg(unw_cursor_t *cursor, unw_regnum_t regNum, in unw_set_reg() argument
176 static_cast<void *>(cursor), regNum, (long long)value); in unw_set_reg()
179 if (co->validReg(regNum)) { in unw_set_reg()
180 co->setReg(regNum, (pint_t)value); in unw_set_reg()
183 if (regNum == UNW_REG_IP) in unw_set_reg()
192 _LIBUNWIND_EXPORT int unw_get_fpreg(unw_cursor_t *cursor, unw_regnum_t regNum, in unw_get_fpreg() argument
195 static_cast<void *>(cursor), regNum, in unw_get_fpreg()
198 if (co->validFloatReg(regNum)) { in unw_get_fpreg()
199 *value = co->getFloatReg(regNum); in unw_get_fpreg()
207 _LIBUNWIND_EXPORT int unw_set_fpreg(unw_cursor_t *cursor, unw_regnum_t regNum, in unw_set_fpreg() argument
211 static_cast<void *>(cursor), regNum, value); in unw_set_fpreg()
214 static_cast<void *>(cursor), regNum, value); in unw_set_fpreg()
217 if (co->validFloatReg(regNum)) { in unw_set_fpreg()
218 co->setFloatReg(regNum, value); in unw_set_fpreg()
271 _LIBUNWIND_EXPORT int unw_is_fpreg(unw_cursor_t *cursor, unw_regnum_t regNum) { in unw_is_fpreg() argument
273 static_cast<void *>(cursor), regNum); in unw_is_fpreg()
275 return co->validFloatReg(regNum); in unw_is_fpreg()
281 unw_regnum_t regNum) { in unw_regname() argument
283 static_cast<void *>(cursor), regNum); in unw_regname()
285 return co->getRegisterName(regNum); in unw_regname()