[llvm-commits] CVS: llvm/lib/Target/Target.td
Chris Lattner
lattner at cs.uiuc.edu
Mon Aug 11 10:24:01 PDT 2003
Changes in directory llvm/lib/Target:
Target.td updated: 1.17 -> 1.18
---
Log message:
add support for more nodes
---
Diffs of the changes:
Index: llvm/lib/Target/Target.td
diff -u llvm/lib/Target/Target.td:1.17 llvm/lib/Target/Target.td:1.18
--- llvm/lib/Target/Target.td:1.17 Sun Aug 10 14:51:16 2003
+++ llvm/lib/Target/Target.td Mon Aug 11 10:23:05 2003
@@ -184,11 +184,15 @@
// Arithmetic...
def plus : BuiltinDagNode<DNVT_arg0, [DNVT_val, DNVT_arg0], "Plus">;
def minus : BuiltinDagNode<DNVT_arg0, [DNVT_val, DNVT_arg0], "Minus">;
-//def mult : DagNode<2, DNVT_arg0>;
-//def div : DagNode<2, DNVT_arg0>;
-//def udiv : DagNode<2, DNVT_arg0>;
-//def mod : DagNode<2, DNVT_arg0>;
-//def umod : DagNode<2, DNVT_arg0>;
+def times : BuiltinDagNode<DNVT_arg0, [DNVT_val, DNVT_arg0], "Times">;
+def sdiv : BuiltinDagNode<DNVT_arg0, [DNVT_val, DNVT_arg0], "SDiv">;
+def udiv : BuiltinDagNode<DNVT_arg0, [DNVT_val, DNVT_arg0], "UDiv">;
+def srem : BuiltinDagNode<DNVT_arg0, [DNVT_val, DNVT_arg0], "SRem">;
+def urem : BuiltinDagNode<DNVT_arg0, [DNVT_val, DNVT_arg0], "URem">;
+def and : BuiltinDagNode<DNVT_arg0, [DNVT_val, DNVT_arg0], "And">;
+def or : BuiltinDagNode<DNVT_arg0, [DNVT_val, DNVT_arg0], "Or">;
+def xor : BuiltinDagNode<DNVT_arg0, [DNVT_val, DNVT_arg0], "Xor">;
+
def load : DagNode<DNVT_val, [DNVT_ptr]>;
//def store : DagNode<2, DNVT_Void>;
More information about the llvm-commits
mailing list