[llvm-commits] CVS: llvm/lib/Target/X86/X86.h
Chris Lattner
lattner at cs.uiuc.edu
Mon Aug 4 00:02:36 PDT 2003
Changes in directory llvm/lib/Target/X86:
X86.h updated: 1.15 -> 1.16
---
Log message:
Switch over to tablegen generated header files
---
Diffs of the changes:
Index: llvm/lib/Target/X86/X86.h
diff -u llvm/lib/Target/X86/X86.h:1.15 llvm/lib/Target/X86/X86.h:1.16
--- llvm/lib/Target/X86/X86.h:1.15 Sat Jul 26 18:49:58 2003
+++ llvm/lib/Target/X86/X86.h Sun Aug 3 10:48:55 2003
@@ -13,7 +13,7 @@
class Pass;
/// createX86SimpleInstructionSelector - This pass converts an LLVM function
-/// into a machine code representation is a very simple peep-hole fashion. The
+/// into a machine code representation in a very simple peep-hole fashion. The
/// generated code sucks but the implementation is nice and simple.
///
Pass *createX86SimpleInstructionSelector(TargetMachine &TM);
@@ -42,18 +42,15 @@
///
Pass *createEmitX86CodeToMemory();
+// Defines symbolic names for X86 registers. This defines a mapping from
+// register name to register number.
+//
+#include "X86GenRegisterNames.inc"
+
/// X86 namespace - This namespace contains all of the register and opcode enums
/// used by the X86 backend.
///
namespace X86 {
- // Defines a large number of symbolic names for X86 registers. This defines a
- // mapping from register name to register number.
- //
- enum Register {
-#define R(ENUM, NAME, FLAGS, TSFLAGS, ALIAS_SET) ENUM,
-#include "X86RegisterInfo.def"
- };
-
// This defines a large number of symbolic names for X86 instruction opcodes.
enum Opcode {
#define I(ENUM, NAME, BASEOPCODE, FLAGS, TSFLAGS, IMPDEFS, IMPUSES) ENUM,
More information about the llvm-commits
mailing list