1 //===- X86RegisterInfo.cpp - X86 Register Information ---------------------===//
3 // This file contains the X86 implementation of the MRegisterInfo class.
5 //===----------------------------------------------------------------------===//
7 #include "X86RegisterInfo.h"
9 // X86Regs - Turn the X86RegisterInfo.def file into a bunch of register
12 static const MRegisterDesc X86Regs[] = {
13 #define R(ENUM, NAME, FLAGS, TSFLAGS) { NAME, FLAGS, TSFLAGS },
14 #include "X86RegisterInfo.def"
17 X86RegisterInfo::X86RegisterInfo()
18 : MRegisterInfo(X86Regs, sizeof(X86Regs)/sizeof(X86Regs[0])) {