Lines Matching refs:regno
134 std::string GetRegName(size_t regno, ArchType arch) { in GetRegName() argument
136 int reg = static_cast<int>(regno); in GetRegName()
187 int regno; in SetIpReg() local
191 regno = PERF_REG_X86_IP; in SetIpReg()
194 regno = PERF_REG_ARM_PC; in SetIpReg()
197 regno = PERF_REG_ARM64_PC; in SetIpReg()
202 regs->valid_mask |= (1ULL << regno); in SetIpReg()
203 regs->data[regno] = ip; in SetIpReg()
206 bool GetRegValue(const RegSet& regs, size_t regno, uint64_t* value) { in GetRegValue() argument
207 CHECK_LT(regno, 64U); in GetRegValue()
208 if ((regs.valid_mask >> regno) & 1) { in GetRegValue()
209 *value = regs.data[regno]; in GetRegValue()
216 size_t regno; in GetSpRegValue() local
219 regno = PERF_REG_X86_SP; in GetSpRegValue()
222 regno = PERF_REG_X86_SP; in GetSpRegValue()
225 regno = PERF_REG_ARM_SP; in GetSpRegValue()
228 regno = PERF_REG_ARM64_SP; in GetSpRegValue()
233 return GetRegValue(regs, regno, value); in GetSpRegValue()