| 1 | /*===- TableGen'erated file -------------------------------------*- C++ -*-===*\ |
| 2 | |* *| |
| 3 | |* Target Register Enum Values *| |
| 4 | |* *| |
| 5 | |* Automatically generated file, do not edit! *| |
| 6 | |* *| |
| 7 | \*===----------------------------------------------------------------------===*/ |
| 8 | |
| 9 | namespace llvm { |
| 10 | |
| 11 | class MCRegisterClass; |
| 12 | extern const MCRegisterClass XCoreMCRegisterClasses[]; |
| 13 | |
| 14 | namespace XCore { |
| 15 | enum : unsigned { |
| 16 | NoRegister, |
| 17 | CP = 1, |
| 18 | DP = 2, |
| 19 | LR = 3, |
| 20 | SP = 4, |
| 21 | R0 = 5, |
| 22 | R1 = 6, |
| 23 | R2 = 7, |
| 24 | R3 = 8, |
| 25 | R4 = 9, |
| 26 | R5 = 10, |
| 27 | R6 = 11, |
| 28 | R7 = 12, |
| 29 | R8 = 13, |
| 30 | R9 = 14, |
| 31 | R10 = 15, |
| 32 | R11 = 16, |
| 33 | NUM_TARGET_REGS // 17 |
| 34 | }; |
| 35 | } // end namespace XCore |
| 36 | |
| 37 | // Register classes |
| 38 | |
| 39 | namespace XCore { |
| 40 | enum { |
| 41 | RRegsRegClassID = 0, |
| 42 | GRRegsRegClassID = 1, |
| 43 | |
| 44 | }; |
| 45 | } // end namespace XCore |
| 46 | |
| 47 | // Register pressure sets enum. |
| 48 | namespace XCore { |
| 49 | enum RegisterPressureSets { |
| 50 | GRRegs = 0, |
| 51 | }; |
| 52 | } // end namespace XCore |
| 53 | |
| 54 | } // end namespace llvm |
| 55 | |
| 56 | |