Lines Matching refs:regno
118 std::string GetRegName(size_t regno, ArchType arch) { in GetRegName() argument
120 int reg = static_cast<int>(regno); in GetRegName()
170 bool RegSet::GetRegValue(size_t regno, uint64_t* value) const { in GetRegValue() argument
171 CHECK_LT(regno, 64U); in GetRegValue()
172 if ((valid_mask >> regno) & 1) { in GetRegValue()
173 *value = data[regno]; in GetRegValue()
180 size_t regno; in GetSpRegValue() local
183 regno = PERF_REG_X86_SP; in GetSpRegValue()
186 regno = PERF_REG_X86_SP; in GetSpRegValue()
189 regno = PERF_REG_ARM_SP; in GetSpRegValue()
192 regno = PERF_REG_ARM64_SP; in GetSpRegValue()
197 return GetRegValue(regno, value); in GetSpRegValue()
201 size_t regno; in GetIpRegValue() local
205 regno = PERF_REG_X86_IP; in GetIpRegValue()
208 regno = PERF_REG_ARM_PC; in GetIpRegValue()
211 regno = PERF_REG_ARM64_PC; in GetIpRegValue()
216 return GetRegValue(regno, value); in GetIpRegValue()