[llvm-commits] CVS: llvm/lib/Target/X86/X86.h

Chris Lattner lattner at cs.uiuc.edu
Mon Aug 4 00:00:17 PDT 2003


Changes in directory llvm/lib/Target/X86:

X86.h updated: 1.16 -> 1.17

---
Log message:

Start using tablegen'd instruction enum list


---
Diffs of the changes:

Index: llvm/lib/Target/X86/X86.h
diff -u llvm/lib/Target/X86/X86.h:1.16 llvm/lib/Target/X86/X86.h:1.17
--- llvm/lib/Target/X86/X86.h:1.16	Sun Aug  3 10:48:55 2003
+++ llvm/lib/Target/X86/X86.h	Sun Aug  3 16:57:05 2003
@@ -47,15 +47,8 @@
 //
 #include "X86GenRegisterNames.inc"
 
-/// X86 namespace - This namespace contains all of the register and opcode enums
-/// used by the X86 backend.
-///
-namespace X86 {
-  // This defines a large number of symbolic names for X86 instruction opcodes.
-  enum Opcode {
-#define I(ENUM, NAME, BASEOPCODE, FLAGS, TSFLAGS, IMPDEFS, IMPUSES) ENUM,
-#include "X86InstrInfo.def"
-  };
-}
+// Defines symbolic names for the X86 instructions.
+//
+#include "X86GenInstrNames.inc"
 
 #endif





More information about the llvm-commits mailing list