Lines Matching refs:reg
77 int reg = static_cast<int>(regno); in GetRegName() local
80 if (reg >= PERF_REG_X86_R8 && reg <= PERF_REG_X86_R15) { in GetRegName()
81 return android::base::StringPrintf("r%d", reg - PERF_REG_X86_R8 + 8); in GetRegName()
85 auto it = x86_reg_map.find(reg); in GetRegName()
86 CHECK(it != x86_reg_map.end()) << "unknown reg " << reg; in GetRegName()
90 if (reg >= PERF_REG_ARM_R0 && reg <= PERF_REG_ARM_R10) { in GetRegName()
91 return android::base::StringPrintf("r%d", reg - PERF_REG_ARM_R0); in GetRegName()
93 auto it = arm_reg_map.find(reg); in GetRegName()
94 CHECK(it != arm_reg_map.end()) << "unknown reg " << reg; in GetRegName()
98 if (reg >= PERF_REG_ARM64_X0 && reg <= PERF_REG_ARM64_X29) { in GetRegName()
99 return android::base::StringPrintf("r%d", reg - PERF_REG_ARM64_X0); in GetRegName()
101 auto it = arm64_reg_map.find(reg); in GetRegName()
102 CHECK(it != arm64_reg_map.end()) << "unknown reg " << reg; in GetRegName()