Lines Matching refs:reg
120 int reg = static_cast<int>(regno); in GetRegName() local
123 if (reg >= PERF_REG_X86_R8 && reg <= PERF_REG_X86_R15) { in GetRegName()
124 return android::base::StringPrintf("r%d", reg - PERF_REG_X86_R8 + 8); in GetRegName()
129 auto it = x86_reg_map.find(reg); in GetRegName()
130 CHECK(it != x86_reg_map.end()) << "unknown reg " << reg; in GetRegName()
134 if (reg >= PERF_REG_ARM_R0 && reg <= PERF_REG_ARM_R10) { in GetRegName()
135 return android::base::StringPrintf("r%d", reg - PERF_REG_ARM_R0); in GetRegName()
137 auto it = arm_reg_map.find(reg); in GetRegName()
138 CHECK(it != arm_reg_map.end()) << "unknown reg " << reg; in GetRegName()
142 if (reg >= PERF_REG_ARM64_X0 && reg <= PERF_REG_ARM64_X29) { in GetRegName()
143 return android::base::StringPrintf("r%d", reg - PERF_REG_ARM64_X0); in GetRegName()
145 auto it = arm64_reg_map.find(reg); in GetRegName()
146 CHECK(it != arm64_reg_map.end()) << "unknown reg " << reg; in GetRegName()