| /*===- TableGen'erated file -------------------------------------*- C++ -*-===*\ |
| |* *| |
| |* Target Register Enum Values *| |
| |* *| |
| |* Automatically generated file, do not edit! *| |
| |* *| |
| \*===----------------------------------------------------------------------===*/ |
| |
| |
| #ifdef GET_REGINFO_ENUM |
| #undef GET_REGINFO_ENUM |
| |
| namespace llvm { |
| |
| class MCRegisterClass; |
| extern const MCRegisterClass X86MCRegisterClasses[]; |
| |
| namespace X86 { |
| enum { |
| NoRegister, |
| AH = 1, |
| AL = 2, |
| AX = 3, |
| BH = 4, |
| BL = 5, |
| BP = 6, |
| BPH = 7, |
| BPL = 8, |
| BX = 9, |
| CH = 10, |
| CL = 11, |
| CS = 12, |
| CX = 13, |
| DF = 14, |
| DH = 15, |
| DI = 16, |
| DIH = 17, |
| DIL = 18, |
| DL = 19, |
| DS = 20, |
| DX = 21, |
| EAX = 22, |
| EBP = 23, |
| EBX = 24, |
| ECX = 25, |
| EDI = 26, |
| EDX = 27, |
| EFLAGS = 28, |
| EIP = 29, |
| EIZ = 30, |
| ES = 31, |
| ESI = 32, |
| ESP = 33, |
| FPSW = 34, |
| FS = 35, |
| GS = 36, |
| HAX = 37, |
| HBP = 38, |
| HBX = 39, |
| HCX = 40, |
| HDI = 41, |
| HDX = 42, |
| HIP = 43, |
| HSI = 44, |
| HSP = 45, |
| IP = 46, |
| RAX = 47, |
| RBP = 48, |
| RBX = 49, |
| RCX = 50, |
| RDI = 51, |
| RDX = 52, |
| RIP = 53, |
| RIZ = 54, |
| RSI = 55, |
| RSP = 56, |
| SI = 57, |
| SIH = 58, |
| SIL = 59, |
| SP = 60, |
| SPH = 61, |
| SPL = 62, |
| SS = 63, |
| SSP = 64, |
| BND0 = 65, |
| BND1 = 66, |
| BND2 = 67, |
| BND3 = 68, |
| CR0 = 69, |
| CR1 = 70, |
| CR2 = 71, |
| CR3 = 72, |
| CR4 = 73, |
| CR5 = 74, |
| CR6 = 75, |
| CR7 = 76, |
| CR8 = 77, |
| CR9 = 78, |
| CR10 = 79, |
| CR11 = 80, |
| CR12 = 81, |
| CR13 = 82, |
| CR14 = 83, |
| CR15 = 84, |
| DR0 = 85, |
| DR1 = 86, |
| DR2 = 87, |
| DR3 = 88, |
| DR4 = 89, |
| DR5 = 90, |
| DR6 = 91, |
| DR7 = 92, |
| DR8 = 93, |
| DR9 = 94, |
| DR10 = 95, |
| DR11 = 96, |
| DR12 = 97, |
| DR13 = 98, |
| DR14 = 99, |
| DR15 = 100, |
| FP0 = 101, |
| FP1 = 102, |
| FP2 = 103, |
| FP3 = 104, |
| FP4 = 105, |
| FP5 = 106, |
| FP6 = 107, |
| FP7 = 108, |
| K0 = 109, |
| K1 = 110, |
| K2 = 111, |
| K3 = 112, |
| K4 = 113, |
| K5 = 114, |
| K6 = 115, |
| K7 = 116, |
| MM0 = 117, |
| MM1 = 118, |
| MM2 = 119, |
| MM3 = 120, |
| MM4 = 121, |
| MM5 = 122, |
| MM6 = 123, |
| MM7 = 124, |
| R8 = 125, |
| R9 = 126, |
| R10 = 127, |
| R11 = 128, |
| R12 = 129, |
| R13 = 130, |
| R14 = 131, |
| R15 = 132, |
| ST0 = 133, |
| ST1 = 134, |
| ST2 = 135, |
| ST3 = 136, |
| ST4 = 137, |
| ST5 = 138, |
| ST6 = 139, |
| ST7 = 140, |
| XMM0 = 141, |
| XMM1 = 142, |
| XMM2 = 143, |
| XMM3 = 144, |
| XMM4 = 145, |
| XMM5 = 146, |
| XMM6 = 147, |
| XMM7 = 148, |
| XMM8 = 149, |
| XMM9 = 150, |
| XMM10 = 151, |
| XMM11 = 152, |
| XMM12 = 153, |
| XMM13 = 154, |
| XMM14 = 155, |
| XMM15 = 156, |
| XMM16 = 157, |
| XMM17 = 158, |
| XMM18 = 159, |
| XMM19 = 160, |
| XMM20 = 161, |
| XMM21 = 162, |
| XMM22 = 163, |
| XMM23 = 164, |
| XMM24 = 165, |
| XMM25 = 166, |
| XMM26 = 167, |
| XMM27 = 168, |
| XMM28 = 169, |
| XMM29 = 170, |
| XMM30 = 171, |
| XMM31 = 172, |
| YMM0 = 173, |
| YMM1 = 174, |
| YMM2 = 175, |
| YMM3 = 176, |
| YMM4 = 177, |
| YMM5 = 178, |
| YMM6 = 179, |
| YMM7 = 180, |
| YMM8 = 181, |
| YMM9 = 182, |
| YMM10 = 183, |
| YMM11 = 184, |
| YMM12 = 185, |
| YMM13 = 186, |
| YMM14 = 187, |
| YMM15 = 188, |
| YMM16 = 189, |
| YMM17 = 190, |
| YMM18 = 191, |
| YMM19 = 192, |
| YMM20 = 193, |
| YMM21 = 194, |
| YMM22 = 195, |
| YMM23 = 196, |
| YMM24 = 197, |
| YMM25 = 198, |
| YMM26 = 199, |
| YMM27 = 200, |
| YMM28 = 201, |
| YMM29 = 202, |
| YMM30 = 203, |
| YMM31 = 204, |
| ZMM0 = 205, |
| ZMM1 = 206, |
| ZMM2 = 207, |
| ZMM3 = 208, |
| ZMM4 = 209, |
| ZMM5 = 210, |
| ZMM6 = 211, |
| ZMM7 = 212, |
| ZMM8 = 213, |
| ZMM9 = 214, |
| ZMM10 = 215, |
| ZMM11 = 216, |
| ZMM12 = 217, |
| ZMM13 = 218, |
| ZMM14 = 219, |
| ZMM15 = 220, |
| ZMM16 = 221, |
| ZMM17 = 222, |
| ZMM18 = 223, |
| ZMM19 = 224, |
| ZMM20 = 225, |
| ZMM21 = 226, |
| ZMM22 = 227, |
| ZMM23 = 228, |
| ZMM24 = 229, |
| ZMM25 = 230, |
| ZMM26 = 231, |
| ZMM27 = 232, |
| ZMM28 = 233, |
| ZMM29 = 234, |
| ZMM30 = 235, |
| ZMM31 = 236, |
| R8B = 237, |
| R9B = 238, |
| R10B = 239, |
| R11B = 240, |
| R12B = 241, |
| R13B = 242, |
| R14B = 243, |
| R15B = 244, |
| R8BH = 245, |
| R9BH = 246, |
| R10BH = 247, |
| R11BH = 248, |
| R12BH = 249, |
| R13BH = 250, |
| R14BH = 251, |
| R15BH = 252, |
| R8D = 253, |
| R9D = 254, |
| R10D = 255, |
| R11D = 256, |
| R12D = 257, |
| R13D = 258, |
| R14D = 259, |
| R15D = 260, |
| R8W = 261, |
| R9W = 262, |
| R10W = 263, |
| R11W = 264, |
| R12W = 265, |
| R13W = 266, |
| R14W = 267, |
| R15W = 268, |
| R8WH = 269, |
| R9WH = 270, |
| R10WH = 271, |
| R11WH = 272, |
| R12WH = 273, |
| R13WH = 274, |
| R14WH = 275, |
| R15WH = 276, |
| NUM_TARGET_REGS // 277 |
| }; |
| } // end namespace X86 |
| |
| // Register classes |
| |
| namespace X86 { |
| enum { |
| GR8RegClassID = 0, |
| GRH8RegClassID = 1, |
| GR8_NOREXRegClassID = 2, |
| GR8_ABCD_HRegClassID = 3, |
| GR8_ABCD_LRegClassID = 4, |
| GRH16RegClassID = 5, |
| GR16RegClassID = 6, |
| GR16_NOREXRegClassID = 7, |
| VK1RegClassID = 8, |
| VK16RegClassID = 9, |
| VK2RegClassID = 10, |
| VK4RegClassID = 11, |
| VK8RegClassID = 12, |
| VK16WMRegClassID = 13, |
| VK1WMRegClassID = 14, |
| VK2WMRegClassID = 15, |
| VK4WMRegClassID = 16, |
| VK8WMRegClassID = 17, |
| SEGMENT_REGRegClassID = 18, |
| GR16_ABCDRegClassID = 19, |
| FPCCRRegClassID = 20, |
| FR32XRegClassID = 21, |
| LOW32_ADDR_ACCESS_RBPRegClassID = 22, |
| LOW32_ADDR_ACCESSRegClassID = 23, |
| LOW32_ADDR_ACCESS_RBP_with_sub_8bitRegClassID = 24, |
| DEBUG_REGRegClassID = 25, |
| FR32RegClassID = 26, |
| GR32RegClassID = 27, |
| GR32_NOSPRegClassID = 28, |
| LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREXRegClassID = 29, |
| GR32_NOREXRegClassID = 30, |
| VK32RegClassID = 31, |
| GR32_NOREX_NOSPRegClassID = 32, |
| RFP32RegClassID = 33, |
| VK32WMRegClassID = 34, |
| GR32_ABCDRegClassID = 35, |
| GR32_TCRegClassID = 36, |
| GR32_ADRegClassID = 37, |
| LOW32_ADDR_ACCESS_RBP_with_sub_32bitRegClassID = 38, |
| CCRRegClassID = 39, |
| DFCCRRegClassID = 40, |
| LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bitRegClassID = 41, |
| LOW32_ADDR_ACCESS_with_sub_32bitRegClassID = 42, |
| RFP64RegClassID = 43, |
| FR64XRegClassID = 44, |
| GR64RegClassID = 45, |
| CONTROL_REGRegClassID = 46, |
| FR64RegClassID = 47, |
| GR64_with_sub_8bitRegClassID = 48, |
| GR64_NOSPRegClassID = 49, |
| GR64_NOREXRegClassID = 50, |
| GR64_TCRegClassID = 51, |
| GR64_NOSP_and_GR64_TCRegClassID = 52, |
| GR64_TCW64RegClassID = 53, |
| GR64_with_sub_16bit_in_GR16_NOREXRegClassID = 54, |
| VK64RegClassID = 55, |
| VR64RegClassID = 56, |
| GR64_NOREX_NOSPRegClassID = 57, |
| GR64_NOSP_and_GR64_TCW64RegClassID = 58, |
| GR64_TC_and_GR64_TCW64RegClassID = 59, |
| VK64WMRegClassID = 60, |
| GR64_NOREX_and_GR64_TCRegClassID = 61, |
| GR64_TC_and_GR64_NOSP_and_GR64_TCW64RegClassID = 62, |
| GR64_NOREX_NOSP_and_GR64_TCRegClassID = 63, |
| GR64_ABCDRegClassID = 64, |
| GR64_NOREX_and_GR64_TCW64RegClassID = 65, |
| GR64_with_sub_32bit_in_GR32_TCRegClassID = 66, |
| GR64_ADRegClassID = 67, |
| GR64_and_LOW32_ADDR_ACCESS_RBPRegClassID = 68, |
| GR64_NOREX_NOSP_and_LOW32_ADDR_ACCESS_RBPRegClassID = 69, |
| GR64_and_LOW32_ADDR_ACCESSRegClassID = 70, |
| RSTRegClassID = 71, |
| RFP80RegClassID = 72, |
| VR128XRegClassID = 73, |
| VR128RegClassID = 74, |
| VR128HRegClassID = 75, |
| VR128LRegClassID = 76, |
| BNDRRegClassID = 77, |
| VR256XRegClassID = 78, |
| VR256RegClassID = 79, |
| VR256HRegClassID = 80, |
| VR256LRegClassID = 81, |
| VR512RegClassID = 82, |
| VR512_with_sub_xmm_in_FR32RegClassID = 83, |
| VR512_with_sub_xmm_in_VR128HRegClassID = 84, |
| VR512_with_sub_xmm_in_VR128LRegClassID = 85, |
| |
| }; |
| } // end namespace X86 |
| |
| |
| // Subregister indices |
| |
| namespace X86 { |
| enum { |
| NoSubRegister, |
| sub_8bit, // 1 |
| sub_8bit_hi, // 2 |
| sub_8bit_hi_phony, // 3 |
| sub_16bit, // 4 |
| sub_16bit_hi, // 5 |
| sub_32bit, // 6 |
| sub_xmm, // 7 |
| sub_ymm, // 8 |
| NUM_TARGET_SUBREGS |
| }; |
| } // end namespace X86 |
| |
| } // end namespace llvm |
| |
| #endif // GET_REGINFO_ENUM |
| |
| /*===- TableGen'erated file -------------------------------------*- C++ -*-===*\ |
| |* *| |
| |* MC Register Information *| |
| |* *| |
| |* Automatically generated file, do not edit! *| |
| |* *| |
| \*===----------------------------------------------------------------------===*/ |
| |
| |
| #ifdef GET_REGINFO_MC_DESC |
| #undef GET_REGINFO_MC_DESC |
| |
| namespace llvm { |
| |
| extern const MCPhysReg X86RegDiffLists[] = { |
| /* 0 */ 0, 1, 0, |
| /* 3 */ 64875, 1, 1, 0, |
| /* 7 */ 65259, 1, 1, 0, |
| /* 11 */ 65397, 1, 1, 0, |
| /* 15 */ 65466, 1, 1, 0, |
| /* 19 */ 2, 1, 0, |
| /* 22 */ 4, 1, 0, |
| /* 25 */ 6, 1, 0, |
| /* 28 */ 11, 1, 0, |
| /* 31 */ 22, 1, 0, |
| /* 34 */ 26, 1, 0, |
| /* 37 */ 29, 1, 0, |
| /* 40 */ 64851, 1, 0, |
| /* 43 */ 10, 3, 0, |
| /* 46 */ 4, 0, |
| /* 48 */ 5, 0, |
| /* 50 */ 65292, 1, 7, 0, |
| /* 54 */ 65417, 1, 7, 0, |
| /* 58 */ 10, 3, 7, 0, |
| /* 62 */ 65512, 8, 0, |
| /* 65 */ 65342, 1, 11, 0, |
| /* 69 */ 65348, 1, 11, 0, |
| /* 73 */ 65442, 1, 11, 0, |
| /* 77 */ 65448, 1, 11, 0, |
| /* 81 */ 12, 0, |
| /* 83 */ 65342, 1, 14, 0, |
| /* 87 */ 65348, 1, 14, 0, |
| /* 91 */ 65442, 1, 14, 0, |
| /* 95 */ 65448, 1, 14, 0, |
| /* 99 */ 21, 0, |
| /* 101 */ 22, 0, |
| /* 103 */ 65534, 65509, 23, 0, |
| /* 107 */ 65535, 65509, 23, 0, |
| /* 111 */ 65534, 65511, 23, 0, |
| /* 115 */ 65535, 65511, 23, 0, |
| /* 119 */ 65524, 23, 0, |
| /* 122 */ 128, 8, 65512, 8, 24, 0, |
| /* 128 */ 65519, 24, 0, |
| /* 131 */ 65522, 24, 0, |
| /* 134 */ 65511, 65526, 2, 65535, 24, 0, |
| /* 140 */ 2, 6, 25, 0, |
| /* 144 */ 6, 6, 25, 0, |
| /* 148 */ 65534, 10, 25, 0, |
| /* 152 */ 65535, 10, 25, 0, |
| /* 156 */ 2, 12, 25, 0, |
| /* 160 */ 3, 12, 25, 0, |
| /* 164 */ 4, 15, 25, 0, |
| /* 168 */ 5, 15, 25, 0, |
| /* 172 */ 65534, 17, 25, 0, |
| /* 176 */ 65535, 17, 25, 0, |
| /* 180 */ 1, 19, 25, 0, |
| /* 184 */ 2, 19, 25, 0, |
| /* 188 */ 65521, 25, 0, |
| /* 191 */ 26, 0, |
| /* 193 */ 65511, 65530, 65534, 65532, 27, 0, |
| /* 199 */ 65511, 65524, 65534, 65535, 30, 0, |
| /* 205 */ 65511, 65519, 2, 65535, 31, 0, |
| /* 211 */ 32, 32, 0, |
| /* 214 */ 65511, 65521, 65532, 65535, 35, 0, |
| /* 220 */ 65511, 65517, 65535, 65535, 36, 0, |
| /* 226 */ 64829, 0, |
| /* 228 */ 64900, 0, |
| /* 230 */ 64923, 0, |
| /* 232 */ 65131, 0, |
| /* 234 */ 65520, 65408, 0, |
| /* 237 */ 16, 65528, 65408, 0, |
| /* 241 */ 24, 65528, 65408, 0, |
| /* 245 */ 65430, 0, |
| /* 247 */ 65432, 0, |
| /* 249 */ 65461, 0, |
| /* 251 */ 65493, 0, |
| /* 253 */ 65504, 65504, 0, |
| /* 256 */ 65509, 0, |
| /* 258 */ 65511, 0, |
| /* 260 */ 65514, 0, |
| /* 262 */ 65513, 27, 2, 65535, 65520, 0, |
| /* 268 */ 65513, 25, 2, 65535, 65522, 0, |
| /* 274 */ 65525, 0, |
| /* 276 */ 65530, 0, |
| /* 278 */ 65531, 0, |
| /* 280 */ 65534, 65532, 0, |
| /* 283 */ 65512, 17, 65533, 0, |
| /* 287 */ 65534, 0, |
| /* 289 */ 2, 65535, 0, |
| /* 292 */ 65532, 65535, 0, |
| /* 295 */ 65534, 65535, 0, |
| /* 298 */ 65535, 65535, 0, |
| }; |
| |
| extern const LaneBitmask X86LaneMaskLists[] = { |
| /* 0 */ LaneBitmask(0x00000000), LaneBitmask::getAll(), |
| /* 2 */ LaneBitmask(0x00000002), LaneBitmask(0x00000001), LaneBitmask::getAll(), |
| /* 5 */ LaneBitmask(0x00000001), LaneBitmask(0x00000004), LaneBitmask::getAll(), |
| /* 8 */ LaneBitmask(0x00000002), LaneBitmask(0x00000001), LaneBitmask(0x00000008), LaneBitmask::getAll(), |
| /* 12 */ LaneBitmask(0x00000001), LaneBitmask(0x00000004), LaneBitmask(0x00000008), LaneBitmask::getAll(), |
| /* 16 */ LaneBitmask(0x00000007), LaneBitmask(0x00000008), LaneBitmask::getAll(), |
| /* 19 */ LaneBitmask(0x00000010), LaneBitmask::getAll(), |
| }; |
| |
| extern const uint16_t X86SubRegIdxLists[] = { |
| /* 0 */ 1, 2, 0, |
| /* 3 */ 1, 3, 0, |
| /* 6 */ 6, 4, 1, 2, 5, 0, |
| /* 12 */ 6, 4, 1, 3, 5, 0, |
| /* 18 */ 6, 4, 5, 0, |
| /* 22 */ 8, 7, 0, |
| }; |
| |
| extern const MCRegisterInfo::SubRegCoveredBits X86SubRegIdxRanges[] = { |
| { 65535, 65535 }, |
| { 0, 8 }, // sub_8bit |
| { 8, 8 }, // sub_8bit_hi |
| { 8, 8 }, // sub_8bit_hi_phony |
| { 0, 16 }, // sub_16bit |
| { 16, 16 }, // sub_16bit_hi |
| { 0, 32 }, // sub_32bit |
| { 0, 128 }, // sub_xmm |
| { 0, 256 }, // sub_ymm |
| }; |
| |
| extern const char X86RegStrings[] = { |
| /* 0 */ 'X', 'M', 'M', '1', '0', 0, |
| /* 6 */ 'Y', 'M', 'M', '1', '0', 0, |
| /* 12 */ 'Z', 'M', 'M', '1', '0', 0, |
| /* 18 */ 'C', 'R', '1', '0', 0, |
| /* 23 */ 'D', 'R', '1', '0', 0, |
| /* 28 */ 'X', 'M', 'M', '2', '0', 0, |
| /* 34 */ 'Y', 'M', 'M', '2', '0', 0, |
| /* 40 */ 'Z', 'M', 'M', '2', '0', 0, |
| /* 46 */ 'X', 'M', 'M', '3', '0', 0, |
| /* 52 */ 'Y', 'M', 'M', '3', '0', 0, |
| /* 58 */ 'Z', 'M', 'M', '3', '0', 0, |
| /* 64 */ 'B', 'N', 'D', '0', 0, |
| /* 69 */ 'K', '0', 0, |
| /* 72 */ 'X', 'M', 'M', '0', 0, |
| /* 77 */ 'Y', 'M', 'M', '0', 0, |
| /* 82 */ 'Z', 'M', 'M', '0', 0, |
| /* 87 */ 'F', 'P', '0', 0, |
| /* 91 */ 'C', 'R', '0', 0, |
| /* 95 */ 'D', 'R', '0', 0, |
| /* 99 */ 'S', 'T', '0', 0, |
| /* 103 */ 'X', 'M', 'M', '1', '1', 0, |
| /* 109 */ 'Y', 'M', 'M', '1', '1', 0, |
| /* 115 */ 'Z', 'M', 'M', '1', '1', 0, |
| /* 121 */ 'C', 'R', '1', '1', 0, |
| /* 126 */ 'D', 'R', '1', '1', 0, |
| /* 131 */ 'X', 'M', 'M', '2', '1', 0, |
| /* 137 */ 'Y', 'M', 'M', '2', '1', 0, |
| /* 143 */ 'Z', 'M', 'M', '2', '1', 0, |
| /* 149 */ 'X', 'M', 'M', '3', '1', 0, |
| /* 155 */ 'Y', 'M', 'M', '3', '1', 0, |
| /* 161 */ 'Z', 'M', 'M', '3', '1', 0, |
| /* 167 */ 'B', 'N', 'D', '1', 0, |
| /* 172 */ 'K', '1', 0, |
| /* 175 */ 'X', 'M', 'M', '1', 0, |
| /* 180 */ 'Y', 'M', 'M', '1', 0, |
| /* 185 */ 'Z', 'M', 'M', '1', 0, |
| /* 190 */ 'F', 'P', '1', 0, |
| /* 194 */ 'C', 'R', '1', 0, |
| /* 198 */ 'D', 'R', '1', 0, |
| /* 202 */ 'S', 'T', '1', 0, |
| /* 206 */ 'X', 'M', 'M', '1', '2', 0, |
| /* 212 */ 'Y', 'M', 'M', '1', '2', 0, |
| /* 218 */ 'Z', 'M', 'M', '1', '2', 0, |
| /* 224 */ 'C', 'R', '1', '2', 0, |
| /* 229 */ 'D', 'R', '1', '2', 0, |
| /* 234 */ 'X', 'M', 'M', '2', '2', 0, |
| /* 240 */ 'Y', 'M', 'M', '2', '2', 0, |
| /* 246 */ 'Z', 'M', 'M', '2', '2', 0, |
| /* 252 */ 'B', 'N', 'D', '2', 0, |
| /* 257 */ 'K', '2', 0, |
| /* 260 */ 'X', 'M', 'M', '2', 0, |
| /* 265 */ 'Y', 'M', 'M', '2', 0, |
| /* 270 */ 'Z', 'M', 'M', '2', 0, |
| /* 275 */ 'F', 'P', '2', 0, |
| /* 279 */ 'C', 'R', '2', 0, |
| /* 283 */ 'D', 'R', '2', 0, |
| /* 287 */ 'S', 'T', '2', 0, |
| /* 291 */ 'X', 'M', 'M', '1', '3', 0, |
| /* 297 */ 'Y', 'M', 'M', '1', '3', 0, |
| /* 303 */ 'Z', 'M', 'M', '1', '3', 0, |
| /* 309 */ 'C', 'R', '1', '3', 0, |
| /* 314 */ 'D', 'R', '1', '3', 0, |
| /* 319 */ 'X', 'M', 'M', '2', '3', 0, |
| /* 325 */ 'Y', 'M', 'M', '2', '3', 0, |
| /* 331 */ 'Z', 'M', 'M', '2', '3', 0, |
| /* 337 */ 'B', 'N', 'D', '3', 0, |
| /* 342 */ 'K', '3', 0, |
| /* 345 */ 'X', 'M', 'M', '3', 0, |
| /* 350 */ 'Y', 'M', 'M', '3', 0, |
| /* 355 */ 'Z', 'M', 'M', '3', 0, |
| /* 360 */ 'F', 'P', '3', 0, |
| /* 364 */ 'C', 'R', '3', 0, |
| /* 368 */ 'D', 'R', '3', 0, |
| /* 372 */ 'S', 'T', '3', 0, |
| /* 376 */ 'X', 'M', 'M', '1', '4', 0, |
| /* 382 */ 'Y', 'M', 'M', '1', '4', 0, |
| /* 388 */ 'Z', 'M', 'M', '1', '4', 0, |
| /* 394 */ 'C', 'R', '1', '4', 0, |
| /* 399 */ 'D', 'R', '1', '4', 0, |
| /* 404 */ 'X', 'M', 'M', '2', '4', 0, |
| /* 410 */ 'Y', 'M', 'M', '2', '4', 0, |
| /* 416 */ 'Z', 'M', 'M', '2', '4', 0, |
| /* 422 */ 'K', '4', 0, |
| /* 425 */ 'X', 'M', 'M', '4', 0, |
| /* 430 */ 'Y', 'M', 'M', '4', 0, |
| /* 435 */ 'Z', 'M', 'M', '4', 0, |
| /* 440 */ 'F', 'P', '4', 0, |
| /* 444 */ 'C', 'R', '4', 0, |
| /* 448 */ 'D', 'R', '4', 0, |
| /* 452 */ 'S', 'T', '4', 0, |
| /* 456 */ 'X', 'M', 'M', '1', '5', 0, |
| /* 462 */ 'Y', 'M', 'M', '1', '5', 0, |
| /* 468 */ 'Z', 'M', 'M', '1', '5', 0, |
| /* 474 */ 'C', 'R', '1', '5', 0, |
| /* 479 */ 'D', 'R', '1', '5', 0, |
| /* 484 */ 'X', 'M', 'M', '2', '5', 0, |
| /* 490 */ 'Y', 'M', 'M', '2', '5', 0, |
| /* 496 */ 'Z', 'M', 'M', '2', '5', 0, |
| /* 502 */ 'K', '5', 0, |
| /* 505 */ 'X', 'M', 'M', '5', 0, |
| /* 510 */ 'Y', 'M', 'M', '5', 0, |
| /* 515 */ 'Z', 'M', 'M', '5', 0, |
| /* 520 */ 'F', 'P', '5', 0, |
| /* 524 */ 'C', 'R', '5', 0, |
| /* 528 */ 'D', 'R', '5', 0, |
| /* 532 */ 'S', 'T', '5', 0, |
| /* 536 */ 'X', 'M', 'M', '1', '6', 0, |
| /* 542 */ 'Y', 'M', 'M', '1', '6', 0, |
| /* 548 */ 'Z', 'M', 'M', '1', '6', 0, |
| /* 554 */ 'X', 'M', 'M', '2', '6', 0, |
| /* 560 */ 'Y', 'M', 'M', '2', '6', 0, |
| /* 566 */ 'Z', 'M', 'M', '2', '6', 0, |
| /* 572 */ 'K', '6', 0, |
| /* 575 */ 'X', 'M', 'M', '6', 0, |
| /* 580 */ 'Y', 'M', 'M', '6', 0, |
| /* 585 */ 'Z', 'M', 'M', '6', 0, |
| /* 590 */ 'F', 'P', '6', 0, |
| /* 594 */ 'C', 'R', '6', 0, |
| /* 598 */ 'D', 'R', '6', 0, |
| /* 602 */ 'S', 'T', '6', 0, |
| /* 606 */ 'X', 'M', 'M', '1', '7', 0, |
| /* 612 */ 'Y', 'M', 'M', '1', '7', 0, |
| /* 618 */ 'Z', 'M', 'M', '1', '7', 0, |
| /* 624 */ 'X', 'M', 'M', '2', '7', 0, |
| /* 630 */ 'Y', 'M', 'M', '2', '7', 0, |
| /* 636 */ 'Z', 'M', 'M', '2', '7', 0, |
| /* 642 */ 'K', '7', 0, |
| /* 645 */ 'X', 'M', 'M', '7', 0, |
| /* 650 */ 'Y', 'M', 'M', '7', 0, |
| /* 655 */ 'Z', 'M', 'M', '7', 0, |
| /* 660 */ 'F', 'P', '7', 0, |
| /* 664 */ 'C', 'R', '7', 0, |
| /* 668 */ 'D', 'R', '7', 0, |
| /* 672 */ 'S', 'T', '7', 0, |
| /* 676 */ 'X', 'M', 'M', '1', '8', 0, |
| /* 682 */ 'Y', 'M', 'M', '1', '8', 0, |
| /* 688 */ 'Z', 'M', 'M', '1', '8', 0, |
| /* 694 */ 'X', 'M', 'M', '2', '8', 0, |
| /* 700 */ 'Y', 'M', 'M', '2', '8', 0, |
| /* 706 */ 'Z', 'M', 'M', '2', '8', 0, |
| /* 712 */ 'X', 'M', 'M', '8', 0, |
| /* 717 */ 'Y', 'M', 'M', '8', 0, |
| /* 722 */ 'Z', 'M', 'M', '8', 0, |
| /* 727 */ 'C', 'R', '8', 0, |
| /* 731 */ 'D', 'R', '8', 0, |
| /* 735 */ 'X', 'M', 'M', '1', '9', 0, |
| /* 741 */ 'Y', 'M', 'M', '1', '9', 0, |
| /* 747 */ 'Z', 'M', 'M', '1', '9', 0, |
| /* 753 */ 'X', 'M', 'M', '2', '9', 0, |
| /* 759 */ 'Y', 'M', 'M', '2', '9', 0, |
| /* 765 */ 'Z', 'M', 'M', '2', '9', 0, |
| /* 771 */ 'X', 'M', 'M', '9', 0, |
| /* 776 */ 'Y', 'M', 'M', '9', 0, |
| /* 781 */ 'Z', 'M', 'M', '9', 0, |
| /* 786 */ 'C', 'R', '9', 0, |
| /* 790 */ 'D', 'R', '9', 0, |
| /* 794 */ 'R', '1', '0', 'B', 0, |
| /* 799 */ 'R', '1', '1', 'B', 0, |
| /* 804 */ 'R', '1', '2', 'B', 0, |
| /* 809 */ 'R', '1', '3', 'B', 0, |
| /* 814 */ 'R', '1', '4', 'B', 0, |
| /* 819 */ 'R', '1', '5', 'B', 0, |
| /* 824 */ 'R', '8', 'B', 0, |
| /* 828 */ 'R', '9', 'B', 0, |
| /* 832 */ 'R', '1', '0', 'D', 0, |
| /* 837 */ 'R', '1', '1', 'D', 0, |
| /* 842 */ 'R', '1', '2', 'D', 0, |
| /* 847 */ 'R', '1', '3', 'D', 0, |
| /* 852 */ 'R', '1', '4', 'D', 0, |
| /* 857 */ 'R', '1', '5', 'D', 0, |
| /* 862 */ 'R', '8', 'D', 0, |
| /* 866 */ 'R', '9', 'D', 0, |
| /* 870 */ 'D', 'F', 0, |
| /* 873 */ 'A', 'H', 0, |
| /* 876 */ 'R', '1', '0', 'B', 'H', 0, |
| /* 882 */ 'R', '1', '1', 'B', 'H', 0, |
| /* 888 */ 'R', '1', '2', 'B', 'H', 0, |
| /* 894 */ 'R', '1', '3', 'B', 'H', 0, |
| /* 900 */ 'R', '1', '4', 'B', 'H', 0, |
| /* 906 */ 'R', '1', '5', 'B', 'H', 0, |
| /* 912 */ 'R', '8', 'B', 'H', 0, |
| /* 917 */ 'R', '9', 'B', 'H', 0, |
| /* 922 */ 'C', 'H', 0, |
| /* 925 */ 'D', 'H', 0, |
| /* 928 */ 'D', 'I', 'H', 0, |
| /* 932 */ 'S', 'I', 'H', 0, |
| /* 936 */ 'B', 'P', 'H', 0, |
| /* 940 */ 'S', 'P', 'H', 0, |
| /* 944 */ 'R', '1', '0', 'W', 'H', 0, |
| /* 950 */ 'R', '1', '1', 'W', 'H', 0, |
| /* 956 */ 'R', '1', '2', 'W', 'H', 0, |
| /* 962 */ 'R', '1', '3', 'W', 'H', 0, |
| /* 968 */ 'R', '1', '4', 'W', 'H', 0, |
| /* 974 */ 'R', '1', '5', 'W', 'H', 0, |
| /* 980 */ 'R', '8', 'W', 'H', 0, |
| /* 985 */ 'R', '9', 'W', 'H', 0, |
| /* 990 */ 'E', 'D', 'I', 0, |
| /* 994 */ 'H', 'D', 'I', 0, |
| /* 998 */ 'R', 'D', 'I', 0, |
| /* 1002 */ 'E', 'S', 'I', 0, |
| /* 1006 */ 'H', 'S', 'I', 0, |
| /* 1010 */ 'R', 'S', 'I', 0, |
| /* 1014 */ 'A', 'L', 0, |
| /* 1017 */ 'B', 'L', 0, |
| /* 1020 */ 'C', 'L', 0, |
| /* 1023 */ 'D', 'L', 0, |
| /* 1026 */ 'D', 'I', 'L', 0, |
| /* 1030 */ 'S', 'I', 'L', 0, |
| /* 1034 */ 'B', 'P', 'L', 0, |
| /* 1038 */ 'S', 'P', 'L', 0, |
| /* 1042 */ 'E', 'B', 'P', 0, |
| /* 1046 */ 'H', 'B', 'P', 0, |
| /* 1050 */ 'R', 'B', 'P', 0, |
| /* 1054 */ 'E', 'I', 'P', 0, |
| /* 1058 */ 'H', 'I', 'P', 0, |
| /* 1062 */ 'R', 'I', 'P', 0, |
| /* 1066 */ 'E', 'S', 'P', 0, |
| /* 1070 */ 'H', 'S', 'P', 0, |
| /* 1074 */ 'R', 'S', 'P', 0, |
| /* 1078 */ 'S', 'S', 'P', 0, |
| /* 1082 */ 'C', 'S', 0, |
| /* 1085 */ 'D', 'S', 0, |
| /* 1088 */ 'E', 'S', 0, |
| /* 1091 */ 'F', 'S', 0, |
| /* 1094 */ 'E', 'F', 'L', 'A', 'G', 'S', 0, |
| /* 1101 */ 'S', 'S', 0, |
| /* 1104 */ 'R', '1', '0', 'W', 0, |
| /* 1109 */ 'R', '1', '1', 'W', 0, |
| /* 1114 */ 'R', '1', '2', 'W', 0, |
| /* 1119 */ 'R', '1', '3', 'W', 0, |
| /* 1124 */ 'R', '1', '4', 'W', 0, |
| /* 1129 */ 'R', '1', '5', 'W', 0, |
| /* 1134 */ 'R', '8', 'W', 0, |
| /* 1138 */ 'R', '9', 'W', 0, |
| /* 1142 */ 'F', 'P', 'S', 'W', 0, |
| /* 1147 */ 'E', 'A', 'X', 0, |
| /* 1151 */ 'H', 'A', 'X', 0, |
| /* 1155 */ 'R', 'A', 'X', 0, |
| /* 1159 */ 'E', 'B', 'X', 0, |
| /* 1163 */ 'H', 'B', 'X', 0, |
| /* 1167 */ 'R', 'B', 'X', 0, |
| /* 1171 */ 'E', 'C', 'X', 0, |
| /* 1175 */ 'H', 'C', 'X', 0, |
| /* 1179 */ 'R', 'C', 'X', 0, |
| /* 1183 */ 'E', 'D', 'X', 0, |
| /* 1187 */ 'H', 'D', 'X', 0, |
| /* 1191 */ 'R', 'D', 'X', 0, |
| /* 1195 */ 'E', 'I', 'Z', 0, |
| /* 1199 */ 'R', 'I', 'Z', 0, |
| }; |
| |
| extern const MCRegisterDesc X86RegDesc[] = { // Descriptors |
| { 5, 0, 0, 0, 0, 0 }, |
| { 873, 2, 184, 2, 4641, 0 }, |
| { 1014, 2, 180, 2, 4641, 0 }, |
| { 1148, 298, 181, 0, 0, 2 }, |
| { 879, 2, 168, 2, 4593, 0 }, |
| { 1017, 2, 164, 2, 4593, 0 }, |
| { 1043, 289, 173, 3, 352, 5 }, |
| { 936, 2, 176, 2, 768, 0 }, |
| { 1034, 2, 172, 2, 736, 0 }, |
| { 1160, 292, 165, 0, 304, 2 }, |
| { 922, 2, 160, 2, 4497, 0 }, |
| { 1020, 2, 156, 2, 4497, 0 }, |
| { 1082, 2, 2, 2, 4497, 0 }, |
| { 1172, 295, 157, 0, 400, 2 }, |
| { 870, 2, 2, 2, 4449, 0 }, |
| { 925, 2, 144, 2, 4449, 0 }, |
| { 991, 289, 149, 3, 448, 5 }, |
| { 928, 2, 152, 2, 1296, 0 }, |
| { 1026, 2, 148, 2, 4130, 0 }, |
| { 1023, 2, 140, 2, 4417, 0 }, |
| { 1085, 2, 2, 2, 4417, 0 }, |
| { 1184, 280, 141, 0, 688, 2 }, |
| { 1147, 221, 142, 7, 1524, 8 }, |
| { 1042, 206, 142, 13, 1236, 12 }, |
| { 1159, 215, 142, 7, 1460, 8 }, |
| { 1171, 200, 142, 7, 1172, 8 }, |
| { 990, 135, 142, 13, 869, 12 }, |
| { 1183, 194, 142, 7, 928, 8 }, |
| { 1094, 2, 2, 2, 1584, 0 }, |
| { 1054, 284, 126, 19, 496, 16 }, |
| { 1195, 2, 2, 2, 4417, 0 }, |
| { 1088, 2, 2, 2, 4417, 0 }, |
| { 1002, 269, 105, 13, 243, 12 }, |
| { 1066, 263, 105, 13, 243, 12 }, |
| { 1142, 2, 2, 2, 4593, 0 }, |
| { 1091, 2, 2, 2, 4593, 0 }, |
| { 1098, 2, 2, 2, 4593, 0 }, |
| { 1151, 2, 188, 2, 4161, 0 }, |
| { 1046, 2, 188, 2, 4161, 0 }, |
| { 1163, 2, 188, 2, 4161, 0 }, |
| { 1175, 2, 188, 2, 4161, 0 }, |
| { 994, 2, 188, 2, 4161, 0 }, |
| { 1187, 2, 188, 2, 4161, 0 }, |
| { 1058, 2, 131, 2, 3923, 0 }, |
| { 1006, 2, 119, 2, 3955, 0 }, |
| { 1070, 2, 119, 2, 3955, 0 }, |
| { 1055, 2, 128, 2, 1616, 0 }, |
| { 1155, 220, 2, 6, 1396, 8 }, |
| { 1050, 205, 2, 12, 1108, 12 }, |
| { 1167, 214, 2, 6, 1332, 8 }, |
| { 1179, 199, 2, 6, 1044, 8 }, |
| { 998, 134, 2, 12, 805, 12 }, |
| { 1191, 193, 2, 6, 928, 8 }, |
| { 1062, 283, 2, 18, 496, 16 }, |
| { 1199, 2, 2, 2, 3488, 0 }, |
| { 1010, 268, 2, 12, 179, 12 }, |
| { 1074, 262, 2, 12, 179, 12 }, |
| { 1003, 289, 112, 3, 544, 5 }, |
| { 932, 2, 115, 2, 3152, 0 }, |
| { 1030, 2, 111, 2, 3056, 0 }, |
| { 1067, 289, 104, 3, 592, 5 }, |
| { 940, 2, 107, 2, 3248, 0 }, |
| { 1038, 2, 103, 2, 3719, 0 }, |
| { 1101, 2, 2, 2, 4097, 0 }, |
| { 1078, 2, 2, 2, 4097, 0 }, |
| { 64, 2, 2, 2, 4097, 0 }, |
| { 167, 2, 2, 2, 4097, 0 }, |
| { 252, 2, 2, 2, 4097, 0 }, |
| { 337, 2, 2, 2, 4097, 0 }, |
| { 91, 2, 2, 2, 4097, 0 }, |
| { 194, 2, 2, 2, 4097, 0 }, |
| { 279, 2, 2, 2, 4097, 0 }, |
| { 364, 2, 2, 2, 4097, 0 }, |
| { 444, 2, 2, 2, 4097, 0 }, |
| { 524, 2, 2, 2, 4097, 0 }, |
| { 594, 2, 2, 2, 4097, 0 }, |
| { 664, 2, 2, 2, 4097, 0 }, |
| { 727, 2, 2, 2, 4097, 0 }, |
| { 786, 2, 2, 2, 4097, 0 }, |
| { 18, 2, 2, 2, 4097, 0 }, |
| { 121, 2, 2, 2, 4097, 0 }, |
| { 224, 2, 2, 2, 4097, 0 }, |
| { 309, 2, 2, 2, 4097, 0 }, |
| { 394, 2, 2, 2, 4097, 0 }, |
| { 474, 2, 2, 2, 4097, 0 }, |
| { 95, 2, 2, 2, 4097, 0 }, |
| { 198, 2, 2, 2, 4097, 0 }, |
| { 283, 2, 2, 2, 4097, 0 }, |
| { 368, 2, 2, 2, 4097, 0 }, |
| { 448, 2, 2, 2, 4097, 0 }, |
| { 528, 2, 2, 2, 4097, 0 }, |
| { 598, 2, 2, 2, 4097, 0 }, |
| { 668, 2, 2, 2, 4097, 0 }, |
| { 731, 2, 2, 2, 4097, 0 }, |
| { 790, 2, 2, 2, 4097, 0 }, |
| { 23, 2, 2, 2, 4097, 0 }, |
| { 126, 2, 2, 2, 4097, 0 }, |
| { 229, 2, 2, 2, 4097, 0 }, |
| { 314, 2, 2, 2, 4097, 0 }, |
| { 399, 2, 2, 2, 4097, 0 }, |
| { 479, 2, 2, 2, 4097, 0 }, |
| { 87, 2, 2, 2, 4097, 0 }, |
| { 190, 2, 2, 2, 4097, 0 }, |
| { 275, 2, 2, 2, 4097, 0 }, |
| { 360, 2, 2, 2, 4097, 0 }, |
| { 440, 2, 2, 2, 4097, 0 }, |
| { 520, 2, 2, 2, 4097, 0 }, |
| { 590, 2, 2, 2, 4097, 0 }, |
| { 660, 2, 2, 2, 4097, 0 }, |
| { 69, 2, 2, 2, 4097, 0 }, |
| { 172, 2, 2, 2, 4097, 0 }, |
| { 257, 2, 2, 2, 4097, 0 }, |
| { 342, 2, 2, 2, 4097, 0 }, |
| { 422, 2, 2, 2, 4097, 0 }, |
| { 502, 2, 2, 2, 4097, 0 }, |
| { 572, 2, 2, 2, 4097, 0 }, |
| { 642, 2, 2, 2, 4097, 0 }, |
| { 73, 2, 2, 2, 4097, 0 }, |
| { 176, 2, 2, 2, 4097, 0 }, |
| { 261, 2, 2, 2, 4097, 0 }, |
| { 346, 2, 2, 2, 4097, 0 }, |
| { 426, 2, 2, 2, 4097, 0 }, |
| { 506, 2, 2, 2, 4097, 0 }, |
| { 576, 2, 2, 2, 4097, 0 }, |
| { 646, 2, 2, 2, 4097, 0 }, |
| { 728, 122, 2, 12, 115, 12 }, |
| { 787, 122, 2, 12, 115, 12 }, |
| { 19, 122, 2, 12, 115, 12 }, |
| { 122, 122, 2, 12, 115, 12 }, |
| { 225, 122, 2, 12, 115, 12 }, |
| { 310, 122, 2, 12, 115, 12 }, |
| { 395, 122, 2, 12, 115, 12 }, |
| { 475, 122, 2, 12, 115, 12 }, |
| { 99, 2, 2, 2, 4385, 0 }, |
| { 202, 2, 2, 2, 4385, 0 }, |
| { 287, 2, 2, 2, 4385, 0 }, |
| { 372, 2, 2, 2, 4385, 0 }, |
| { 452, 2, 2, 2, 4385, 0 }, |
| { 532, 2, 2, 2, 4385, 0 }, |
| { 602, 2, 2, 2, 4385, 0 }, |
| { 672, 2, 2, 2, 4385, 0 }, |
| { 72, 2, 211, 2, 4385, 0 }, |
| { 175, 2, 211, 2, 4385, 0 }, |
| { 260, 2, 211, 2, 4385, 0 }, |
| { 345, 2, 211, 2, 4385, 0 }, |
| { 425, 2, 211, 2, 4385, 0 }, |
| { 505, 2, 211, 2, 4385, 0 }, |
| { 575, 2, 211, 2, 4385, 0 }, |
| { 645, 2, 211, 2, 4385, 0 }, |
| { 712, 2, 211, 2, 4385, 0 }, |
| { 771, 2, 211, 2, 4385, 0 }, |
| { 0, 2, 211, 2, 4385, 0 }, |
| { 103, 2, 211, 2, 4385, 0 }, |
| { 206, 2, 211, 2, 4385, 0 }, |
| { 291, 2, 211, 2, 4385, 0 }, |
| { 376, 2, 211, 2, 4385, 0 }, |
| { 456, 2, 211, 2, 4385, 0 }, |
| { 536, 2, 211, 2, 4385, 0 }, |
| { 606, 2, 211, 2, 4385, 0 }, |
| { 676, 2, 211, 2, 4385, 0 }, |
| { 735, 2, 211, 2, 4385, 0 }, |
| { 28, 2, 211, 2, 4385, 0 }, |
| { 131, 2, 211, 2, 4385, 0 }, |
| { 234, 2, 211, 2, 4385, 0 }, |
| { 319, 2, 211, 2, 4385, 0 }, |
| { 404, 2, 211, 2, 4385, 0 }, |
| { 484, 2, 211, 2, 4385, 0 }, |
| { 554, 2, 211, 2, 4385, 0 }, |
| { 624, 2, 211, 2, 4385, 0 }, |
| { 694, 2, 211, 2, 4385, 0 }, |
| { 753, 2, 211, 2, 4385, 0 }, |
| { 46, 2, 211, 2, 4385, 0 }, |
| { 149, 2, 211, 2, 4385, 0 }, |
| { 77, 254, 212, 23, 4017, 19 }, |
| { 180, 254, 212, 23, 4017, 19 }, |
| { 265, 254, 212, 23, 4017, 19 }, |
| { 350, 254, 212, 23, 4017, 19 }, |
| { 430, 254, 212, 23, 4017, 19 }, |
| { 510, 254, 212, 23, 4017, 19 }, |
| { 580, 254, 212, 23, 4017, 19 }, |
| { 650, 254, 212, 23, 4017, 19 }, |
| { 717, 254, 212, 23, 4017, 19 }, |
| { 776, 254, 212, 23, 4017, 19 }, |
| { 6, 254, 212, 23, 4017, 19 }, |
| { 109, 254, 212, 23, 4017, 19 }, |
| { 212, 254, 212, 23, 4017, 19 }, |
| { 297, 254, 212, 23, 4017, 19 }, |
| { 382, 254, 212, 23, 4017, 19 }, |
| { 462, 254, 212, 23, 4017, 19 }, |
| { 542, 254, 212, 23, 4017, 19 }, |
| { 612, 254, 212, 23, 4017, 19 }, |
| { 682, 254, 212, 23, 4017, 19 }, |
| { 741, 254, 212, 23, 4017, 19 }, |
| { 34, 254, 212, 23, 4017, 19 }, |
| { 137, 254, 212, 23, 4017, 19 }, |
| { 240, 254, 212, 23, 4017, 19 }, |
| { 325, 254, 212, 23, 4017, 19 }, |
| { 410, 254, 212, 23, 4017, 19 }, |
| { 490, 254, 212, 23, 4017, 19 }, |
| { 560, 254, 212, 23, 4017, 19 }, |
| { 630, 254, 212, 23, 4017, 19 }, |
| { 700, 254, 212, 23, 4017, 19 }, |
| { 759, 254, 212, 23, 4017, 19 }, |
| { 52, 254, 212, 23, 4017, 19 }, |
| { 155, 254, 212, 23, 4017, 19 }, |
| { 82, 253, 2, 22, 3985, 19 }, |
| { 185, 253, 2, 22, 3985, 19 }, |
| { 270, 253, 2, 22, 3985, 19 }, |
| { 355, 253, 2, 22, 3985, 19 }, |
| { 435, 253, 2, 22, 3985, 19 }, |
| { 515, 253, 2, 22, 3985, 19 }, |
| { 585, 253, 2, 22, 3985, 19 }, |
| { 655, 253, 2, 22, 3985, 19 }, |
| { 722, 253, 2, 22, 3985, 19 }, |
| { 781, 253, 2, 22, 3985, 19 }, |
| { 12, 253, 2, 22, 3985, 19 }, |
| { 115, 253, 2, 22, 3985, 19 }, |
| { 218, 253, 2, 22, 3985, 19 }, |
| { 303, 253, 2, 22, 3985, 19 }, |
| { 388, 253, 2, 22, 3985, 19 }, |
| { 468, 253, 2, 22, 3985, 19 }, |
| { 548, 253, 2, 22, 3985, 19 }, |
| { 618, 253, 2, 22, 3985, 19 }, |
| { 688, 253, 2, 22, 3985, 19 }, |
| { 747, 253, 2, 22, 3985, 19 }, |
| { 40, 253, 2, 22, 3985, 19 }, |
| { 143, 253, 2, 22, 3985, 19 }, |
| { 246, 253, 2, 22, 3985, 19 }, |
| { 331, 253, 2, 22, 3985, 19 }, |
| { 416, 253, 2, 22, 3985, 19 }, |
| { 496, 253, 2, 22, 3985, 19 }, |
| { 566, 253, 2, 22, 3985, 19 }, |
| { 636, 253, 2, 22, 3985, 19 }, |
| { 706, 253, 2, 22, 3985, 19 }, |
| { 765, 253, 2, 22, 3985, 19 }, |
| { 58, 253, 2, 22, 3985, 19 }, |
| { 161, 253, 2, 22, 3985, 19 }, |
| { 824, 2, 241, 2, 3683, 0 }, |
| { 828, 2, 241, 2, 3683, 0 }, |
| { 794, 2, 241, 2, 3683, 0 }, |
| { 799, 2, 241, 2, 3683, 0 }, |
| { 804, 2, 241, 2, 3683, 0 }, |
| { 809, 2, 241, 2, 3683, 0 }, |
| { 814, 2, 241, 2, 3683, 0 }, |
| { 819, 2, 241, 2, 3683, 0 }, |
| { 912, 2, 237, 2, 3651, 0 }, |
| { 917, 2, 237, 2, 3651, 0 }, |
| { 876, 2, 237, 2, 3651, 0 }, |
| { 882, 2, 237, 2, 3651, 0 }, |
| { 888, 2, 237, 2, 3651, 0 }, |
| { 894, 2, 237, 2, 3651, 0 }, |
| { 900, 2, 237, 2, 3651, 0 }, |
| { 906, 2, 237, 2, 3651, 0 }, |
| { 862, 123, 235, 13, 51, 12 }, |
| { 866, 123, 235, 13, 51, 12 }, |
| { 832, 123, 235, 13, 51, 12 }, |
| { 837, 123, 235, 13, 51, 12 }, |
| { 842, 123, 235, 13, 51, 12 }, |
| { 847, 123, 235, 13, 51, 12 }, |
| { 852, 123, 235, 13, 51, 12 }, |
| { 857, 123, 235, 13, 51, 12 }, |
| { 1134, 62, 238, 3, 643, 5 }, |
| { 1138, 62, 238, 3, 643, 5 }, |
| { 1104, 62, 238, 3, 643, 5 }, |
| { 1109, 62, 238, 3, 643, 5 }, |
| { 1114, 62, 238, 3, 643, 5 }, |
| { 1119, 62, 238, 3, 643, 5 }, |
| { 1124, 62, 238, 3, 643, 5 }, |
| { 1129, 62, 238, 3, 643, 5 }, |
| { 980, 2, 234, 2, 3619, 0 }, |
| { 985, 2, 234, 2, 3619, 0 }, |
| { 944, 2, 234, 2, 3619, 0 }, |
| { 950, 2, 234, 2, 3619, 0 }, |
| { 956, 2, 234, 2, 3619, 0 }, |
| { 962, 2, 234, 2, 3619, 0 }, |
| { 968, 2, 234, 2, 3619, 0 }, |
| { 974, 2, 234, 2, 3619, 0 }, |
| }; |
| |
| extern const MCPhysReg X86RegUnitRoots[][2] = { |
| { X86::AH }, |
| { X86::AL }, |
| { X86::BH }, |
| { X86::BL }, |
| { X86::BPL }, |
| { X86::BPH }, |
| { X86::CH }, |
| { X86::CL }, |
| { X86::CS }, |
| { X86::DF }, |
| { X86::DH }, |
| { X86::DIL }, |
| { X86::DIH }, |
| { X86::DL }, |
| { X86::DS }, |
| { X86::HAX }, |
| { X86::HBP }, |
| { X86::HBX }, |
| { X86::HCX }, |
| { X86::HDI }, |
| { X86::HDX }, |
| { X86::EFLAGS }, |
| { X86::IP }, |
| { X86::HIP }, |
| { X86::EIZ }, |
| { X86::ES }, |
| { X86::SIL }, |
| { X86::SIH }, |
| { X86::HSI }, |
| { X86::SPL }, |
| { X86::SPH }, |
| { X86::HSP }, |
| { X86::FPSW }, |
| { X86::FS }, |
| { X86::GS }, |
| { X86::RIZ }, |
| { X86::SS }, |
| { X86::SSP }, |
| { X86::BND0 }, |
| { X86::BND1 }, |
| { X86::BND2 }, |
| { X86::BND3 }, |
| { X86::CR0 }, |
| { X86::CR1 }, |
| { X86::CR2 }, |
| { X86::CR3 }, |
| { X86::CR4 }, |
| { X86::CR5 }, |
| { X86::CR6 }, |
| { X86::CR7 }, |
| { X86::CR8 }, |
| { X86::CR9 }, |
| { X86::CR10 }, |
| { X86::CR11 }, |
| { X86::CR12 }, |
| { X86::CR13 }, |
| { X86::CR14 }, |
| { X86::CR15 }, |
| { X86::DR0 }, |
| { X86::DR1 }, |
| { X86::DR2 }, |
| { X86::DR3 }, |
| { X86::DR4 }, |
| { X86::DR5 }, |
| { X86::DR6 }, |
| { X86::DR7 }, |
| { X86::DR8 }, |
| { X86::DR9 }, |
| { X86::DR10 }, |
| { X86::DR11 }, |
| { X86::DR12 }, |
| { X86::DR13 }, |
| { X86::DR14 }, |
| { X86::DR15 }, |
| { X86::FP0 }, |
| { X86::FP1 }, |
| { X86::FP2 }, |
| { X86::FP3 }, |
| { X86::FP4 }, |
| { X86::FP5 }, |
| { X86::FP6 }, |
| { X86::FP7 }, |
| { X86::K0 }, |
| { X86::K1 }, |
| { X86::K2 }, |
| { X86::K3 }, |
| { X86::K4 }, |
| { X86::K5 }, |
| { X86::K6 }, |
| { X86::K7 }, |
| { X86::MM0 }, |
| { X86::MM1 }, |
| { X86::MM2 }, |
| { X86::MM3 }, |
| { X86::MM4 }, |
| { X86::MM5 }, |
| { X86::MM6 }, |
| { X86::MM7 }, |
| { X86::R8B }, |
| { X86::R8BH }, |
| { X86::R8WH }, |
| { X86::R9B }, |
| { X86::R9BH }, |
| { X86::R9WH }, |
| { X86::R10B }, |
| { X86::R10BH }, |
| { X86::R10WH }, |
| { X86::R11B }, |
| { X86::R11BH }, |
| { X86::R11WH }, |
| { X86::R12B }, |
| { X86::R12BH }, |
| { X86::R12WH }, |
| { X86::R13B }, |
| { X86::R13BH }, |
| { X86::R13WH }, |
| { X86::R14B }, |
| { X86::R14BH }, |
| { X86::R14WH }, |
| { X86::R15B }, |
| { X86::R15BH }, |
| { X86::R15WH }, |
| { X86::ST0 }, |
| { X86::ST1 }, |
| { X86::ST2 }, |
| { X86::ST3 }, |
| { X86::ST4 }, |
| { X86::ST5 }, |
| { X86::ST6 }, |
| { X86::ST7 }, |
| { X86::XMM0 }, |
| { X86::XMM1 }, |
| { X86::XMM2 }, |
| { X86::XMM3 }, |
| { X86::XMM4 }, |
| { X86::XMM5 }, |
| { X86::XMM6 }, |
| { X86::XMM7 }, |
| { X86::XMM8 }, |
| { X86::XMM9 }, |
| { X86::XMM10 }, |
| { X86::XMM11 }, |
| { X86::XMM12 }, |
| { X86::XMM13 }, |
| { X86::XMM14 }, |
| { X86::XMM15 }, |
| { X86::XMM16 }, |
| { X86::XMM17 }, |
| { X86::XMM18 }, |
| { X86::XMM19 }, |
| { X86::XMM20 }, |
| { X86::XMM21 }, |
| { X86::XMM22 }, |
| { X86::XMM23 }, |
| { X86::XMM24 }, |
| { X86::XMM25 }, |
| { X86::XMM26 }, |
| { X86::XMM27 }, |
| { X86::XMM28 }, |
| { X86::XMM29 }, |
| { X86::XMM30 }, |
| { X86::XMM31 }, |
| }; |
| |
| namespace { // Register classes... |
| // GR8 Register Class... |
| const MCPhysReg GR8[] = { |
| X86::AL, X86::CL, X86::DL, X86::AH, X86::CH, X86::DH, X86::BL, X86::BH, X86::SIL, X86::DIL, X86::BPL, X86::SPL, X86::R8B, X86::R9B, X86::R10B, X86::R11B, X86::R14B, X86::R15B, X86::R12B, X86::R13B, |
| }; |
| |
| // GR8 Bit set. |
| const uint8_t GR8Bits[] = { |
| 0x36, 0x8d, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x48, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| // GRH8 Register Class... |
| const MCPhysReg GRH8[] = { |
| X86::SIH, X86::DIH, X86::BPH, X86::SPH, X86::R8BH, X86::R9BH, X86::R10BH, X86::R11BH, X86::R12BH, X86::R13BH, X86::R14BH, X86::R15BH, |
| }; |
| |
| // GRH8 Bit set. |
| const uint8_t GRH8Bits[] = { |
| 0x80, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x24, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| // GR8_NOREX Register Class... |
| const MCPhysReg GR8_NOREX[] = { |
| X86::AL, X86::CL, X86::DL, X86::AH, X86::CH, X86::DH, X86::BL, X86::BH, |
| }; |
| |
| // GR8_NOREX Bit set. |
| const uint8_t GR8_NOREXBits[] = { |
| 0x36, 0x8c, 0x08, |
| }; |
| |
| // GR8_ABCD_H Register Class... |
| const MCPhysReg GR8_ABCD_H[] = { |
| X86::AH, X86::CH, X86::DH, X86::BH, |
| }; |
| |
| // GR8_ABCD_H Bit set. |
| const uint8_t GR8_ABCD_HBits[] = { |
| 0x12, 0x84, |
| }; |
| |
| // GR8_ABCD_L Register Class... |
| const MCPhysReg GR8_ABCD_L[] = { |
| X86::AL, X86::CL, X86::DL, X86::BL, |
| }; |
| |
| // GR8_ABCD_L Bit set. |
| const uint8_t GR8_ABCD_LBits[] = { |
| 0x24, 0x08, 0x08, |
| }; |
| |
| // GRH16 Register Class... |
| const MCPhysReg GRH16[] = { |
| X86::HAX, X86::HCX, X86::HDX, X86::HSI, X86::HDI, X86::HBX, X86::HBP, X86::HSP, X86::HIP, X86::R8WH, X86::R9WH, X86::R10WH, X86::R11WH, X86::R12WH, X86::R13WH, X86::R14WH, X86::R15WH, |
| }; |
| |
| // GRH16 Bit set. |
| const uint8_t GRH16Bits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0xe0, 0x3f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| // GR16 Register Class... |
| const MCPhysReg GR16[] = { |
| X86::AX, X86::CX, X86::DX, X86::SI, X86::DI, X86::BX, X86::BP, X86::SP, X86::R8W, X86::R9W, X86::R10W, X86::R11W, X86::R14W, X86::R15W, X86::R12W, X86::R13W, |
| }; |
| |
| // GR16 Bit set. |
| const uint8_t GR16Bits[] = { |
| 0x48, 0x22, 0x21, 0x00, 0x00, 0x00, 0x00, 0x12, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| // GR16_NOREX Register Class... |
| const MCPhysReg GR16_NOREX[] = { |
| X86::AX, X86::CX, X86::DX, X86::SI, X86::DI, X86::BX, X86::BP, X86::SP, |
| }; |
| |
| // GR16_NOREX Bit set. |
| const uint8_t GR16_NOREXBits[] = { |
| 0x48, 0x22, 0x21, 0x00, 0x00, 0x00, 0x00, 0x12, |
| }; |
| |
| // VK1 Register Class... |
| const MCPhysReg VK1[] = { |
| X86::K0, X86::K1, X86::K2, X86::K3, X86::K4, X86::K5, X86::K6, X86::K7, |
| }; |
| |
| // VK1 Bit set. |
| const uint8_t VK1Bits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| // VK16 Register Class... |
| const MCPhysReg VK16[] = { |
| X86::K0, X86::K1, X86::K2, X86::K3, X86::K4, X86::K5, X86::K6, X86::K7, |
| }; |
| |
| // VK16 Bit set. |
| const uint8_t VK16Bits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| // VK2 Register Class... |
| const MCPhysReg VK2[] = { |
| X86::K0, X86::K1, X86::K2, X86::K3, X86::K4, X86::K5, X86::K6, X86::K7, |
| }; |
| |
| // VK2 Bit set. |
| const uint8_t VK2Bits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| // VK4 Register Class... |
| const MCPhysReg VK4[] = { |
| X86::K0, X86::K1, X86::K2, X86::K3, X86::K4, X86::K5, X86::K6, X86::K7, |
| }; |
| |
| // VK4 Bit set. |
| const uint8_t VK4Bits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| // VK8 Register Class... |
| const MCPhysReg VK8[] = { |
| X86::K0, X86::K1, X86::K2, X86::K3, X86::K4, X86::K5, X86::K6, X86::K7, |
| }; |
| |
| // VK8 Bit set. |
| const uint8_t VK8Bits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| // VK16WM Register Class... |
| const MCPhysReg VK16WM[] = { |
| X86::K1, X86::K2, X86::K3, X86::K4, X86::K5, X86::K6, X86::K7, |
| }; |
| |
| // VK16WM Bit set. |
| const uint8_t VK16WMBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x1f, |
| }; |
| |
| // VK1WM Register Class... |
| const MCPhysReg VK1WM[] = { |
| X86::K1, X86::K2, X86::K3, X86::K4, X86::K5, X86::K6, X86::K7, |
| }; |
| |
| // VK1WM Bit set. |
| const uint8_t VK1WMBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x1f, |
| }; |
| |
| // VK2WM Register Class... |
| const MCPhysReg VK2WM[] = { |
| X86::K1, X86::K2, X86::K3, X86::K4, X86::K5, X86::K6, X86::K7, |
| }; |
| |
| // VK2WM Bit set. |
| const uint8_t VK2WMBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x1f, |
| }; |
| |
| // VK4WM Register Class... |
| const MCPhysReg VK4WM[] = { |
| X86::K1, X86::K2, X86::K3, X86::K4, X86::K5, X86::K6, X86::K7, |
| }; |
| |
| // VK4WM Bit set. |
| const uint8_t VK4WMBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x1f, |
| }; |
| |
| // VK8WM Register Class... |
| const MCPhysReg VK8WM[] = { |
| X86::K1, X86::K2, X86::K3, X86::K4, X86::K5, X86::K6, X86::K7, |
| }; |
| |
| // VK8WM Bit set. |
| const uint8_t VK8WMBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x1f, |
| }; |
| |
| // SEGMENT_REG Register Class... |
| const MCPhysReg SEGMENT_REG[] = { |
| X86::CS, X86::DS, X86::SS, X86::ES, X86::FS, X86::GS, |
| }; |
| |
| // SEGMENT_REG Bit set. |
| const uint8_t SEGMENT_REGBits[] = { |
| 0x00, 0x10, 0x10, 0x80, 0x18, 0x00, 0x00, 0x80, |
| }; |
| |
| // GR16_ABCD Register Class... |
| const MCPhysReg GR16_ABCD[] = { |
| X86::AX, X86::CX, X86::DX, X86::BX, |
| }; |
| |
| // GR16_ABCD Bit set. |
| const uint8_t GR16_ABCDBits[] = { |
| 0x08, 0x22, 0x20, |
| }; |
| |
| // FPCCR Register Class... |
| const MCPhysReg FPCCR[] = { |
| X86::FPSW, |
| }; |
| |
| // FPCCR Bit set. |
| const uint8_t FPCCRBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x04, |
| }; |
| |
| // FR32X Register Class... |
| const MCPhysReg FR32X[] = { |
| X86::XMM0, X86::XMM1, X86::XMM2, X86::XMM3, X86::XMM4, X86::XMM5, X86::XMM6, X86::XMM7, X86::XMM8, X86::XMM9, X86::XMM10, X86::XMM11, X86::XMM12, X86::XMM13, X86::XMM14, X86::XMM15, X86::XMM16, X86::XMM17, X86::XMM18, X86::XMM19, X86::XMM20, X86::XMM21, X86::XMM22, X86::XMM23, X86::XMM24, X86::XMM25, X86::XMM26, X86::XMM27, X86::XMM28, X86::XMM29, X86::XMM30, X86::XMM31, |
| }; |
| |
| // FR32X Bit set. |
| const uint8_t FR32XBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xff, 0xff, 0xff, 0x1f, |
| }; |
| |
| // LOW32_ADDR_ACCESS_RBP Register Class... |
| const MCPhysReg LOW32_ADDR_ACCESS_RBP[] = { |
| X86::EAX, X86::ECX, X86::EDX, X86::ESI, X86::EDI, X86::EBX, X86::EBP, X86::ESP, X86::R8D, X86::R9D, X86::R10D, X86::R11D, X86::R14D, X86::R15D, X86::R12D, X86::R13D, X86::RIP, X86::RBP, |
| }; |
| |
| // LOW32_ADDR_ACCESS_RBP Bit set. |
| const uint8_t LOW32_ADDR_ACCESS_RBPBits[] = { |
| 0x00, 0x00, 0xc0, 0x0f, 0x03, 0x00, 0x21, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| // LOW32_ADDR_ACCESS Register Class... |
| const MCPhysReg LOW32_ADDR_ACCESS[] = { |
| X86::EAX, X86::ECX, X86::EDX, X86::ESI, X86::EDI, X86::EBX, X86::EBP, X86::ESP, X86::R8D, X86::R9D, X86::R10D, X86::R11D, X86::R14D, X86::R15D, X86::R12D, X86::R13D, X86::RIP, |
| }; |
| |
| // LOW32_ADDR_ACCESS Bit set. |
| const uint8_t LOW32_ADDR_ACCESSBits[] = { |
| 0x00, 0x00, 0xc0, 0x0f, 0x03, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| // LOW32_ADDR_ACCESS_RBP_with_sub_8bit Register Class... |
| const MCPhysReg LOW32_ADDR_ACCESS_RBP_with_sub_8bit[] = { |
| X86::EAX, X86::ECX, X86::EDX, X86::ESI, X86::EDI, X86::EBX, X86::EBP, X86::ESP, X86::R8D, X86::R9D, X86::R10D, X86::R11D, X86::R14D, X86::R15D, X86::R12D, X86::R13D, X86::RBP, |
| }; |
| |
| // LOW32_ADDR_ACCESS_RBP_with_sub_8bit Bit set. |
| const uint8_t LOW32_ADDR_ACCESS_RBP_with_sub_8bitBits[] = { |
| 0x00, 0x00, 0xc0, 0x0f, 0x03, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| // DEBUG_REG Register Class... |
| const MCPhysReg DEBUG_REG[] = { |
| X86::DR0, X86::DR1, X86::DR2, X86::DR3, X86::DR4, X86::DR5, X86::DR6, X86::DR7, X86::DR8, X86::DR9, X86::DR10, X86::DR11, X86::DR12, X86::DR13, X86::DR14, X86::DR15, |
| }; |
| |
| // DEBUG_REG Bit set. |
| const uint8_t DEBUG_REGBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xff, 0x1f, |
| }; |
| |
| // FR32 Register Class... |
| const MCPhysReg FR32[] = { |
| X86::XMM0, X86::XMM1, X86::XMM2, X86::XMM3, X86::XMM4, X86::XMM5, X86::XMM6, X86::XMM7, X86::XMM8, X86::XMM9, X86::XMM10, X86::XMM11, X86::XMM12, X86::XMM13, X86::XMM14, X86::XMM15, |
| }; |
| |
| // FR32 Bit set. |
| const uint8_t FR32Bits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xff, 0x1f, |
| }; |
| |
| // GR32 Register Class... |
| const MCPhysReg GR32[] = { |
| X86::EAX, X86::ECX, X86::EDX, X86::ESI, X86::EDI, X86::EBX, X86::EBP, X86::ESP, X86::R8D, X86::R9D, X86::R10D, X86::R11D, X86::R14D, X86::R15D, X86::R12D, X86::R13D, |
| }; |
| |
| // GR32 Bit set. |
| const uint8_t GR32Bits[] = { |
| 0x00, 0x00, 0xc0, 0x0f, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| // GR32_NOSP Register Class... |
| const MCPhysReg GR32_NOSP[] = { |
| X86::EAX, X86::ECX, X86::EDX, X86::ESI, X86::EDI, X86::EBX, X86::EBP, X86::R8D, X86::R9D, X86::R10D, X86::R11D, X86::R14D, X86::R15D, X86::R12D, X86::R13D, |
| }; |
| |
| // GR32_NOSP Bit set. |
| const uint8_t GR32_NOSPBits[] = { |
| 0x00, 0x00, 0xc0, 0x0f, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| // LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREX Register Class... |
| const MCPhysReg LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREX[] = { |
| X86::EAX, X86::ECX, X86::EDX, X86::ESI, X86::EDI, X86::EBX, X86::EBP, X86::ESP, X86::RBP, |
| }; |
| |
| // LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREX Bit set. |
| const uint8_t LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREXBits[] = { |
| 0x00, 0x00, 0xc0, 0x0f, 0x03, 0x00, 0x01, |
| }; |
| |
| // GR32_NOREX Register Class... |
| const MCPhysReg GR32_NOREX[] = { |
| X86::EAX, X86::ECX, X86::EDX, X86::ESI, X86::EDI, X86::EBX, X86::EBP, X86::ESP, |
| }; |
| |
| // GR32_NOREX Bit set. |
| const uint8_t GR32_NOREXBits[] = { |
| 0x00, 0x00, 0xc0, 0x0f, 0x03, |
| }; |
| |
| // VK32 Register Class... |
| const MCPhysReg VK32[] = { |
| X86::K0, X86::K1, X86::K2, X86::K3, X86::K4, X86::K5, X86::K6, X86::K7, |
| }; |
| |
| // VK32 Bit set. |
| const uint8_t VK32Bits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| // GR32_NOREX_NOSP Register Class... |
| const MCPhysReg GR32_NOREX_NOSP[] = { |
| X86::EAX, X86::ECX, X86::EDX, X86::ESI, X86::EDI, X86::EBX, X86::EBP, |
| }; |
| |
| // GR32_NOREX_NOSP Bit set. |
| const uint8_t GR32_NOREX_NOSPBits[] = { |
| 0x00, 0x00, 0xc0, 0x0f, 0x01, |
| }; |
| |
| // RFP32 Register Class... |
| const MCPhysReg RFP32[] = { |
| X86::FP0, X86::FP1, X86::FP2, X86::FP3, X86::FP4, X86::FP5, X86::FP6, |
| }; |
| |
| // RFP32 Bit set. |
| const uint8_t RFP32Bits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x0f, |
| }; |
| |
| // VK32WM Register Class... |
| const MCPhysReg VK32WM[] = { |
| X86::K1, X86::K2, X86::K3, X86::K4, X86::K5, X86::K6, X86::K7, |
| }; |
| |
| // VK32WM Bit set. |
| const uint8_t VK32WMBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x1f, |
| }; |
| |
| // GR32_ABCD Register Class... |
| const MCPhysReg GR32_ABCD[] = { |
| X86::EAX, X86::ECX, X86::EDX, X86::EBX, |
| }; |
| |
| // GR32_ABCD Bit set. |
| const uint8_t GR32_ABCDBits[] = { |
| 0x00, 0x00, 0x40, 0x0b, |
| }; |
| |
| // GR32_TC Register Class... |
| const MCPhysReg GR32_TC[] = { |
| X86::EAX, X86::ECX, X86::EDX, |
| }; |
| |
| // GR32_TC Bit set. |
| const uint8_t GR32_TCBits[] = { |
| 0x00, 0x00, 0x40, 0x0a, |
| }; |
| |
| // GR32_AD Register Class... |
| const MCPhysReg GR32_AD[] = { |
| X86::EAX, X86::EDX, |
| }; |
| |
| // GR32_AD Bit set. |
| const uint8_t GR32_ADBits[] = { |
| 0x00, 0x00, 0x40, 0x08, |
| }; |
| |
| // LOW32_ADDR_ACCESS_RBP_with_sub_32bit Register Class... |
| const MCPhysReg LOW32_ADDR_ACCESS_RBP_with_sub_32bit[] = { |
| X86::RIP, X86::RBP, |
| }; |
| |
| // LOW32_ADDR_ACCESS_RBP_with_sub_32bit Bit set. |
| const uint8_t LOW32_ADDR_ACCESS_RBP_with_sub_32bitBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x21, |
| }; |
| |
| // CCR Register Class... |
| const MCPhysReg CCR[] = { |
| X86::EFLAGS, |
| }; |
| |
| // CCR Bit set. |
| const uint8_t CCRBits[] = { |
| 0x00, 0x00, 0x00, 0x10, |
| }; |
| |
| // DFCCR Register Class... |
| const MCPhysReg DFCCR[] = { |
| X86::DF, |
| }; |
| |
| // DFCCR Bit set. |
| const uint8_t DFCCRBits[] = { |
| 0x00, 0x40, |
| }; |
| |
| // LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bit Register Class... |
| const MCPhysReg LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bit[] = { |
| X86::RBP, |
| }; |
| |
| // LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bit Bit set. |
| const uint8_t LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bitBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, |
| }; |
| |
| // LOW32_ADDR_ACCESS_with_sub_32bit Register Class... |
| const MCPhysReg LOW32_ADDR_ACCESS_with_sub_32bit[] = { |
| X86::RIP, |
| }; |
| |
| // LOW32_ADDR_ACCESS_with_sub_32bit Bit set. |
| const uint8_t LOW32_ADDR_ACCESS_with_sub_32bitBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, |
| }; |
| |
| // RFP64 Register Class... |
| const MCPhysReg RFP64[] = { |
| X86::FP0, X86::FP1, X86::FP2, X86::FP3, X86::FP4, X86::FP5, X86::FP6, |
| }; |
| |
| // RFP64 Bit set. |
| const uint8_t RFP64Bits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x0f, |
| }; |
| |
| // FR64X Register Class... |
| const MCPhysReg FR64X[] = { |
| X86::XMM0, X86::XMM1, X86::XMM2, X86::XMM3, X86::XMM4, X86::XMM5, X86::XMM6, X86::XMM7, X86::XMM8, X86::XMM9, X86::XMM10, X86::XMM11, X86::XMM12, X86::XMM13, X86::XMM14, X86::XMM15, X86::XMM16, X86::XMM17, X86::XMM18, X86::XMM19, X86::XMM20, X86::XMM21, X86::XMM22, X86::XMM23, X86::XMM24, X86::XMM25, X86::XMM26, X86::XMM27, X86::XMM28, X86::XMM29, X86::XMM30, X86::XMM31, |
| }; |
| |
| // FR64X Bit set. |
| const uint8_t FR64XBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xff, 0xff, 0xff, 0x1f, |
| }; |
| |
| // GR64 Register Class... |
| const MCPhysReg GR64[] = { |
| X86::RAX, X86::RCX, X86::RDX, X86::RSI, X86::RDI, X86::R8, X86::R9, X86::R10, X86::R11, X86::RBX, X86::R14, X86::R15, X86::R12, X86::R13, X86::RBP, X86::RSP, X86::RIP, |
| }; |
| |
| // GR64 Bit set. |
| const uint8_t GR64Bits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xbf, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| // CONTROL_REG Register Class... |
| const MCPhysReg CONTROL_REG[] = { |
| X86::CR0, X86::CR1, X86::CR2, X86::CR3, X86::CR4, X86::CR5, X86::CR6, X86::CR7, X86::CR8, X86::CR9, X86::CR10, X86::CR11, X86::CR12, X86::CR13, X86::CR14, X86::CR15, |
| }; |
| |
| // CONTROL_REG Bit set. |
| const uint8_t CONTROL_REGBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xff, 0x1f, |
| }; |
| |
| // FR64 Register Class... |
| const MCPhysReg FR64[] = { |
| X86::XMM0, X86::XMM1, X86::XMM2, X86::XMM3, X86::XMM4, X86::XMM5, X86::XMM6, X86::XMM7, X86::XMM8, X86::XMM9, X86::XMM10, X86::XMM11, X86::XMM12, X86::XMM13, X86::XMM14, X86::XMM15, |
| }; |
| |
| // FR64 Bit set. |
| const uint8_t FR64Bits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xff, 0x1f, |
| }; |
| |
| // GR64_with_sub_8bit Register Class... |
| const MCPhysReg GR64_with_sub_8bit[] = { |
| X86::RAX, X86::RCX, X86::RDX, X86::RSI, X86::RDI, X86::R8, X86::R9, X86::R10, X86::R11, X86::RBX, X86::R14, X86::R15, X86::R12, X86::R13, X86::RBP, X86::RSP, |
| }; |
| |
| // GR64_with_sub_8bit Bit set. |
| const uint8_t GR64_with_sub_8bitBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x9f, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| // GR64_NOSP Register Class... |
| const MCPhysReg GR64_NOSP[] = { |
| X86::RAX, X86::RCX, X86::RDX, X86::RSI, X86::RDI, X86::R8, X86::R9, X86::R10, X86::R11, X86::RBX, X86::R14, X86::R15, X86::R12, X86::R13, X86::RBP, |
| }; |
| |
| // GR64_NOSP Bit set. |
| const uint8_t GR64_NOSPBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x9f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| // GR64_NOREX Register Class... |
| const MCPhysReg GR64_NOREX[] = { |
| X86::RAX, X86::RCX, X86::RDX, X86::RSI, X86::RDI, X86::RBX, X86::RBP, X86::RSP, X86::RIP, |
| }; |
| |
| // GR64_NOREX Bit set. |
| const uint8_t GR64_NOREXBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xbf, 0x01, |
| }; |
| |
| // GR64_TC Register Class... |
| const MCPhysReg GR64_TC[] = { |
| X86::RAX, X86::RCX, X86::RDX, X86::RSI, X86::RDI, X86::R8, X86::R9, X86::R11, X86::RIP, |
| }; |
| |
| // GR64_TC Bit set. |
| const uint8_t GR64_TCBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xbc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x01, |
| }; |
| |
| // GR64_NOSP_and_GR64_TC Register Class... |
| const MCPhysReg GR64_NOSP_and_GR64_TC[] = { |
| X86::RAX, X86::RCX, X86::RDX, X86::RSI, X86::RDI, X86::R8, X86::R9, X86::R11, |
| }; |
| |
| // GR64_NOSP_and_GR64_TC Bit set. |
| const uint8_t GR64_NOSP_and_GR64_TCBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x9c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x01, |
| }; |
| |
| // GR64_TCW64 Register Class... |
| const MCPhysReg GR64_TCW64[] = { |
| X86::RAX, X86::RCX, X86::RDX, X86::R8, X86::R9, X86::R10, X86::R11, X86::RIP, |
| }; |
| |
| // GR64_TCW64 Bit set. |
| const uint8_t GR64_TCW64Bits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x34, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, |
| }; |
| |
| // GR64_with_sub_16bit_in_GR16_NOREX Register Class... |
| const MCPhysReg GR64_with_sub_16bit_in_GR16_NOREX[] = { |
| X86::RAX, X86::RCX, X86::RDX, X86::RSI, X86::RDI, X86::RBX, X86::RBP, X86::RSP, |
| }; |
| |
| // GR64_with_sub_16bit_in_GR16_NOREX Bit set. |
| const uint8_t GR64_with_sub_16bit_in_GR16_NOREXBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x9f, 0x01, |
| }; |
| |
| // VK64 Register Class... |
| const MCPhysReg VK64[] = { |
| X86::K0, X86::K1, X86::K2, X86::K3, X86::K4, X86::K5, X86::K6, X86::K7, |
| }; |
| |
| // VK64 Bit set. |
| const uint8_t VK64Bits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| // VR64 Register Class... |
| const MCPhysReg VR64[] = { |
| X86::MM0, X86::MM1, X86::MM2, X86::MM3, X86::MM4, X86::MM5, X86::MM6, X86::MM7, |
| }; |
| |
| // VR64 Bit set. |
| const uint8_t VR64Bits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| // GR64_NOREX_NOSP Register Class... |
| const MCPhysReg GR64_NOREX_NOSP[] = { |
| X86::RAX, X86::RCX, X86::RDX, X86::RSI, X86::RDI, X86::RBX, X86::RBP, |
| }; |
| |
| // GR64_NOREX_NOSP Bit set. |
| const uint8_t GR64_NOREX_NOSPBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x9f, |
| }; |
| |
| // GR64_NOSP_and_GR64_TCW64 Register Class... |
| const MCPhysReg GR64_NOSP_and_GR64_TCW64[] = { |
| X86::RAX, X86::RCX, X86::RDX, X86::R8, X86::R9, X86::R10, X86::R11, |
| }; |
| |
| // GR64_NOSP_and_GR64_TCW64 Bit set. |
| const uint8_t GR64_NOSP_and_GR64_TCW64Bits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, |
| }; |
| |
| // GR64_TC_and_GR64_TCW64 Register Class... |
| const MCPhysReg GR64_TC_and_GR64_TCW64[] = { |
| X86::RAX, X86::RCX, X86::RDX, X86::R8, X86::R9, X86::R11, X86::RIP, |
| }; |
| |
| // GR64_TC_and_GR64_TCW64 Bit set. |
| const uint8_t GR64_TC_and_GR64_TCW64Bits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x34, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x01, |
| }; |
| |
| // VK64WM Register Class... |
| const MCPhysReg VK64WM[] = { |
| X86::K1, X86::K2, X86::K3, X86::K4, X86::K5, X86::K6, X86::K7, |
| }; |
| |
| // VK64WM Bit set. |
| const uint8_t VK64WMBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x1f, |
| }; |
| |
| // GR64_NOREX_and_GR64_TC Register Class... |
| const MCPhysReg GR64_NOREX_and_GR64_TC[] = { |
| X86::RAX, X86::RCX, X86::RDX, X86::RSI, X86::RDI, X86::RIP, |
| }; |
| |
| // GR64_NOREX_and_GR64_TC Bit set. |
| const uint8_t GR64_NOREX_and_GR64_TCBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xbc, |
| }; |
| |
| // GR64_TC_and_GR64_NOSP_and_GR64_TCW64 Register Class... |
| const MCPhysReg GR64_TC_and_GR64_NOSP_and_GR64_TCW64[] = { |
| X86::RAX, X86::RCX, X86::RDX, X86::R8, X86::R9, X86::R11, |
| }; |
| |
| // GR64_TC_and_GR64_NOSP_and_GR64_TCW64 Bit set. |
| const uint8_t GR64_TC_and_GR64_NOSP_and_GR64_TCW64Bits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x01, |
| }; |
| |
| // GR64_NOREX_NOSP_and_GR64_TC Register Class... |
| const MCPhysReg GR64_NOREX_NOSP_and_GR64_TC[] = { |
| X86::RAX, X86::RCX, X86::RDX, X86::RSI, X86::RDI, |
| }; |
| |
| // GR64_NOREX_NOSP_and_GR64_TC Bit set. |
| const uint8_t GR64_NOREX_NOSP_and_GR64_TCBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x9c, |
| }; |
| |
| // GR64_ABCD Register Class... |
| const MCPhysReg GR64_ABCD[] = { |
| X86::RAX, X86::RCX, X86::RDX, X86::RBX, |
| }; |
| |
| // GR64_ABCD Bit set. |
| const uint8_t GR64_ABCDBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x16, |
| }; |
| |
| // GR64_NOREX_and_GR64_TCW64 Register Class... |
| const MCPhysReg GR64_NOREX_and_GR64_TCW64[] = { |
| X86::RAX, X86::RCX, X86::RDX, X86::RIP, |
| }; |
| |
| // GR64_NOREX_and_GR64_TCW64 Bit set. |
| const uint8_t GR64_NOREX_and_GR64_TCW64Bits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x34, |
| }; |
| |
| // GR64_with_sub_32bit_in_GR32_TC Register Class... |
| const MCPhysReg GR64_with_sub_32bit_in_GR32_TC[] = { |
| X86::RAX, X86::RCX, X86::RDX, |
| }; |
| |
| // GR64_with_sub_32bit_in_GR32_TC Bit set. |
| const uint8_t GR64_with_sub_32bit_in_GR32_TCBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x14, |
| }; |
| |
| // GR64_AD Register Class... |
| const MCPhysReg GR64_AD[] = { |
| X86::RAX, X86::RDX, |
| }; |
| |
| // GR64_AD Bit set. |
| const uint8_t GR64_ADBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x10, |
| }; |
| |
| // GR64_and_LOW32_ADDR_ACCESS_RBP Register Class... |
| const MCPhysReg GR64_and_LOW32_ADDR_ACCESS_RBP[] = { |
| X86::RBP, X86::RIP, |
| }; |
| |
| // GR64_and_LOW32_ADDR_ACCESS_RBP Bit set. |
| const uint8_t GR64_and_LOW32_ADDR_ACCESS_RBPBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x21, |
| }; |
| |
| // GR64_NOREX_NOSP_and_LOW32_ADDR_ACCESS_RBP Register Class... |
| const MCPhysReg GR64_NOREX_NOSP_and_LOW32_ADDR_ACCESS_RBP[] = { |
| X86::RBP, |
| }; |
| |
| // GR64_NOREX_NOSP_and_LOW32_ADDR_ACCESS_RBP Bit set. |
| const uint8_t GR64_NOREX_NOSP_and_LOW32_ADDR_ACCESS_RBPBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, |
| }; |
| |
| // GR64_and_LOW32_ADDR_ACCESS Register Class... |
| const MCPhysReg GR64_and_LOW32_ADDR_ACCESS[] = { |
| X86::RIP, |
| }; |
| |
| // GR64_and_LOW32_ADDR_ACCESS Bit set. |
| const uint8_t GR64_and_LOW32_ADDR_ACCESSBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, |
| }; |
| |
| // RST Register Class... |
| const MCPhysReg RST[] = { |
| X86::ST0, X86::ST1, X86::ST2, X86::ST3, X86::ST4, X86::ST5, X86::ST6, X86::ST7, |
| }; |
| |
| // RST Bit set. |
| const uint8_t RSTBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| // RFP80 Register Class... |
| const MCPhysReg RFP80[] = { |
| X86::FP0, X86::FP1, X86::FP2, X86::FP3, X86::FP4, X86::FP5, X86::FP6, |
| }; |
| |
| // RFP80 Bit set. |
| const uint8_t RFP80Bits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x0f, |
| }; |
| |
| // VR128X Register Class... |
| const MCPhysReg VR128X[] = { |
| X86::XMM0, X86::XMM1, X86::XMM2, X86::XMM3, X86::XMM4, X86::XMM5, X86::XMM6, X86::XMM7, X86::XMM8, X86::XMM9, X86::XMM10, X86::XMM11, X86::XMM12, X86::XMM13, X86::XMM14, X86::XMM15, X86::XMM16, X86::XMM17, X86::XMM18, X86::XMM19, X86::XMM20, X86::XMM21, X86::XMM22, X86::XMM23, X86::XMM24, X86::XMM25, X86::XMM26, X86::XMM27, X86::XMM28, X86::XMM29, X86::XMM30, X86::XMM31, |
| }; |
| |
| // VR128X Bit set. |
| const uint8_t VR128XBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xff, 0xff, 0xff, 0x1f, |
| }; |
| |
| // VR128 Register Class... |
| const MCPhysReg VR128[] = { |
| X86::XMM0, X86::XMM1, X86::XMM2, X86::XMM3, X86::XMM4, X86::XMM5, X86::XMM6, X86::XMM7, X86::XMM8, X86::XMM9, X86::XMM10, X86::XMM11, X86::XMM12, X86::XMM13, X86::XMM14, X86::XMM15, |
| }; |
| |
| // VR128 Bit set. |
| const uint8_t VR128Bits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xff, 0x1f, |
| }; |
| |
| // VR128H Register Class... |
| const MCPhysReg VR128H[] = { |
| X86::XMM8, X86::XMM9, X86::XMM10, X86::XMM11, X86::XMM12, X86::XMM13, X86::XMM14, X86::XMM15, |
| }; |
| |
| // VR128H Bit set. |
| const uint8_t VR128HBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| // VR128L Register Class... |
| const MCPhysReg VR128L[] = { |
| X86::XMM0, X86::XMM1, X86::XMM2, X86::XMM3, X86::XMM4, X86::XMM5, X86::XMM6, X86::XMM7, |
| }; |
| |
| // VR128L Bit set. |
| const uint8_t VR128LBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| // BNDR Register Class... |
| const MCPhysReg BNDR[] = { |
| X86::BND0, X86::BND1, X86::BND2, X86::BND3, |
| }; |
| |
| // BNDR Bit set. |
| const uint8_t BNDRBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1e, |
| }; |
| |
| // VR256X Register Class... |
| const MCPhysReg VR256X[] = { |
| X86::YMM0, X86::YMM1, X86::YMM2, X86::YMM3, X86::YMM4, X86::YMM5, X86::YMM6, X86::YMM7, X86::YMM8, X86::YMM9, X86::YMM10, X86::YMM11, X86::YMM12, X86::YMM13, X86::YMM14, X86::YMM15, X86::YMM16, X86::YMM17, X86::YMM18, X86::YMM19, X86::YMM20, X86::YMM21, X86::YMM22, X86::YMM23, X86::YMM24, X86::YMM25, X86::YMM26, X86::YMM27, X86::YMM28, X86::YMM29, X86::YMM30, X86::YMM31, |
| }; |
| |
| // VR256X Bit set. |
| const uint8_t VR256XBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xff, 0xff, 0xff, 0x1f, |
| }; |
| |
| // VR256 Register Class... |
| const MCPhysReg VR256[] = { |
| X86::YMM0, X86::YMM1, X86::YMM2, X86::YMM3, X86::YMM4, X86::YMM5, X86::YMM6, X86::YMM7, X86::YMM8, X86::YMM9, X86::YMM10, X86::YMM11, X86::YMM12, X86::YMM13, X86::YMM14, X86::YMM15, |
| }; |
| |
| // VR256 Bit set. |
| const uint8_t VR256Bits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xff, 0x1f, |
| }; |
| |
| // VR256H Register Class... |
| const MCPhysReg VR256H[] = { |
| X86::YMM8, X86::YMM9, X86::YMM10, X86::YMM11, X86::YMM12, X86::YMM13, X86::YMM14, X86::YMM15, |
| }; |
| |
| // VR256H Bit set. |
| const uint8_t VR256HBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| // VR256L Register Class... |
| const MCPhysReg VR256L[] = { |
| X86::YMM0, X86::YMM1, X86::YMM2, X86::YMM3, X86::YMM4, X86::YMM5, X86::YMM6, X86::YMM7, |
| }; |
| |
| // VR256L Bit set. |
| const uint8_t VR256LBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| // VR512 Register Class... |
| const MCPhysReg VR512[] = { |
| X86::ZMM0, X86::ZMM1, X86::ZMM2, X86::ZMM3, X86::ZMM4, X86::ZMM5, X86::ZMM6, X86::ZMM7, X86::ZMM8, X86::ZMM9, X86::ZMM10, X86::ZMM11, X86::ZMM12, X86::ZMM13, X86::ZMM14, X86::ZMM15, X86::ZMM16, X86::ZMM17, X86::ZMM18, X86::ZMM19, X86::ZMM20, X86::ZMM21, X86::ZMM22, X86::ZMM23, X86::ZMM24, X86::ZMM25, X86::ZMM26, X86::ZMM27, X86::ZMM28, X86::ZMM29, X86::ZMM30, X86::ZMM31, |
| }; |
| |
| // VR512 Bit set. |
| const uint8_t VR512Bits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xff, 0xff, 0xff, 0x1f, |
| }; |
| |
| // VR512_with_sub_xmm_in_FR32 Register Class... |
| const MCPhysReg VR512_with_sub_xmm_in_FR32[] = { |
| X86::ZMM0, X86::ZMM1, X86::ZMM2, X86::ZMM3, X86::ZMM4, X86::ZMM5, X86::ZMM6, X86::ZMM7, X86::ZMM8, X86::ZMM9, X86::ZMM10, X86::ZMM11, X86::ZMM12, X86::ZMM13, X86::ZMM14, X86::ZMM15, |
| }; |
| |
| // VR512_with_sub_xmm_in_FR32 Bit set. |
| const uint8_t VR512_with_sub_xmm_in_FR32Bits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xff, 0x1f, |
| }; |
| |
| // VR512_with_sub_xmm_in_VR128H Register Class... |
| const MCPhysReg VR512_with_sub_xmm_in_VR128H[] = { |
| X86::ZMM8, X86::ZMM9, X86::ZMM10, X86::ZMM11, X86::ZMM12, X86::ZMM13, X86::ZMM14, X86::ZMM15, |
| }; |
| |
| // VR512_with_sub_xmm_in_VR128H Bit set. |
| const uint8_t VR512_with_sub_xmm_in_VR128HBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| // VR512_with_sub_xmm_in_VR128L Register Class... |
| const MCPhysReg VR512_with_sub_xmm_in_VR128L[] = { |
| X86::ZMM0, X86::ZMM1, X86::ZMM2, X86::ZMM3, X86::ZMM4, X86::ZMM5, X86::ZMM6, X86::ZMM7, |
| }; |
| |
| // VR512_with_sub_xmm_in_VR128L Bit set. |
| const uint8_t VR512_with_sub_xmm_in_VR128LBits[] = { |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x1f, |
| }; |
| |
| } // end anonymous namespace |
| |
| extern const char X86RegClassStrings[] = { |
| /* 0 */ 'R', 'F', 'P', '8', '0', 0, |
| /* 6 */ 'V', 'K', '1', 0, |
| /* 10 */ 'V', 'R', '5', '1', '2', 0, |
| /* 16 */ 'V', 'K', '3', '2', 0, |
| /* 21 */ 'R', 'F', 'P', '3', '2', 0, |
| /* 27 */ 'V', 'R', '5', '1', '2', '_', 'w', 'i', 't', 'h', '_', 's', 'u', 'b', '_', 'x', 'm', 'm', '_', 'i', 'n', '_', 'F', 'R', '3', '2', 0, |
| /* 54 */ 'G', 'R', '3', '2', 0, |
| /* 59 */ 'V', 'K', '2', 0, |
| /* 63 */ 'V', 'K', '6', '4', 0, |
| /* 68 */ 'R', 'F', 'P', '6', '4', 0, |
| /* 74 */ 'F', 'R', '6', '4', 0, |
| /* 79 */ 'G', 'R', '6', '4', 0, |
| /* 84 */ 'V', 'R', '6', '4', 0, |
| /* 89 */ 'G', 'R', '6', '4', '_', 'T', 'C', '_', 'a', 'n', 'd', '_', 'G', 'R', '6', '4', '_', 'T', 'C', 'W', '6', '4', 0, |
| /* 112 */ 'G', 'R', '6', '4', '_', 'T', 'C', '_', 'a', 'n', 'd', '_', 'G', 'R', '6', '4', '_', 'N', 'O', 'S', 'P', '_', 'a', 'n', 'd', '_', 'G', 'R', '6', '4', '_', 'T', 'C', 'W', '6', '4', 0, |
| /* 149 */ 'G', 'R', '6', '4', '_', 'N', 'O', 'R', 'E', 'X', '_', 'a', 'n', 'd', '_', 'G', 'R', '6', '4', '_', 'T', 'C', 'W', '6', '4', 0, |
| /* 175 */ 'V', 'K', '4', 0, |
| /* 179 */ 'G', 'R', 'H', '1', '6', 0, |
| /* 185 */ 'V', 'K', '1', '6', 0, |
| /* 190 */ 'G', 'R', '1', '6', 0, |
| /* 195 */ 'V', 'R', '2', '5', '6', 0, |
| /* 201 */ 'V', 'R', '1', '2', '8', 0, |
| /* 207 */ 'G', 'R', 'H', '8', 0, |
| /* 212 */ 'V', 'K', '8', 0, |
| /* 216 */ 'G', 'R', '8', 0, |
| /* 220 */ 'G', 'R', '6', '4', '_', 'w', 'i', 't', 'h', '_', 's', 'u', 'b', '_', '3', '2', 'b', 'i', 't', '_', 'i', 'n', '_', 'G', 'R', '3', '2', '_', 'T', 'C', 0, |
| /* 251 */ 'G', 'R', '6', '4', '_', 'N', 'O', 'S', 'P', '_', 'a', 'n', 'd', '_', 'G', 'R', '6', '4', '_', 'T', 'C', 0, |
| /* 273 */ 'G', 'R', '6', '4', '_', 'N', 'O', 'R', 'E', 'X', '_', 'N', 'O', 'S', 'P', '_', 'a', 'n', 'd', '_', 'G', 'R', '6', '4', '_', 'T', 'C', 0, |
| /* 301 */ 'G', 'R', '6', '4', '_', 'N', 'O', 'R', 'E', 'X', '_', 'a', 'n', 'd', '_', 'G', 'R', '6', '4', '_', 'T', 'C', 0, |
| /* 324 */ 'G', 'R', '3', '2', '_', 'A', 'D', 0, |
| /* 332 */ 'G', 'R', '6', '4', '_', 'A', 'D', 0, |
| /* 340 */ 'G', 'R', '3', '2', '_', 'A', 'B', 'C', 'D', 0, |
| /* 350 */ 'G', 'R', '6', '4', '_', 'A', 'B', 'C', 'D', 0, |
| /* 360 */ 'G', 'R', '1', '6', '_', 'A', 'B', 'C', 'D', 0, |
| /* 370 */ 'D', 'E', 'B', 'U', 'G', '_', 'R', 'E', 'G', 0, |
| /* 380 */ 'C', 'O', 'N', 'T', 'R', 'O', 'L', '_', 'R', 'E', 'G', 0, |
| /* 392 */ 'S', 'E', 'G', 'M', 'E', 'N', 'T', '_', 'R', 'E', 'G', 0, |
| /* 404 */ 'V', 'R', '2', '5', '6', 'H', 0, |
| /* 411 */ 'V', 'R', '5', '1', '2', '_', 'w', 'i', 't', 'h', '_', 's', 'u', 'b', '_', 'x', 'm', 'm', '_', 'i', 'n', '_', 'V', 'R', '1', '2', '8', 'H', 0, |
| /* 440 */ 'G', 'R', '8', '_', 'A', 'B', 'C', 'D', '_', 'H', 0, |
| /* 451 */ 'V', 'R', '2', '5', '6', 'L', 0, |
| /* 458 */ 'V', 'R', '5', '1', '2', '_', 'w', 'i', 't', 'h', '_', 's', 'u', 'b', '_', 'x', 'm', 'm', '_', 'i', 'n', '_', 'V', 'R', '1', '2', '8', 'L', 0, |
| /* 487 */ 'G', 'R', '8', '_', 'A', 'B', 'C', 'D', '_', 'L', 0, |
| /* 498 */ 'V', 'K', '1', 'W', 'M', 0, |
| /* 504 */ 'V', 'K', '3', '2', 'W', 'M', 0, |
| /* 511 */ 'V', 'K', '2', 'W', 'M', 0, |
| /* 517 */ 'V', 'K', '6', '4', 'W', 'M', 0, |
| /* 524 */ 'V', 'K', '4', 'W', 'M', 0, |
| /* 530 */ 'V', 'K', '1', '6', 'W', 'M', 0, |
| /* 537 */ 'V', 'K', '8', 'W', 'M', 0, |
| /* 543 */ 'G', 'R', '6', '4', '_', 'a', 'n', 'd', '_', 'L', 'O', 'W', '3', '2', '_', 'A', 'D', 'D', 'R', '_', 'A', 'C', 'C', 'E', 'S', 'S', '_', 'R', 'B', 'P', 0, |
| /* 574 */ 'G', 'R', '6', '4', '_', 'N', 'O', 'R', 'E', 'X', '_', 'N', 'O', 'S', 'P', '_', 'a', 'n', 'd', '_', 'L', 'O', 'W', '3', '2', '_', 'A', 'D', 'D', 'R', '_', 'A', 'C', 'C', 'E', 'S', 'S', '_', 'R', 'B', 'P', 0, |
| /* 616 */ 'G', 'R', '3', '2', '_', 'N', 'O', 'S', 'P', 0, |
| /* 626 */ 'G', 'R', '6', '4', '_', 'N', 'O', 'S', 'P', 0, |
| /* 636 */ 'G', 'R', '3', '2', '_', 'N', 'O', 'R', 'E', 'X', '_', 'N', 'O', 'S', 'P', 0, |
| /* 652 */ 'G', 'R', '6', '4', '_', 'N', 'O', 'R', 'E', 'X', '_', 'N', 'O', 'S', 'P', 0, |
| /* 668 */ 'D', 'F', 'C', 'C', 'R', 0, |
| /* 674 */ 'F', 'P', 'C', 'C', 'R', 0, |
| /* 680 */ 'B', 'N', 'D', 'R', 0, |
| /* 685 */ 'G', 'R', '6', '4', '_', 'a', 'n', 'd', '_', 'L', 'O', 'W', '3', '2', '_', 'A', 'D', 'D', 'R', '_', 'A', 'C', 'C', 'E', 'S', 'S', 0, |
| /* 712 */ 'R', 'S', 'T', 0, |
| /* 716 */ 'F', 'R', '3', '2', 'X', 0, |
| /* 722 */ 'F', 'R', '6', '4', 'X', 0, |
| /* 728 */ 'V', 'R', '2', '5', '6', 'X', 0, |
| /* 735 */ 'V', 'R', '1', '2', '8', 'X', 0, |
| /* 742 */ 'G', 'R', '3', '2', '_', 'N', 'O', 'R', 'E', 'X', 0, |
| /* 753 */ 'G', 'R', '6', '4', '_', 'N', 'O', 'R', 'E', 'X', 0, |
| /* 764 */ 'G', 'R', '6', '4', '_', 'w', 'i', 't', 'h', '_', 's', 'u', 'b', '_', '1', '6', 'b', 'i', 't', '_', 'i', 'n', '_', 'G', 'R', '1', '6', '_', 'N', 'O', 'R', 'E', 'X', 0, |
| /* 798 */ 'L', 'O', 'W', '3', '2', '_', 'A', 'D', 'D', 'R', '_', 'A', 'C', 'C', 'E', 'S', 'S', '_', 'R', 'B', 'P', '_', 'w', 'i', 't', 'h', '_', 's', 'u', 'b', '_', '1', '6', 'b', 'i', 't', '_', 'i', 'n', '_', 'G', 'R', '1', '6', '_', 'N', 'O', 'R', 'E', 'X', 0, |
| /* 849 */ 'G', 'R', '8', '_', 'N', 'O', 'R', 'E', 'X', 0, |
| /* 859 */ 'L', 'O', 'W', '3', '2', '_', 'A', 'D', 'D', 'R', '_', 'A', 'C', 'C', 'E', 'S', 'S', '_', 'R', 'B', 'P', '_', 'w', 'i', 't', 'h', '_', 's', 'u', 'b', '_', '3', '2', 'b', 'i', 't', 0, |
| /* 896 */ 'L', 'O', 'W', '3', '2', '_', 'A', 'D', 'D', 'R', '_', 'A', 'C', 'C', 'E', 'S', 'S', '_', 'w', 'i', 't', 'h', '_', 's', 'u', 'b', '_', '3', '2', 'b', 'i', 't', 0, |
| /* 929 */ 'L', 'O', 'W', '3', '2', '_', 'A', 'D', 'D', 'R', '_', 'A', 'C', 'C', 'E', 'S', 'S', '_', 'R', 'B', 'P', '_', 'w', 'i', 't', 'h', '_', 's', 'u', 'b', '_', '8', 'b', 'i', 't', '_', 'w', 'i', 't', 'h', '_', 's', 'u', 'b', '_', '3', '2', 'b', 'i', 't', 0, |
| /* 980 */ 'G', 'R', '6', '4', '_', 'w', 'i', 't', 'h', '_', 's', 'u', 'b', '_', '8', 'b', 'i', 't', 0, |
| /* 999 */ 'L', 'O', 'W', '3', '2', '_', 'A', 'D', 'D', 'R', '_', 'A', 'C', 'C', 'E', 'S', 'S', '_', 'R', 'B', 'P', '_', 'w', 'i', 't', 'h', '_', 's', 'u', 'b', '_', '8', 'b', 'i', 't', 0, |
| }; |
| |
| extern const MCRegisterClass X86MCRegisterClasses[] = { |
| { GR8, GR8Bits, 216, 20, sizeof(GR8Bits), X86::GR8RegClassID, 1, 1, true }, |
| { GRH8, GRH8Bits, 207, 12, sizeof(GRH8Bits), X86::GRH8RegClassID, 1, 1, false }, |
| { GR8_NOREX, GR8_NOREXBits, 849, 8, sizeof(GR8_NOREXBits), X86::GR8_NOREXRegClassID, 1, 1, true }, |
| { GR8_ABCD_H, GR8_ABCD_HBits, 440, 4, sizeof(GR8_ABCD_HBits), X86::GR8_ABCD_HRegClassID, 1, 1, true }, |
| { GR8_ABCD_L, GR8_ABCD_LBits, 487, 4, sizeof(GR8_ABCD_LBits), X86::GR8_ABCD_LRegClassID, 1, 1, true }, |
| { GRH16, GRH16Bits, 179, 17, sizeof(GRH16Bits), X86::GRH16RegClassID, 2, 1, false }, |
| { GR16, GR16Bits, 190, 16, sizeof(GR16Bits), X86::GR16RegClassID, 2, 1, true }, |
| { GR16_NOREX, GR16_NOREXBits, 787, 8, sizeof(GR16_NOREXBits), X86::GR16_NOREXRegClassID, 2, 1, true }, |
| { VK1, VK1Bits, 6, 8, sizeof(VK1Bits), X86::VK1RegClassID, 2, 1, true }, |
| { VK16, VK16Bits, 185, 8, sizeof(VK16Bits), X86::VK16RegClassID, 2, 1, true }, |
| { VK2, VK2Bits, 59, 8, sizeof(VK2Bits), X86::VK2RegClassID, 2, 1, true }, |
| { VK4, VK4Bits, 175, 8, sizeof(VK4Bits), X86::VK4RegClassID, 2, 1, true }, |
| { VK8, VK8Bits, 212, 8, sizeof(VK8Bits), X86::VK8RegClassID, 2, 1, true }, |
| { VK16WM, VK16WMBits, 530, 7, sizeof(VK16WMBits), X86::VK16WMRegClassID, 2, 1, true }, |
| { VK1WM, VK1WMBits, 498, 7, sizeof(VK1WMBits), X86::VK1WMRegClassID, 2, 1, true }, |
| { VK2WM, VK2WMBits, 511, 7, sizeof(VK2WMBits), X86::VK2WMRegClassID, 2, 1, true }, |
| { VK4WM, VK4WMBits, 524, 7, sizeof(VK4WMBits), X86::VK4WMRegClassID, 2, 1, true }, |
| { VK8WM, VK8WMBits, 537, 7, sizeof(VK8WMBits), X86::VK8WMRegClassID, 2, 1, true }, |
| { SEGMENT_REG, SEGMENT_REGBits, 392, 6, sizeof(SEGMENT_REGBits), X86::SEGMENT_REGRegClassID, 2, 1, true }, |
| { GR16_ABCD, GR16_ABCDBits, 360, 4, sizeof(GR16_ABCDBits), X86::GR16_ABCDRegClassID, 2, 1, true }, |
| { FPCCR, FPCCRBits, 674, 1, sizeof(FPCCRBits), X86::FPCCRRegClassID, 2, -1, false }, |
| { FR32X, FR32XBits, 716, 32, sizeof(FR32XBits), X86::FR32XRegClassID, 4, 1, true }, |
| { LOW32_ADDR_ACCESS_RBP, LOW32_ADDR_ACCESS_RBPBits, 552, 18, sizeof(LOW32_ADDR_ACCESS_RBPBits), X86::LOW32_ADDR_ACCESS_RBPRegClassID, 4, 1, true }, |
| { LOW32_ADDR_ACCESS, LOW32_ADDR_ACCESSBits, 694, 17, sizeof(LOW32_ADDR_ACCESSBits), X86::LOW32_ADDR_ACCESSRegClassID, 4, 1, true }, |
| { LOW32_ADDR_ACCESS_RBP_with_sub_8bit, LOW32_ADDR_ACCESS_RBP_with_sub_8bitBits, 999, 17, sizeof(LOW32_ADDR_ACCESS_RBP_with_sub_8bitBits), X86::LOW32_ADDR_ACCESS_RBP_with_sub_8bitRegClassID, 4, 1, true }, |
| { DEBUG_REG, DEBUG_REGBits, 370, 16, sizeof(DEBUG_REGBits), X86::DEBUG_REGRegClassID, 4, 1, true }, |
| { FR32, FR32Bits, 49, 16, sizeof(FR32Bits), X86::FR32RegClassID, 4, 1, true }, |
| { GR32, GR32Bits, 54, 16, sizeof(GR32Bits), X86::GR32RegClassID, 4, 1, true }, |
| { GR32_NOSP, GR32_NOSPBits, 616, 15, sizeof(GR32_NOSPBits), X86::GR32_NOSPRegClassID, 4, 1, true }, |
| { LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREX, LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREXBits, 798, 9, sizeof(LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREXBits), X86::LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREXRegClassID, 4, 1, true }, |
| { GR32_NOREX, GR32_NOREXBits, 742, 8, sizeof(GR32_NOREXBits), X86::GR32_NOREXRegClassID, 4, 1, true }, |
| { VK32, VK32Bits, 16, 8, sizeof(VK32Bits), X86::VK32RegClassID, 4, 1, true }, |
| { GR32_NOREX_NOSP, GR32_NOREX_NOSPBits, 636, 7, sizeof(GR32_NOREX_NOSPBits), X86::GR32_NOREX_NOSPRegClassID, 4, 1, true }, |
| { RFP32, RFP32Bits, 21, 7, sizeof(RFP32Bits), X86::RFP32RegClassID, 4, 1, true }, |
| { VK32WM, VK32WMBits, 504, 7, sizeof(VK32WMBits), X86::VK32WMRegClassID, 4, 1, true }, |
| { GR32_ABCD, GR32_ABCDBits, 340, 4, sizeof(GR32_ABCDBits), X86::GR32_ABCDRegClassID, 4, 1, true }, |
| { GR32_TC, GR32_TCBits, 243, 3, sizeof(GR32_TCBits), X86::GR32_TCRegClassID, 4, 1, true }, |
| { GR32_AD, GR32_ADBits, 324, 2, sizeof(GR32_ADBits), X86::GR32_ADRegClassID, 4, 1, true }, |
| { LOW32_ADDR_ACCESS_RBP_with_sub_32bit, LOW32_ADDR_ACCESS_RBP_with_sub_32bitBits, 859, 2, sizeof(LOW32_ADDR_ACCESS_RBP_with_sub_32bitBits), X86::LOW32_ADDR_ACCESS_RBP_with_sub_32bitRegClassID, 4, 1, true }, |
| { CCR, CCRBits, 670, 1, sizeof(CCRBits), X86::CCRRegClassID, 4, -1, false }, |
| { DFCCR, DFCCRBits, 668, 1, sizeof(DFCCRBits), X86::DFCCRRegClassID, 4, -1, false }, |
| { LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bit, LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bitBits, 929, 1, sizeof(LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bitBits), X86::LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bitRegClassID, 4, 1, true }, |
| { LOW32_ADDR_ACCESS_with_sub_32bit, LOW32_ADDR_ACCESS_with_sub_32bitBits, 896, 1, sizeof(LOW32_ADDR_ACCESS_with_sub_32bitBits), X86::LOW32_ADDR_ACCESS_with_sub_32bitRegClassID, 4, 1, true }, |
| { RFP64, RFP64Bits, 68, 7, sizeof(RFP64Bits), X86::RFP64RegClassID, 8, 1, true }, |
| { FR64X, FR64XBits, 722, 32, sizeof(FR64XBits), X86::FR64XRegClassID, 8, 1, true }, |
| { GR64, GR64Bits, 79, 17, sizeof(GR64Bits), X86::GR64RegClassID, 8, 1, true }, |
| { CONTROL_REG, CONTROL_REGBits, 380, 16, sizeof(CONTROL_REGBits), X86::CONTROL_REGRegClassID, 8, 1, true }, |
| { FR64, FR64Bits, 74, 16, sizeof(FR64Bits), X86::FR64RegClassID, 8, 1, true }, |
| { GR64_with_sub_8bit, GR64_with_sub_8bitBits, 980, 16, sizeof(GR64_with_sub_8bitBits), X86::GR64_with_sub_8bitRegClassID, 8, 1, true }, |
| { GR64_NOSP, GR64_NOSPBits, 626, 15, sizeof(GR64_NOSPBits), X86::GR64_NOSPRegClassID, 8, 1, true }, |
| { GR64_NOREX, GR64_NOREXBits, 753, 9, sizeof(GR64_NOREXBits), X86::GR64_NOREXRegClassID, 8, 1, true }, |
| { GR64_TC, GR64_TCBits, 265, 9, sizeof(GR64_TCBits), X86::GR64_TCRegClassID, 8, 1, true }, |
| { GR64_NOSP_and_GR64_TC, GR64_NOSP_and_GR64_TCBits, 251, 8, sizeof(GR64_NOSP_and_GR64_TCBits), X86::GR64_NOSP_and_GR64_TCRegClassID, 8, 1, true }, |
| { GR64_TCW64, GR64_TCW64Bits, 101, 8, sizeof(GR64_TCW64Bits), X86::GR64_TCW64RegClassID, 8, 1, true }, |
| { GR64_with_sub_16bit_in_GR16_NOREX, GR64_with_sub_16bit_in_GR16_NOREXBits, 764, 8, sizeof(GR64_with_sub_16bit_in_GR16_NOREXBits), X86::GR64_with_sub_16bit_in_GR16_NOREXRegClassID, 8, 1, true }, |
| { VK64, VK64Bits, 63, 8, sizeof(VK64Bits), X86::VK64RegClassID, 8, 1, true }, |
| { VR64, VR64Bits, 84, 8, sizeof(VR64Bits), X86::VR64RegClassID, 8, 1, true }, |
| { GR64_NOREX_NOSP, GR64_NOREX_NOSPBits, 652, 7, sizeof(GR64_NOREX_NOSPBits), X86::GR64_NOREX_NOSPRegClassID, 8, 1, true }, |
| { GR64_NOSP_and_GR64_TCW64, GR64_NOSP_and_GR64_TCW64Bits, 124, 7, sizeof(GR64_NOSP_and_GR64_TCW64Bits), X86::GR64_NOSP_and_GR64_TCW64RegClassID, 8, 1, true }, |
| { GR64_TC_and_GR64_TCW64, GR64_TC_and_GR64_TCW64Bits, 89, 7, sizeof(GR64_TC_and_GR64_TCW64Bits), X86::GR64_TC_and_GR64_TCW64RegClassID, 8, 1, true }, |
| { VK64WM, VK64WMBits, 517, 7, sizeof(VK64WMBits), X86::VK64WMRegClassID, 8, 1, true }, |
| { GR64_NOREX_and_GR64_TC, GR64_NOREX_and_GR64_TCBits, 301, 6, sizeof(GR64_NOREX_and_GR64_TCBits), X86::GR64_NOREX_and_GR64_TCRegClassID, 8, 1, true }, |
| { GR64_TC_and_GR64_NOSP_and_GR64_TCW64, GR64_TC_and_GR64_NOSP_and_GR64_TCW64Bits, 112, 6, sizeof(GR64_TC_and_GR64_NOSP_and_GR64_TCW64Bits), X86::GR64_TC_and_GR64_NOSP_and_GR64_TCW64RegClassID, 8, 1, true }, |
| { GR64_NOREX_NOSP_and_GR64_TC, GR64_NOREX_NOSP_and_GR64_TCBits, 273, 5, sizeof(GR64_NOREX_NOSP_and_GR64_TCBits), X86::GR64_NOREX_NOSP_and_GR64_TCRegClassID, 8, 1, true }, |
| { GR64_ABCD, GR64_ABCDBits, 350, 4, sizeof(GR64_ABCDBits), X86::GR64_ABCDRegClassID, 8, 1, true }, |
| { GR64_NOREX_and_GR64_TCW64, GR64_NOREX_and_GR64_TCW64Bits, 149, 4, sizeof(GR64_NOREX_and_GR64_TCW64Bits), X86::GR64_NOREX_and_GR64_TCW64RegClassID, 8, 1, true }, |
| { GR64_with_sub_32bit_in_GR32_TC, GR64_with_sub_32bit_in_GR32_TCBits, 220, 3, sizeof(GR64_with_sub_32bit_in_GR32_TCBits), X86::GR64_with_sub_32bit_in_GR32_TCRegClassID, 8, 1, true }, |
| { GR64_AD, GR64_ADBits, 332, 2, sizeof(GR64_ADBits), X86::GR64_ADRegClassID, 8, 1, true }, |
| { GR64_and_LOW32_ADDR_ACCESS_RBP, GR64_and_LOW32_ADDR_ACCESS_RBPBits, 543, 2, sizeof(GR64_and_LOW32_ADDR_ACCESS_RBPBits), X86::GR64_and_LOW32_ADDR_ACCESS_RBPRegClassID, 8, 1, true }, |
| { GR64_NOREX_NOSP_and_LOW32_ADDR_ACCESS_RBP, GR64_NOREX_NOSP_and_LOW32_ADDR_ACCESS_RBPBits, 574, 1, sizeof(GR64_NOREX_NOSP_and_LOW32_ADDR_ACCESS_RBPBits), X86::GR64_NOREX_NOSP_and_LOW32_ADDR_ACCESS_RBPRegClassID, 8, 1, true }, |
| { GR64_and_LOW32_ADDR_ACCESS, GR64_and_LOW32_ADDR_ACCESSBits, 685, 1, sizeof(GR64_and_LOW32_ADDR_ACCESSBits), X86::GR64_and_LOW32_ADDR_ACCESSRegClassID, 8, 1, true }, |
| { RST, RSTBits, 712, 8, sizeof(RSTBits), X86::RSTRegClassID, 10, 1, false }, |
| { RFP80, RFP80Bits, 0, 7, sizeof(RFP80Bits), X86::RFP80RegClassID, 10, 1, true }, |
| { VR128X, VR128XBits, 735, 32, sizeof(VR128XBits), X86::VR128XRegClassID, 16, 1, true }, |
| { VR128, VR128Bits, 201, 16, sizeof(VR128Bits), X86::VR128RegClassID, 16, 1, true }, |
| { VR128H, VR128HBits, 433, 8, sizeof(VR128HBits), X86::VR128HRegClassID, 16, 1, true }, |
| { VR128L, VR128LBits, 480, 8, sizeof(VR128LBits), X86::VR128LRegClassID, 16, 1, true }, |
| { BNDR, BNDRBits, 680, 4, sizeof(BNDRBits), X86::BNDRRegClassID, 16, 1, true }, |
| { VR256X, VR256XBits, 728, 32, sizeof(VR256XBits), X86::VR256XRegClassID, 32, 1, true }, |
| { VR256, VR256Bits, 195, 16, sizeof(VR256Bits), X86::VR256RegClassID, 32, 1, true }, |
| { VR256H, VR256HBits, 404, 8, sizeof(VR256HBits), X86::VR256HRegClassID, 32, 1, true }, |
| { VR256L, VR256LBits, 451, 8, sizeof(VR256LBits), X86::VR256LRegClassID, 32, 1, true }, |
| { VR512, VR512Bits, 10, 32, sizeof(VR512Bits), X86::VR512RegClassID, 64, 1, true }, |
| { VR512_with_sub_xmm_in_FR32, VR512_with_sub_xmm_in_FR32Bits, 27, 16, sizeof(VR512_with_sub_xmm_in_FR32Bits), X86::VR512_with_sub_xmm_in_FR32RegClassID, 64, 1, true }, |
| { VR512_with_sub_xmm_in_VR128H, VR512_with_sub_xmm_in_VR128HBits, 411, 8, sizeof(VR512_with_sub_xmm_in_VR128HBits), X86::VR512_with_sub_xmm_in_VR128HRegClassID, 64, 1, true }, |
| { VR512_with_sub_xmm_in_VR128L, VR512_with_sub_xmm_in_VR128LBits, 458, 8, sizeof(VR512_with_sub_xmm_in_VR128LBits), X86::VR512_with_sub_xmm_in_VR128LRegClassID, 64, 1, true }, |
| }; |
| |
| // X86 Dwarf<->LLVM register mappings. |
| extern const MCRegisterInfo::DwarfLLVMRegPair X86DwarfFlavour0Dwarf2L[] = { |
| { 0U, X86::RAX }, |
| { 1U, X86::RDX }, |
| { 2U, X86::RCX }, |
| { 3U, X86::RBX }, |
| { 4U, X86::RSI }, |
| { 5U, X86::RDI }, |
| { 6U, X86::RBP }, |
| { 7U, X86::RSP }, |
| { 8U, X86::R8 }, |
| { 9U, X86::R9 }, |
| { 10U, X86::R10 }, |
| { 11U, X86::R11 }, |
| { 12U, X86::R12 }, |
| { 13U, X86::R13 }, |
| { 14U, X86::R14 }, |
| { 15U, X86::R15 }, |
| { 16U, X86::RIP }, |
| { 17U, X86::XMM0 }, |
| { 18U, X86::XMM1 }, |
| { 19U, X86::XMM2 }, |
| { 20U, X86::XMM3 }, |
| { 21U, X86::XMM4 }, |
| { 22U, X86::XMM5 }, |
| { 23U, X86::XMM6 }, |
| { 24U, X86::XMM7 }, |
| { 25U, X86::XMM8 }, |
| { 26U, X86::XMM9 }, |
| { 27U, X86::XMM10 }, |
| { 28U, X86::XMM11 }, |
| { 29U, X86::XMM12 }, |
| { 30U, X86::XMM13 }, |
| { 31U, X86::XMM14 }, |
| { 32U, X86::XMM15 }, |
| { 33U, X86::ST0 }, |
| { 34U, X86::ST1 }, |
| { 35U, X86::ST2 }, |
| { 36U, X86::ST3 }, |
| { 37U, X86::ST4 }, |
| { 38U, X86::ST5 }, |
| { 39U, X86::ST6 }, |
| { 40U, X86::ST7 }, |
| { 41U, X86::MM0 }, |
| { 42U, X86::MM1 }, |
| { 43U, X86::MM2 }, |
| { 44U, X86::MM3 }, |
| { 45U, X86::MM4 }, |
| { 46U, X86::MM5 }, |
| { 47U, X86::MM6 }, |
| { 48U, X86::MM7 }, |
| { 67U, X86::XMM16 }, |
| { 68U, X86::XMM17 }, |
| { 69U, X86::XMM18 }, |
| { 70U, X86::XMM19 }, |
| { 71U, X86::XMM20 }, |
| { 72U, X86::XMM21 }, |
| { 73U, X86::XMM22 }, |
| { 74U, X86::XMM23 }, |
| { 75U, X86::XMM24 }, |
| { 76U, X86::XMM25 }, |
| { 77U, X86::XMM26 }, |
| { 78U, X86::XMM27 }, |
| { 79U, X86::XMM28 }, |
| { 80U, X86::XMM29 }, |
| { 81U, X86::XMM30 }, |
| { 82U, X86::XMM31 }, |
| { 118U, X86::K0 }, |
| { 119U, X86::K1 }, |
| { 120U, X86::K2 }, |
| { 121U, X86::K3 }, |
| { 122U, X86::K4 }, |
| { 123U, X86::K5 }, |
| { 124U, X86::K6 }, |
| { 125U, X86::K7 }, |
| }; |
| extern const unsigned X86DwarfFlavour0Dwarf2LSize = array_lengthof(X86DwarfFlavour0Dwarf2L); |
| |
| extern const MCRegisterInfo::DwarfLLVMRegPair X86DwarfFlavour1Dwarf2L[] = { |
| { 0U, X86::EAX }, |
| { 1U, X86::ECX }, |
| { 2U, X86::EDX }, |
| { 3U, X86::EBX }, |
| { 4U, X86::EBP }, |
| { 5U, X86::ESP }, |
| { 6U, X86::ESI }, |
| { 7U, X86::EDI }, |
| { 8U, X86::EIP }, |
| { 12U, X86::ST0 }, |
| { 13U, X86::ST1 }, |
| { 14U, X86::ST2 }, |
| { 15U, X86::ST3 }, |
| { 16U, X86::ST4 }, |
| { 17U, X86::ST5 }, |
| { 18U, X86::ST6 }, |
| { 19U, X86::ST7 }, |
| { 21U, X86::XMM0 }, |
| { 22U, X86::XMM1 }, |
| { 23U, X86::XMM2 }, |
| { 24U, X86::XMM3 }, |
| { 25U, X86::XMM4 }, |
| { 26U, X86::XMM5 }, |
| { 27U, X86::XMM6 }, |
| { 28U, X86::XMM7 }, |
| { 29U, X86::MM0 }, |
| { 30U, X86::MM1 }, |
| { 31U, X86::MM2 }, |
| { 32U, X86::MM3 }, |
| { 33U, X86::MM4 }, |
| { 34U, X86::MM5 }, |
| { 35U, X86::MM6 }, |
| { 36U, X86::MM7 }, |
| { 93U, X86::K0 }, |
| { 94U, X86::K1 }, |
| { 95U, X86::K2 }, |
| { 96U, X86::K3 }, |
| { 97U, X86::K4 }, |
| { 98U, X86::K5 }, |
| { 99U, X86::K6 }, |
| { 100U, X86::K7 }, |
| }; |
| extern const unsigned X86DwarfFlavour1Dwarf2LSize = array_lengthof(X86DwarfFlavour1Dwarf2L); |
| |
| extern const MCRegisterInfo::DwarfLLVMRegPair X86DwarfFlavour2Dwarf2L[] = { |
| { 0U, X86::EAX }, |
| { 1U, X86::ECX }, |
| { 2U, X86::EDX }, |
| { 3U, X86::EBX }, |
| { 4U, X86::ESP }, |
| { 5U, X86::EBP }, |
| { 6U, X86::ESI }, |
| { 7U, X86::EDI }, |
| { 8U, X86::EIP }, |
| { 11U, X86::ST0 }, |
| { 12U, X86::ST1 }, |
| { 13U, X86::ST2 }, |
| { 14U, X86::ST3 }, |
| { 15U, X86::ST4 }, |
| { 16U, X86::ST5 }, |
| { 17U, X86::ST6 }, |
| { 18U, X86::ST7 }, |
| { 21U, X86::XMM0 }, |
| { 22U, X86::XMM1 }, |
| { 23U, X86::XMM2 }, |
| { 24U, X86::XMM3 }, |
| { 25U, X86::XMM4 }, |
| { 26U, X86::XMM5 }, |
| { 27U, X86::XMM6 }, |
| { 28U, X86::XMM7 }, |
| { 29U, X86::MM0 }, |
| { 30U, X86::MM1 }, |
| { 31U, X86::MM2 }, |
| { 32U, X86::MM3 }, |
| { 33U, X86::MM4 }, |
| { 34U, X86::MM5 }, |
| { 35U, X86::MM6 }, |
| { 36U, X86::MM7 }, |
| { 93U, X86::K0 }, |
| { 94U, X86::K1 }, |
| { 95U, X86::K2 }, |
| { 96U, X86::K3 }, |
| { 97U, X86::K4 }, |
| { 98U, X86::K5 }, |
| { 99U, X86::K6 }, |
| { 100U, X86::K7 }, |
| }; |
| extern const unsigned X86DwarfFlavour2Dwarf2LSize = array_lengthof(X86DwarfFlavour2Dwarf2L); |
| |
| extern const MCRegisterInfo::DwarfLLVMRegPair X86EHFlavour0Dwarf2L[] = { |
| { 0U, X86::RAX }, |
| { 1U, X86::RDX }, |
| { 2U, X86::RCX }, |
| { 3U, X86::RBX }, |
| { 4U, X86::RSI }, |
| { 5U, X86::RDI }, |
| { 6U, X86::RBP }, |
| { 7U, X86::RSP }, |
| { 8U, X86::R8 }, |
| { 9U, X86::R9 }, |
| { 10U, X86::R10 }, |
| { 11U, X86::R11 }, |
| { 12U, X86::R12 }, |
| { 13U, X86::R13 }, |
| { 14U, X86::R14 }, |
| { 15U, X86::R15 }, |
| { 16U, X86::RIP }, |
| { 17U, X86::XMM0 }, |
| { 18U, X86::XMM1 }, |
| { 19U, X86::XMM2 }, |
| { 20U, X86::XMM3 }, |
| { 21U, X86::XMM4 }, |
| { 22U, X86::XMM5 }, |
| { 23U, X86::XMM6 }, |
| { 24U, X86::XMM7 }, |
| { 25U, X86::XMM8 }, |
| { 26U, X86::XMM9 }, |
| { 27U, X86::XMM10 }, |
| { 28U, X86::XMM11 }, |
| { 29U, X86::XMM12 }, |
| { 30U, X86::XMM13 }, |
| { 31U, X86::XMM14 }, |
| { 32U, X86::XMM15 }, |
| { 33U, X86::ST0 }, |
| { 34U, X86::ST1 }, |
| { 35U, X86::ST2 }, |
| { 36U, X86::ST3 }, |
| { 37U, X86::ST4 }, |
| { 38U, X86::ST5 }, |
| { 39U, X86::ST6 }, |
| { 40U, X86::ST7 }, |
| { 41U, X86::MM0 }, |
| { 42U, X86::MM1 }, |
| { 43U, X86::MM2 }, |
| { 44U, X86::MM3 }, |
| { 45U, X86::MM4 }, |
| { 46U, X86::MM5 }, |
| { 47U, X86::MM6 }, |
| { 48U, X86::MM7 }, |
| { 67U, X86::XMM16 }, |
| { 68U, X86::XMM17 }, |
| { 69U, X86::XMM18 }, |
| { 70U, X86::XMM19 }, |
| { 71U, X86::XMM20 }, |
| { 72U, X86::XMM21 }, |
| { 73U, X86::XMM22 }, |
| { 74U, X86::XMM23 }, |
| { 75U, X86::XMM24 }, |
| { 76U, X86::XMM25 }, |
| { 77U, X86::XMM26 }, |
| { 78U, X86::XMM27 }, |
| { 79U, X86::XMM28 }, |
| { 80U, X86::XMM29 }, |
| { 81U, X86::XMM30 }, |
| { 82U, X86::XMM31 }, |
| { 118U, X86::K0 }, |
| { 119U, X86::K1 }, |
| { 120U, X86::K2 }, |
| { 121U, X86::K3 }, |
| { 122U, X86::K4 }, |
| { 123U, X86::K5 }, |
| { 124U, X86::K6 }, |
| { 125U, X86::K7 }, |
| }; |
| extern const unsigned X86EHFlavour0Dwarf2LSize = array_lengthof(X86EHFlavour0Dwarf2L); |
| |
| extern const MCRegisterInfo::DwarfLLVMRegPair X86EHFlavour1Dwarf2L[] = { |
| { 0U, X86::EAX }, |
| { 1U, X86::ECX }, |
| { 2U, X86::EDX }, |
| { 3U, X86::EBX }, |
| { 4U, X86::EBP }, |
| { 5U, X86::ESP }, |
| { 6U, X86::ESI }, |
| { 7U, X86::EDI }, |
| { 8U, X86::EIP }, |
| { 12U, X86::ST0 }, |
| { 13U, X86::ST1 }, |
| { 14U, X86::ST2 }, |
| { 15U, X86::ST3 }, |
| { 16U, X86::ST4 }, |
| { 17U, X86::ST5 }, |
| { 18U, X86::ST6 }, |
| { 19U, X86::ST7 }, |
| { 21U, X86::XMM0 }, |
| { 22U, X86::XMM1 }, |
| { 23U, X86::XMM2 }, |
| { 24U, X86::XMM3 }, |
| { 25U, X86::XMM4 }, |
| { 26U, X86::XMM5 }, |
| { 27U, X86::XMM6 }, |
| { 28U, X86::XMM7 }, |
| { 29U, X86::MM0 }, |
| { 30U, X86::MM1 }, |
| { 31U, X86::MM2 }, |
| { 32U, X86::MM3 }, |
| { 33U, X86::MM4 }, |
| { 34U, X86::MM5 }, |
| { 35U, X86::MM6 }, |
| { 36U, X86::MM7 }, |
| { 93U, X86::K0 }, |
| { 94U, X86::K1 }, |
| { 95U, X86::K2 }, |
| { 96U, X86::K3 }, |
| { 97U, X86::K4 }, |
| { 98U, X86::K5 }, |
| { 99U, X86::K6 }, |
| { 100U, X86::K7 }, |
| }; |
| extern const unsigned X86EHFlavour1Dwarf2LSize = array_lengthof(X86EHFlavour1Dwarf2L); |
| |
| extern const MCRegisterInfo::DwarfLLVMRegPair X86EHFlavour2Dwarf2L[] = { |
| { 0U, X86::EAX }, |
| { 1U, X86::ECX }, |
| { 2U, X86::EDX }, |
| { 3U, X86::EBX }, |
| { 4U, X86::ESP }, |
| { 5U, X86::EBP }, |
| { 6U, X86::ESI }, |
| { 7U, X86::EDI }, |
| { 8U, X86::EIP }, |
| { 11U, X86::ST0 }, |
| { 12U, X86::ST1 }, |
| { 13U, X86::ST2 }, |
| { 14U, X86::ST3 }, |
| { 15U, X86::ST4 }, |
| { 16U, X86::ST5 }, |
| { 17U, X86::ST6 }, |
| { 18U, X86::ST7 }, |
| { 21U, X86::XMM0 }, |
| { 22U, X86::XMM1 }, |
| { 23U, X86::XMM2 }, |
| { 24U, X86::XMM3 }, |
| { 25U, X86::XMM4 }, |
| { 26U, X86::XMM5 }, |
| { 27U, X86::XMM6 }, |
| { 28U, X86::XMM7 }, |
| { 29U, X86::MM0 }, |
| { 30U, X86::MM1 }, |
| { 31U, X86::MM2 }, |
| { 32U, X86::MM3 }, |
| { 33U, X86::MM4 }, |
| { 34U, X86::MM5 }, |
| { 35U, X86::MM6 }, |
| { 36U, X86::MM7 }, |
| { 93U, X86::K0 }, |
| { 94U, X86::K1 }, |
| { 95U, X86::K2 }, |
| { 96U, X86::K3 }, |
| { 97U, X86::K4 }, |
| { 98U, X86::K5 }, |
| { 99U, X86::K6 }, |
| { 100U, X86::K7 }, |
| }; |
| extern const unsigned X86EHFlavour2Dwarf2LSize = array_lengthof(X86EHFlavour2Dwarf2L); |
| |
| extern const MCRegisterInfo::DwarfLLVMRegPair X86DwarfFlavour0L2Dwarf[] = { |
| { X86::EAX, -2U }, |
| { X86::EBP, -2U }, |
| { X86::EBX, -2U }, |
| { X86::ECX, -2U }, |
| { X86::EDI, -2U }, |
| { X86::EDX, -2U }, |
| { X86::EIP, -2U }, |
| { X86::ESI, -2U }, |
| { X86::ESP, -2U }, |
| { X86::RAX, 0U }, |
| { X86::RBP, 6U }, |
| { X86::RBX, 3U }, |
| { X86::RCX, 2U }, |
| { X86::RDI, 5U }, |
| { X86::RDX, 1U }, |
| { X86::RIP, 16U }, |
| { X86::RSI, 4U }, |
| { X86::RSP, 7U }, |
| { X86::K0, 118U }, |
| { X86::K1, 119U }, |
| { X86::K2, 120U }, |
| { X86::K3, 121U }, |
| { X86::K4, 122U }, |
| { X86::K5, 123U }, |
| { X86::K6, 124U }, |
| { X86::K7, 125U }, |
| { X86::MM0, 41U }, |
| { X86::MM1, 42U }, |
| { X86::MM2, 43U }, |
| { X86::MM3, 44U }, |
| { X86::MM4, 45U }, |
| { X86::MM5, 46U }, |
| { X86::MM6, 47U }, |
| { X86::MM7, 48U }, |
| { X86::R8, 8U }, |
| { X86::R9, 9U }, |
| { X86::R10, 10U }, |
| { X86::R11, 11U }, |
| { X86::R12, 12U }, |
| { X86::R13, 13U }, |
| { X86::R14, 14U }, |
| { X86::R15, 15U }, |
| { X86::ST0, 33U }, |
| { X86::ST1, 34U }, |
| { X86::ST2, 35U }, |
| { X86::ST3, 36U }, |
| { X86::ST4, 37U }, |
| { X86::ST5, 38U }, |
| { X86::ST6, 39U }, |
| { X86::ST7, 40U }, |
| { X86::XMM0, 17U }, |
| { X86::XMM1, 18U }, |
| { X86::XMM2, 19U }, |
| { X86::XMM3, 20U }, |
| { X86::XMM4, 21U }, |
| { X86::XMM5, 22U }, |
| { X86::XMM6, 23U }, |
| { X86::XMM7, 24U }, |
| { X86::XMM8, 25U }, |
| { X86::XMM9, 26U }, |
| { X86::XMM10, 27U }, |
| { X86::XMM11, 28U }, |
| { X86::XMM12, 29U }, |
| { X86::XMM13, 30U }, |
| { X86::XMM14, 31U }, |
| { X86::XMM15, 32U }, |
| { X86::XMM16, 67U }, |
| { X86::XMM17, 68U }, |
| { X86::XMM18, 69U }, |
| { X86::XMM19, 70U }, |
| { X86::XMM20, 71U }, |
| { X86::XMM21, 72U }, |
| { X86::XMM22, 73U }, |
| { X86::XMM23, 74U }, |
| { X86::XMM24, 75U }, |
| { X86::XMM25, 76U }, |
| { X86::XMM26, 77U }, |
| { X86::XMM27, 78U }, |
| { X86::XMM28, 79U }, |
| { X86::XMM29, 80U }, |
| { X86::XMM30, 81U }, |
| { X86::XMM31, 82U }, |
| { X86::YMM0, 17U }, |
| { X86::YMM1, 18U }, |
| { X86::YMM2, 19U }, |
| { X86::YMM3, 20U }, |
| { X86::YMM4, 21U }, |
| { X86::YMM5, 22U }, |
| { X86::YMM6, 23U }, |
| { X86::YMM7, 24U }, |
| { X86::YMM8, 25U }, |
| { X86::YMM9, 26U }, |
| { X86::YMM10, 27U }, |
| { X86::YMM11, 28U }, |
| { X86::YMM12, 29U }, |
| { X86::YMM13, 30U }, |
| { X86::YMM14, 31U }, |
| { X86::YMM15, 32U }, |
| { X86::YMM16, 67U }, |
| { X86::YMM17, 68U }, |
| { X86::YMM18, 69U }, |
| { X86::YMM19, 70U }, |
| { X86::YMM20, 71U }, |
| { X86::YMM21, 72U }, |
| { X86::YMM22, 73U }, |
| { X86::YMM23, 74U }, |
| { X86::YMM24, 75U }, |
| { X86::YMM25, 76U }, |
| { X86::YMM26, 77U }, |
| { X86::YMM27, 78U }, |
| { X86::YMM28, 79U }, |
| { X86::YMM29, 80U }, |
| { X86::YMM30, 81U }, |
| { X86::YMM31, 82U }, |
| { X86::ZMM0, 17U }, |
| { X86::ZMM1, 18U }, |
| { X86::ZMM2, 19U }, |
| { X86::ZMM3, 20U }, |
| { X86::ZMM4, 21U }, |
| { X86::ZMM5, 22U }, |
| { X86::ZMM6, 23U }, |
| { X86::ZMM7, 24U }, |
| { X86::ZMM8, 25U }, |
| { X86::ZMM9, 26U }, |
| { X86::ZMM10, 27U }, |
| { X86::ZMM11, 28U }, |
| { X86::ZMM12, 29U }, |
| { X86::ZMM13, 30U }, |
| { X86::ZMM14, 31U }, |
| { X86::ZMM15, 32U }, |
| { X86::ZMM16, 67U }, |
| { X86::ZMM17, 68U }, |
| { X86::ZMM18, 69U }, |
| { X86::ZMM19, 70U }, |
| { X86::ZMM20, 71U }, |
| { X86::ZMM21, 72U }, |
| { X86::ZMM22, 73U }, |
| { X86::ZMM23, 74U }, |
| { X86::ZMM24, 75U }, |
| { X86::ZMM25, 76U }, |
| { X86::ZMM26, 77U }, |
| { X86::ZMM27, 78U }, |
| { X86::ZMM28, 79U }, |
| { X86::ZMM29, 80U }, |
| { X86::ZMM30, 81U }, |
| { X86::ZMM31, 82U }, |
| }; |
| extern const unsigned X86DwarfFlavour0L2DwarfSize = array_lengthof(X86DwarfFlavour0L2Dwarf); |
| |
| extern const MCRegisterInfo::DwarfLLVMRegPair X86DwarfFlavour1L2Dwarf[] = { |
| { X86::EAX, 0U }, |
| { X86::EBP, 4U }, |
| { X86::EBX, 3U }, |
| { X86::ECX, 1U }, |
| { X86::EDI, 7U }, |
| { X86::EDX, 2U }, |
| { X86::EIP, 8U }, |
| { X86::ESI, 6U }, |
| { X86::ESP, 5U }, |
| { X86::RAX, -2U }, |
| { X86::RBP, -2U }, |
| { X86::RBX, -2U }, |
| { X86::RCX, -2U }, |
| { X86::RDI, -2U }, |
| { X86::RDX, -2U }, |
| { X86::RIP, -2U }, |
| { X86::RSI, -2U }, |
| { X86::RSP, -2U }, |
| { X86::K0, 93U }, |
| { X86::K1, 94U }, |
| { X86::K2, 95U }, |
| { X86::K3, 96U }, |
| { X86::K4, 97U }, |
| { X86::K5, 98U }, |
| { X86::K6, 99U }, |
| { X86::K7, 100U }, |
| { X86::MM0, 29U }, |
| { X86::MM1, 30U }, |
| { X86::MM2, 31U }, |
| { X86::MM3, 32U }, |
| { X86::MM4, 33U }, |
| { X86::MM5, 34U }, |
| { X86::MM6, 35U }, |
| { X86::MM7, 36U }, |
| { X86::R8, -2U }, |
| { X86::R9, -2U }, |
| { X86::R10, -2U }, |
| { X86::R11, -2U }, |
| { X86::R12, -2U }, |
| { X86::R13, -2U }, |
| { X86::R14, -2U }, |
| { X86::R15, -2U }, |
| { X86::ST0, 12U }, |
| { X86::ST1, 13U }, |
| { X86::ST2, 14U }, |
| { X86::ST3, 15U }, |
| { X86::ST4, 16U }, |
| { X86::ST5, 17U }, |
| { X86::ST6, 18U }, |
| { X86::ST7, 19U }, |
| { X86::XMM0, 21U }, |
| { X86::XMM1, 22U }, |
| { X86::XMM2, 23U }, |
| { X86::XMM3, 24U }, |
| { X86::XMM4, 25U }, |
| { X86::XMM5, 26U }, |
| { X86::XMM6, 27U }, |
| { X86::XMM7, 28U }, |
| { X86::XMM8, -2U }, |
| { X86::XMM9, -2U }, |
| { X86::XMM10, -2U }, |
| { X86::XMM11, -2U }, |
| { X86::XMM12, -2U }, |
| { X86::XMM13, -2U }, |
| { X86::XMM14, -2U }, |
| { X86::XMM15, -2U }, |
| { X86::XMM16, -2U }, |
| { X86::XMM17, -2U }, |
| { X86::XMM18, -2U }, |
| { X86::XMM19, -2U }, |
| { X86::XMM20, -2U }, |
| { X86::XMM21, -2U }, |
| { X86::XMM22, -2U }, |
| { X86::XMM23, -2U }, |
| { X86::XMM24, -2U }, |
| { X86::XMM25, -2U }, |
| { X86::XMM26, -2U }, |
| { X86::XMM27, -2U }, |
| { X86::XMM28, -2U }, |
| { X86::XMM29, -2U }, |
| { X86::XMM30, -2U }, |
| { X86::XMM31, -2U }, |
| { X86::YMM0, 21U }, |
| { X86::YMM1, 22U }, |
| { X86::YMM2, 23U }, |
| { X86::YMM3, 24U }, |
| { X86::YMM4, 25U }, |
| { X86::YMM5, 26U }, |
| { X86::YMM6, 27U }, |
| { X86::YMM7, 28U }, |
| { X86::YMM8, -2U }, |
| { X86::YMM9, -2U }, |
| { X86::YMM10, -2U }, |
| { X86::YMM11, -2U }, |
| { X86::YMM12, -2U }, |
| { X86::YMM13, -2U }, |
| { X86::YMM14, -2U }, |
| { X86::YMM15, -2U }, |
| { X86::YMM16, -2U }, |
| { X86::YMM17, -2U }, |
| { X86::YMM18, -2U }, |
| { X86::YMM19, -2U }, |
| { X86::YMM20, -2U }, |
| { X86::YMM21, -2U }, |
| { X86::YMM22, -2U }, |
| { X86::YMM23, -2U }, |
| { X86::YMM24, -2U }, |
| { X86::YMM25, -2U }, |
| { X86::YMM26, -2U }, |
| { X86::YMM27, -2U }, |
| { X86::YMM28, -2U }, |
| { X86::YMM29, -2U }, |
| { X86::YMM30, -2U }, |
| { X86::YMM31, -2U }, |
| { X86::ZMM0, 21U }, |
| { X86::ZMM1, 22U }, |
| { X86::ZMM2, 23U }, |
| { X86::ZMM3, 24U }, |
| { X86::ZMM4, 25U }, |
| { X86::ZMM5, 26U }, |
| { X86::ZMM6, 27U }, |
| { X86::ZMM7, 28U }, |
| { X86::ZMM8, -2U }, |
| { X86::ZMM9, -2U }, |
| { X86::ZMM10, -2U }, |
| { X86::ZMM11, -2U }, |
| { X86::ZMM12, -2U }, |
| { X86::ZMM13, -2U }, |
| { X86::ZMM14, -2U }, |
| { X86::ZMM15, -2U }, |
| { X86::ZMM16, -2U }, |
| { X86::ZMM17, -2U }, |
| { X86::ZMM18, -2U }, |
| { X86::ZMM19, -2U }, |
| { X86::ZMM20, -2U }, |
| { X86::ZMM21, -2U }, |
| { X86::ZMM22, -2U }, |
| { X86::ZMM23, -2U }, |
| { X86::ZMM24, -2U }, |
| { X86::ZMM25, -2U }, |
| { X86::ZMM26, -2U }, |
| { X86::ZMM27, -2U }, |
| { X86::ZMM28, -2U }, |
| { X86::ZMM29, -2U }, |
| { X86::ZMM30, -2U }, |
| { X86::ZMM31, -2U }, |
| }; |
| extern const unsigned X86DwarfFlavour1L2DwarfSize = array_lengthof(X86DwarfFlavour1L2Dwarf); |
| |
| extern const MCRegisterInfo::DwarfLLVMRegPair X86DwarfFlavour2L2Dwarf[] = { |
| { X86::EAX, 0U }, |
| { X86::EBP, 5U }, |
| { X86::EBX, 3U }, |
| { X86::ECX, 1U }, |
| { X86::EDI, 7U }, |
| { X86::EDX, 2U }, |
| { X86::EIP, 8U }, |
| { X86::ESI, 6U }, |
| { X86::ESP, 4U }, |
| { X86::RAX, -2U }, |
| { X86::RBP, -2U }, |
| { X86::RBX, -2U }, |
| { X86::RCX, -2U }, |
| { X86::RDI, -2U }, |
| { X86::RDX, -2U }, |
| { X86::RIP, -2U }, |
| { X86::RSI, -2U }, |
| { X86::RSP, -2U }, |
| { X86::K0, 93U }, |
| { X86::K1, 94U }, |
| { X86::K2, 95U }, |
| { X86::K3, 96U }, |
| { X86::K4, 97U }, |
| { X86::K5, 98U }, |
| { X86::K6, 99U }, |
| { X86::K7, 100U }, |
| { X86::MM0, 29U }, |
| { X86::MM1, 30U }, |
| { X86::MM2, 31U }, |
| { X86::MM3, 32U }, |
| { X86::MM4, 33U }, |
| { X86::MM5, 34U }, |
| { X86::MM6, 35U }, |
| { X86::MM7, 36U }, |
| { X86::R8, -2U }, |
| { X86::R9, -2U }, |
| { X86::R10, -2U }, |
| { X86::R11, -2U }, |
| { X86::R12, -2U }, |
| { X86::R13, -2U }, |
| { X86::R14, -2U }, |
| { X86::R15, -2U }, |
| { X86::ST0, 11U }, |
| { X86::ST1, 12U }, |
| { X86::ST2, 13U }, |
| { X86::ST3, 14U }, |
| { X86::ST4, 15U }, |
| { X86::ST5, 16U }, |
| { X86::ST6, 17U }, |
| { X86::ST7, 18U }, |
| { X86::XMM0, 21U }, |
| { X86::XMM1, 22U }, |
| { X86::XMM2, 23U }, |
| { X86::XMM3, 24U }, |
| { X86::XMM4, 25U }, |
| { X86::XMM5, 26U }, |
| { X86::XMM6, 27U }, |
| { X86::XMM7, 28U }, |
| { X86::XMM8, -2U }, |
| { X86::XMM9, -2U }, |
| { X86::XMM10, -2U }, |
| { X86::XMM11, -2U }, |
| { X86::XMM12, -2U }, |
| { X86::XMM13, -2U }, |
| { X86::XMM14, -2U }, |
| { X86::XMM15, -2U }, |
| { X86::XMM16, -2U }, |
| { X86::XMM17, -2U }, |
| { X86::XMM18, -2U }, |
| { X86::XMM19, -2U }, |
| { X86::XMM20, -2U }, |
| { X86::XMM21, -2U }, |
| { X86::XMM22, -2U }, |
| { X86::XMM23, -2U }, |
| { X86::XMM24, -2U }, |
| { X86::XMM25, -2U }, |
| { X86::XMM26, -2U }, |
| { X86::XMM27, -2U }, |
| { X86::XMM28, -2U }, |
| { X86::XMM29, -2U }, |
| { X86::XMM30, -2U }, |
| { X86::XMM31, -2U }, |
| { X86::YMM0, 21U }, |
| { X86::YMM1, 22U }, |
| { X86::YMM2, 23U }, |
| { X86::YMM3, 24U }, |
| { X86::YMM4, 25U }, |
| { X86::YMM5, 26U }, |
| { X86::YMM6, 27U }, |
| { X86::YMM7, 28U }, |
| { X86::YMM8, -2U }, |
| { X86::YMM9, -2U }, |
| { X86::YMM10, -2U }, |
| { X86::YMM11, -2U }, |
| { X86::YMM12, -2U }, |
| { X86::YMM13, -2U }, |
| { X86::YMM14, -2U }, |
| { X86::YMM15, -2U }, |
| { X86::YMM16, -2U }, |
| { X86::YMM17, -2U }, |
| { X86::YMM18, -2U }, |
| { X86::YMM19, -2U }, |
| { X86::YMM20, -2U }, |
| { X86::YMM21, -2U }, |
| { X86::YMM22, -2U }, |
| { X86::YMM23, -2U }, |
| { X86::YMM24, -2U }, |
| { X86::YMM25, -2U }, |
| { X86::YMM26, -2U }, |
| { X86::YMM27, -2U }, |
| { X86::YMM28, -2U }, |
| { X86::YMM29, -2U }, |
| { X86::YMM30, -2U }, |
| { X86::YMM31, -2U }, |
| { X86::ZMM0, 21U }, |
| { X86::ZMM1, 22U }, |
| { X86::ZMM2, 23U }, |
| { X86::ZMM3, 24U }, |
| { X86::ZMM4, 25U }, |
| { X86::ZMM5, 26U }, |
| { X86::ZMM6, 27U }, |
| { X86::ZMM7, 28U }, |
| { X86::ZMM8, -2U }, |
| { X86::ZMM9, -2U }, |
| { X86::ZMM10, -2U }, |
| { X86::ZMM11, -2U }, |
| { X86::ZMM12, -2U }, |
| { X86::ZMM13, -2U }, |
| { X86::ZMM14, -2U }, |
| { X86::ZMM15, -2U }, |
| { X86::ZMM16, -2U }, |
| { X86::ZMM17, -2U }, |
| { X86::ZMM18, -2U }, |
| { X86::ZMM19, -2U }, |
| { X86::ZMM20, -2U }, |
| { X86::ZMM21, -2U }, |
| { X86::ZMM22, -2U }, |
| { X86::ZMM23, -2U }, |
| { X86::ZMM24, -2U }, |
| { X86::ZMM25, -2U }, |
| { X86::ZMM26, -2U }, |
| { X86::ZMM27, -2U }, |
| { X86::ZMM28, -2U }, |
| { X86::ZMM29, -2U }, |
| { X86::ZMM30, -2U }, |
| { X86::ZMM31, -2U }, |
| }; |
| extern const unsigned X86DwarfFlavour2L2DwarfSize = array_lengthof(X86DwarfFlavour2L2Dwarf); |
| |
| extern const MCRegisterInfo::DwarfLLVMRegPair X86EHFlavour0L2Dwarf[] = { |
| { X86::EAX, -2U }, |
| { X86::EBP, -2U }, |
| { X86::EBX, -2U }, |
| { X86::ECX, -2U }, |
| { X86::EDI, -2U }, |
| { X86::EDX, -2U }, |
| { X86::EIP, -2U }, |
| { X86::ESI, -2U }, |
| { X86::ESP, -2U }, |
| { X86::RAX, 0U }, |
| { X86::RBP, 6U }, |
| { X86::RBX, 3U }, |
| { X86::RCX, 2U }, |
| { X86::RDI, 5U }, |
| { X86::RDX, 1U }, |
| { X86::RIP, 16U }, |
| { X86::RSI, 4U }, |
| { X86::RSP, 7U }, |
| { X86::K0, 118U }, |
| { X86::K1, 119U }, |
| { X86::K2, 120U }, |
| { X86::K3, 121U }, |
| { X86::K4, 122U }, |
| { X86::K5, 123U }, |
| { X86::K6, 124U }, |
| { X86::K7, 125U }, |
| { X86::MM0, 41U }, |
| { X86::MM1, 42U }, |
| { X86::MM2, 43U }, |
| { X86::MM3, 44U }, |
| { X86::MM4, 45U }, |
| { X86::MM5, 46U }, |
| { X86::MM6, 47U }, |
| { X86::MM7, 48U }, |
| { X86::R8, 8U }, |
| { X86::R9, 9U }, |
| { X86::R10, 10U }, |
| { X86::R11, 11U }, |
| { X86::R12, 12U }, |
| { X86::R13, 13U }, |
| { X86::R14, 14U }, |
| { X86::R15, 15U }, |
| { X86::ST0, 33U }, |
| { X86::ST1, 34U }, |
| { X86::ST2, 35U }, |
| { X86::ST3, 36U }, |
| { X86::ST4, 37U }, |
| { X86::ST5, 38U }, |
| { X86::ST6, 39U }, |
| { X86::ST7, 40U }, |
| { X86::XMM0, 17U }, |
| { X86::XMM1, 18U }, |
| { X86::XMM2, 19U }, |
| { X86::XMM3, 20U }, |
| { X86::XMM4, 21U }, |
| { X86::XMM5, 22U }, |
| { X86::XMM6, 23U }, |
| { X86::XMM7, 24U }, |
| { X86::XMM8, 25U }, |
| { X86::XMM9, 26U }, |
| { X86::XMM10, 27U }, |
| { X86::XMM11, 28U }, |
| { X86::XMM12, 29U }, |
| { X86::XMM13, 30U }, |
| { X86::XMM14, 31U }, |
| { X86::XMM15, 32U }, |
| { X86::XMM16, 67U }, |
| { X86::XMM17, 68U }, |
| { X86::XMM18, 69U }, |
| { X86::XMM19, 70U }, |
| { X86::XMM20, 71U }, |
| { X86::XMM21, 72U }, |
| { X86::XMM22, 73U }, |
| { X86::XMM23, 74U }, |
| { X86::XMM24, 75U }, |
| { X86::XMM25, 76U }, |
| { X86::XMM26, 77U }, |
| { X86::XMM27, 78U }, |
| { X86::XMM28, 79U }, |
| { X86::XMM29, 80U }, |
| { X86::XMM30, 81U }, |
| { X86::XMM31, 82U }, |
| { X86::YMM0, 17U }, |
| { X86::YMM1, 18U }, |
| { X86::YMM2, 19U }, |
| { X86::YMM3, 20U }, |
| { X86::YMM4, 21U }, |
| { X86::YMM5, 22U }, |
| { X86::YMM6, 23U }, |
| { X86::YMM7, 24U }, |
| { X86::YMM8, 25U }, |
| { X86::YMM9, 26U }, |
| { X86::YMM10, 27U }, |
| { X86::YMM11, 28U }, |
| { X86::YMM12, 29U }, |
| { X86::YMM13, 30U }, |
| { X86::YMM14, 31U }, |
| { X86::YMM15, 32U }, |
| { X86::YMM16, 67U }, |
| { X86::YMM17, 68U }, |
| { X86::YMM18, 69U }, |
| { X86::YMM19, 70U }, |
| { X86::YMM20, 71U }, |
| { X86::YMM21, 72U }, |
| { X86::YMM22, 73U }, |
| { X86::YMM23, 74U }, |
| { X86::YMM24, 75U }, |
| { X86::YMM25, 76U }, |
| { X86::YMM26, 77U }, |
| { X86::YMM27, 78U }, |
| { X86::YMM28, 79U }, |
| { X86::YMM29, 80U }, |
| { X86::YMM30, 81U }, |
| { X86::YMM31, 82U }, |
| { X86::ZMM0, 17U }, |
| { X86::ZMM1, 18U }, |
| { X86::ZMM2, 19U }, |
| { X86::ZMM3, 20U }, |
| { X86::ZMM4, 21U }, |
| { X86::ZMM5, 22U }, |
| { X86::ZMM6, 23U }, |
| { X86::ZMM7, 24U }, |
| { X86::ZMM8, 25U }, |
| { X86::ZMM9, 26U }, |
| { X86::ZMM10, 27U }, |
| { X86::ZMM11, 28U }, |
| { X86::ZMM12, 29U }, |
| { X86::ZMM13, 30U }, |
| { X86::ZMM14, 31U }, |
| { X86::ZMM15, 32U }, |
| { X86::ZMM16, 67U }, |
| { X86::ZMM17, 68U }, |
| { X86::ZMM18, 69U }, |
| { X86::ZMM19, 70U }, |
| { X86::ZMM20, 71U }, |
| { X86::ZMM21, 72U }, |
| { X86::ZMM22, 73U }, |
| { X86::ZMM23, 74U }, |
| { X86::ZMM24, 75U }, |
| { X86::ZMM25, 76U }, |
| { X86::ZMM26, 77U }, |
| { X86::ZMM27, 78U }, |
| { X86::ZMM28, 79U }, |
| { X86::ZMM29, 80U }, |
| { X86::ZMM30, 81U }, |
| { X86::ZMM31, 82U }, |
| }; |
| extern const unsigned X86EHFlavour0L2DwarfSize = array_lengthof(X86EHFlavour0L2Dwarf); |
| |
| extern const MCRegisterInfo::DwarfLLVMRegPair X86EHFlavour1L2Dwarf[] = { |
| { X86::EAX, 0U }, |
| { X86::EBP, 4U }, |
| { X86::EBX, 3U }, |
| { X86::ECX, 1U }, |
| { X86::EDI, 7U }, |
| { X86::EDX, 2U }, |
| { X86::EIP, 8U }, |
| { X86::ESI, 6U }, |
| { X86::ESP, 5U }, |
| { X86::RAX, -2U }, |
| { X86::RBP, -2U }, |
| { X86::RBX, -2U }, |
| { X86::RCX, -2U }, |
| { X86::RDI, -2U }, |
| { X86::RDX, -2U }, |
| { X86::RIP, -2U }, |
| { X86::RSI, -2U }, |
| { X86::RSP, -2U }, |
| { X86::K0, 93U }, |
| { X86::K1, 94U }, |
| { X86::K2, 95U }, |
| { X86::K3, 96U }, |
| { X86::K4, 97U }, |
| { X86::K5, 98U }, |
| { X86::K6, 99U }, |
| { X86::K7, 100U }, |
| { X86::MM0, 29U }, |
| { X86::MM1, 30U }, |
| { X86::MM2, 31U }, |
| { X86::MM3, 32U }, |
| { X86::MM4, 33U }, |
| { X86::MM5, 34U }, |
| { X86::MM6, 35U }, |
| { X86::MM7, 36U }, |
| { X86::R8, -2U }, |
| { X86::R9, -2U }, |
| { X86::R10, -2U }, |
| { X86::R11, -2U }, |
| { X86::R12, -2U }, |
| { X86::R13, -2U }, |
| { X86::R14, -2U }, |
| { X86::R15, -2U }, |
| { X86::ST0, 12U }, |
| { X86::ST1, 13U }, |
| { X86::ST2, 14U }, |
| { X86::ST3, 15U }, |
| { X86::ST4, 16U }, |
| { X86::ST5, 17U }, |
| { X86::ST6, 18U }, |
| { X86::ST7, 19U }, |
| { X86::XMM0, 21U }, |
| { X86::XMM1, 22U }, |
| { X86::XMM2, 23U }, |
| { X86::XMM3, 24U }, |
| { X86::XMM4, 25U }, |
| { X86::XMM5, 26U }, |
| { X86::XMM6, 27U }, |
| { X86::XMM7, 28U }, |
| { X86::XMM8, -2U }, |
| { X86::XMM9, -2U }, |
| { X86::XMM10, -2U }, |
| { X86::XMM11, -2U }, |
| { X86::XMM12, -2U }, |
| { X86::XMM13, -2U }, |
| { X86::XMM14, -2U }, |
| { X86::XMM15, -2U }, |
| { X86::XMM16, -2U }, |
| { X86::XMM17, -2U }, |
| { X86::XMM18, -2U }, |
| { X86::XMM19, -2U }, |
| { X86::XMM20, -2U }, |
| { X86::XMM21, -2U }, |
| { X86::XMM22, -2U }, |
| { X86::XMM23, -2U }, |
| { X86::XMM24, -2U }, |
| { X86::XMM25, -2U }, |
| { X86::XMM26, -2U }, |
| { X86::XMM27, -2U }, |
| { X86::XMM28, -2U }, |
| { X86::XMM29, -2U }, |
| { X86::XMM30, -2U }, |
| { X86::XMM31, -2U }, |
| { X86::YMM0, 21U }, |
| { X86::YMM1, 22U }, |
| { X86::YMM2, 23U }, |
| { X86::YMM3, 24U }, |
| { X86::YMM4, 25U }, |
| { X86::YMM5, 26U }, |
| { X86::YMM6, 27U }, |
| { X86::YMM7, 28U }, |
| { X86::YMM8, -2U }, |
| { X86::YMM9, -2U }, |
| { X86::YMM10, -2U }, |
| { X86::YMM11, -2U }, |
| { X86::YMM12, -2U }, |
| { X86::YMM13, -2U }, |
| { X86::YMM14, -2U }, |
| { X86::YMM15, -2U }, |
| { X86::YMM16, -2U }, |
| { X86::YMM17, -2U }, |
| { X86::YMM18, -2U }, |
| { X86::YMM19, -2U }, |
| { X86::YMM20, -2U }, |
| { X86::YMM21, -2U }, |
| { X86::YMM22, -2U }, |
| { X86::YMM23, -2U }, |
| { X86::YMM24, -2U }, |
| { X86::YMM25, -2U }, |
| { X86::YMM26, -2U }, |
| { X86::YMM27, -2U }, |
| { X86::YMM28, -2U }, |
| { X86::YMM29, -2U }, |
| { X86::YMM30, -2U }, |
| { X86::YMM31, -2U }, |
| { X86::ZMM0, 21U }, |
| { X86::ZMM1, 22U }, |
| { X86::ZMM2, 23U }, |
| { X86::ZMM3, 24U }, |
| { X86::ZMM4, 25U }, |
| { X86::ZMM5, 26U }, |
| { X86::ZMM6, 27U }, |
| { X86::ZMM7, 28U }, |
| { X86::ZMM8, -2U }, |
| { X86::ZMM9, -2U }, |
| { X86::ZMM10, -2U }, |
| { X86::ZMM11, -2U }, |
| { X86::ZMM12, -2U }, |
| { X86::ZMM13, -2U }, |
| { X86::ZMM14, -2U }, |
| { X86::ZMM15, -2U }, |
| { X86::ZMM16, -2U }, |
| { X86::ZMM17, -2U }, |
| { X86::ZMM18, -2U }, |
| { X86::ZMM19, -2U }, |
| { X86::ZMM20, -2U }, |
| { X86::ZMM21, -2U }, |
| { X86::ZMM22, -2U }, |
| { X86::ZMM23, -2U }, |
| { X86::ZMM24, -2U }, |
| { X86::ZMM25, -2U }, |
| { X86::ZMM26, -2U }, |
| { X86::ZMM27, -2U }, |
| { X86::ZMM28, -2U }, |
| { X86::ZMM29, -2U }, |
| { X86::ZMM30, -2U }, |
| { X86::ZMM31, -2U }, |
| }; |
| extern const unsigned X86EHFlavour1L2DwarfSize = array_lengthof(X86EHFlavour1L2Dwarf); |
| |
| extern const MCRegisterInfo::DwarfLLVMRegPair X86EHFlavour2L2Dwarf[] = { |
| { X86::EAX, 0U }, |
| { X86::EBP, 5U }, |
| { X86::EBX, 3U }, |
| { X86::ECX, 1U }, |
| { X86::EDI, 7U }, |
| { X86::EDX, 2U }, |
| { X86::EIP, 8U }, |
| { X86::ESI, 6U }, |
| { X86::ESP, 4U }, |
| { X86::RAX, -2U }, |
| { X86::RBP, -2U }, |
| { X86::RBX, -2U }, |
| { X86::RCX, -2U }, |
| { X86::RDI, -2U }, |
| { X86::RDX, -2U }, |
| { X86::RIP, -2U }, |
| { X86::RSI, -2U }, |
| { X86::RSP, -2U }, |
| { X86::K0, 93U }, |
| { X86::K1, 94U }, |
| { X86::K2, 95U }, |
| { X86::K3, 96U }, |
| { X86::K4, 97U }, |
| { X86::K5, 98U }, |
| { X86::K6, 99U }, |
| { X86::K7, 100U }, |
| { X86::MM0, 29U }, |
| { X86::MM1, 30U }, |
| { X86::MM2, 31U }, |
| { X86::MM3, 32U }, |
| { X86::MM4, 33U }, |
| { X86::MM5, 34U }, |
| { X86::MM6, 35U }, |
| { X86::MM7, 36U }, |
| { X86::R8, -2U }, |
| { X86::R9, -2U }, |
| { X86::R10, -2U }, |
| { X86::R11, -2U }, |
| { X86::R12, -2U }, |
| { X86::R13, -2U }, |
| { X86::R14, -2U }, |
| { X86::R15, -2U }, |
| { X86::ST0, 11U }, |
| { X86::ST1, 12U }, |
| { X86::ST2, 13U }, |
| { X86::ST3, 14U }, |
| { X86::ST4, 15U }, |
| { X86::ST5, 16U }, |
| { X86::ST6, 17U }, |
| { X86::ST7, 18U }, |
| { X86::XMM0, 21U }, |
| { X86::XMM1, 22U }, |
| { X86::XMM2, 23U }, |
| { X86::XMM3, 24U }, |
| { X86::XMM4, 25U }, |
| { X86::XMM5, 26U }, |
| { X86::XMM6, 27U }, |
| { X86::XMM7, 28U }, |
| { X86::XMM8, -2U }, |
| { X86::XMM9, -2U }, |
| { X86::XMM10, -2U }, |
| { X86::XMM11, -2U }, |
| { X86::XMM12, -2U }, |
| { X86::XMM13, -2U }, |
| { X86::XMM14, -2U }, |
| { X86::XMM15, -2U }, |
| { X86::XMM16, -2U }, |
| { X86::XMM17, -2U }, |
| { X86::XMM18, -2U }, |
| { X86::XMM19, -2U }, |
| { X86::XMM20, -2U }, |
| { X86::XMM21, -2U }, |
| { X86::XMM22, -2U }, |
| { X86::XMM23, -2U }, |
| { X86::XMM24, -2U }, |
| { X86::XMM25, -2U }, |
| { X86::XMM26, -2U }, |
| { X86::XMM27, -2U }, |
| { X86::XMM28, -2U }, |
| { X86::XMM29, -2U }, |
| { X86::XMM30, -2U }, |
| { X86::XMM31, -2U }, |
| { X86::YMM0, 21U }, |
| { X86::YMM1, 22U }, |
| { X86::YMM2, 23U }, |
| { X86::YMM3, 24U }, |
| { X86::YMM4, 25U }, |
| { X86::YMM5, 26U }, |
| { X86::YMM6, 27U }, |
| { X86::YMM7, 28U }, |
| { X86::YMM8, -2U }, |
| { X86::YMM9, -2U }, |
| { X86::YMM10, -2U }, |
| { X86::YMM11, -2U }, |
| { X86::YMM12, -2U }, |
| { X86::YMM13, -2U }, |
| { X86::YMM14, -2U }, |
| { X86::YMM15, -2U }, |
| { X86::YMM16, -2U }, |
| { X86::YMM17, -2U }, |
| { X86::YMM18, -2U }, |
| { X86::YMM19, -2U }, |
| { X86::YMM20, -2U }, |
| { X86::YMM21, -2U }, |
| { X86::YMM22, -2U }, |
| { X86::YMM23, -2U }, |
| { X86::YMM24, -2U }, |
| { X86::YMM25, -2U }, |
| { X86::YMM26, -2U }, |
| { X86::YMM27, -2U }, |
| { X86::YMM28, -2U }, |
| { X86::YMM29, -2U }, |
| { X86::YMM30, -2U }, |
| { X86::YMM31, -2U }, |
| { X86::ZMM0, 21U }, |
| { X86::ZMM1, 22U }, |
| { X86::ZMM2, 23U }, |
| { X86::ZMM3, 24U }, |
| { X86::ZMM4, 25U }, |
| { X86::ZMM5, 26U }, |
| { X86::ZMM6, 27U }, |
| { X86::ZMM7, 28U }, |
| { X86::ZMM8, -2U }, |
| { X86::ZMM9, -2U }, |
| { X86::ZMM10, -2U }, |
| { X86::ZMM11, -2U }, |
| { X86::ZMM12, -2U }, |
| { X86::ZMM13, -2U }, |
| { X86::ZMM14, -2U }, |
| { X86::ZMM15, -2U }, |
| { X86::ZMM16, -2U }, |
| { X86::ZMM17, -2U }, |
| { X86::ZMM18, -2U }, |
| { X86::ZMM19, -2U }, |
| { X86::ZMM20, -2U }, |
| { X86::ZMM21, -2U }, |
| { X86::ZMM22, -2U }, |
| { X86::ZMM23, -2U }, |
| { X86::ZMM24, -2U }, |
| { X86::ZMM25, -2U }, |
| { X86::ZMM26, -2U }, |
| { X86::ZMM27, -2U }, |
| { X86::ZMM28, -2U }, |
| { X86::ZMM29, -2U }, |
| { X86::ZMM30, -2U }, |
| { X86::ZMM31, -2U }, |
| }; |
| extern const unsigned X86EHFlavour2L2DwarfSize = array_lengthof(X86EHFlavour2L2Dwarf); |
| |
| extern const uint16_t X86RegEncodingTable[] = { |
| 0, |
| 4, |
| 0, |
| 0, |
| 7, |
| 3, |
| 5, |
| 65535, |
| 5, |
| 3, |
| 5, |
| 1, |
| 1, |
| 1, |
| 0, |
| 6, |
| 7, |
| 65535, |
| 7, |
| 2, |
| 3, |
| 2, |
| 0, |
| 5, |
| 3, |
| 1, |
| 7, |
| 2, |
| 0, |
| 0, |
| 4, |
| 0, |
| 6, |
| 4, |
| 0, |
| 4, |
| 5, |
| 65535, |
| 65535, |
| 65535, |
| 65535, |
| 65535, |
| 65535, |
| 65535, |
| 65535, |
| 65535, |
| 0, |
| 0, |
| 5, |
| 3, |
| 1, |
| 7, |
| 2, |
| 0, |
| 4, |
| 6, |
| 4, |
| 6, |
| 65535, |
| 6, |
| 4, |
| 65535, |
| 4, |
| 2, |
| 0, |
| 0, |
| 1, |
| 2, |
| 3, |
| 0, |
| 1, |
| 2, |
| 3, |
| 4, |
| 5, |
| 6, |
| 7, |
| 8, |
| 9, |
| 10, |
| 11, |
| 12, |
| 13, |
| 14, |
| 15, |
| 0, |
| 1, |
| 2, |
| 3, |
| 4, |
| 5, |
| 6, |
| 7, |
| 8, |
| 9, |
| 10, |
| 11, |
| 12, |
| 13, |
| 14, |
| 15, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 0, |
| 1, |
| 2, |
| 3, |
| 4, |
| 5, |
| 6, |
| 7, |
| 0, |
| 1, |
| 2, |
| 3, |
| 4, |
| 5, |
| 6, |
| 7, |
| 8, |
| 9, |
| 10, |
| 11, |
| 12, |
| 13, |
| 14, |
| 15, |
| 0, |
| 1, |
| 2, |
| 3, |
| 4, |
| 5, |
| 6, |
| 7, |
| 0, |
| 1, |
| 2, |
| 3, |
| 4, |
| 5, |
| 6, |
| 7, |
| 8, |
| 9, |
| 10, |
| 11, |
| 12, |
| 13, |
| 14, |
| 15, |
| 16, |
| 17, |
| 18, |
| 19, |
| 20, |
| 21, |
| 22, |
| 23, |
| 24, |
| 25, |
| 26, |
| 27, |
| 28, |
| 29, |
| 30, |
| 31, |
| 0, |
| 1, |
| 2, |
| 3, |
| 4, |
| 5, |
| 6, |
| 7, |
| 8, |
| 9, |
| 10, |
| 11, |
| 12, |
| 13, |
| 14, |
| 15, |
| 16, |
| 17, |
| 18, |
| 19, |
| 20, |
| 21, |
| 22, |
| 23, |
| 24, |
| 25, |
| 26, |
| 27, |
| 28, |
| 29, |
| 30, |
| 31, |
| 0, |
| 1, |
| 2, |
| 3, |
| 4, |
| 5, |
| 6, |
| 7, |
| 8, |
| 9, |
| 10, |
| 11, |
| 12, |
| 13, |
| 14, |
| 15, |
| 16, |
| 17, |
| 18, |
| 19, |
| 20, |
| 21, |
| 22, |
| 23, |
| 24, |
| 25, |
| 26, |
| 27, |
| 28, |
| 29, |
| 30, |
| 31, |
| 8, |
| 9, |
| 10, |
| 11, |
| 12, |
| 13, |
| 14, |
| 15, |
| 65535, |
| 65535, |
| 65535, |
| 65535, |
| 65535, |
| 65535, |
| 65535, |
| 65535, |
| 8, |
| 9, |
| 10, |
| 11, |
| 12, |
| 13, |
| 14, |
| 15, |
| 8, |
| 9, |
| 10, |
| 11, |
| 12, |
| 13, |
| 14, |
| 15, |
| 65535, |
| 65535, |
| 65535, |
| 65535, |
| 65535, |
| 65535, |
| 65535, |
| 65535, |
| }; |
| static inline void InitX86MCRegisterInfo(MCRegisterInfo *RI, unsigned RA, unsigned DwarfFlavour = 0, unsigned EHFlavour = 0, unsigned PC = 0) { |
| RI->InitMCRegisterInfo(X86RegDesc, 277, RA, PC, X86MCRegisterClasses, 86, X86RegUnitRoots, 162, X86RegDiffLists, X86LaneMaskLists, X86RegStrings, X86RegClassStrings, X86SubRegIdxLists, 9, |
| X86SubRegIdxRanges, X86RegEncodingTable); |
| |
| switch (DwarfFlavour) { |
| default: |
| llvm_unreachable("Unknown DWARF flavour"); |
| case 0: |
| RI->mapDwarfRegsToLLVMRegs(X86DwarfFlavour0Dwarf2L, X86DwarfFlavour0Dwarf2LSize, false); |
| break; |
| case 1: |
| RI->mapDwarfRegsToLLVMRegs(X86DwarfFlavour1Dwarf2L, X86DwarfFlavour1Dwarf2LSize, false); |
| break; |
| case 2: |
| RI->mapDwarfRegsToLLVMRegs(X86DwarfFlavour2Dwarf2L, X86DwarfFlavour2Dwarf2LSize, false); |
| break; |
| } |
| switch (EHFlavour) { |
| default: |
| llvm_unreachable("Unknown DWARF flavour"); |
| case 0: |
| RI->mapDwarfRegsToLLVMRegs(X86EHFlavour0Dwarf2L, X86EHFlavour0Dwarf2LSize, true); |
| break; |
| case 1: |
| RI->mapDwarfRegsToLLVMRegs(X86EHFlavour1Dwarf2L, X86EHFlavour1Dwarf2LSize, true); |
| break; |
| case 2: |
| RI->mapDwarfRegsToLLVMRegs(X86EHFlavour2Dwarf2L, X86EHFlavour2Dwarf2LSize, true); |
| break; |
| } |
| switch (DwarfFlavour) { |
| default: |
| llvm_unreachable("Unknown DWARF flavour"); |
| case 0: |
| RI->mapLLVMRegsToDwarfRegs(X86DwarfFlavour0L2Dwarf, X86DwarfFlavour0L2DwarfSize, false); |
| break; |
| case 1: |
| RI->mapLLVMRegsToDwarfRegs(X86DwarfFlavour1L2Dwarf, X86DwarfFlavour1L2DwarfSize, false); |
| break; |
| case 2: |
| RI->mapLLVMRegsToDwarfRegs(X86DwarfFlavour2L2Dwarf, X86DwarfFlavour2L2DwarfSize, false); |
| break; |
| } |
| switch (EHFlavour) { |
| default: |
| llvm_unreachable("Unknown DWARF flavour"); |
| case 0: |
| RI->mapLLVMRegsToDwarfRegs(X86EHFlavour0L2Dwarf, X86EHFlavour0L2DwarfSize, true); |
| break; |
| case 1: |
| RI->mapLLVMRegsToDwarfRegs(X86EHFlavour1L2Dwarf, X86EHFlavour1L2DwarfSize, true); |
| break; |
| case 2: |
| RI->mapLLVMRegsToDwarfRegs(X86EHFlavour2L2Dwarf, X86EHFlavour2L2DwarfSize, true); |
| break; |
| } |
| } |
| |
| } // end namespace llvm |
| |
| #endif // GET_REGINFO_MC_DESC |
| |
| /*===- TableGen'erated file -------------------------------------*- C++ -*-===*\ |
| |* *| |
| |* Register Information Header Fragment *| |
| |* *| |
| |* Automatically generated file, do not edit! *| |
| |* *| |
| \*===----------------------------------------------------------------------===*/ |
| |
| |
| #ifdef GET_REGINFO_HEADER |
| #undef GET_REGINFO_HEADER |
| |
| #include "llvm/CodeGen/TargetRegisterInfo.h" |
| |
| namespace llvm { |
| |
| class X86FrameLowering; |
| |
| struct X86GenRegisterInfo : public TargetRegisterInfo { |
| explicit X86GenRegisterInfo(unsigned RA, unsigned D = 0, unsigned E = 0, |
| unsigned PC = 0, unsigned HwMode = 0); |
| unsigned composeSubRegIndicesImpl(unsigned, unsigned) const override; |
| LaneBitmask composeSubRegIndexLaneMaskImpl(unsigned, LaneBitmask) const override; |
| LaneBitmask reverseComposeSubRegIndexLaneMaskImpl(unsigned, LaneBitmask) const override; |
| const TargetRegisterClass *getSubClassWithSubReg(const TargetRegisterClass*, unsigned) const override; |
| const RegClassWeight &getRegClassWeight(const TargetRegisterClass *RC) const override; |
| unsigned getRegUnitWeight(unsigned RegUnit) const override; |
| unsigned getNumRegPressureSets() const override; |
| const char *getRegPressureSetName(unsigned Idx) const override; |
| unsigned getRegPressureSetLimit(const MachineFunction &MF, unsigned Idx) const override; |
| const int *getRegClassPressureSets(const TargetRegisterClass *RC) const override; |
| const int *getRegUnitPressureSets(unsigned RegUnit) const override; |
| ArrayRef<const char *> getRegMaskNames() const override; |
| ArrayRef<const uint32_t *> getRegMasks() const override; |
| /// Devirtualized TargetFrameLowering. |
| static const X86FrameLowering *getFrameLowering( |
| const MachineFunction &MF); |
| }; |
| |
| namespace X86 { // Register classes |
| extern const TargetRegisterClass GR8RegClass; |
| extern const TargetRegisterClass GRH8RegClass; |
| extern const TargetRegisterClass GR8_NOREXRegClass; |
| extern const TargetRegisterClass GR8_ABCD_HRegClass; |
| extern const TargetRegisterClass GR8_ABCD_LRegClass; |
| extern const TargetRegisterClass GRH16RegClass; |
| extern const TargetRegisterClass GR16RegClass; |
| extern const TargetRegisterClass GR16_NOREXRegClass; |
| extern const TargetRegisterClass VK1RegClass; |
| extern const TargetRegisterClass VK16RegClass; |
| extern const TargetRegisterClass VK2RegClass; |
| extern const TargetRegisterClass VK4RegClass; |
| extern const TargetRegisterClass VK8RegClass; |
| extern const TargetRegisterClass VK16WMRegClass; |
| extern const TargetRegisterClass VK1WMRegClass; |
| extern const TargetRegisterClass VK2WMRegClass; |
| extern const TargetRegisterClass VK4WMRegClass; |
| extern const TargetRegisterClass VK8WMRegClass; |
| extern const TargetRegisterClass SEGMENT_REGRegClass; |
| extern const TargetRegisterClass GR16_ABCDRegClass; |
| extern const TargetRegisterClass FPCCRRegClass; |
| extern const TargetRegisterClass FR32XRegClass; |
| extern const TargetRegisterClass LOW32_ADDR_ACCESS_RBPRegClass; |
| extern const TargetRegisterClass LOW32_ADDR_ACCESSRegClass; |
| extern const TargetRegisterClass LOW32_ADDR_ACCESS_RBP_with_sub_8bitRegClass; |
| extern const TargetRegisterClass DEBUG_REGRegClass; |
| extern const TargetRegisterClass FR32RegClass; |
| extern const TargetRegisterClass GR32RegClass; |
| extern const TargetRegisterClass GR32_NOSPRegClass; |
| extern const TargetRegisterClass LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREXRegClass; |
| extern const TargetRegisterClass GR32_NOREXRegClass; |
| extern const TargetRegisterClass VK32RegClass; |
| extern const TargetRegisterClass GR32_NOREX_NOSPRegClass; |
| extern const TargetRegisterClass RFP32RegClass; |
| extern const TargetRegisterClass VK32WMRegClass; |
| extern const TargetRegisterClass GR32_ABCDRegClass; |
| extern const TargetRegisterClass GR32_TCRegClass; |
| extern const TargetRegisterClass GR32_ADRegClass; |
| extern const TargetRegisterClass LOW32_ADDR_ACCESS_RBP_with_sub_32bitRegClass; |
| extern const TargetRegisterClass CCRRegClass; |
| extern const TargetRegisterClass DFCCRRegClass; |
| extern const TargetRegisterClass LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bitRegClass; |
| extern const TargetRegisterClass LOW32_ADDR_ACCESS_with_sub_32bitRegClass; |
| extern const TargetRegisterClass RFP64RegClass; |
| extern const TargetRegisterClass FR64XRegClass; |
| extern const TargetRegisterClass GR64RegClass; |
| extern const TargetRegisterClass CONTROL_REGRegClass; |
| extern const TargetRegisterClass FR64RegClass; |
| extern const TargetRegisterClass GR64_with_sub_8bitRegClass; |
| extern const TargetRegisterClass GR64_NOSPRegClass; |
| extern const TargetRegisterClass GR64_NOREXRegClass; |
| extern const TargetRegisterClass GR64_TCRegClass; |
| extern const TargetRegisterClass GR64_NOSP_and_GR64_TCRegClass; |
| extern const TargetRegisterClass GR64_TCW64RegClass; |
| extern const TargetRegisterClass GR64_with_sub_16bit_in_GR16_NOREXRegClass; |
| extern const TargetRegisterClass VK64RegClass; |
| extern const TargetRegisterClass VR64RegClass; |
| extern const TargetRegisterClass GR64_NOREX_NOSPRegClass; |
| extern const TargetRegisterClass GR64_NOSP_and_GR64_TCW64RegClass; |
| extern const TargetRegisterClass GR64_TC_and_GR64_TCW64RegClass; |
| extern const TargetRegisterClass VK64WMRegClass; |
| extern const TargetRegisterClass GR64_NOREX_and_GR64_TCRegClass; |
| extern const TargetRegisterClass GR64_TC_and_GR64_NOSP_and_GR64_TCW64RegClass; |
| extern const TargetRegisterClass GR64_NOREX_NOSP_and_GR64_TCRegClass; |
| extern const TargetRegisterClass GR64_ABCDRegClass; |
| extern const TargetRegisterClass GR64_NOREX_and_GR64_TCW64RegClass; |
| extern const TargetRegisterClass GR64_with_sub_32bit_in_GR32_TCRegClass; |
| extern const TargetRegisterClass GR64_ADRegClass; |
| extern const TargetRegisterClass GR64_and_LOW32_ADDR_ACCESS_RBPRegClass; |
| extern const TargetRegisterClass GR64_NOREX_NOSP_and_LOW32_ADDR_ACCESS_RBPRegClass; |
| extern const TargetRegisterClass GR64_and_LOW32_ADDR_ACCESSRegClass; |
| extern const TargetRegisterClass RSTRegClass; |
| extern const TargetRegisterClass RFP80RegClass; |
| extern const TargetRegisterClass VR128XRegClass; |
| extern const TargetRegisterClass VR128RegClass; |
| extern const TargetRegisterClass VR128HRegClass; |
| extern const TargetRegisterClass VR128LRegClass; |
| extern const TargetRegisterClass BNDRRegClass; |
| extern const TargetRegisterClass VR256XRegClass; |
| extern const TargetRegisterClass VR256RegClass; |
| extern const TargetRegisterClass VR256HRegClass; |
| extern const TargetRegisterClass VR256LRegClass; |
| extern const TargetRegisterClass VR512RegClass; |
| extern const TargetRegisterClass VR512_with_sub_xmm_in_FR32RegClass; |
| extern const TargetRegisterClass VR512_with_sub_xmm_in_VR128HRegClass; |
| extern const TargetRegisterClass VR512_with_sub_xmm_in_VR128LRegClass; |
| } // end namespace X86 |
| |
| } // end namespace llvm |
| |
| #endif // GET_REGINFO_HEADER |
| |
| /*===- TableGen'erated file -------------------------------------*- C++ -*-===*\ |
| |* *| |
| |* Target Register and Register Classes Information *| |
| |* *| |
| |* Automatically generated file, do not edit! *| |
| |* *| |
| \*===----------------------------------------------------------------------===*/ |
| |
| |
| #ifdef GET_REGINFO_TARGET_DESC |
| #undef GET_REGINFO_TARGET_DESC |
| |
| namespace llvm { |
| |
| extern const MCRegisterClass X86MCRegisterClasses[]; |
| |
| static const MVT::SimpleValueType VTLists[] = { |
| /* 0 */ MVT::i8, MVT::Other, |
| /* 2 */ MVT::i16, MVT::Other, |
| /* 4 */ MVT::i32, MVT::Other, |
| /* 6 */ MVT::i64, MVT::Other, |
| /* 8 */ MVT::f80, MVT::f64, MVT::f32, MVT::Other, |
| /* 12 */ MVT::f64, MVT::Other, |
| /* 14 */ MVT::f80, MVT::Other, |
| /* 16 */ MVT::v4f32, MVT::v2f64, MVT::v16i8, MVT::v8i16, MVT::v4i32, MVT::v2i64, MVT::f128, MVT::Other, |
| /* 24 */ MVT::v1i1, MVT::Other, |
| /* 26 */ MVT::v2i1, MVT::Other, |
| /* 28 */ MVT::v4i1, MVT::Other, |
| /* 30 */ MVT::v8i1, MVT::Other, |
| /* 32 */ MVT::v16i1, MVT::Other, |
| /* 34 */ MVT::v32i1, MVT::Other, |
| /* 36 */ MVT::v64i1, MVT::Other, |
| /* 38 */ MVT::v2i64, MVT::Other, |
| /* 40 */ MVT::v8f32, MVT::v4f64, MVT::v32i8, MVT::v16i16, MVT::v8i32, MVT::v4i64, MVT::Other, |
| /* 47 */ MVT::v16f32, MVT::v8f64, MVT::v64i8, MVT::v32i16, MVT::v16i32, MVT::v8i64, MVT::Other, |
| /* 54 */ MVT::x86mmx, MVT::Other, |
| }; |
| |
| static const char *const SubRegIndexNameTable[] = { "sub_8bit", "sub_8bit_hi", "sub_8bit_hi_phony", "sub_16bit", "sub_16bit_hi", "sub_32bit", "sub_xmm", "sub_ymm", "" }; |
| |
| |
| static const LaneBitmask SubRegIndexLaneMaskTable[] = { |
| LaneBitmask::getAll(), |
| LaneBitmask(0x00000001), // sub_8bit |
| LaneBitmask(0x00000002), // sub_8bit_hi |
| LaneBitmask(0x00000004), // sub_8bit_hi_phony |
| LaneBitmask(0x00000007), // sub_16bit |
| LaneBitmask(0x00000008), // sub_16bit_hi |
| LaneBitmask(0x0000000F), // sub_32bit |
| LaneBitmask(0x00000010), // sub_xmm |
| LaneBitmask(0x00000010), // sub_ymm |
| }; |
| |
| |
| |
| static const TargetRegisterInfo::RegClassInfo RegClassInfos[] = { |
| // Mode = 0 (Default) |
| { 8, 8, 8, VTLists+0 }, // GR8 |
| { 8, 8, 8, VTLists+0 }, // GRH8 |
| { 8, 8, 8, VTLists+0 }, // GR8_NOREX |
| { 8, 8, 8, VTLists+0 }, // GR8_ABCD_H |
| { 8, 8, 8, VTLists+0 }, // GR8_ABCD_L |
| { 16, 16, 16, VTLists+2 }, // GRH16 |
| { 16, 16, 16, VTLists+2 }, // GR16 |
| { 16, 16, 16, VTLists+2 }, // GR16_NOREX |
| { 16, 16, 16, VTLists+24 }, // VK1 |
| { 16, 16, 16, VTLists+32 }, // VK16 |
| { 16, 16, 16, VTLists+26 }, // VK2 |
| { 16, 16, 16, VTLists+28 }, // VK4 |
| { 16, 16, 16, VTLists+30 }, // VK8 |
| { 16, 16, 16, VTLists+32 }, // VK16WM |
| { 16, 16, 16, VTLists+24 }, // VK1WM |
| { 16, 16, 16, VTLists+26 }, // VK2WM |
| { 16, 16, 16, VTLists+28 }, // VK4WM |
| { 16, 16, 16, VTLists+30 }, // VK8WM |
| { 16, 16, 16, VTLists+2 }, // SEGMENT_REG |
| { 16, 16, 16, VTLists+2 }, // GR16_ABCD |
| { 16, 16, 16, VTLists+2 }, // FPCCR |
| { 32, 32, 32, VTLists+10 }, // FR32X |
| { 32, 32, 32, VTLists+4 }, // LOW32_ADDR_ACCESS_RBP |
| { 32, 32, 32, VTLists+4 }, // LOW32_ADDR_ACCESS |
| { 32, 32, 32, VTLists+4 }, // LOW32_ADDR_ACCESS_RBP_with_sub_8bit |
| { 32, 32, 32, VTLists+4 }, // DEBUG_REG |
| { 32, 32, 32, VTLists+10 }, // FR32 |
| { 32, 32, 32, VTLists+4 }, // GR32 |
| { 32, 32, 32, VTLists+4 }, // GR32_NOSP |
| { 32, 32, 32, VTLists+4 }, // LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREX |
| { 32, 32, 32, VTLists+4 }, // GR32_NOREX |
| { 32, 32, 32, VTLists+34 }, // VK32 |
| { 32, 32, 32, VTLists+4 }, // GR32_NOREX_NOSP |
| { 32, 32, 32, VTLists+10 }, // RFP32 |
| { 32, 32, 32, VTLists+34 }, // VK32WM |
| { 32, 32, 32, VTLists+4 }, // GR32_ABCD |
| { 32, 32, 32, VTLists+4 }, // GR32_TC |
| { 32, 32, 32, VTLists+4 }, // GR32_AD |
| { 32, 32, 32, VTLists+4 }, // LOW32_ADDR_ACCESS_RBP_with_sub_32bit |
| { 32, 32, 32, VTLists+4 }, // CCR |
| { 32, 32, 32, VTLists+4 }, // DFCCR |
| { 32, 32, 32, VTLists+4 }, // LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bit |
| { 32, 32, 32, VTLists+4 }, // LOW32_ADDR_ACCESS_with_sub_32bit |
| { 64, 64, 32, VTLists+12 }, // RFP64 |
| { 64, 64, 64, VTLists+12 }, // FR64X |
| { 64, 64, 64, VTLists+6 }, // GR64 |
| { 64, 64, 64, VTLists+6 }, // CONTROL_REG |
| { 64, 64, 64, VTLists+12 }, // FR64 |
| { 64, 64, 64, VTLists+6 }, // GR64_with_sub_8bit |
| { 64, 64, 64, VTLists+6 }, // GR64_NOSP |
| { 64, 64, 64, VTLists+6 }, // GR64_NOREX |
| { 64, 64, 64, VTLists+6 }, // GR64_TC |
| { 64, 64, 64, VTLists+6 }, // GR64_NOSP_and_GR64_TC |
| { 64, 64, 64, VTLists+6 }, // GR64_TCW64 |
| { 64, 64, 64, VTLists+6 }, // GR64_with_sub_16bit_in_GR16_NOREX |
| { 64, 64, 64, VTLists+36 }, // VK64 |
| { 64, 64, 64, VTLists+54 }, // VR64 |
| { 64, 64, 64, VTLists+6 }, // GR64_NOREX_NOSP |
| { 64, 64, 64, VTLists+6 }, // GR64_NOSP_and_GR64_TCW64 |
| { 64, 64, 64, VTLists+6 }, // GR64_TC_and_GR64_TCW64 |
| { 64, 64, 64, VTLists+36 }, // VK64WM |
| { 64, 64, 64, VTLists+6 }, // GR64_NOREX_and_GR64_TC |
| { 64, 64, 64, VTLists+6 }, // GR64_TC_and_GR64_NOSP_and_GR64_TCW64 |
| { 64, 64, 64, VTLists+6 }, // GR64_NOREX_NOSP_and_GR64_TC |
| { 64, 64, 64, VTLists+6 }, // GR64_ABCD |
| { 64, 64, 64, VTLists+6 }, // GR64_NOREX_and_GR64_TCW64 |
| { 64, 64, 64, VTLists+6 }, // GR64_with_sub_32bit_in_GR32_TC |
| { 64, 64, 64, VTLists+6 }, // GR64_AD |
| { 64, 64, 64, VTLists+6 }, // GR64_and_LOW32_ADDR_ACCESS_RBP |
| { 64, 64, 64, VTLists+6 }, // GR64_NOREX_NOSP_and_LOW32_ADDR_ACCESS_RBP |
| { 64, 64, 64, VTLists+6 }, // GR64_and_LOW32_ADDR_ACCESS |
| { 80, 80, 32, VTLists+8 }, // RST |
| { 80, 80, 32, VTLists+14 }, // RFP80 |
| { 128, 128, 128, VTLists+16 }, // VR128X |
| { 128, 128, 128, VTLists+16 }, // VR128 |
| { 128, 128, 128, VTLists+16 }, // VR128H |
| { 128, 128, 128, VTLists+16 }, // VR128L |
| { 128, 128, 128, VTLists+38 }, // BNDR |
| { 256, 256, 256, VTLists+40 }, // VR256X |
| { 256, 256, 256, VTLists+40 }, // VR256 |
| { 256, 256, 256, VTLists+40 }, // VR256H |
| { 256, 256, 256, VTLists+40 }, // VR256L |
| { 512, 512, 512, VTLists+47 }, // VR512 |
| { 512, 512, 512, VTLists+47 }, // VR512_with_sub_xmm_in_FR32 |
| { 512, 512, 512, VTLists+47 }, // VR512_with_sub_xmm_in_VR128H |
| { 512, 512, 512, VTLists+47 }, // VR512_with_sub_xmm_in_VR128L |
| }; |
| |
| static const TargetRegisterClass *const NullRegClasses[] = { nullptr }; |
| |
| static const uint32_t GR8SubClassMask[] = { |
| 0x0000001d, 0x00000000, 0x00000000, |
| 0x790800c0, 0xc6530239, 0x0000002d, // sub_8bit |
| 0x00080000, 0x00000038, 0x0000000d, // sub_8bit_hi |
| }; |
| |
| static const uint32_t GRH8SubClassMask[] = { |
| 0x00000002, 0x00000000, 0x00000000, |
| }; |
| |
| static const uint32_t GR8_NOREXSubClassMask[] = { |
| 0x0000001c, 0x00000000, 0x00000000, |
| 0x00080000, 0x00000038, 0x0000000d, // sub_8bit |
| 0x00080000, 0x00000038, 0x0000000d, // sub_8bit_hi |
| }; |
| |
| static const uint32_t GR8_ABCD_HSubClassMask[] = { |
| 0x00000008, 0x00000000, 0x00000000, |
| 0x00080000, 0x00000038, 0x0000000d, // sub_8bit_hi |
| }; |
| |
| static const uint32_t GR8_ABCD_LSubClassMask[] = { |
| 0x00000010, 0x00000000, 0x00000000, |
| 0x00080000, 0x00000038, 0x0000000d, // sub_8bit |
| }; |
| |
| static const uint32_t GRH16SubClassMask[] = { |
| 0x00000020, 0x00000000, 0x00000000, |
| }; |
| |
| static const uint32_t GR16SubClassMask[] = { |
| 0x000800c0, 0x00000000, 0x00000000, |
| 0x79000000, 0xc6530239, 0x0000002d, // sub_16bit |
| }; |
| |
| static const uint32_t GR16_NOREXSubClassMask[] = { |
| 0x00080080, 0x00000000, 0x00000000, |
| 0x60000000, 0x82400239, 0x0000002d, // sub_16bit |
| }; |
| |
| static const uint32_t VK1SubClassMask[] = { |
| 0x8003ff00, 0x10800004, 0x00000000, |
| }; |
| |
| static const uint32_t VK16SubClassMask[] = { |
| 0x8003ff00, 0x10800004, 0x00000000, |
| }; |
| |
| static const uint32_t VK2SubClassMask[] = { |
| 0x8003ff00, 0x10800004, 0x00000000, |
| }; |
| |
| static const uint32_t VK4SubClassMask[] = { |
| 0x8003ff00, 0x10800004, 0x00000000, |
| }; |
| |
| static const uint32_t VK8SubClassMask[] = { |
| 0x8003ff00, 0x10800004, 0x00000000, |
| }; |
| |
| static const uint32_t VK16WMSubClassMask[] = { |
| 0x0003e000, 0x10000004, 0x00000000, |
| }; |
| |
| static const uint32_t VK1WMSubClassMask[] = { |
| 0x0003e000, 0x10000004, 0x00000000, |
| }; |
| |
| static const uint32_t VK2WMSubClassMask[] = { |
| 0x0003e000, 0x10000004, 0x00000000, |
| }; |
| |
| static const uint32_t VK4WMSubClassMask[] = { |
| 0x0003e000, 0x10000004, 0x00000000, |
| }; |
| |
| static const uint32_t VK8WMSubClassMask[] = { |
| 0x0003e000, 0x10000004, 0x00000000, |
| }; |
| |
| static const uint32_t SEGMENT_REGSubClassMask[] = { |
| 0x00040000, 0x00000000, 0x00000000, |
| }; |
| |
| static const uint32_t GR16_ABCDSubClassMask[] = { |
| 0x00080000, 0x00000000, 0x00000000, |
| 0x00000000, 0x00000038, 0x0000000d, // sub_16bit |
| }; |
| |
| static const uint32_t FPCCRSubClassMask[] = { |
| 0x00100000, 0x00000000, 0x00000000, |
| }; |
| |
| static const uint32_t FR32XSubClassMask[] = { |
| 0x04200000, 0x00009000, 0x00001e00, |
| 0x00000000, 0x00000000, 0x003fc000, // sub_xmm |
| }; |
| |
| static const uint32_t LOW32_ADDR_ACCESS_RBPSubClassMask[] = { |
| 0x79c00000, 0x00000679, 0x00000070, |
| 0x00000000, 0xc6530200, 0x0000002d, // sub_32bit |
| }; |
| |
| static const uint32_t LOW32_ADDR_ACCESSSubClassMask[] = { |
| 0x58800000, 0x00000439, 0x00000040, |
| 0x00000000, 0xc6530200, 0x0000002d, // sub_32bit |
| }; |
| |
| static const uint32_t LOW32_ADDR_ACCESS_RBP_with_sub_8bitSubClassMask[] = { |
| 0x79000000, 0x00000239, 0x00000020, |
| 0x00000000, 0xc6530200, 0x0000002d, // sub_32bit |
| }; |
| |
| static const uint32_t DEBUG_REGSubClassMask[] = { |
| 0x02000000, 0x00000000, 0x00000000, |
| }; |
| |
| static const uint32_t FR32SubClassMask[] = { |
| 0x04000000, 0x00008000, 0x00001c00, |
| 0x00000000, 0x00000000, 0x003b8000, // sub_xmm |
| }; |
| |
| static const uint32_t GR32SubClassMask[] = { |
| 0x58000000, 0x00000039, 0x00000000, |
| 0x00000000, 0xc6530200, 0x0000002d, // sub_32bit |
| }; |
| |
| static const uint32_t GR32_NOSPSubClassMask[] = { |
| 0x10000000, 0x00000039, 0x00000000, |
| 0x00000000, 0xc6120200, 0x0000002d, // sub_32bit |
| }; |
| |
| static const uint32_t LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREXSubClassMask[] = { |
| 0x60000000, 0x00000239, 0x00000020, |
| 0x00000000, 0x82400200, 0x0000002d, // sub_32bit |
| }; |
| |
| static const uint32_t GR32_NOREXSubClassMask[] = { |
| 0x40000000, 0x00000039, 0x00000000, |
| 0x00000000, 0x82400200, 0x0000002d, // sub_32bit |
| }; |
| |
| static const uint32_t VK32SubClassMask[] = { |
| 0x80000000, 0x10800004, 0x00000000, |
| }; |
| |
| static const uint32_t GR32_NOREX_NOSPSubClassMask[] = { |
| 0x00000000, 0x00000039, 0x00000000, |
| 0x00000000, 0x82000200, 0x0000002d, // sub_32bit |
| }; |
| |
| static const uint32_t RFP32SubClassMask[] = { |
| 0x00000000, 0x00000802, 0x00000100, |
| }; |
| |
| static const uint32_t VK32WMSubClassMask[] = { |
| 0x00000000, 0x10000004, 0x00000000, |
| }; |
| |
| static const uint32_t GR32_ABCDSubClassMask[] = { |
| 0x00000000, 0x00000038, 0x00000000, |
| 0x00000000, 0x00000000, 0x0000000d, // sub_32bit |
| }; |
| |
| static const uint32_t GR32_TCSubClassMask[] = { |
| 0x00000000, 0x00000030, 0x00000000, |
| 0x00000000, 0x00000000, 0x0000000c, // sub_32bit |
| }; |
| |
| static const uint32_t GR32_ADSubClassMask[] = { |
| 0x00000000, 0x00000020, 0x00000000, |
| 0x00000000, 0x00000000, 0x00000008, // sub_32bit |
| }; |
| |
| static const uint32_t LOW32_ADDR_ACCESS_RBP_with_sub_32bitSubClassMask[] = { |
| 0x00000000, 0x00000640, 0x00000070, |
| }; |
| |
| static const uint32_t CCRSubClassMask[] = { |
| 0x00000000, 0x00000080, 0x00000000, |
| }; |
| |
| static const uint32_t DFCCRSubClassMask[] = { |
| 0x00000000, 0x00000100, 0x00000000, |
| }; |
| |
| static const uint32_t LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bitSubClassMask[] = { |
| 0x00000000, 0x00000200, 0x00000020, |
| }; |
| |
| static const uint32_t LOW32_ADDR_ACCESS_with_sub_32bitSubClassMask[] = { |
| 0x00000000, 0x00000400, 0x00000040, |
| }; |
| |
| static const uint32_t RFP64SubClassMask[] = { |
| 0x00000000, 0x00000800, 0x00000100, |
| }; |
| |
| static const uint32_t FR64XSubClassMask[] = { |
| 0x00000000, 0x00009000, 0x00001e00, |
| 0x00000000, 0x00000000, 0x003fc000, // sub_xmm |
| }; |
| |
| static const uint32_t GR64SubClassMask[] = { |
| 0x00000000, 0xee7f2000, 0x0000007f, |
| }; |
| |
| static const uint32_t CONTROL_REGSubClassMask[] = { |
| 0x00000000, 0x00004000, 0x00000000, |
| }; |
| |
| static const uint32_t FR64SubClassMask[] = { |
| 0x00000000, 0x00008000, 0x00001c00, |
| 0x00000000, 0x00000000, 0x003b8000, // sub_xmm |
| }; |
| |
| static const uint32_t GR64_with_sub_8bitSubClassMask[] = { |
| 0x00000000, 0xc6530000, 0x0000002d, |
| }; |
| |
| static const uint32_t GR64_NOSPSubClassMask[] = { |
| 0x00000000, 0xc6120000, 0x0000002d, |
| }; |
| |
| static const uint32_t GR64_NOREXSubClassMask[] = { |
| 0x00000000, 0xa2440000, 0x0000007f, |
| }; |
| |
| static const uint32_t GR64_TCSubClassMask[] = { |
| 0x00000000, 0xe8180000, 0x0000004e, |
| }; |
| |
| static const uint32_t GR64_NOSP_and_GR64_TCSubClassMask[] = { |
| 0x00000000, 0xc0100000, 0x0000000c, |
| }; |
| |
| static const uint32_t GR64_TCW64SubClassMask[] = { |
| 0x00000000, 0x4c200000, 0x0000004e, |
| }; |
| |
| static const uint32_t GR64_with_sub_16bit_in_GR16_NOREXSubClassMask[] = { |
| 0x00000000, 0x82400000, 0x0000002d, |
| }; |
| |
| static const uint32_t VK64SubClassMask[] = { |
| 0x00000000, 0x10800000, 0x00000000, |
| }; |
| |
| static const uint32_t VR64SubClassMask[] = { |
| 0x00000000, 0x01000000, 0x00000000, |
| }; |
| |
| static const uint32_t GR64_NOREX_NOSPSubClassMask[] = { |
| 0x00000000, 0x82000000, 0x0000002d, |
| }; |
| |
| static const uint32_t GR64_NOSP_and_GR64_TCW64SubClassMask[] = { |
| 0x00000000, 0x44000000, 0x0000000c, |
| }; |
| |
| static const uint32_t GR64_TC_and_GR64_TCW64SubClassMask[] = { |
| 0x00000000, 0x48000000, 0x0000004e, |
| }; |
| |
| static const uint32_t VK64WMSubClassMask[] = { |
| 0x00000000, 0x10000000, 0x00000000, |
| }; |
| |
| static const uint32_t GR64_NOREX_and_GR64_TCSubClassMask[] = { |
| 0x00000000, 0xa0000000, 0x0000004e, |
| }; |
| |
| static const uint32_t GR64_TC_and_GR64_NOSP_and_GR64_TCW64SubClassMask[] = { |
| 0x00000000, 0x40000000, 0x0000000c, |
| }; |
| |
| static const uint32_t GR64_NOREX_NOSP_and_GR64_TCSubClassMask[] = { |
| 0x00000000, 0x80000000, 0x0000000c, |
| }; |
| |
| static const uint32_t GR64_ABCDSubClassMask[] = { |
| 0x00000000, 0x00000000, 0x0000000d, |
| }; |
| |
| static const uint32_t GR64_NOREX_and_GR64_TCW64SubClassMask[] = { |
| 0x00000000, 0x00000000, 0x0000004e, |
| }; |
| |
| static const uint32_t GR64_with_sub_32bit_in_GR32_TCSubClassMask[] = { |
| 0x00000000, 0x00000000, 0x0000000c, |
| }; |
| |
| static const uint32_t GR64_ADSubClassMask[] = { |
| 0x00000000, 0x00000000, 0x00000008, |
| }; |
| |
| static const uint32_t GR64_and_LOW32_ADDR_ACCESS_RBPSubClassMask[] = { |
| 0x00000000, 0x00000000, 0x00000070, |
| }; |
| |
| static const uint32_t GR64_NOREX_NOSP_and_LOW32_ADDR_ACCESS_RBPSubClassMask[] = { |
| 0x00000000, 0x00000000, 0x00000020, |
| }; |
| |
| static const uint32_t GR64_and_LOW32_ADDR_ACCESSSubClassMask[] = { |
| 0x00000000, 0x00000000, 0x00000040, |
| }; |
| |
| static const uint32_t RSTSubClassMask[] = { |
| 0x00000000, 0x00000000, 0x00000080, |
| }; |
| |
| static const uint32_t RFP80SubClassMask[] = { |
| 0x00000000, 0x00000000, 0x00000100, |
| }; |
| |
| static const uint32_t VR128XSubClassMask[] = { |
| 0x00000000, 0x00000000, 0x00001e00, |
| 0x00000000, 0x00000000, 0x003fc000, // sub_xmm |
| }; |
| |
| static const uint32_t VR128SubClassMask[] = { |
| 0x00000000, 0x00000000, 0x00001c00, |
| 0x00000000, 0x00000000, 0x003b8000, // sub_xmm |
| }; |
| |
| static const uint32_t VR128HSubClassMask[] = { |
| 0x00000000, 0x00000000, 0x00000800, |
| 0x00000000, 0x00000000, 0x00110000, // sub_xmm |
| }; |
| |
| static const uint32_t VR128LSubClassMask[] = { |
| 0x00000000, 0x00000000, 0x00001000, |
| 0x00000000, 0x00000000, 0x00220000, // sub_xmm |
| }; |
| |
| static const uint32_t BNDRSubClassMask[] = { |
| 0x00000000, 0x00000000, 0x00002000, |
| }; |
| |
| static const uint32_t VR256XSubClassMask[] = { |
| 0x00000000, 0x00000000, 0x0003c000, |
| 0x00000000, 0x00000000, 0x003c0000, // sub_ymm |
| }; |
| |
| static const uint32_t VR256SubClassMask[] = { |
| 0x00000000, 0x00000000, 0x00038000, |
| 0x00000000, 0x00000000, 0x00380000, // sub_ymm |
| }; |
| |
| static const uint32_t VR256HSubClassMask[] = { |
| 0x00000000, 0x00000000, 0x00010000, |
| 0x00000000, 0x00000000, 0x00100000, // sub_ymm |
| }; |
| |
| static const uint32_t VR256LSubClassMask[] = { |
| 0x00000000, 0x00000000, 0x00020000, |
| 0x00000000, 0x00000000, 0x00200000, // sub_ymm |
| }; |
| |
| static const uint32_t VR512SubClassMask[] = { |
| 0x00000000, 0x00000000, 0x003c0000, |
| }; |
| |
| static const uint32_t VR512_with_sub_xmm_in_FR32SubClassMask[] = { |
| 0x00000000, 0x00000000, 0x00380000, |
| }; |
| |
| static const uint32_t VR512_with_sub_xmm_in_VR128HSubClassMask[] = { |
| 0x00000000, 0x00000000, 0x00100000, |
| }; |
| |
| static const uint32_t VR512_with_sub_xmm_in_VR128LSubClassMask[] = { |
| 0x00000000, 0x00000000, 0x00200000, |
| }; |
| |
| static const uint16_t SuperRegIdxSeqs[] = { |
| /* 0 */ 1, 0, |
| /* 2 */ 1, 2, 0, |
| /* 5 */ 4, 0, |
| /* 7 */ 6, 0, |
| /* 9 */ 7, 0, |
| /* 11 */ 8, 0, |
| }; |
| |
| static const TargetRegisterClass *const GR8_NOREXSuperclasses[] = { |
| &X86::GR8RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR8_ABCD_HSuperclasses[] = { |
| &X86::GR8RegClass, |
| &X86::GR8_NOREXRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR8_ABCD_LSuperclasses[] = { |
| &X86::GR8RegClass, |
| &X86::GR8_NOREXRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR16_NOREXSuperclasses[] = { |
| &X86::GR16RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const VK1Superclasses[] = { |
| &X86::VK16RegClass, |
| &X86::VK2RegClass, |
| &X86::VK4RegClass, |
| &X86::VK8RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const VK16Superclasses[] = { |
| &X86::VK1RegClass, |
| &X86::VK2RegClass, |
| &X86::VK4RegClass, |
| &X86::VK8RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const VK2Superclasses[] = { |
| &X86::VK1RegClass, |
| &X86::VK16RegClass, |
| &X86::VK4RegClass, |
| &X86::VK8RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const VK4Superclasses[] = { |
| &X86::VK1RegClass, |
| &X86::VK16RegClass, |
| &X86::VK2RegClass, |
| &X86::VK8RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const VK8Superclasses[] = { |
| &X86::VK1RegClass, |
| &X86::VK16RegClass, |
| &X86::VK2RegClass, |
| &X86::VK4RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const VK16WMSuperclasses[] = { |
| &X86::VK1RegClass, |
| &X86::VK16RegClass, |
| &X86::VK2RegClass, |
| &X86::VK4RegClass, |
| &X86::VK8RegClass, |
| &X86::VK1WMRegClass, |
| &X86::VK2WMRegClass, |
| &X86::VK4WMRegClass, |
| &X86::VK8WMRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const VK1WMSuperclasses[] = { |
| &X86::VK1RegClass, |
| &X86::VK16RegClass, |
| &X86::VK2RegClass, |
| &X86::VK4RegClass, |
| &X86::VK8RegClass, |
| &X86::VK16WMRegClass, |
| &X86::VK2WMRegClass, |
| &X86::VK4WMRegClass, |
| &X86::VK8WMRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const VK2WMSuperclasses[] = { |
| &X86::VK1RegClass, |
| &X86::VK16RegClass, |
| &X86::VK2RegClass, |
| &X86::VK4RegClass, |
| &X86::VK8RegClass, |
| &X86::VK16WMRegClass, |
| &X86::VK1WMRegClass, |
| &X86::VK4WMRegClass, |
| &X86::VK8WMRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const VK4WMSuperclasses[] = { |
| &X86::VK1RegClass, |
| &X86::VK16RegClass, |
| &X86::VK2RegClass, |
| &X86::VK4RegClass, |
| &X86::VK8RegClass, |
| &X86::VK16WMRegClass, |
| &X86::VK1WMRegClass, |
| &X86::VK2WMRegClass, |
| &X86::VK8WMRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const VK8WMSuperclasses[] = { |
| &X86::VK1RegClass, |
| &X86::VK16RegClass, |
| &X86::VK2RegClass, |
| &X86::VK4RegClass, |
| &X86::VK8RegClass, |
| &X86::VK16WMRegClass, |
| &X86::VK1WMRegClass, |
| &X86::VK2WMRegClass, |
| &X86::VK4WMRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR16_ABCDSuperclasses[] = { |
| &X86::GR16RegClass, |
| &X86::GR16_NOREXRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const LOW32_ADDR_ACCESSSuperclasses[] = { |
| &X86::LOW32_ADDR_ACCESS_RBPRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const LOW32_ADDR_ACCESS_RBP_with_sub_8bitSuperclasses[] = { |
| &X86::LOW32_ADDR_ACCESS_RBPRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const FR32Superclasses[] = { |
| &X86::FR32XRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR32Superclasses[] = { |
| &X86::LOW32_ADDR_ACCESS_RBPRegClass, |
| &X86::LOW32_ADDR_ACCESSRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_8bitRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR32_NOSPSuperclasses[] = { |
| &X86::LOW32_ADDR_ACCESS_RBPRegClass, |
| &X86::LOW32_ADDR_ACCESSRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_8bitRegClass, |
| &X86::GR32RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREXSuperclasses[] = { |
| &X86::LOW32_ADDR_ACCESS_RBPRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_8bitRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR32_NOREXSuperclasses[] = { |
| &X86::LOW32_ADDR_ACCESS_RBPRegClass, |
| &X86::LOW32_ADDR_ACCESSRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_8bitRegClass, |
| &X86::GR32RegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREXRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const VK32Superclasses[] = { |
| &X86::VK1RegClass, |
| &X86::VK16RegClass, |
| &X86::VK2RegClass, |
| &X86::VK4RegClass, |
| &X86::VK8RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR32_NOREX_NOSPSuperclasses[] = { |
| &X86::LOW32_ADDR_ACCESS_RBPRegClass, |
| &X86::LOW32_ADDR_ACCESSRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_8bitRegClass, |
| &X86::GR32RegClass, |
| &X86::GR32_NOSPRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREXRegClass, |
| &X86::GR32_NOREXRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const VK32WMSuperclasses[] = { |
| &X86::VK1RegClass, |
| &X86::VK16RegClass, |
| &X86::VK2RegClass, |
| &X86::VK4RegClass, |
| &X86::VK8RegClass, |
| &X86::VK16WMRegClass, |
| &X86::VK1WMRegClass, |
| &X86::VK2WMRegClass, |
| &X86::VK4WMRegClass, |
| &X86::VK8WMRegClass, |
| &X86::VK32RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR32_ABCDSuperclasses[] = { |
| &X86::LOW32_ADDR_ACCESS_RBPRegClass, |
| &X86::LOW32_ADDR_ACCESSRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_8bitRegClass, |
| &X86::GR32RegClass, |
| &X86::GR32_NOSPRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREXRegClass, |
| &X86::GR32_NOREXRegClass, |
| &X86::GR32_NOREX_NOSPRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR32_TCSuperclasses[] = { |
| &X86::LOW32_ADDR_ACCESS_RBPRegClass, |
| &X86::LOW32_ADDR_ACCESSRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_8bitRegClass, |
| &X86::GR32RegClass, |
| &X86::GR32_NOSPRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREXRegClass, |
| &X86::GR32_NOREXRegClass, |
| &X86::GR32_NOREX_NOSPRegClass, |
| &X86::GR32_ABCDRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR32_ADSuperclasses[] = { |
| &X86::LOW32_ADDR_ACCESS_RBPRegClass, |
| &X86::LOW32_ADDR_ACCESSRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_8bitRegClass, |
| &X86::GR32RegClass, |
| &X86::GR32_NOSPRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREXRegClass, |
| &X86::GR32_NOREXRegClass, |
| &X86::GR32_NOREX_NOSPRegClass, |
| &X86::GR32_ABCDRegClass, |
| &X86::GR32_TCRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const LOW32_ADDR_ACCESS_RBP_with_sub_32bitSuperclasses[] = { |
| &X86::LOW32_ADDR_ACCESS_RBPRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bitSuperclasses[] = { |
| &X86::LOW32_ADDR_ACCESS_RBPRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_8bitRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREXRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_32bitRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const LOW32_ADDR_ACCESS_with_sub_32bitSuperclasses[] = { |
| &X86::LOW32_ADDR_ACCESS_RBPRegClass, |
| &X86::LOW32_ADDR_ACCESSRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_32bitRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const RFP64Superclasses[] = { |
| &X86::RFP32RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const FR64XSuperclasses[] = { |
| &X86::FR32XRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const FR64Superclasses[] = { |
| &X86::FR32XRegClass, |
| &X86::FR32RegClass, |
| &X86::FR64XRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR64_with_sub_8bitSuperclasses[] = { |
| &X86::GR64RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR64_NOSPSuperclasses[] = { |
| &X86::GR64RegClass, |
| &X86::GR64_with_sub_8bitRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR64_NOREXSuperclasses[] = { |
| &X86::GR64RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR64_TCSuperclasses[] = { |
| &X86::GR64RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR64_NOSP_and_GR64_TCSuperclasses[] = { |
| &X86::GR64RegClass, |
| &X86::GR64_with_sub_8bitRegClass, |
| &X86::GR64_NOSPRegClass, |
| &X86::GR64_TCRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR64_TCW64Superclasses[] = { |
| &X86::GR64RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR64_with_sub_16bit_in_GR16_NOREXSuperclasses[] = { |
| &X86::GR64RegClass, |
| &X86::GR64_with_sub_8bitRegClass, |
| &X86::GR64_NOREXRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const VK64Superclasses[] = { |
| &X86::VK1RegClass, |
| &X86::VK16RegClass, |
| &X86::VK2RegClass, |
| &X86::VK4RegClass, |
| &X86::VK8RegClass, |
| &X86::VK32RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR64_NOREX_NOSPSuperclasses[] = { |
| &X86::GR64RegClass, |
| &X86::GR64_with_sub_8bitRegClass, |
| &X86::GR64_NOSPRegClass, |
| &X86::GR64_NOREXRegClass, |
| &X86::GR64_with_sub_16bit_in_GR16_NOREXRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR64_NOSP_and_GR64_TCW64Superclasses[] = { |
| &X86::GR64RegClass, |
| &X86::GR64_with_sub_8bitRegClass, |
| &X86::GR64_NOSPRegClass, |
| &X86::GR64_TCW64RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR64_TC_and_GR64_TCW64Superclasses[] = { |
| &X86::GR64RegClass, |
| &X86::GR64_TCRegClass, |
| &X86::GR64_TCW64RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const VK64WMSuperclasses[] = { |
| &X86::VK1RegClass, |
| &X86::VK16RegClass, |
| &X86::VK2RegClass, |
| &X86::VK4RegClass, |
| &X86::VK8RegClass, |
| &X86::VK16WMRegClass, |
| &X86::VK1WMRegClass, |
| &X86::VK2WMRegClass, |
| &X86::VK4WMRegClass, |
| &X86::VK8WMRegClass, |
| &X86::VK32RegClass, |
| &X86::VK32WMRegClass, |
| &X86::VK64RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR64_NOREX_and_GR64_TCSuperclasses[] = { |
| &X86::GR64RegClass, |
| &X86::GR64_NOREXRegClass, |
| &X86::GR64_TCRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR64_TC_and_GR64_NOSP_and_GR64_TCW64Superclasses[] = { |
| &X86::GR64RegClass, |
| &X86::GR64_with_sub_8bitRegClass, |
| &X86::GR64_NOSPRegClass, |
| &X86::GR64_TCRegClass, |
| &X86::GR64_NOSP_and_GR64_TCRegClass, |
| &X86::GR64_TCW64RegClass, |
| &X86::GR64_NOSP_and_GR64_TCW64RegClass, |
| &X86::GR64_TC_and_GR64_TCW64RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR64_NOREX_NOSP_and_GR64_TCSuperclasses[] = { |
| &X86::GR64RegClass, |
| &X86::GR64_with_sub_8bitRegClass, |
| &X86::GR64_NOSPRegClass, |
| &X86::GR64_NOREXRegClass, |
| &X86::GR64_TCRegClass, |
| &X86::GR64_NOSP_and_GR64_TCRegClass, |
| &X86::GR64_with_sub_16bit_in_GR16_NOREXRegClass, |
| &X86::GR64_NOREX_NOSPRegClass, |
| &X86::GR64_NOREX_and_GR64_TCRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR64_ABCDSuperclasses[] = { |
| &X86::GR64RegClass, |
| &X86::GR64_with_sub_8bitRegClass, |
| &X86::GR64_NOSPRegClass, |
| &X86::GR64_NOREXRegClass, |
| &X86::GR64_with_sub_16bit_in_GR16_NOREXRegClass, |
| &X86::GR64_NOREX_NOSPRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR64_NOREX_and_GR64_TCW64Superclasses[] = { |
| &X86::GR64RegClass, |
| &X86::GR64_NOREXRegClass, |
| &X86::GR64_TCRegClass, |
| &X86::GR64_TCW64RegClass, |
| &X86::GR64_TC_and_GR64_TCW64RegClass, |
| &X86::GR64_NOREX_and_GR64_TCRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR64_with_sub_32bit_in_GR32_TCSuperclasses[] = { |
| &X86::GR64RegClass, |
| &X86::GR64_with_sub_8bitRegClass, |
| &X86::GR64_NOSPRegClass, |
| &X86::GR64_NOREXRegClass, |
| &X86::GR64_TCRegClass, |
| &X86::GR64_NOSP_and_GR64_TCRegClass, |
| &X86::GR64_TCW64RegClass, |
| &X86::GR64_with_sub_16bit_in_GR16_NOREXRegClass, |
| &X86::GR64_NOREX_NOSPRegClass, |
| &X86::GR64_NOSP_and_GR64_TCW64RegClass, |
| &X86::GR64_TC_and_GR64_TCW64RegClass, |
| &X86::GR64_NOREX_and_GR64_TCRegClass, |
| &X86::GR64_TC_and_GR64_NOSP_and_GR64_TCW64RegClass, |
| &X86::GR64_NOREX_NOSP_and_GR64_TCRegClass, |
| &X86::GR64_ABCDRegClass, |
| &X86::GR64_NOREX_and_GR64_TCW64RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR64_ADSuperclasses[] = { |
| &X86::GR64RegClass, |
| &X86::GR64_with_sub_8bitRegClass, |
| &X86::GR64_NOSPRegClass, |
| &X86::GR64_NOREXRegClass, |
| &X86::GR64_TCRegClass, |
| &X86::GR64_NOSP_and_GR64_TCRegClass, |
| &X86::GR64_TCW64RegClass, |
| &X86::GR64_with_sub_16bit_in_GR16_NOREXRegClass, |
| &X86::GR64_NOREX_NOSPRegClass, |
| &X86::GR64_NOSP_and_GR64_TCW64RegClass, |
| &X86::GR64_TC_and_GR64_TCW64RegClass, |
| &X86::GR64_NOREX_and_GR64_TCRegClass, |
| &X86::GR64_TC_and_GR64_NOSP_and_GR64_TCW64RegClass, |
| &X86::GR64_NOREX_NOSP_and_GR64_TCRegClass, |
| &X86::GR64_ABCDRegClass, |
| &X86::GR64_NOREX_and_GR64_TCW64RegClass, |
| &X86::GR64_with_sub_32bit_in_GR32_TCRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR64_and_LOW32_ADDR_ACCESS_RBPSuperclasses[] = { |
| &X86::LOW32_ADDR_ACCESS_RBPRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_32bitRegClass, |
| &X86::GR64RegClass, |
| &X86::GR64_NOREXRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR64_NOREX_NOSP_and_LOW32_ADDR_ACCESS_RBPSuperclasses[] = { |
| &X86::LOW32_ADDR_ACCESS_RBPRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_8bitRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREXRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_32bitRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bitRegClass, |
| &X86::GR64RegClass, |
| &X86::GR64_with_sub_8bitRegClass, |
| &X86::GR64_NOSPRegClass, |
| &X86::GR64_NOREXRegClass, |
| &X86::GR64_with_sub_16bit_in_GR16_NOREXRegClass, |
| &X86::GR64_NOREX_NOSPRegClass, |
| &X86::GR64_and_LOW32_ADDR_ACCESS_RBPRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const GR64_and_LOW32_ADDR_ACCESSSuperclasses[] = { |
| &X86::LOW32_ADDR_ACCESS_RBPRegClass, |
| &X86::LOW32_ADDR_ACCESSRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_32bitRegClass, |
| &X86::LOW32_ADDR_ACCESS_with_sub_32bitRegClass, |
| &X86::GR64RegClass, |
| &X86::GR64_NOREXRegClass, |
| &X86::GR64_TCRegClass, |
| &X86::GR64_TCW64RegClass, |
| &X86::GR64_TC_and_GR64_TCW64RegClass, |
| &X86::GR64_NOREX_and_GR64_TCRegClass, |
| &X86::GR64_NOREX_and_GR64_TCW64RegClass, |
| &X86::GR64_and_LOW32_ADDR_ACCESS_RBPRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const RFP80Superclasses[] = { |
| &X86::RFP32RegClass, |
| &X86::RFP64RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const VR128XSuperclasses[] = { |
| &X86::FR32XRegClass, |
| &X86::FR64XRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const VR128Superclasses[] = { |
| &X86::FR32XRegClass, |
| &X86::FR32RegClass, |
| &X86::FR64XRegClass, |
| &X86::FR64RegClass, |
| &X86::VR128XRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const VR128HSuperclasses[] = { |
| &X86::FR32XRegClass, |
| &X86::FR32RegClass, |
| &X86::FR64XRegClass, |
| &X86::FR64RegClass, |
| &X86::VR128XRegClass, |
| &X86::VR128RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const VR128LSuperclasses[] = { |
| &X86::FR32XRegClass, |
| &X86::FR32RegClass, |
| &X86::FR64XRegClass, |
| &X86::FR64RegClass, |
| &X86::VR128XRegClass, |
| &X86::VR128RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const VR256Superclasses[] = { |
| &X86::VR256XRegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const VR256HSuperclasses[] = { |
| &X86::VR256XRegClass, |
| &X86::VR256RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const VR256LSuperclasses[] = { |
| &X86::VR256XRegClass, |
| &X86::VR256RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const VR512_with_sub_xmm_in_FR32Superclasses[] = { |
| &X86::VR512RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const VR512_with_sub_xmm_in_VR128HSuperclasses[] = { |
| &X86::VR512RegClass, |
| &X86::VR512_with_sub_xmm_in_FR32RegClass, |
| nullptr |
| }; |
| |
| static const TargetRegisterClass *const VR512_with_sub_xmm_in_VR128LSuperclasses[] = { |
| &X86::VR512RegClass, |
| &X86::VR512_with_sub_xmm_in_FR32RegClass, |
| nullptr |
| }; |
| |
| |
| static inline unsigned GR8AltOrderSelect(const MachineFunction &MF) { |
| return MF.getSubtarget<X86Subtarget>().is64Bit(); |
| } |
| |
| static ArrayRef<MCPhysReg> GR8GetRawAllocationOrder(const MachineFunction &MF) { |
| static const MCPhysReg AltOrder1[] = { X86::AL, X86::CL, X86::DL, X86::BL, X86::SIL, X86::DIL, X86::BPL, X86::SPL, X86::R8B, X86::R9B, X86::R10B, X86::R11B, X86::R14B, X86::R15B, X86::R12B, X86::R13B }; |
| const MCRegisterClass &MCR = X86MCRegisterClasses[X86::GR8RegClassID]; |
| const ArrayRef<MCPhysReg> Order[] = { |
| makeArrayRef(MCR.begin(), MCR.getNumRegs()), |
| makeArrayRef(AltOrder1) |
| }; |
| const unsigned Select = GR8AltOrderSelect(MF); |
| assert(Select < 2); |
| return Order[Select]; |
| } |
| |
| static inline unsigned GR8_NOREXAltOrderSelect(const MachineFunction &MF) { |
| return MF.getSubtarget<X86Subtarget>().is64Bit(); |
| } |
| |
| static ArrayRef<MCPhysReg> GR8_NOREXGetRawAllocationOrder(const MachineFunction &MF) { |
| static const MCPhysReg AltOrder1[] = { X86::AL, X86::CL, X86::DL, X86::BL }; |
| const MCRegisterClass &MCR = X86MCRegisterClasses[X86::GR8_NOREXRegClassID]; |
| const ArrayRef<MCPhysReg> Order[] = { |
| makeArrayRef(MCR.begin(), MCR.getNumRegs()), |
| makeArrayRef(AltOrder1) |
| }; |
| const unsigned Select = GR8_NOREXAltOrderSelect(MF); |
| assert(Select < 2); |
| return Order[Select]; |
| } |
| |
| namespace X86 { // Register class instances |
| extern const TargetRegisterClass GR8RegClass = { |
| &X86MCRegisterClasses[GR8RegClassID], |
| GR8SubClassMask, |
| SuperRegIdxSeqs + 2, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| NullRegClasses, |
| GR8GetRawAllocationOrder |
| }; |
| |
| extern const TargetRegisterClass GRH8RegClass = { |
| &X86MCRegisterClasses[GRH8RegClassID], |
| GRH8SubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| NullRegClasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR8_NOREXRegClass = { |
| &X86MCRegisterClasses[GR8_NOREXRegClassID], |
| GR8_NOREXSubClassMask, |
| SuperRegIdxSeqs + 2, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| GR8_NOREXSuperclasses, |
| GR8_NOREXGetRawAllocationOrder |
| }; |
| |
| extern const TargetRegisterClass GR8_ABCD_HRegClass = { |
| &X86MCRegisterClasses[GR8_ABCD_HRegClassID], |
| GR8_ABCD_HSubClassMask, |
| SuperRegIdxSeqs + 3, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| GR8_ABCD_HSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR8_ABCD_LRegClass = { |
| &X86MCRegisterClasses[GR8_ABCD_LRegClassID], |
| GR8_ABCD_LSubClassMask, |
| SuperRegIdxSeqs + 0, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| GR8_ABCD_LSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GRH16RegClass = { |
| &X86MCRegisterClasses[GRH16RegClassID], |
| GRH16SubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| NullRegClasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR16RegClass = { |
| &X86MCRegisterClasses[GR16RegClassID], |
| GR16SubClassMask, |
| SuperRegIdxSeqs + 5, |
| LaneBitmask(0x00000003), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| true, /* CoveredBySubRegs */ |
| NullRegClasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR16_NOREXRegClass = { |
| &X86MCRegisterClasses[GR16_NOREXRegClassID], |
| GR16_NOREXSubClassMask, |
| SuperRegIdxSeqs + 5, |
| LaneBitmask(0x00000003), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| true, /* CoveredBySubRegs */ |
| GR16_NOREXSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VK1RegClass = { |
| &X86MCRegisterClasses[VK1RegClassID], |
| VK1SubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| VK1Superclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VK16RegClass = { |
| &X86MCRegisterClasses[VK16RegClassID], |
| VK16SubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| VK16Superclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VK2RegClass = { |
| &X86MCRegisterClasses[VK2RegClassID], |
| VK2SubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| VK2Superclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VK4RegClass = { |
| &X86MCRegisterClasses[VK4RegClassID], |
| VK4SubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| VK4Superclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VK8RegClass = { |
| &X86MCRegisterClasses[VK8RegClassID], |
| VK8SubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| VK8Superclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VK16WMRegClass = { |
| &X86MCRegisterClasses[VK16WMRegClassID], |
| VK16WMSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| VK16WMSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VK1WMRegClass = { |
| &X86MCRegisterClasses[VK1WMRegClassID], |
| VK1WMSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| VK1WMSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VK2WMRegClass = { |
| &X86MCRegisterClasses[VK2WMRegClassID], |
| VK2WMSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| VK2WMSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VK4WMRegClass = { |
| &X86MCRegisterClasses[VK4WMRegClassID], |
| VK4WMSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| VK4WMSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VK8WMRegClass = { |
| &X86MCRegisterClasses[VK8WMRegClassID], |
| VK8WMSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| VK8WMSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass SEGMENT_REGRegClass = { |
| &X86MCRegisterClasses[SEGMENT_REGRegClassID], |
| SEGMENT_REGSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| NullRegClasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR16_ABCDRegClass = { |
| &X86MCRegisterClasses[GR16_ABCDRegClassID], |
| GR16_ABCDSubClassMask, |
| SuperRegIdxSeqs + 5, |
| LaneBitmask(0x00000003), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| true, /* CoveredBySubRegs */ |
| GR16_ABCDSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass FPCCRRegClass = { |
| &X86MCRegisterClasses[FPCCRRegClassID], |
| FPCCRSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| NullRegClasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass FR32XRegClass = { |
| &X86MCRegisterClasses[FR32XRegClassID], |
| FR32XSubClassMask, |
| SuperRegIdxSeqs + 9, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| NullRegClasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass LOW32_ADDR_ACCESS_RBPRegClass = { |
| &X86MCRegisterClasses[LOW32_ADDR_ACCESS_RBPRegClassID], |
| LOW32_ADDR_ACCESS_RBPSubClassMask, |
| SuperRegIdxSeqs + 7, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| NullRegClasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass LOW32_ADDR_ACCESSRegClass = { |
| &X86MCRegisterClasses[LOW32_ADDR_ACCESSRegClassID], |
| LOW32_ADDR_ACCESSSubClassMask, |
| SuperRegIdxSeqs + 7, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| LOW32_ADDR_ACCESSSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass LOW32_ADDR_ACCESS_RBP_with_sub_8bitRegClass = { |
| &X86MCRegisterClasses[LOW32_ADDR_ACCESS_RBP_with_sub_8bitRegClassID], |
| LOW32_ADDR_ACCESS_RBP_with_sub_8bitSubClassMask, |
| SuperRegIdxSeqs + 7, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| LOW32_ADDR_ACCESS_RBP_with_sub_8bitSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass DEBUG_REGRegClass = { |
| &X86MCRegisterClasses[DEBUG_REGRegClassID], |
| DEBUG_REGSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| NullRegClasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass FR32RegClass = { |
| &X86MCRegisterClasses[FR32RegClassID], |
| FR32SubClassMask, |
| SuperRegIdxSeqs + 9, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| FR32Superclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR32RegClass = { |
| &X86MCRegisterClasses[GR32RegClassID], |
| GR32SubClassMask, |
| SuperRegIdxSeqs + 7, |
| LaneBitmask(0x00000007), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| true, /* CoveredBySubRegs */ |
| GR32Superclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR32_NOSPRegClass = { |
| &X86MCRegisterClasses[GR32_NOSPRegClassID], |
| GR32_NOSPSubClassMask, |
| SuperRegIdxSeqs + 7, |
| LaneBitmask(0x00000007), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| true, /* CoveredBySubRegs */ |
| GR32_NOSPSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREXRegClass = { |
| &X86MCRegisterClasses[LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREXRegClassID], |
| LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREXSubClassMask, |
| SuperRegIdxSeqs + 7, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREXSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR32_NOREXRegClass = { |
| &X86MCRegisterClasses[GR32_NOREXRegClassID], |
| GR32_NOREXSubClassMask, |
| SuperRegIdxSeqs + 7, |
| LaneBitmask(0x00000007), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| true, /* CoveredBySubRegs */ |
| GR32_NOREXSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VK32RegClass = { |
| &X86MCRegisterClasses[VK32RegClassID], |
| VK32SubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| VK32Superclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR32_NOREX_NOSPRegClass = { |
| &X86MCRegisterClasses[GR32_NOREX_NOSPRegClassID], |
| GR32_NOREX_NOSPSubClassMask, |
| SuperRegIdxSeqs + 7, |
| LaneBitmask(0x00000007), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| true, /* CoveredBySubRegs */ |
| GR32_NOREX_NOSPSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass RFP32RegClass = { |
| &X86MCRegisterClasses[RFP32RegClassID], |
| RFP32SubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| NullRegClasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VK32WMRegClass = { |
| &X86MCRegisterClasses[VK32WMRegClassID], |
| VK32WMSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| VK32WMSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR32_ABCDRegClass = { |
| &X86MCRegisterClasses[GR32_ABCDRegClassID], |
| GR32_ABCDSubClassMask, |
| SuperRegIdxSeqs + 7, |
| LaneBitmask(0x00000007), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| true, /* CoveredBySubRegs */ |
| GR32_ABCDSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR32_TCRegClass = { |
| &X86MCRegisterClasses[GR32_TCRegClassID], |
| GR32_TCSubClassMask, |
| SuperRegIdxSeqs + 7, |
| LaneBitmask(0x00000007), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| true, /* CoveredBySubRegs */ |
| GR32_TCSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR32_ADRegClass = { |
| &X86MCRegisterClasses[GR32_ADRegClassID], |
| GR32_ADSubClassMask, |
| SuperRegIdxSeqs + 7, |
| LaneBitmask(0x00000007), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| true, /* CoveredBySubRegs */ |
| GR32_ADSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass LOW32_ADDR_ACCESS_RBP_with_sub_32bitRegClass = { |
| &X86MCRegisterClasses[LOW32_ADDR_ACCESS_RBP_with_sub_32bitRegClassID], |
| LOW32_ADDR_ACCESS_RBP_with_sub_32bitSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| LOW32_ADDR_ACCESS_RBP_with_sub_32bitSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass CCRRegClass = { |
| &X86MCRegisterClasses[CCRRegClassID], |
| CCRSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| NullRegClasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass DFCCRRegClass = { |
| &X86MCRegisterClasses[DFCCRRegClassID], |
| DFCCRSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| NullRegClasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bitRegClass = { |
| &X86MCRegisterClasses[LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bitRegClassID], |
| LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bitSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bitSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass LOW32_ADDR_ACCESS_with_sub_32bitRegClass = { |
| &X86MCRegisterClasses[LOW32_ADDR_ACCESS_with_sub_32bitRegClassID], |
| LOW32_ADDR_ACCESS_with_sub_32bitSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| LOW32_ADDR_ACCESS_with_sub_32bitSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass RFP64RegClass = { |
| &X86MCRegisterClasses[RFP64RegClassID], |
| RFP64SubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| RFP64Superclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass FR64XRegClass = { |
| &X86MCRegisterClasses[FR64XRegClassID], |
| FR64XSubClassMask, |
| SuperRegIdxSeqs + 9, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| FR64XSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR64RegClass = { |
| &X86MCRegisterClasses[GR64RegClassID], |
| GR64SubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| NullRegClasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass CONTROL_REGRegClass = { |
| &X86MCRegisterClasses[CONTROL_REGRegClassID], |
| CONTROL_REGSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| NullRegClasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass FR64RegClass = { |
| &X86MCRegisterClasses[FR64RegClassID], |
| FR64SubClassMask, |
| SuperRegIdxSeqs + 9, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| FR64Superclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR64_with_sub_8bitRegClass = { |
| &X86MCRegisterClasses[GR64_with_sub_8bitRegClassID], |
| GR64_with_sub_8bitSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| GR64_with_sub_8bitSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR64_NOSPRegClass = { |
| &X86MCRegisterClasses[GR64_NOSPRegClassID], |
| GR64_NOSPSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| GR64_NOSPSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR64_NOREXRegClass = { |
| &X86MCRegisterClasses[GR64_NOREXRegClassID], |
| GR64_NOREXSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| GR64_NOREXSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR64_TCRegClass = { |
| &X86MCRegisterClasses[GR64_TCRegClassID], |
| GR64_TCSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| GR64_TCSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR64_NOSP_and_GR64_TCRegClass = { |
| &X86MCRegisterClasses[GR64_NOSP_and_GR64_TCRegClassID], |
| GR64_NOSP_and_GR64_TCSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| GR64_NOSP_and_GR64_TCSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR64_TCW64RegClass = { |
| &X86MCRegisterClasses[GR64_TCW64RegClassID], |
| GR64_TCW64SubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| GR64_TCW64Superclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR64_with_sub_16bit_in_GR16_NOREXRegClass = { |
| &X86MCRegisterClasses[GR64_with_sub_16bit_in_GR16_NOREXRegClassID], |
| GR64_with_sub_16bit_in_GR16_NOREXSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| GR64_with_sub_16bit_in_GR16_NOREXSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VK64RegClass = { |
| &X86MCRegisterClasses[VK64RegClassID], |
| VK64SubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| VK64Superclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VR64RegClass = { |
| &X86MCRegisterClasses[VR64RegClassID], |
| VR64SubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| NullRegClasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR64_NOREX_NOSPRegClass = { |
| &X86MCRegisterClasses[GR64_NOREX_NOSPRegClassID], |
| GR64_NOREX_NOSPSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| GR64_NOREX_NOSPSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR64_NOSP_and_GR64_TCW64RegClass = { |
| &X86MCRegisterClasses[GR64_NOSP_and_GR64_TCW64RegClassID], |
| GR64_NOSP_and_GR64_TCW64SubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| GR64_NOSP_and_GR64_TCW64Superclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR64_TC_and_GR64_TCW64RegClass = { |
| &X86MCRegisterClasses[GR64_TC_and_GR64_TCW64RegClassID], |
| GR64_TC_and_GR64_TCW64SubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| GR64_TC_and_GR64_TCW64Superclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VK64WMRegClass = { |
| &X86MCRegisterClasses[VK64WMRegClassID], |
| VK64WMSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| VK64WMSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR64_NOREX_and_GR64_TCRegClass = { |
| &X86MCRegisterClasses[GR64_NOREX_and_GR64_TCRegClassID], |
| GR64_NOREX_and_GR64_TCSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| GR64_NOREX_and_GR64_TCSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR64_TC_and_GR64_NOSP_and_GR64_TCW64RegClass = { |
| &X86MCRegisterClasses[GR64_TC_and_GR64_NOSP_and_GR64_TCW64RegClassID], |
| GR64_TC_and_GR64_NOSP_and_GR64_TCW64SubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| GR64_TC_and_GR64_NOSP_and_GR64_TCW64Superclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR64_NOREX_NOSP_and_GR64_TCRegClass = { |
| &X86MCRegisterClasses[GR64_NOREX_NOSP_and_GR64_TCRegClassID], |
| GR64_NOREX_NOSP_and_GR64_TCSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| GR64_NOREX_NOSP_and_GR64_TCSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR64_ABCDRegClass = { |
| &X86MCRegisterClasses[GR64_ABCDRegClassID], |
| GR64_ABCDSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| GR64_ABCDSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR64_NOREX_and_GR64_TCW64RegClass = { |
| &X86MCRegisterClasses[GR64_NOREX_and_GR64_TCW64RegClassID], |
| GR64_NOREX_and_GR64_TCW64SubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| GR64_NOREX_and_GR64_TCW64Superclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR64_with_sub_32bit_in_GR32_TCRegClass = { |
| &X86MCRegisterClasses[GR64_with_sub_32bit_in_GR32_TCRegClassID], |
| GR64_with_sub_32bit_in_GR32_TCSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| GR64_with_sub_32bit_in_GR32_TCSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR64_ADRegClass = { |
| &X86MCRegisterClasses[GR64_ADRegClassID], |
| GR64_ADSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| GR64_ADSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR64_and_LOW32_ADDR_ACCESS_RBPRegClass = { |
| &X86MCRegisterClasses[GR64_and_LOW32_ADDR_ACCESS_RBPRegClassID], |
| GR64_and_LOW32_ADDR_ACCESS_RBPSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| GR64_and_LOW32_ADDR_ACCESS_RBPSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR64_NOREX_NOSP_and_LOW32_ADDR_ACCESS_RBPRegClass = { |
| &X86MCRegisterClasses[GR64_NOREX_NOSP_and_LOW32_ADDR_ACCESS_RBPRegClassID], |
| GR64_NOREX_NOSP_and_LOW32_ADDR_ACCESS_RBPSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| GR64_NOREX_NOSP_and_LOW32_ADDR_ACCESS_RBPSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass GR64_and_LOW32_ADDR_ACCESSRegClass = { |
| &X86MCRegisterClasses[GR64_and_LOW32_ADDR_ACCESSRegClassID], |
| GR64_and_LOW32_ADDR_ACCESSSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x0000000F), |
| 0, |
| true, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| GR64_and_LOW32_ADDR_ACCESSSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass RSTRegClass = { |
| &X86MCRegisterClasses[RSTRegClassID], |
| RSTSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| NullRegClasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass RFP80RegClass = { |
| &X86MCRegisterClasses[RFP80RegClassID], |
| RFP80SubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| RFP80Superclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VR128XRegClass = { |
| &X86MCRegisterClasses[VR128XRegClassID], |
| VR128XSubClassMask, |
| SuperRegIdxSeqs + 9, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| VR128XSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VR128RegClass = { |
| &X86MCRegisterClasses[VR128RegClassID], |
| VR128SubClassMask, |
| SuperRegIdxSeqs + 9, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| VR128Superclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VR128HRegClass = { |
| &X86MCRegisterClasses[VR128HRegClassID], |
| VR128HSubClassMask, |
| SuperRegIdxSeqs + 9, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| VR128HSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VR128LRegClass = { |
| &X86MCRegisterClasses[VR128LRegClassID], |
| VR128LSubClassMask, |
| SuperRegIdxSeqs + 9, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| VR128LSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass BNDRRegClass = { |
| &X86MCRegisterClasses[BNDRRegClassID], |
| BNDRSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000001), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| NullRegClasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VR256XRegClass = { |
| &X86MCRegisterClasses[VR256XRegClassID], |
| VR256XSubClassMask, |
| SuperRegIdxSeqs + 11, |
| LaneBitmask(0x00000010), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| NullRegClasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VR256RegClass = { |
| &X86MCRegisterClasses[VR256RegClassID], |
| VR256SubClassMask, |
| SuperRegIdxSeqs + 11, |
| LaneBitmask(0x00000010), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| VR256Superclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VR256HRegClass = { |
| &X86MCRegisterClasses[VR256HRegClassID], |
| VR256HSubClassMask, |
| SuperRegIdxSeqs + 11, |
| LaneBitmask(0x00000010), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| VR256HSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VR256LRegClass = { |
| &X86MCRegisterClasses[VR256LRegClassID], |
| VR256LSubClassMask, |
| SuperRegIdxSeqs + 11, |
| LaneBitmask(0x00000010), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| VR256LSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VR512RegClass = { |
| &X86MCRegisterClasses[VR512RegClassID], |
| VR512SubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000010), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| NullRegClasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VR512_with_sub_xmm_in_FR32RegClass = { |
| &X86MCRegisterClasses[VR512_with_sub_xmm_in_FR32RegClassID], |
| VR512_with_sub_xmm_in_FR32SubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000010), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| VR512_with_sub_xmm_in_FR32Superclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VR512_with_sub_xmm_in_VR128HRegClass = { |
| &X86MCRegisterClasses[VR512_with_sub_xmm_in_VR128HRegClassID], |
| VR512_with_sub_xmm_in_VR128HSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000010), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| VR512_with_sub_xmm_in_VR128HSuperclasses, |
| nullptr |
| }; |
| |
| extern const TargetRegisterClass VR512_with_sub_xmm_in_VR128LRegClass = { |
| &X86MCRegisterClasses[VR512_with_sub_xmm_in_VR128LRegClassID], |
| VR512_with_sub_xmm_in_VR128LSubClassMask, |
| SuperRegIdxSeqs + 1, |
| LaneBitmask(0x00000010), |
| 0, |
| false, /* HasDisjunctSubRegs */ |
| false, /* CoveredBySubRegs */ |
| VR512_with_sub_xmm_in_VR128LSuperclasses, |
| nullptr |
| }; |
| |
| } // end namespace X86 |
| |
| namespace { |
| const TargetRegisterClass* const RegisterClasses[] = { |
| &X86::GR8RegClass, |
| &X86::GRH8RegClass, |
| &X86::GR8_NOREXRegClass, |
| &X86::GR8_ABCD_HRegClass, |
| &X86::GR8_ABCD_LRegClass, |
| &X86::GRH16RegClass, |
| &X86::GR16RegClass, |
| &X86::GR16_NOREXRegClass, |
| &X86::VK1RegClass, |
| &X86::VK16RegClass, |
| &X86::VK2RegClass, |
| &X86::VK4RegClass, |
| &X86::VK8RegClass, |
| &X86::VK16WMRegClass, |
| &X86::VK1WMRegClass, |
| &X86::VK2WMRegClass, |
| &X86::VK4WMRegClass, |
| &X86::VK8WMRegClass, |
| &X86::SEGMENT_REGRegClass, |
| &X86::GR16_ABCDRegClass, |
| &X86::FPCCRRegClass, |
| &X86::FR32XRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBPRegClass, |
| &X86::LOW32_ADDR_ACCESSRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_8bitRegClass, |
| &X86::DEBUG_REGRegClass, |
| &X86::FR32RegClass, |
| &X86::GR32RegClass, |
| &X86::GR32_NOSPRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREXRegClass, |
| &X86::GR32_NOREXRegClass, |
| &X86::VK32RegClass, |
| &X86::GR32_NOREX_NOSPRegClass, |
| &X86::RFP32RegClass, |
| &X86::VK32WMRegClass, |
| &X86::GR32_ABCDRegClass, |
| &X86::GR32_TCRegClass, |
| &X86::GR32_ADRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_32bitRegClass, |
| &X86::CCRRegClass, |
| &X86::DFCCRRegClass, |
| &X86::LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bitRegClass, |
| &X86::LOW32_ADDR_ACCESS_with_sub_32bitRegClass, |
| &X86::RFP64RegClass, |
| &X86::FR64XRegClass, |
| &X86::GR64RegClass, |
| &X86::CONTROL_REGRegClass, |
| &X86::FR64RegClass, |
| &X86::GR64_with_sub_8bitRegClass, |
| &X86::GR64_NOSPRegClass, |
| &X86::GR64_NOREXRegClass, |
| &X86::GR64_TCRegClass, |
| &X86::GR64_NOSP_and_GR64_TCRegClass, |
| &X86::GR64_TCW64RegClass, |
| &X86::GR64_with_sub_16bit_in_GR16_NOREXRegClass, |
| &X86::VK64RegClass, |
| &X86::VR64RegClass, |
| &X86::GR64_NOREX_NOSPRegClass, |
| &X86::GR64_NOSP_and_GR64_TCW64RegClass, |
| &X86::GR64_TC_and_GR64_TCW64RegClass, |
| &X86::VK64WMRegClass, |
| &X86::GR64_NOREX_and_GR64_TCRegClass, |
| &X86::GR64_TC_and_GR64_NOSP_and_GR64_TCW64RegClass, |
| &X86::GR64_NOREX_NOSP_and_GR64_TCRegClass, |
| &X86::GR64_ABCDRegClass, |
| &X86::GR64_NOREX_and_GR64_TCW64RegClass, |
| &X86::GR64_with_sub_32bit_in_GR32_TCRegClass, |
| &X86::GR64_ADRegClass, |
| &X86::GR64_and_LOW32_ADDR_ACCESS_RBPRegClass, |
| &X86::GR64_NOREX_NOSP_and_LOW32_ADDR_ACCESS_RBPRegClass, |
| &X86::GR64_and_LOW32_ADDR_ACCESSRegClass, |
| &X86::RSTRegClass, |
| &X86::RFP80RegClass, |
| &X86::VR128XRegClass, |
| &X86::VR128RegClass, |
| &X86::VR128HRegClass, |
| &X86::VR128LRegClass, |
| &X86::BNDRRegClass, |
| &X86::VR256XRegClass, |
| &X86::VR256RegClass, |
| &X86::VR256HRegClass, |
| &X86::VR256LRegClass, |
| &X86::VR512RegClass, |
| &X86::VR512_with_sub_xmm_in_FR32RegClass, |
| &X86::VR512_with_sub_xmm_in_VR128HRegClass, |
| &X86::VR512_with_sub_xmm_in_VR128LRegClass, |
| }; |
| } // end anonymous namespace |
| |
| static const TargetRegisterInfoDesc X86RegInfoDesc[] = { // Extra Descriptors |
| { 0, false }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, false }, |
| { 1, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, false }, |
| { 0, true }, |
| { 0, true }, |
| { 0, false }, |
| { 1, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, false }, |
| { 0, true }, |
| { 0, true }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 1, true }, |
| { 0, false }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, false }, |
| { 1, true }, |
| { 0, true }, |
| { 0, false }, |
| { 1, true }, |
| { 0, true }, |
| { 0, false }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, false }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 0, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 1, true }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| { 0, false }, |
| }; |
| unsigned X86GenRegisterInfo::composeSubRegIndicesImpl(unsigned IdxA, unsigned IdxB) const { |
| static const uint8_t Rows[1][8] = { |
| { 1, 2, 3, 4, 5, 0, 7, 0, }, |
| }; |
| |
| --IdxA; assert(IdxA < 8); |
| --IdxB; assert(IdxB < 8); |
| return Rows[0][IdxB]; |
| } |
| |
| struct MaskRolOp { |
| LaneBitmask Mask; |
| uint8_t RotateLeft; |
| }; |
| static const MaskRolOp LaneMaskComposeSequences[] = { |
| { LaneBitmask(0xFFFFFFFF), 0 }, { LaneBitmask::getNone(), 0 }, // Sequence 0 |
| { LaneBitmask(0xFFFFFFFF), 1 }, { LaneBitmask::getNone(), 0 }, // Sequence 2 |
| { LaneBitmask(0xFFFFFFFF), 2 }, { LaneBitmask::getNone(), 0 }, // Sequence 4 |
| { LaneBitmask(0xFFFFFFFF), 3 }, { LaneBitmask::getNone(), 0 }, // Sequence 6 |
| { LaneBitmask(0xFFFFFFFF), 4 }, { LaneBitmask::getNone(), 0 } // Sequence 8 |
| }; |
| static const MaskRolOp *const CompositeSequences[] = { |
| &LaneMaskComposeSequences[0], // to sub_8bit |
| &LaneMaskComposeSequences[2], // to sub_8bit_hi |
| &LaneMaskComposeSequences[4], // to sub_8bit_hi_phony |
| &LaneMaskComposeSequences[0], // to sub_16bit |
| &LaneMaskComposeSequences[6], // to sub_16bit_hi |
| &LaneMaskComposeSequences[0], // to sub_32bit |
| &LaneMaskComposeSequences[8], // to sub_xmm |
| &LaneMaskComposeSequences[0] // to sub_ymm |
| }; |
| |
| LaneBitmask X86GenRegisterInfo::composeSubRegIndexLaneMaskImpl(unsigned IdxA, LaneBitmask LaneMask) const { |
| --IdxA; assert(IdxA < 8 && "Subregister index out of bounds"); |
| LaneBitmask Result; |
| for (const MaskRolOp *Ops = CompositeSequences[IdxA]; Ops->Mask.any(); ++Ops) { |
| LaneBitmask::Type M = LaneMask.getAsInteger() & Ops->Mask.getAsInteger(); |
| if (unsigned S = Ops->RotateLeft) |
| Result |= LaneBitmask((M << S) | (M >> (LaneBitmask::BitWidth - S))); |
| else |
| Result |= LaneBitmask(M); |
| } |
| return Result; |
| } |
| |
| LaneBitmask X86GenRegisterInfo::reverseComposeSubRegIndexLaneMaskImpl(unsigned IdxA, LaneBitmask LaneMask) const { |
| LaneMask &= getSubRegIndexLaneMask(IdxA); |
| --IdxA; assert(IdxA < 8 && "Subregister index out of bounds"); |
| LaneBitmask Result; |
| for (const MaskRolOp *Ops = CompositeSequences[IdxA]; Ops->Mask.any(); ++Ops) { |
| LaneBitmask::Type M = LaneMask.getAsInteger(); |
| if (unsigned S = Ops->RotateLeft) |
| Result |= LaneBitmask((M >> S) | (M << (LaneBitmask::BitWidth - S))); |
| else |
| Result |= LaneBitmask(M); |
| } |
| return Result; |
| } |
| |
| const TargetRegisterClass *X86GenRegisterInfo::getSubClassWithSubReg(const TargetRegisterClass *RC, unsigned Idx) const { |
| static const uint8_t Table[86][8] = { |
| { // GR8 |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GRH8 |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR8_NOREX |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR8_ABCD_H |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR8_ABCD_L |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GRH16 |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR16 |
| 7, // sub_8bit -> GR16 |
| 20, // sub_8bit_hi -> GR16_ABCD |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR16_NOREX |
| 8, // sub_8bit -> GR16_NOREX |
| 20, // sub_8bit_hi -> GR16_ABCD |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // VK1 |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // VK16 |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // VK2 |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // VK4 |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // VK8 |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // VK16WM |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // VK1WM |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // VK2WM |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // VK4WM |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // VK8WM |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // SEGMENT_REG |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR16_ABCD |
| 20, // sub_8bit -> GR16_ABCD |
| 20, // sub_8bit_hi -> GR16_ABCD |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // FPCCR |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // FR32X |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // LOW32_ADDR_ACCESS_RBP |
| 25, // sub_8bit -> LOW32_ADDR_ACCESS_RBP_with_sub_8bit |
| 36, // sub_8bit_hi -> GR32_ABCD |
| 0, // sub_8bit_hi_phony |
| 23, // sub_16bit -> LOW32_ADDR_ACCESS_RBP |
| 0, // sub_16bit_hi |
| 39, // sub_32bit -> LOW32_ADDR_ACCESS_RBP_with_sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // LOW32_ADDR_ACCESS |
| 28, // sub_8bit -> GR32 |
| 36, // sub_8bit_hi -> GR32_ABCD |
| 0, // sub_8bit_hi_phony |
| 24, // sub_16bit -> LOW32_ADDR_ACCESS |
| 0, // sub_16bit_hi |
| 43, // sub_32bit -> LOW32_ADDR_ACCESS_with_sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // LOW32_ADDR_ACCESS_RBP_with_sub_8bit |
| 25, // sub_8bit -> LOW32_ADDR_ACCESS_RBP_with_sub_8bit |
| 36, // sub_8bit_hi -> GR32_ABCD |
| 0, // sub_8bit_hi_phony |
| 25, // sub_16bit -> LOW32_ADDR_ACCESS_RBP_with_sub_8bit |
| 0, // sub_16bit_hi |
| 42, // sub_32bit -> LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // DEBUG_REG |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // FR32 |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR32 |
| 28, // sub_8bit -> GR32 |
| 36, // sub_8bit_hi -> GR32_ABCD |
| 0, // sub_8bit_hi_phony |
| 28, // sub_16bit -> GR32 |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR32_NOSP |
| 29, // sub_8bit -> GR32_NOSP |
| 36, // sub_8bit_hi -> GR32_ABCD |
| 0, // sub_8bit_hi_phony |
| 29, // sub_16bit -> GR32_NOSP |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREX |
| 30, // sub_8bit -> LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREX |
| 36, // sub_8bit_hi -> GR32_ABCD |
| 0, // sub_8bit_hi_phony |
| 30, // sub_16bit -> LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREX |
| 0, // sub_16bit_hi |
| 42, // sub_32bit -> LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR32_NOREX |
| 31, // sub_8bit -> GR32_NOREX |
| 36, // sub_8bit_hi -> GR32_ABCD |
| 0, // sub_8bit_hi_phony |
| 31, // sub_16bit -> GR32_NOREX |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // VK32 |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR32_NOREX_NOSP |
| 33, // sub_8bit -> GR32_NOREX_NOSP |
| 36, // sub_8bit_hi -> GR32_ABCD |
| 0, // sub_8bit_hi_phony |
| 33, // sub_16bit -> GR32_NOREX_NOSP |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // RFP32 |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // VK32WM |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR32_ABCD |
| 36, // sub_8bit -> GR32_ABCD |
| 36, // sub_8bit_hi -> GR32_ABCD |
| 0, // sub_8bit_hi_phony |
| 36, // sub_16bit -> GR32_ABCD |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR32_TC |
| 37, // sub_8bit -> GR32_TC |
| 37, // sub_8bit_hi -> GR32_TC |
| 0, // sub_8bit_hi_phony |
| 37, // sub_16bit -> GR32_TC |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR32_AD |
| 38, // sub_8bit -> GR32_AD |
| 38, // sub_8bit_hi -> GR32_AD |
| 0, // sub_8bit_hi_phony |
| 38, // sub_16bit -> GR32_AD |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // LOW32_ADDR_ACCESS_RBP_with_sub_32bit |
| 42, // sub_8bit -> LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 39, // sub_16bit -> LOW32_ADDR_ACCESS_RBP_with_sub_32bit |
| 0, // sub_16bit_hi |
| 39, // sub_32bit -> LOW32_ADDR_ACCESS_RBP_with_sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // CCR |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // DFCCR |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bit |
| 42, // sub_8bit -> LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 42, // sub_16bit -> LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bit |
| 0, // sub_16bit_hi |
| 42, // sub_32bit -> LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // LOW32_ADDR_ACCESS_with_sub_32bit |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 43, // sub_16bit -> LOW32_ADDR_ACCESS_with_sub_32bit |
| 0, // sub_16bit_hi |
| 43, // sub_32bit -> LOW32_ADDR_ACCESS_with_sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // RFP64 |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // FR64X |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR64 |
| 49, // sub_8bit -> GR64_with_sub_8bit |
| 65, // sub_8bit_hi -> GR64_ABCD |
| 0, // sub_8bit_hi_phony |
| 46, // sub_16bit -> GR64 |
| 0, // sub_16bit_hi |
| 46, // sub_32bit -> GR64 |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // CONTROL_REG |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // FR64 |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR64_with_sub_8bit |
| 49, // sub_8bit -> GR64_with_sub_8bit |
| 65, // sub_8bit_hi -> GR64_ABCD |
| 0, // sub_8bit_hi_phony |
| 49, // sub_16bit -> GR64_with_sub_8bit |
| 0, // sub_16bit_hi |
| 49, // sub_32bit -> GR64_with_sub_8bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR64_NOSP |
| 50, // sub_8bit -> GR64_NOSP |
| 65, // sub_8bit_hi -> GR64_ABCD |
| 0, // sub_8bit_hi_phony |
| 50, // sub_16bit -> GR64_NOSP |
| 0, // sub_16bit_hi |
| 50, // sub_32bit -> GR64_NOSP |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR64_NOREX |
| 55, // sub_8bit -> GR64_with_sub_16bit_in_GR16_NOREX |
| 65, // sub_8bit_hi -> GR64_ABCD |
| 0, // sub_8bit_hi_phony |
| 51, // sub_16bit -> GR64_NOREX |
| 0, // sub_16bit_hi |
| 51, // sub_32bit -> GR64_NOREX |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR64_TC |
| 53, // sub_8bit -> GR64_NOSP_and_GR64_TC |
| 67, // sub_8bit_hi -> GR64_with_sub_32bit_in_GR32_TC |
| 0, // sub_8bit_hi_phony |
| 52, // sub_16bit -> GR64_TC |
| 0, // sub_16bit_hi |
| 52, // sub_32bit -> GR64_TC |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR64_NOSP_and_GR64_TC |
| 53, // sub_8bit -> GR64_NOSP_and_GR64_TC |
| 67, // sub_8bit_hi -> GR64_with_sub_32bit_in_GR32_TC |
| 0, // sub_8bit_hi_phony |
| 53, // sub_16bit -> GR64_NOSP_and_GR64_TC |
| 0, // sub_16bit_hi |
| 53, // sub_32bit -> GR64_NOSP_and_GR64_TC |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR64_TCW64 |
| 59, // sub_8bit -> GR64_NOSP_and_GR64_TCW64 |
| 67, // sub_8bit_hi -> GR64_with_sub_32bit_in_GR32_TC |
| 0, // sub_8bit_hi_phony |
| 54, // sub_16bit -> GR64_TCW64 |
| 0, // sub_16bit_hi |
| 54, // sub_32bit -> GR64_TCW64 |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR64_with_sub_16bit_in_GR16_NOREX |
| 55, // sub_8bit -> GR64_with_sub_16bit_in_GR16_NOREX |
| 65, // sub_8bit_hi -> GR64_ABCD |
| 0, // sub_8bit_hi_phony |
| 55, // sub_16bit -> GR64_with_sub_16bit_in_GR16_NOREX |
| 0, // sub_16bit_hi |
| 55, // sub_32bit -> GR64_with_sub_16bit_in_GR16_NOREX |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // VK64 |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // VR64 |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR64_NOREX_NOSP |
| 58, // sub_8bit -> GR64_NOREX_NOSP |
| 65, // sub_8bit_hi -> GR64_ABCD |
| 0, // sub_8bit_hi_phony |
| 58, // sub_16bit -> GR64_NOREX_NOSP |
| 0, // sub_16bit_hi |
| 58, // sub_32bit -> GR64_NOREX_NOSP |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR64_NOSP_and_GR64_TCW64 |
| 59, // sub_8bit -> GR64_NOSP_and_GR64_TCW64 |
| 67, // sub_8bit_hi -> GR64_with_sub_32bit_in_GR32_TC |
| 0, // sub_8bit_hi_phony |
| 59, // sub_16bit -> GR64_NOSP_and_GR64_TCW64 |
| 0, // sub_16bit_hi |
| 59, // sub_32bit -> GR64_NOSP_and_GR64_TCW64 |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR64_TC_and_GR64_TCW64 |
| 63, // sub_8bit -> GR64_TC_and_GR64_NOSP_and_GR64_TCW64 |
| 67, // sub_8bit_hi -> GR64_with_sub_32bit_in_GR32_TC |
| 0, // sub_8bit_hi_phony |
| 60, // sub_16bit -> GR64_TC_and_GR64_TCW64 |
| 0, // sub_16bit_hi |
| 60, // sub_32bit -> GR64_TC_and_GR64_TCW64 |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // VK64WM |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR64_NOREX_and_GR64_TC |
| 64, // sub_8bit -> GR64_NOREX_NOSP_and_GR64_TC |
| 67, // sub_8bit_hi -> GR64_with_sub_32bit_in_GR32_TC |
| 0, // sub_8bit_hi_phony |
| 62, // sub_16bit -> GR64_NOREX_and_GR64_TC |
| 0, // sub_16bit_hi |
| 62, // sub_32bit -> GR64_NOREX_and_GR64_TC |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR64_TC_and_GR64_NOSP_and_GR64_TCW64 |
| 63, // sub_8bit -> GR64_TC_and_GR64_NOSP_and_GR64_TCW64 |
| 67, // sub_8bit_hi -> GR64_with_sub_32bit_in_GR32_TC |
| 0, // sub_8bit_hi_phony |
| 63, // sub_16bit -> GR64_TC_and_GR64_NOSP_and_GR64_TCW64 |
| 0, // sub_16bit_hi |
| 63, // sub_32bit -> GR64_TC_and_GR64_NOSP_and_GR64_TCW64 |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR64_NOREX_NOSP_and_GR64_TC |
| 64, // sub_8bit -> GR64_NOREX_NOSP_and_GR64_TC |
| 67, // sub_8bit_hi -> GR64_with_sub_32bit_in_GR32_TC |
| 0, // sub_8bit_hi_phony |
| 64, // sub_16bit -> GR64_NOREX_NOSP_and_GR64_TC |
| 0, // sub_16bit_hi |
| 64, // sub_32bit -> GR64_NOREX_NOSP_and_GR64_TC |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR64_ABCD |
| 65, // sub_8bit -> GR64_ABCD |
| 65, // sub_8bit_hi -> GR64_ABCD |
| 0, // sub_8bit_hi_phony |
| 65, // sub_16bit -> GR64_ABCD |
| 0, // sub_16bit_hi |
| 65, // sub_32bit -> GR64_ABCD |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR64_NOREX_and_GR64_TCW64 |
| 67, // sub_8bit -> GR64_with_sub_32bit_in_GR32_TC |
| 67, // sub_8bit_hi -> GR64_with_sub_32bit_in_GR32_TC |
| 0, // sub_8bit_hi_phony |
| 66, // sub_16bit -> GR64_NOREX_and_GR64_TCW64 |
| 0, // sub_16bit_hi |
| 66, // sub_32bit -> GR64_NOREX_and_GR64_TCW64 |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR64_with_sub_32bit_in_GR32_TC |
| 67, // sub_8bit -> GR64_with_sub_32bit_in_GR32_TC |
| 67, // sub_8bit_hi -> GR64_with_sub_32bit_in_GR32_TC |
| 0, // sub_8bit_hi_phony |
| 67, // sub_16bit -> GR64_with_sub_32bit_in_GR32_TC |
| 0, // sub_16bit_hi |
| 67, // sub_32bit -> GR64_with_sub_32bit_in_GR32_TC |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR64_AD |
| 68, // sub_8bit -> GR64_AD |
| 68, // sub_8bit_hi -> GR64_AD |
| 0, // sub_8bit_hi_phony |
| 68, // sub_16bit -> GR64_AD |
| 0, // sub_16bit_hi |
| 68, // sub_32bit -> GR64_AD |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR64_and_LOW32_ADDR_ACCESS_RBP |
| 70, // sub_8bit -> GR64_NOREX_NOSP_and_LOW32_ADDR_ACCESS_RBP |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 69, // sub_16bit -> GR64_and_LOW32_ADDR_ACCESS_RBP |
| 0, // sub_16bit_hi |
| 69, // sub_32bit -> GR64_and_LOW32_ADDR_ACCESS_RBP |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR64_NOREX_NOSP_and_LOW32_ADDR_ACCESS_RBP |
| 70, // sub_8bit -> GR64_NOREX_NOSP_and_LOW32_ADDR_ACCESS_RBP |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 70, // sub_16bit -> GR64_NOREX_NOSP_and_LOW32_ADDR_ACCESS_RBP |
| 0, // sub_16bit_hi |
| 70, // sub_32bit -> GR64_NOREX_NOSP_and_LOW32_ADDR_ACCESS_RBP |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // GR64_and_LOW32_ADDR_ACCESS |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 71, // sub_16bit -> GR64_and_LOW32_ADDR_ACCESS |
| 0, // sub_16bit_hi |
| 71, // sub_32bit -> GR64_and_LOW32_ADDR_ACCESS |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // RST |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // RFP80 |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // VR128X |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // VR128 |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // VR128H |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // VR128L |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // BNDR |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 0, // sub_xmm |
| 0, // sub_ymm |
| }, |
| { // VR256X |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 79, // sub_xmm -> VR256X |
| 0, // sub_ymm |
| }, |
| { // VR256 |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 80, // sub_xmm -> VR256 |
| 0, // sub_ymm |
| }, |
| { // VR256H |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 81, // sub_xmm -> VR256H |
| 0, // sub_ymm |
| }, |
| { // VR256L |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 82, // sub_xmm -> VR256L |
| 0, // sub_ymm |
| }, |
| { // VR512 |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 83, // sub_xmm -> VR512 |
| 83, // sub_ymm -> VR512 |
| }, |
| { // VR512_with_sub_xmm_in_FR32 |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 84, // sub_xmm -> VR512_with_sub_xmm_in_FR32 |
| 84, // sub_ymm -> VR512_with_sub_xmm_in_FR32 |
| }, |
| { // VR512_with_sub_xmm_in_VR128H |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 85, // sub_xmm -> VR512_with_sub_xmm_in_VR128H |
| 85, // sub_ymm -> VR512_with_sub_xmm_in_VR128H |
| }, |
| { // VR512_with_sub_xmm_in_VR128L |
| 0, // sub_8bit |
| 0, // sub_8bit_hi |
| 0, // sub_8bit_hi_phony |
| 0, // sub_16bit |
| 0, // sub_16bit_hi |
| 0, // sub_32bit |
| 86, // sub_xmm -> VR512_with_sub_xmm_in_VR128L |
| 86, // sub_ymm -> VR512_with_sub_xmm_in_VR128L |
| }, |
| }; |
| assert(RC && "Missing regclass"); |
| if (!Idx) return RC; |
| --Idx; |
| assert(Idx < 8 && "Bad subreg"); |
| unsigned TV = Table[RC->getID()][Idx]; |
| return TV ? getRegClass(TV - 1) : nullptr; |
| } |
| |
| /// Get the weight in units of pressure for this register class. |
| const RegClassWeight &X86GenRegisterInfo:: |
| getRegClassWeight(const TargetRegisterClass *RC) const { |
| static const RegClassWeight RCWeightTable[] = { |
| {1, 20}, // GR8 |
| {0, 0}, // GRH8 |
| {1, 8}, // GR8_NOREX |
| {1, 4}, // GR8_ABCD_H |
| {1, 4}, // GR8_ABCD_L |
| {0, 0}, // GRH16 |
| {2, 32}, // GR16 |
| {2, 16}, // GR16_NOREX |
| {1, 8}, // VK1 |
| {1, 8}, // VK16 |
| {1, 8}, // VK2 |
| {1, 8}, // VK4 |
| {1, 8}, // VK8 |
| {1, 7}, // VK16WM |
| {1, 7}, // VK1WM |
| {1, 7}, // VK2WM |
| {1, 7}, // VK4WM |
| {1, 7}, // VK8WM |
| {1, 6}, // SEGMENT_REG |
| {2, 8}, // GR16_ABCD |
| {0, 0}, // FPCCR |
| {1, 32}, // FR32X |
| {2, 34}, // LOW32_ADDR_ACCESS_RBP |
| {2, 34}, // LOW32_ADDR_ACCESS |
| {2, 32}, // LOW32_ADDR_ACCESS_RBP_with_sub_8bit |
| {1, 16}, // DEBUG_REG |
| {1, 16}, // FR32 |
| {2, 32}, // GR32 |
| {2, 30}, // GR32_NOSP |
| {2, 16}, // LOW32_ADDR_ACCESS_RBP_with_sub_16bit_in_GR16_NOREX |
| {2, 16}, // GR32_NOREX |
| {1, 8}, // VK32 |
| {2, 14}, // GR32_NOREX_NOSP |
| {1, 7}, // RFP32 |
| {1, 7}, // VK32WM |
| {2, 8}, // GR32_ABCD |
| {2, 6}, // GR32_TC |
| {2, 4}, // GR32_AD |
| {2, 4}, // LOW32_ADDR_ACCESS_RBP_with_sub_32bit |
| {0, 0}, // CCR |
| {0, 0}, // DFCCR |
| {2, 2}, // LOW32_ADDR_ACCESS_RBP_with_sub_8bit_with_sub_32bit |
| {2, 2}, // LOW32_ADDR_ACCESS_with_sub_32bit |
| {1, 7}, // RFP64 |
| {1, 32}, // FR64X |
| {2, 34}, // GR64 |
| {1, 16}, // CONTROL_REG |
| {1, 16}, // FR64 |
| {2, 32}, // GR64_with_sub_8bit |
| {2, 30}, // GR64_NOSP |
| {2, 18}, // GR64_NOREX |
| {2, 18}, // GR64_TC |
| {2, 16}, // GR64_NOSP_and_GR64_TC |
| {2, 16}, // GR64_TCW64 |
| {2, 16}, // GR64_with_sub_16bit_in_GR16_NOREX |
| {1, 8}, // VK64 |
| {1, 8}, // VR64 |
| {2, 14}, // GR64_NOREX_NOSP |
| {2, 14}, // GR64_NOSP_and_GR64_TCW64 |
| {2, 14}, // GR64_TC_and_GR64_TCW64 |
| {1, 7}, // VK64WM |
| {2, 12}, // GR64_NOREX_and_GR64_TC |
| {2, 12}, // GR64_TC_and_GR64_NOSP_and_GR64_TCW64 |
| {2, 10}, // GR64_NOREX_NOSP_and_GR64_TC |
| {2, 8}, // GR64_ABCD |
| {2, 8}, // GR64_NOREX_and_GR64_TCW64 |
| {2, 6}, // GR64_with_sub_32bit_in_GR32_TC |
| {2, 4}, // GR64_AD |
| {2, 4}, // GR64_and_LOW32_ADDR_ACCESS_RBP |
| {2, 2}, // GR64_NOREX_NOSP_and_LOW32_ADDR_ACCESS_RBP |
| {2, 2}, // GR64_and_LOW32_ADDR_ACCESS |
| {0, 0}, // RST |
| {1, 7}, // RFP80 |
| {1, 32}, // VR128X |
| {1, 16}, // VR128 |
| {1, 8}, // VR128H |
| {1, 8}, // VR128L |
| {1, 4}, // BNDR |
| {1, 32}, // VR256X |
| {1, 16}, // VR256 |
| {1, 8}, // VR256H |
| {1, 8}, // VR256L |
| {1, 32}, // VR512 |
| {1, 16}, // VR512_with_sub_xmm_in_FR32 |
| {1, 8}, // VR512_with_sub_xmm_in_VR128H |
| {1, 8}, // VR512_with_sub_xmm_in_VR128L |
| }; |
| return RCWeightTable[RC->getID()]; |
| } |
| |
| /// Get the weight in units of pressure for this register unit. |
| unsigned X86GenRegisterInfo:: |
| getRegUnitWeight(unsigned RegUnit) const { |
| assert(RegUnit < 162 && "invalid register unit"); |
| // All register units have unit weight. |
| return 1; |
| } |
| |
| |
| // Get the number of dimensions of register pressure. |
| unsigned X86GenRegisterInfo::getNumRegPressureSets() const { |
| return 30; |
| } |
| |
| // Get the name of this register unit pressure set. |
| const char *X86GenRegisterInfo:: |
| getRegPressureSetName(unsigned Idx) const { |
| static const char *const PressureNameTable[] = { |
| "GR8_ABCD_H", |
| "GR8_ABCD_L", |
| "LOW32_ADDR_ACCESS_with_sub_32bit", |
| "BNDR", |
| "SEGMENT_REG", |
| "RFP32", |
| "VK1", |
| "VR64", |
| "VR128H", |
| "VR128L", |
| "GR32_TC", |
| "LOW32_ADDR_ACCESS_with_sub_32bit+GR64_NOREX_and_GR64_TCW64", |
| "GR64_NOREX_and_GR64_TC", |
| "LOW32_ADDR_ACCESS_with_sub_32bit+GR64_NOREX_and_GR64_TC", |
| "DEBUG_REG", |
| "FR32", |
| "CONTROL_REG", |
| "GR64_NOREX", |
| "GR64_TCW64", |
| "LOW32_ADDR_ACCESS_with_sub_32bit+GR64_TCW64", |
| "GR64_TC", |
| "LOW32_ADDR_ACCESS_with_sub_32bit+GR64_TC", |
| "GR64_TC+GR64_TCW64", |
| "GR8", |
| "GR8+GR64_NOREX", |
| "GR8+GR64_TCW64", |
| "GR64_NOREX+GR64_TC", |
| "GR8+GR64_TC", |
| "FR32X", |
| "GR16", |
| }; |
| return PressureNameTable[Idx]; |
| } |
| |
| // Get the register unit pressure limit for this dimension. |
| // This limit must be adjusted dynamically for reserved registers. |
| unsigned X86GenRegisterInfo:: |
| getRegPressureSetLimit(const MachineFunction &MF, unsigned Idx) const { |
| static const uint8_t PressureLimitTable[] = { |
| 4, // 0: GR8_ABCD_H |
| 4, // 1: GR8_ABCD_L |
| 4, // 2: LOW32_ADDR_ACCESS_with_sub_32bit |
| 4, // 3: BNDR |
| 6, // 4: SEGMENT_REG |
| 7, // 5: RFP32 |
| 8, // 6: VK1 |
| 8, // 7: VR64 |
| 8, // 8: VR128H |
| 8, // 9: VR128L |
| 10, // 10: GR32_TC |
| 10, // 11: LOW32_ADDR_ACCESS_with_sub_32bit+GR64_NOREX_and_GR64_TCW64 |
| 14, // 12: GR64_NOREX_and_GR64_TC |
| 14, // 13: LOW32_ADDR_ACCESS_with_sub_32bit+GR64_NOREX_and_GR64_TC |
| 16, // 14: DEBUG_REG |
| 16, // 15: FR32 |
| 16, // 16: CONTROL_REG |
| 18, // 17: GR64_NOREX |
| 18, // 18: GR64_TCW64 |
| 18, // 19: LOW32_ADDR_ACCESS_with_sub_32bit+GR64_TCW64 |
| 20, // 20: GR64_TC |
| 20, // 21: LOW32_ADDR_ACCESS_with_sub_32bit+GR64_TC |
| 20, // 22: GR64_TC+GR64_TCW64 |
| 23, // 23: GR8 |
| 26, // 24: GR8+GR64_NOREX |
| 26, // 25: GR8+GR64_TCW64 |
| 26, // 26: GR64_NOREX+GR64_TC |
| 27, // 27: GR8+GR64_TC |
| 32, // 28: FR32X |
| 34, // 29: GR16 |
| }; |
| return PressureLimitTable[Idx]; |
| } |
| |
| /// Table of pressure sets per register class or unit. |
| static const int RCSetsTable[] = { |
| /* 0 */ 3, -1, |
| /* 2 */ 4, -1, |
| /* 4 */ 5, -1, |
| /* 6 */ 6, -1, |
| /* 8 */ 7, -1, |
| /* 10 */ 14, -1, |
| /* 12 */ 16, -1, |
| /* 14 */ 8, 15, 28, -1, |
| /* 18 */ 9, 15, 28, -1, |
| /* 22 */ 17, 24, 26, 29, -1, |
| /* 27 */ 2, 11, 13, 17, 19, 21, 23, 24, 26, 29, -1, |
| /* 38 */ 18, 19, 22, 25, 26, 29, -1, |
| /* 45 */ 23, 24, 25, 27, 29, -1, |
| /* 51 */ 20, 21, 22, 26, 27, 29, -1, |
| /* 58 */ 12, 13, 17, 20, 21, 22, 24, 26, 27, 29, -1, |
| /* 69 */ 18, 19, 20, 21, 22, 25, 26, 27, 29, -1, |
| /* 79 */ 17, 23, 24, 25, 26, 27, 29, -1, |
| /* 87 */ 0, 10, 12, 17, 18, 20, 23, 24, 25, 26, 27, 29, -1, |
| /* 100 */ 1, 10, 12, 17, 18, 20, 23, 24, 25, 26, 27, 29, -1, |
| /* 113 */ 2, 11, 13, 17, 19, 21, 23, 24, 25, 26, 27, 29, -1, |
| /* 126 */ 18, 19, 22, 23, 24, 25, 26, 27, 29, -1, |
| /* 136 */ 12, 13, 17, 20, 21, 22, 23, 24, 25, 26, 27, 29, -1, |
| /* 149 */ 0, 10, 11, 12, 13, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 29, -1, |
| /* 167 */ 1, 10, 11, 12, 13, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 29, -1, |
| /* 185 */ 2, 10, 11, 12, 13, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 29, -1, |
| }; |
| |
| /// Get the dimensions of register pressure impacted by this register class. |
| /// Returns a -1 terminated array of pressure set IDs |
| const int* X86GenRegisterInfo:: |
| getRegClassPressureSets(const TargetRegisterClass *RC) const { |
| static const uint8_t RCSetStartTable[] = { |
| 45,1,88,87,100,1,25,22,6,6,6,6,6,6,6,6,6,6,2,88,1,16,25,25,25,10,15,25,25,22,22,6,22,4,6,88,150,150,27,1,1,27,185,4,16,25,12,15,25,25,22,51,51,38,22,6,8,22,38,69,6,58,69,58,88,150,150,150,27,27,185,1,4,16,15,14,18,0,16,15,14,18,16,15,14,18,}; |
| return &RCSetsTable[RCSetStartTable[RC->getID()]]; |
| } |
| |
| /// Get the dimensions of register pressure impacted by this register unit. |
| /// Returns a -1 terminated array of pressure set IDs |
| const int* X86GenRegisterInfo:: |
| getRegUnitPressureSets(unsigned RegUnit) const { |
| assert(RegUnit < 162 && "invalid register unit"); |
| static const uint8_t RUSetStartTable[] = { |
| 149,167,87,100,113,1,149,167,2,1,149,136,1,167,2,1,1,1,1,1,1,1,185,1,1,2,136,1,1,79,1,1,1,2,2,1,2,1,0,0,0,0,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,4,4,4,4,4,4,4,1,6,6,6,6,6,6,6,6,8,8,8,8,8,8,8,8,155,1,1,155,1,1,126,1,1,155,1,1,45,1,1,45,1,1,45,1,1,45,1,1,1,1,1,1,1,1,1,1,18,18,18,18,18,18,18,18,14,14,14,14,14,14,14,14,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,}; |
| return &RCSetsTable[RUSetStartTable[RegUnit]]; |
| } |
| |
| extern const MCRegisterDesc X86RegDesc[]; |
| extern const MCPhysReg X86RegDiffLists[]; |
| extern const LaneBitmask X86LaneMaskLists[]; |
| extern const char X86RegStrings[]; |
| extern const char X86RegClassStrings[]; |
| extern const MCPhysReg X86RegUnitRoots[][2]; |
| extern const uint16_t X86SubRegIdxLists[]; |
| extern const MCRegisterInfo::SubRegCoveredBits X86SubRegIdxRanges[]; |
| extern const uint16_t X86RegEncodingTable[]; |
| // X86 Dwarf<->LLVM register mappings. |
| extern const MCRegisterInfo::DwarfLLVMRegPair X86DwarfFlavour0Dwarf2L[]; |
| extern const unsigned X86DwarfFlavour0Dwarf2LSize; |
| |
| extern const MCRegisterInfo::DwarfLLVMRegPair X86DwarfFlavour1Dwarf2L[]; |
| extern const unsigned X86DwarfFlavour1Dwarf2LSize; |
| |
| extern const MCRegisterInfo::DwarfLLVMRegPair X86DwarfFlavour2Dwarf2L[]; |
| extern const unsigned X86DwarfFlavour2Dwarf2LSize; |
| |
| extern const MCRegisterInfo::DwarfLLVMRegPair X86EHFlavour0Dwarf2L[]; |
| extern const unsigned X86EHFlavour0Dwarf2LSize; |
| |
| extern const MCRegisterInfo::DwarfLLVMRegPair X86EHFlavour1Dwarf2L[]; |
| extern const unsigned X86EHFlavour1Dwarf2LSize; |
| |
| extern const MCRegisterInfo::DwarfLLVMRegPair X86EHFlavour2Dwarf2L[]; |
| extern const unsigned X86EHFlavour2Dwarf2LSize; |
| |
| extern const MCRegisterInfo::DwarfLLVMRegPair X86DwarfFlavour0L2Dwarf[]; |
| extern const unsigned X86DwarfFlavour0L2DwarfSize; |
| |
| extern const MCRegisterInfo::DwarfLLVMRegPair X86DwarfFlavour1L2Dwarf[]; |
| extern const unsigned X86DwarfFlavour1L2DwarfSize; |
| |
| extern const MCRegisterInfo::DwarfLLVMRegPair X86DwarfFlavour2L2Dwarf[]; |
| extern const unsigned X86DwarfFlavour2L2DwarfSize; |
| |
| extern const MCRegisterInfo::DwarfLLVMRegPair X86EHFlavour0L2Dwarf[]; |
| extern const unsigned X86EHFlavour0L2DwarfSize; |
| |
| extern const MCRegisterInfo::DwarfLLVMRegPair X86EHFlavour1L2Dwarf[]; |
| extern const unsigned X86EHFlavour1L2DwarfSize; |
| |
| extern const MCRegisterInfo::DwarfLLVMRegPair X86EHFlavour2L2Dwarf[]; |
| extern const unsigned X86EHFlavour2L2DwarfSize; |
| |
| X86GenRegisterInfo:: |
| X86GenRegisterInfo(unsigned RA, unsigned DwarfFlavour, unsigned EHFlavour, |
| unsigned PC, unsigned HwMode) |
| : TargetRegisterInfo(X86RegInfoDesc, RegisterClasses, RegisterClasses+86, |
| SubRegIndexNameTable, SubRegIndexLaneMaskTable, |
| LaneBitmask(0xFFFFFFE0), RegClassInfos, HwMode) { |
| InitMCRegisterInfo(X86RegDesc, 277, RA, PC, |
| X86MCRegisterClasses, 86, |
| X86RegUnitRoots, |
| 162, |
| X86RegDiffLists, |
| X86LaneMaskLists, |
| X86RegStrings, |
| X86RegClassStrings, |
| X86SubRegIdxLists, |
| 9, |
| X86SubRegIdxRanges, |
| X86RegEncodingTable); |
| |
| switch (DwarfFlavour) { |
| default: |
| llvm_unreachable("Unknown DWARF flavour"); |
| case 0: |
| mapDwarfRegsToLLVMRegs(X86DwarfFlavour0Dwarf2L, X86DwarfFlavour0Dwarf2LSize, false); |
| break; |
| case 1: |
| mapDwarfRegsToLLVMRegs(X86DwarfFlavour1Dwarf2L, X86DwarfFlavour1Dwarf2LSize, false); |
| break; |
| case 2: |
| mapDwarfRegsToLLVMRegs(X86DwarfFlavour2Dwarf2L, X86DwarfFlavour2Dwarf2LSize, false); |
| break; |
| } |
| switch (EHFlavour) { |
| default: |
| llvm_unreachable("Unknown DWARF flavour"); |
| case 0: |
| mapDwarfRegsToLLVMRegs(X86EHFlavour0Dwarf2L, X86EHFlavour0Dwarf2LSize, true); |
| break; |
| case 1: |
| mapDwarfRegsToLLVMRegs(X86EHFlavour1Dwarf2L, X86EHFlavour1Dwarf2LSize, true); |
| break; |
| case 2: |
| mapDwarfRegsToLLVMRegs(X86EHFlavour2Dwarf2L, X86EHFlavour2Dwarf2LSize, true); |
| break; |
| } |
| switch (DwarfFlavour) { |
| default: |
| llvm_unreachable("Unknown DWARF flavour"); |
| case 0: |
| mapLLVMRegsToDwarfRegs(X86DwarfFlavour0L2Dwarf, X86DwarfFlavour0L2DwarfSize, false); |
| break; |
| case 1: |
| mapLLVMRegsToDwarfRegs(X86DwarfFlavour1L2Dwarf, X86DwarfFlavour1L2DwarfSize, false); |
| break; |
| case 2: |
| mapLLVMRegsToDwarfRegs(X86DwarfFlavour2L2Dwarf, X86DwarfFlavour2L2DwarfSize, false); |
| break; |
| } |
| switch (EHFlavour) { |
| default: |
| llvm_unreachable("Unknown DWARF flavour"); |
| case 0: |
| mapLLVMRegsToDwarfRegs(X86EHFlavour0L2Dwarf, X86EHFlavour0L2DwarfSize, true); |
| break; |
| case 1: |
| mapLLVMRegsToDwarfRegs(X86EHFlavour1L2Dwarf, X86EHFlavour1L2DwarfSize, true); |
| break; |
| case 2: |
| mapLLVMRegsToDwarfRegs(X86EHFlavour2L2Dwarf, X86EHFlavour2L2DwarfSize, true); |
| break; |
| } |
| } |
| |
| static const MCPhysReg CSR_32_SaveList[] = { X86::ESI, X86::EDI, X86::EBX, X86::EBP, 0 }; |
| static const uint32_t CSR_32_RegMask[] = { 0x058703f0, 0x0e0012c1, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, }; |
| static const MCPhysReg CSR_32EHRet_SaveList[] = { X86::EAX, X86::EDX, X86::ESI, X86::EDI, X86::EBX, X86::EBP, 0 }; |
| static const uint32_t CSR_32EHRet_RegMask[] = { 0x0def83fe, 0x0e0016e1, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, }; |
| static const MCPhysReg CSR_32_AllRegs_SaveList[] = { X86::EAX, X86::EBX, X86::ECX, X86::EDX, X86::EBP, X86::ESI, X86::EDI, 0 }; |
| static const uint32_t CSR_32_AllRegs_RegMask[] = { 0x0fefaffe, 0x0e0017e1, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, }; |
| static const MCPhysReg CSR_32_AllRegs_AVX_SaveList[] = { X86::EAX, X86::EBX, X86::ECX, X86::EDX, X86::EBP, X86::ESI, X86::EDI, X86::YMM0, X86::YMM1, X86::YMM2, X86::YMM3, X86::YMM4, X86::YMM5, X86::YMM6, X86::YMM7, 0 }; |
| static const uint32_t CSR_32_AllRegs_AVX_RegMask[] = { 0x0fefaffe, 0x0e0017e1, 0x00000000, 0x00000000, 0x001fe000, 0x001fe000, 0x00000000, 0x00000000, 0x00000000, }; |
| static const MCPhysReg CSR_32_AllRegs_AVX512_SaveList[] = { X86::EAX, X86::EBX, X86::ECX, X86::EDX, X86::EBP, X86::ESI, X86::EDI, X86::ZMM0, X86::ZMM1, X86::ZMM2, X86::ZMM3, X86::ZMM4, X86::ZMM5, X86::ZMM6, X86::ZMM7, X86::K0, X86::K1, X86::K2, X86::K3, X86::K4, X86::K5, X86::K6, X86::K7, 0 }; |
| static const uint32_t CSR_32_AllRegs_AVX512_RegMask[] = { 0x0fefaffe, 0x0e0017e1, 0x00000000, 0x001fe000, 0x001fe000, 0x001fe000, 0x001fe000, 0x00000000, 0x00000000, }; |
| static const MCPhysReg CSR_32_AllRegs_SSE_SaveList[] = { X86::EAX, X86::EBX, X86::ECX, X86::EDX, X86::EBP, X86::ESI, X86::EDI, X86::XMM0, X86::XMM1, X86::XMM2, X86::XMM3, X86::XMM4, X86::XMM5, X86::XMM6, X86::XMM7, 0 }; |
| static const uint32_t CSR_32_AllRegs_SSE_RegMask[] = { 0x0fefaffe, 0x0e0017e1, 0x00000000, 0x00000000, 0x001fe000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, }; |
| static const MCPhysReg CSR_32_RegCall_SaveList[] = { X86::ESI, X86::EDI, X86::EBX, X86::EBP, X86::ESP, X86::XMM4, X86::XMM5, X86::XMM6, X86::XMM7, 0 }; |
| static const uint32_t CSR_32_RegCall_RegMask[] = { 0x058703f0, 0x7e0032c3, 0x00000000, 0x00000000, 0x001e0000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, }; |
| static const MCPhysReg CSR_32_RegCall_NoSSE_SaveList[] = { X86::ESI, X86::EDI, X86::EBX, X86::EBP, X86::ESP, 0 }; |
| static const uint32_t CSR_32_RegCall_NoSSE_RegMask[] = { 0x058703f0, 0x7e0032c3, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, }; |
| static const MCPhysReg CSR_64_SaveList[] = { X86::RBX, X86::R12, X86::R13, X86::R14, X86::R15, X86::RBP, 0 }; |
| static const uint32_t CSR_64_RegMask[] = { 0x018003f0, 0x000300c0, 0x00000000, 0x00000000, 0x0000001e, 0x00000000, 0x00000000, 0x1e1e0000, 0x001e1e1e, }; |
| static const MCPhysReg CSR_64EHRet_SaveList[] = { X86::RAX, X86::RDX, X86::RBX, X86::R12, X86::R13, X86::R14, X86::R15, X86::RBP, 0 }; |
| static const uint32_t CSR_64EHRet_RegMask[] = { 0x09e883fe, 0x001384e0, 0x00000000, 0x00000000, 0x0000001e, 0x00000000, 0x00000000, 0x1e1e0000, 0x001e1e1e, }; |
| static const MCPhysReg CSR_64_AllRegs_SaveList[] = { X86::RBX, X86::RCX, X86::RDX, X86::RSI, X86::RDI, X86::R8, X86::R9, X86::R10, X86::R11, X86::R12, X86::R13, X86::R14, X86::R15, X86::RBP, X86::XMM0, X86::XMM1, X86::XMM2, X86::XMM3, X86::XMM4, X86::XMM5, X86::XMM6, X86::XMM7, X86::XMM8, X86::XMM9, X86::XMM10, X86::XMM11, X86::XMM12, X86::XMM13, X86::XMM14, X86::XMM15, X86::RAX, 0 }; |
| static const uint32_t CSR_64_AllRegs_RegMask[] = { 0x0fefaffe, 0x0e9f97e1, 0x00000000, 0xe0000000, 0x1fffe01f, 0x00000000, 0x00000000, 0xffffe000, 0x001fffff, }; |
| static const MCPhysReg CSR_64_AllRegs_AVX_SaveList[] = { X86::RBX, X86::RCX, X86::RDX, X86::RSI, X86::RDI, X86::R8, X86::R9, X86::R10, X86::R11, X86::R12, X86::R13, X86::R14, X86::R15, X86::RBP, X86::RAX, X86::YMM0, X86::YMM1, X86::YMM2, X86::YMM3, X86::YMM4, X86::YMM5, X86::YMM6, X86::YMM7, X86::YMM8, X86::YMM9, X86::YMM10, X86::YMM11, X86::YMM12, X86::YMM13, X86::YMM14, X86::YMM15, 0 }; |
| static const uint32_t CSR_64_AllRegs_AVX_RegMask[] = { 0x0fefaffe, 0x0e9f97e1, 0x00000000, 0xe0000000, 0x1fffe01f, 0x1fffe000, 0x00000000, 0xffffe000, 0x001fffff, }; |
| static const MCPhysReg CSR_64_AllRegs_AVX512_SaveList[] = { X86::RBX, X86::RCX, X86::RDX, X86::RSI, X86::RDI, X86::R8, X86::R9, X86::R10, X86::R11, X86::R12, X86::R13, X86::R14, X86::R15, X86::RBP, X86::RAX, X86::ZMM0, X86::ZMM1, X86::ZMM2, X86::ZMM3, X86::ZMM4, X86::ZMM5, X86::ZMM6, X86::ZMM7, X86::ZMM8, X86::ZMM9, X86::ZMM10, X86::ZMM11, X86::ZMM12, X86::ZMM13, X86::ZMM14, X86::ZMM15, X86::ZMM16, X86::ZMM17, X86::ZMM18, X86::ZMM19, X86::ZMM20, X86::ZMM21, X86::ZMM22, X86::ZMM23, X86::ZMM24, X86::ZMM25, X86::ZMM26, X86::ZMM27, X86::ZMM28, X86::ZMM29, X86::ZMM30, X86::ZMM31, X86::K0, X86::K1, X86::K2, X86::K3, X86::K4, X86::K5, X86::K6, X86::K7, 0 }; |
| static const uint32_t CSR_64_AllRegs_AVX512_RegMask[] = { 0x0fefaffe, 0x0e9f97e1, 0x00000000, 0xe01fe000, 0xffffe01f, 0xffffffff, 0xffffffff, 0xffffffff, 0x001fffff, }; |
| static const MCPhysReg CSR_64_AllRegs_NoSSE_SaveList[] = { X86::RAX, X86::RBX, X86::RCX, X86::RDX, X86::RSI, X86::RDI, X86::R8, X86::R9, X86::R10, X86::R11, X86::R12, X86::R13, X86::R14, X86::R15, X86::RBP, 0 }; |
| static const uint32_t CSR_64_AllRegs_NoSSE_RegMask[] = { 0x0fefaffe, 0x0e9f97e1, 0x00000000, 0xe0000000, 0x0000001f, 0x00000000, 0x00000000, 0xffffe000, 0x001fffff, }; |
| static const MCPhysReg CSR_64_CXX_TLS_Darwin_PE_SaveList[] = { X86::RBP, 0 }; |
| static const uint32_t CSR_64_CXX_TLS_Darwin_PE_RegMask[] = { 0x008001c0, 0x00010040, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, }; |
| static const MCPhysReg CSR_64_CXX_TLS_Darwin_ViaCopy_SaveList[] = { X86::RBX, X86::R12, X86::R13, X86::R14, X86::R15, X86::RCX, X86::RDX, X86::RSI, X86::R8, X86::R9, X86::R10, X86::R11, 0 }; |
| static const uint32_t CSR_64_CXX_TLS_Darwin_ViaCopy_RegMask[] = { 0x0b28ae30, 0x0e961581, 0x00000000, 0xe0000000, 0x0000001f, 0x00000000, 0x00000000, 0xffffe000, 0x001fffff, }; |
| static const MCPhysReg CSR_64_HHVM_SaveList[] = { X86::R12, 0 }; |
| static const uint32_t CSR_64_HHVM_RegMask[] = { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000000, 0x02020000, 0x00020202, }; |
| static const MCPhysReg CSR_64_Intel_OCL_BI_SaveList[] = { X86::RBX, X86::R12, X86::R13, X86::R14, X86::R15, X86::RBP, X86::XMM8, X86::XMM9, X86::XMM10, X86::XMM11, X86::XMM12, X86::XMM13, X86::XMM14, X86::XMM15, 0 }; |
| static const uint32_t CSR_64_Intel_OCL_BI_RegMask[] = { 0x018003f0, 0x000300c0, 0x00000000, 0x00000000, 0x1fe0001e, 0x00000000, 0x00000000, 0x1e1e0000, 0x001e1e1e, }; |
| static const MCPhysReg CSR_64_Intel_OCL_BI_AVX_SaveList[] = { X86::RBX, X86::R12, X86::R13, X86::R14, X86::R15, X86::RBP, X86::YMM8, X86::YMM9, X86::YMM10, X86::YMM11, X86::YMM12, X86::YMM13, X86::YMM14, X86::YMM15, 0 }; |
| static const uint32_t CSR_64_Intel_OCL_BI_AVX_RegMask[] = { 0x018003f0, 0x000300c0, 0x00000000, 0x00000000, 0x1fe0001e, 0x1fe00000, 0x00000000, 0x1e1e0000, 0x001e1e1e, }; |
| static const MCPhysReg CSR_64_Intel_OCL_BI_AVX512_SaveList[] = { X86::RBX, X86::RDI, X86::RSI, X86::R14, X86::R15, X86::ZMM16, X86::ZMM17, X86::ZMM18, X86::ZMM19, X86::ZMM20, X86::ZMM21, X86::ZMM22, X86::ZMM23, X86::ZMM24, X86::ZMM25, X86::ZMM26, X86::ZMM27, X86::ZMM28, X86::ZMM29, X86::ZMM30, X86::ZMM31, X86::K4, X86::K5, X86::K6, X86::K7, 0 }; |
| static const uint32_t CSR_64_Intel_OCL_BI_AVX512_RegMask[] = { 0x05070230, 0x0e8a1281, 0x00000000, 0x001e0000, 0xe0000018, 0xe0001fff, 0xe0001fff, 0x18181fff, 0x00181818, }; |
| static const MCPhysReg CSR_64_MostRegs_SaveList[] = { X86::RBX, X86::RCX, X86::RDX, X86::RSI, X86::RDI, X86::R8, X86::R9, X86::R10, X86::R11, X86::R12, X86::R13, X86::R14, X86::R15, X86::RBP, X86::XMM0, X86::XMM1, X86::XMM2, X86::XMM3, X86::XMM4, X86::XMM5, X86::XMM6, X86::XMM7, X86::XMM8, X86::XMM9, X86::XMM10, X86::XMM11, X86::XMM12, X86::XMM13, X86::XMM14, X86::XMM15, 0 }; |
| static const uint32_t CSR_64_MostRegs_RegMask[] = { 0x0fafaff0, 0x0e9f17c1, 0x00000000, 0xe0000000, 0x1fffe01f, 0x00000000, 0x00000000, 0xffffe000, 0x001fffff, }; |
| static const MCPhysReg CSR_64_RT_AllRegs_SaveList[] = { X86::RBX, X86::R12, X86::R13, X86::R14, X86::R15, X86::RBP, X86::RAX, X86::RCX, X86::RDX, X86::RSI, X86::RDI, X86::R8, X86::R9, X86::R10, X86::RSP, X86::XMM0, X86::XMM1, X86::XMM2, X86::XMM3, X86::XMM4, X86::XMM5, X86::XMM6, X86::XMM7, X86::XMM8, X86::XMM9, X86::XMM10, X86::XMM11, X86::XMM12, X86::XMM13, X86::XMM14, X86::XMM15, 0 }; |
| static const uint32_t CSR_64_RT_AllRegs_RegMask[] = { 0x0fefaffe, 0x7f9fb7e3, 0x00000000, 0xe0000000, 0x1fffe01e, 0x00000000, 0x00000000, 0xfefee000, 0x001efefe, }; |
| static const MCPhysReg CSR_64_RT_AllRegs_AVX_SaveList[] = { X86::RBX, X86::R12, X86::R13, X86::R14, X86::R15, X86::RBP, X86::RAX, X86::RCX, X86::RDX, X86::RSI, X86::RDI, X86::R8, X86::R9, X86::R10, X86::RSP, X86::YMM0, X86::YMM1, X86::YMM2, X86::YMM3, X86::YMM4, X86::YMM5, X86::YMM6, X86::YMM7, X86::YMM8, X86::YMM9, X86::YMM10, X86::YMM11, X86::YMM12, X86::YMM13, X86::YMM14, X86::YMM15, 0 }; |
| static const uint32_t CSR_64_RT_AllRegs_AVX_RegMask[] = { 0x0fefaffe, 0x7f9fb7e3, 0x00000000, 0xe0000000, 0x1fffe01e, 0x1fffe000, 0x00000000, 0xfefee000, 0x001efefe, }; |
| static const MCPhysReg CSR_64_RT_MostRegs_SaveList[] = { X86::RBX, X86::R12, X86::R13, X86::R14, X86::R15, X86::RBP, X86::RAX, X86::RCX, X86::RDX, X86::RSI, X86::RDI, X86::R8, X86::R9, X86::R10, X86::RSP, 0 }; |
| static const uint32_t CSR_64_RT_MostRegs_RegMask[] = { 0x0fefaffe, 0x7f9fb7e3, 0x00000000, 0xe0000000, 0x0000001e, 0x00000000, 0x00000000, 0xfefee000, 0x001efefe, }; |
| static const MCPhysReg CSR_64_SwiftError_SaveList[] = { X86::RBX, X86::R13, X86::R14, X86::R15, X86::RBP, 0 }; |
| static const uint32_t CSR_64_SwiftError_RegMask[] = { 0x018003f0, 0x000300c0, 0x00000000, 0x00000000, 0x0000001c, 0x00000000, 0x00000000, 0x1c1c0000, 0x001c1c1c, }; |
| static const MCPhysReg CSR_64_TLS_Darwin_SaveList[] = { X86::RBX, X86::R12, X86::R13, X86::R14, X86::R15, X86::RBP, X86::RCX, X86::RDX, X86::RSI, X86::R8, X86::R9, X86::R10, X86::R11, 0 }; |
| static const uint32_t CSR_64_TLS_Darwin_RegMask[] = { 0x0ba8aff0, 0x0e9715c1, 0x00000000, 0xe0000000, 0x0000001f, 0x00000000, 0x00000000, 0xffffe000, 0x001fffff, }; |
| static const MCPhysReg CSR_NoRegs_SaveList[] = { 0 }; |
| static const uint32_t CSR_NoRegs_RegMask[] = { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, }; |
| static const MCPhysReg CSR_SysV64_RegCall_SaveList[] = { X86::RBX, X86::RBP, X86::RSP, X86::R12, X86::R13, X86::R14, X86::R15, X86::XMM8, X86::XMM9, X86::XMM10, X86::XMM11, X86::XMM12, X86::XMM13, X86::XMM14, X86::XMM15, 0 }; |
| static const uint32_t CSR_SysV64_RegCall_RegMask[] = { 0x018003f0, 0x710320c2, 0x00000000, 0x00000000, 0x1fe0001e, 0x00000000, 0x00000000, 0x1e1e0000, 0x001e1e1e, }; |
| static const MCPhysReg CSR_SysV64_RegCall_NoSSE_SaveList[] = { X86::RBX, X86::RBP, X86::RSP, X86::R12, X86::R13, X86::R14, X86::R15, 0 }; |
| static const uint32_t CSR_SysV64_RegCall_NoSSE_RegMask[] = { 0x018003f0, 0x710320c2, 0x00000000, 0x00000000, 0x0000001e, 0x00000000, 0x00000000, 0x1e1e0000, 0x001e1e1e, }; |
| static const MCPhysReg CSR_Win64_SaveList[] = { X86::RBX, X86::RBP, X86::RDI, X86::RSI, X86::R12, X86::R13, X86::R14, X86::R15, X86::XMM6, X86::XMM7, X86::XMM8, X86::XMM9, X86::XMM10, X86::XMM11, X86::XMM12, X86::XMM13, X86::XMM14, X86::XMM15, 0 }; |
| static const uint32_t CSR_Win64_RegMask[] = { 0x058703f0, 0x0e8b12c1, 0x00000000, 0x00000000, 0x1ff8001e, 0x00000000, 0x00000000, 0x1e1e0000, 0x001e1e1e, }; |
| static const MCPhysReg CSR_Win64_Intel_OCL_BI_AVX_SaveList[] = { X86::RBX, X86::RBP, X86::RDI, X86::RSI, X86::R12, X86::R13, X86::R14, X86::R15, X86::YMM6, X86::YMM7, X86::YMM8, X86::YMM9, X86::YMM10, X86::YMM11, X86::YMM12, X86::YMM13, X86::YMM14, X86::YMM15, 0 }; |
| static const uint32_t CSR_Win64_Intel_OCL_BI_AVX_RegMask[] = { 0x058703f0, 0x0e8b12c1, 0x00000000, 0x00000000, 0x1ff8001e, 0x1ff80000, 0x00000000, 0x1e1e0000, 0x001e1e1e, }; |
| static const MCPhysReg CSR_Win64_Intel_OCL_BI_AVX512_SaveList[] = { X86::RBX, X86::RBP, X86::RDI, X86::RSI, X86::R12, X86::R13, X86::R14, X86::R15, X86::ZMM6, X86::ZMM7, X86::ZMM8, X86::ZMM9, X86::ZMM10, X86::ZMM11, X86::ZMM12, X86::ZMM13, X86::ZMM14, X86::ZMM15, X86::ZMM16, X86::ZMM17, X86::ZMM18, X86::ZMM19, X86::ZMM20, X86::ZMM21, X86::K4, X86::K5, X86::K6, X86::K7, 0 }; |
| static const uint32_t CSR_Win64_Intel_OCL_BI_AVX512_RegMask[] = { 0x058703f0, 0x0e8b12c1, 0x00000000, 0x001e0000, 0xfff8001e, 0xfff80007, 0xfff80007, 0x1e1e0007, 0x001e1e1e, }; |
| static const MCPhysReg CSR_Win64_NoSSE_SaveList[] = { X86::RBX, X86::RBP, X86::RDI, X86::RSI, X86::R12, X86::R13, X86::R14, X86::R15, 0 }; |
| static const uint32_t CSR_Win64_NoSSE_RegMask[] = { 0x058703f0, 0x0e8b12c1, 0x00000000, 0x00000000, 0x0000001e, 0x00000000, 0x00000000, 0x1e1e0000, 0x001e1e1e, }; |
| static const MCPhysReg CSR_Win64_RegCall_SaveList[] = { X86::RBX, X86::RBP, X86::RSP, X86::R10, X86::R11, X86::R12, X86::R13, X86::R14, X86::R15, X86::XMM8, X86::XMM9, X86::XMM10, X86::XMM11, X86::XMM12, X86::XMM13, X86::XMM14, X86::XMM15, 0 }; |
| static const uint32_t CSR_Win64_RegCall_RegMask[] = { 0x018003f0, 0x710320c2, 0x00000000, 0x80000000, 0x1fe0001f, 0x00000000, 0x00000000, 0x9f9f8000, 0x001f9f9f, }; |
| static const MCPhysReg CSR_Win64_RegCall_NoSSE_SaveList[] = { X86::RBX, X86::RBP, X86::RSP, X86::R10, X86::R11, X86::R12, X86::R13, X86::R14, X86::R15, 0 }; |
| static const uint32_t CSR_Win64_RegCall_NoSSE_RegMask[] = { 0x018003f0, 0x710320c2, 0x00000000, 0x80000000, 0x0000001f, 0x00000000, 0x00000000, 0x9f9f8000, 0x001f9f9f, }; |
| static const MCPhysReg CSR_Win64_SwiftError_SaveList[] = { X86::RBX, X86::RBP, X86::RDI, X86::RSI, X86::R13, X86::R14, X86::R15, X86::XMM6, X86::XMM7, X86::XMM8, X86::XMM9, X86::XMM10, X86::XMM11, X86::XMM12, X86::XMM13, X86::XMM14, X86::XMM15, 0 }; |
| static const uint32_t CSR_Win64_SwiftError_RegMask[] = { 0x058703f0, 0x0e8b12c1, 0x00000000, 0x00000000, 0x1ff8001c, 0x00000000, 0x00000000, 0x1c1c0000, 0x001c1c1c, }; |
| |
| |
| ArrayRef<const uint32_t *> X86GenRegisterInfo::getRegMasks() const { |
| static const uint32_t *const Masks[] = { |
| CSR_32_RegMask, |
| CSR_32EHRet_RegMask, |
| CSR_32_AllRegs_RegMask, |
| CSR_32_AllRegs_AVX_RegMask, |
| CSR_32_AllRegs_AVX512_RegMask, |
| CSR_32_AllRegs_SSE_RegMask, |
| CSR_32_RegCall_RegMask, |
| CSR_32_RegCall_NoSSE_RegMask, |
| CSR_64_RegMask, |
| CSR_64EHRet_RegMask, |
| CSR_64_AllRegs_RegMask, |
| CSR_64_AllRegs_AVX_RegMask, |
| CSR_64_AllRegs_AVX512_RegMask, |
| CSR_64_AllRegs_NoSSE_RegMask, |
| CSR_64_CXX_TLS_Darwin_PE_RegMask, |
| CSR_64_CXX_TLS_Darwin_ViaCopy_RegMask, |
| CSR_64_HHVM_RegMask, |
| CSR_64_Intel_OCL_BI_RegMask, |
| CSR_64_Intel_OCL_BI_AVX_RegMask, |
| CSR_64_Intel_OCL_BI_AVX512_RegMask, |
| CSR_64_MostRegs_RegMask, |
| CSR_64_RT_AllRegs_RegMask, |
| CSR_64_RT_AllRegs_AVX_RegMask, |
| CSR_64_RT_MostRegs_RegMask, |
| CSR_64_SwiftError_RegMask, |
| CSR_64_TLS_Darwin_RegMask, |
| CSR_NoRegs_RegMask, |
| CSR_SysV64_RegCall_RegMask, |
| CSR_SysV64_RegCall_NoSSE_RegMask, |
| CSR_Win64_RegMask, |
| CSR_Win64_Intel_OCL_BI_AVX_RegMask, |
| CSR_Win64_Intel_OCL_BI_AVX512_RegMask, |
| CSR_Win64_NoSSE_RegMask, |
| CSR_Win64_RegCall_RegMask, |
| CSR_Win64_RegCall_NoSSE_RegMask, |
| CSR_Win64_SwiftError_RegMask, |
| }; |
| return makeArrayRef(Masks); |
| } |
| |
| ArrayRef<const char *> X86GenRegisterInfo::getRegMaskNames() const { |
| static const char *const Names[] = { |
| "CSR_32", |
| "CSR_32EHRet", |
| "CSR_32_AllRegs", |
| "CSR_32_AllRegs_AVX", |
| "CSR_32_AllRegs_AVX512", |
| "CSR_32_AllRegs_SSE", |
| "CSR_32_RegCall", |
| "CSR_32_RegCall_NoSSE", |
| "CSR_64", |
| "CSR_64EHRet", |
| "CSR_64_AllRegs", |
| "CSR_64_AllRegs_AVX", |
| "CSR_64_AllRegs_AVX512", |
| "CSR_64_AllRegs_NoSSE", |
| "CSR_64_CXX_TLS_Darwin_PE", |
| "CSR_64_CXX_TLS_Darwin_ViaCopy", |
| "CSR_64_HHVM", |
| "CSR_64_Intel_OCL_BI", |
| "CSR_64_Intel_OCL_BI_AVX", |
| "CSR_64_Intel_OCL_BI_AVX512", |
| "CSR_64_MostRegs", |
| "CSR_64_RT_AllRegs", |
| "CSR_64_RT_AllRegs_AVX", |
| "CSR_64_RT_MostRegs", |
| "CSR_64_SwiftError", |
| "CSR_64_TLS_Darwin", |
| "CSR_NoRegs", |
| "CSR_SysV64_RegCall", |
| "CSR_SysV64_RegCall_NoSSE", |
| "CSR_Win64", |
| "CSR_Win64_Intel_OCL_BI_AVX", |
| "CSR_Win64_Intel_OCL_BI_AVX512", |
| "CSR_Win64_NoSSE", |
| "CSR_Win64_RegCall", |
| "CSR_Win64_RegCall_NoSSE", |
| "CSR_Win64_SwiftError", |
| }; |
| return makeArrayRef(Names); |
| } |
| |
| const X86FrameLowering * |
| X86GenRegisterInfo::getFrameLowering(const MachineFunction &MF) { |
| return static_cast<const X86FrameLowering *>( |
| MF.getSubtarget().getFrameLowering()); |
| } |
| |
| } // end namespace llvm |
| |
| #endif // GET_REGINFO_TARGET_DESC |
| |