This is the register list for the x86 architecture in LLVM 1.9:
1: AH, 2: AL, 3: AX, 4: BH, 5: BL, 6: BP, 7: BPL, 8: BX, 9: CH, 10: CL, 11: CX, 12: DH, 13: DI, 14: DIL, 15: DL, 16: DX, 17: EAX, 18: EBP, 19: EBX, 20: ECX, 21: EDI, 22: EDX, 23: ESI, 24: ESP, 25: FP0, 26: FP1, 27: FP2, 28: FP3, 29: FP4, 30: FP5, 31: FP6, 32: MM0, 33: MM1, 34: MM2, 35: MM3, 36: MM4, 37: MM5, 38: MM6, 39: MM7, 40: R10, 41: R10B, 42: R10D, 43: R10W, 44: R11, 45: R11B, 46: R11D, 47: R11W, 48: R12, 49: R12B, 50: R12D, 51: R12W, 52: R13, 53: R13B, 54: R13D, 55: R13W, 56: R14, 57: R14B, 58: R14D, 59: R14W, 60: R15, 61: R15B, 62: R15D, 63: R15W, 64: R8, 65: R8B, 66: R8D, 67: R8W, 68: R9, 69: R9B, 70: R9D, 71: R9W, 72: RAX, 73: RBP, 74: RBX, 75: RCX, 76: RDI, 77: RDX, 78: RSI, 79: RSP, 80: SI, 81: SIL, 82: SP, 83: SPL, 84: ST(0), 85: ST(1), 86: ST(2), 87: ST(3), 88: ST(4), 89: ST(5), 90: ST(6), 91: ST(7), 92: XMM0, 93: XMM1, 94: XMM10, 95: XMM11, 96: XMM12, 97: XMM13, 98: XMM14, 99: XMM15, 100: XMM2, 101: XMM3, 102: XMM4, 103: XMM5, 104: XMM6, 105: XMM7, 106: XMM8, 107: XMM9.
And these are the classes of registers:
Class ID
|
Number of regs
|
Reg size
|
Alignment
|
1 |
16 |
4 |
4 |
2 |
16 |
8 |
8 |
3 |
16 |
2 |
2 |
4 |
4 |
2 |
2 |
5 |
16 |
4 |
4 |
6 |
4 |
4 |
4 |
7 |
16 |
8 |
8 |
8 |
20 |
1 |
1 |
9 |
7 |
8 |
4 |
10 |
8 |
8 |
4 |
11 |
16 |
16 |
16 |
12 |
8 |
8 |
8 |