Lines Matching refs:Reg
24 class Reg {
26 explicit Reg(int reg_num) : num_(reg_num) { } in Reg() function
38 static Reg ArmCore(int num) { return Reg(num); } // R0-R15. in ArmCore()
39 static Reg ArmFp(int num) { return Reg(64 + num); } // S0–S31. in ArmFp()
40 static Reg ArmDp(int num) { return Reg(256 + num); } // D0–D31. in ArmDp()
41 static Reg Arm64Core(int num) { return Reg(num); } // X0-X31. in Arm64Core()
42 static Reg Arm64Fp(int num) { return Reg(64 + num); } // V0-V31. in Arm64Fp()
43 static Reg X86Core(int num) { return Reg(num); } in X86Core()
44 static Reg X86Fp(int num) { return Reg(21 + num); } in X86Fp()
45 static Reg X86_64Core(int num) { in X86_64Core()
47 return Reg(num < 8 ? map[num] : num); in X86_64Core()
49 static Reg X86_64Fp(int num) { return Reg(17 + num); } in X86_64Fp()