Add namespace specifier, add flags used by the X86 BE
authorChris Lattner <sabre@nondot.org>
Tue, 29 Jul 2003 23:02:49 +0000 (23:02 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 29 Jul 2003 23:02:49 +0000 (23:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7403 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Target.td

index 6d2f460bd53f5c5d069852c83b1a08719ec03429..68fdc36ba326845fdb62a5f49eeb9d8b637057a2 100644 (file)
@@ -8,8 +8,8 @@
 
 
 // Value types - These values correspond to the register types defined in the
-// MRegsterInfo.h file.
-class ValueType {}
+// ValueTypes.h file.
+class ValueType { string Namespace = "MVT"; }
 def i1   : ValueType;    // One bit boolean value
 def i8   : ValueType;    // 8-bit integer value
 def i16  : ValueType;    // 16-bit integer value
@@ -35,7 +35,9 @@ class Instruction {
 
   // These bits capture information about the high-level semantics of the
   // instruction.
-  bit isReturn     = 0;      // Is this instruction a return instruction?
-  bit isBranch     = 0;      // Is this instruction a branch instruction?
-  bit isCall       = 0;      // Is this instruction a call instruction?
+  bit isReturn     = 0;     // Is this instruction a return instruction?
+  bit isBranch     = 0;     // Is this instruction a branch instruction?
+  bit isCall       = 0;     // Is this instruction a call instruction?
+  bit isTwoAddress = 0;     // Is this a two address instruction?
+  bit isTerminator = 0;     // Is this part of the terminator for a basic block?
 }