Lines Matching refs:regNum

646 bool UnwindCursor<A, R>::validReg(int regNum) {  in validReg()  argument
647 if (regNum == UNW_REG_IP || regNum == UNW_REG_SP) return true; in validReg()
649 if (regNum >= UNW_X86_64_RAX && regNum <= UNW_X86_64_R15) return true; in validReg()
651 if (regNum >= UNW_ARM_R0 && regNum <= UNW_ARM_R15) return true; in validReg()
653 if (regNum >= UNW_ARM64_X0 && regNum <= UNW_ARM64_X30) return true; in validReg()
659 unw_word_t UnwindCursor<A, R>::getReg(int regNum) { in getReg() argument
660 switch (regNum) { in getReg()
702 default: return _msContext.X[regNum - UNW_ARM64_X0]; in getReg()
709 void UnwindCursor<A, R>::setReg(int regNum, unw_word_t value) { in setReg() argument
710 switch (regNum) { in setReg()
782 case UNW_ARM64_LR: _msContext.X[regNum - UNW_ARM64_X0] = value; break; in setReg()
790 bool UnwindCursor<A, R>::validFloatReg(int regNum) { in validFloatReg() argument
792 if (regNum >= UNW_ARM_S0 && regNum <= UNW_ARM_S31) return true; in validFloatReg()
793 if (regNum >= UNW_ARM_D0 && regNum <= UNW_ARM_D31) return true; in validFloatReg()
795 if (regNum >= UNW_ARM64_D0 && regNum <= UNW_ARM64_D31) return true; in validFloatReg()
797 (void)regNum; in validFloatReg()
803 unw_fpreg_t UnwindCursor<A, R>::getFloatReg(int regNum) { in getFloatReg() argument
805 if (regNum >= UNW_ARM_S0 && regNum <= UNW_ARM_S31) { in getFloatReg()
810 d.w = _msContext.S[regNum - UNW_ARM_S0]; in getFloatReg()
813 if (regNum >= UNW_ARM_D0 && regNum <= UNW_ARM_D31) { in getFloatReg()
818 d.w = _msContext.D[regNum - UNW_ARM_D0]; in getFloatReg()
823 return _msContext.V[regNum - UNW_ARM64_D0].D[0]; in getFloatReg()
825 (void)regNum; in getFloatReg()
831 void UnwindCursor<A, R>::setFloatReg(int regNum, unw_fpreg_t value) { in setFloatReg() argument
833 if (regNum >= UNW_ARM_S0 && regNum <= UNW_ARM_S31) { in setFloatReg()
839 _msContext.S[regNum - UNW_ARM_S0] = d.w; in setFloatReg()
841 if (regNum >= UNW_ARM_D0 && regNum <= UNW_ARM_D31) { in setFloatReg()
847 _msContext.D[regNum - UNW_ARM_D0] = d.w; in setFloatReg()
851 _msContext.V[regNum - UNW_ARM64_D0].D[0] = value; in setFloatReg()
853 (void)regNum; in setFloatReg()
868 const char *UnwindCursor<A, R>::getRegisterName(int regNum) { in getRegisterName() argument
869 return R::getRegisterName(regNum); in getRegisterName()
1206 bool UnwindCursor<A, R>::validReg(int regNum) { in validReg() argument
1207 return _registers.validRegister(regNum); in validReg()
1211 unw_word_t UnwindCursor<A, R>::getReg(int regNum) { in getReg() argument
1212 return _registers.getRegister(regNum); in getReg()
1216 void UnwindCursor<A, R>::setReg(int regNum, unw_word_t value) { in setReg() argument
1217 _registers.setRegister(regNum, (typename A::pint_t)value); in setReg()
1221 bool UnwindCursor<A, R>::validFloatReg(int regNum) { in validFloatReg() argument
1222 return _registers.validFloatRegister(regNum); in validFloatReg()
1226 unw_fpreg_t UnwindCursor<A, R>::getFloatReg(int regNum) { in getFloatReg() argument
1227 return _registers.getFloatRegister(regNum); in getFloatReg()
1231 void UnwindCursor<A, R>::setFloatReg(int regNum, unw_fpreg_t value) { in setFloatReg() argument
1232 _registers.setFloatRegister(regNum, value); in setFloatReg()
1246 const char *UnwindCursor<A, R>::getRegisterName(int regNum) { in getRegisterName() argument
1247 return _registers.getRegisterName(regNum); in getRegisterName()