Lines Matching refs:regno
128 std::string GetRegName(size_t regno, ArchType arch) { in GetRegName() argument
130 int reg = static_cast<int>(regno); in GetRegName()
178 bool RegSet::GetRegValue(size_t regno, uint64_t* value) const { in GetRegValue() argument
179 CHECK_LT(regno, 64U); in GetRegValue()
180 if ((valid_mask >> regno) & 1) { in GetRegValue()
181 *value = data[regno]; in GetRegValue()
188 size_t regno; in GetSpRegValue() local
191 regno = PERF_REG_X86_SP; in GetSpRegValue()
194 regno = PERF_REG_X86_SP; in GetSpRegValue()
197 regno = PERF_REG_ARM_SP; in GetSpRegValue()
200 regno = PERF_REG_ARM64_SP; in GetSpRegValue()
205 return GetRegValue(regno, value); in GetSpRegValue()
209 size_t regno; in GetIpRegValue() local
213 regno = PERF_REG_X86_IP; in GetIpRegValue()
216 regno = PERF_REG_ARM_PC; in GetIpRegValue()
219 regno = PERF_REG_ARM64_PC; in GetIpRegValue()
224 return GetRegValue(regno, value); in GetIpRegValue()