mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-25 22:12:57 +02:00
d25a097994
We can instruction select exactly one instruction 'ret void'. Wow. llvm-svn: 4284
20 lines
604 B
C++
20 lines
604 B
C++
//===- X86RegisterInfo.cpp - X86 Register Information ---------------------===//
|
|
//
|
|
// This file contains the X86 implementation of the MRegisterInfo class.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "X86RegisterInfo.h"
|
|
|
|
// X86Regs - Turn the X86RegisterInfo.def file into a bunch of register
|
|
// descriptors
|
|
//
|
|
static const MRegisterDesc X86Regs[] = {
|
|
#define R(ENUM, NAME, FLAGS, TSFLAGS) { NAME, FLAGS, TSFLAGS },
|
|
#include "X86RegisterInfo.def"
|
|
};
|
|
|
|
X86RegisterInfo::X86RegisterInfo()
|
|
: MRegisterInfo(X86Regs, sizeof(X86Regs)/sizeof(X86Regs[0])) {
|
|
}
|