• Home
  • Raw
  • Download

Lines Matching refs:regNum

643 bool UnwindCursor<A, R>::validReg(int regNum) {  in validReg()  argument
644 if (regNum == UNW_REG_IP || regNum == UNW_REG_SP) return true; in validReg()
646 if (regNum >= UNW_X86_64_RAX && regNum <= UNW_X86_64_R15) return true; in validReg()
648 if (regNum >= UNW_ARM_R0 && regNum <= UNW_ARM_R15) return true; in validReg()
650 if (regNum >= UNW_ARM64_X0 && regNum <= UNW_ARM64_X30) return true; in validReg()
656 unw_word_t UnwindCursor<A, R>::getReg(int regNum) { in getReg() argument
657 switch (regNum) { in getReg()
699 default: return _msContext.X[regNum - UNW_ARM64_X0]; in getReg()
706 void UnwindCursor<A, R>::setReg(int regNum, unw_word_t value) { in setReg() argument
707 switch (regNum) { in setReg()
779 case UNW_ARM64_LR: _msContext.X[regNum - UNW_ARM64_X0] = value; break; in setReg()
787 bool UnwindCursor<A, R>::validFloatReg(int regNum) { in validFloatReg() argument
789 if (regNum >= UNW_ARM_S0 && regNum <= UNW_ARM_S31) return true; in validFloatReg()
790 if (regNum >= UNW_ARM_D0 && regNum <= UNW_ARM_D31) return true; in validFloatReg()
792 if (regNum >= UNW_ARM64_D0 && regNum <= UNW_ARM64_D31) return true; in validFloatReg()
794 (void)regNum; in validFloatReg()
800 unw_fpreg_t UnwindCursor<A, R>::getFloatReg(int regNum) { in getFloatReg() argument
802 if (regNum >= UNW_ARM_S0 && regNum <= UNW_ARM_S31) { in getFloatReg()
807 d.w = _msContext.S[regNum - UNW_ARM_S0]; in getFloatReg()
810 if (regNum >= UNW_ARM_D0 && regNum <= UNW_ARM_D31) { in getFloatReg()
815 d.w = _msContext.D[regNum - UNW_ARM_D0]; in getFloatReg()
820 return _msContext.V[regNum - UNW_ARM64_D0].D[0]; in getFloatReg()
822 (void)regNum; in getFloatReg()
828 void UnwindCursor<A, R>::setFloatReg(int regNum, unw_fpreg_t value) { in setFloatReg() argument
830 if (regNum >= UNW_ARM_S0 && regNum <= UNW_ARM_S31) { in setFloatReg()
836 _msContext.S[regNum - UNW_ARM_S0] = d.w; in setFloatReg()
838 if (regNum >= UNW_ARM_D0 && regNum <= UNW_ARM_D31) { in setFloatReg()
844 _msContext.D[regNum - UNW_ARM_D0] = d.w; in setFloatReg()
848 _msContext.V[regNum - UNW_ARM64_D0].D[0] = value; in setFloatReg()
850 (void)regNum; in setFloatReg()
865 const char *UnwindCursor<A, R>::getRegisterName(int regNum) { in getRegisterName() argument
866 return R::getRegisterName(regNum); in getRegisterName()
1174 bool UnwindCursor<A, R>::validReg(int regNum) { in validReg() argument
1175 return _registers.validRegister(regNum); in validReg()
1179 unw_word_t UnwindCursor<A, R>::getReg(int regNum) { in getReg() argument
1180 return _registers.getRegister(regNum); in getReg()
1184 void UnwindCursor<A, R>::setReg(int regNum, unw_word_t value) { in setReg() argument
1185 _registers.setRegister(regNum, (typename A::pint_t)value); in setReg()
1189 bool UnwindCursor<A, R>::validFloatReg(int regNum) { in validFloatReg() argument
1190 return _registers.validFloatRegister(regNum); in validFloatReg()
1194 unw_fpreg_t UnwindCursor<A, R>::getFloatReg(int regNum) { in getFloatReg() argument
1195 return _registers.getFloatRegister(regNum); in getFloatReg()
1199 void UnwindCursor<A, R>::setFloatReg(int regNum, unw_fpreg_t value) { in setFloatReg() argument
1200 _registers.setFloatRegister(regNum, value); in setFloatReg()
1214 const char *UnwindCursor<A, R>::getRegisterName(int regNum) { in getRegisterName() argument
1215 return _registers.getRegisterName(regNum); in getRegisterName()