[llvm-commits] CVS: llvm/lib/Target/Target.td

Chris Lattner lattner at cs.uiuc.edu
Tue Jul 29 18:04:02 PDT 2003


Changes in directory llvm/lib/Target:

Target.td updated: 1.2 -> 1.3

---
Log message:

Add namespace specifier, add flags used by the X86 BE


---
Diffs of the changes:

Index: llvm/lib/Target/Target.td
diff -u llvm/lib/Target/Target.td:1.2 llvm/lib/Target/Target.td:1.3
--- llvm/lib/Target/Target.td:1.2	Sun Jul 27 23:24:59 2003
+++ llvm/lib/Target/Target.td	Tue Jul 29 18:02:49 2003
@@ -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 @@
 
   // 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?
 }





More information about the llvm-commits mailing list