add a couple of enum values
authorChris Lattner <sabre@nondot.org>
Fri, 17 Mar 2006 19:53:41 +0000 (19:53 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 17 Mar 2006 19:53:41 +0000 (19:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26829 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAGNodes.h

index 0784e875fc19820348b529a8f6dd99ea36814a46..e04108e694780450c2f193a6e5a018366590e81f 100644 (file)
@@ -146,7 +146,12 @@ namespace ISD {
     // are both floating point.  X and the result must have the same type.
     // FCOPYSIGN(f32, f64) is allowed.
     FCOPYSIGN,
+
+    /// INSERT_VECTOR_ELT(VECTOR, VAL, IDX) - Returns VECTOR (a legal packed
+    /// type) with the element at IDX replaced with VAL.
+    INSERT_VECTOR_ELT,
     
+    // BINOP(LHS, RHS,  COUNT,TYPE)
     // Simple abstract vector operators.  Unlike the integer and floating point
     // binary operators, these nodes also take two additional operands:
     // a constant element count, and a value type node indicating the type of
@@ -156,6 +161,12 @@ namespace ISD {
     VADD, VSUB, VMUL, VSDIV, VUDIV,
     VAND, VOR, VXOR,
 
+    /// VINSERT_VECTOR_ELT(VECTOR, VAL, IDX,  COUNT,TYPE) - Given a vector
+    /// VECTOR, an element ELEMENT, and a (potentially variable) index IDX,
+    /// return an vector with the specified element of VECTOR replaced with VAL.
+    /// COUNT and TYPE specify the type of vector, as is standard for V* nodes.
+    VINSERT_VECTOR_ELT,
+    
     // MULHU/MULHS - Multiply high - Multiply two integers of type iN, producing
     // an unsigned/signed value of type i[2*n], then return the top part.
     MULHU, MULHS,
@@ -168,7 +179,7 @@ namespace ISD {
     // Counting operators
     CTTZ, CTLZ, CTPOP,
 
-    // Select
+    // Select(COND, TRUEVAL, FALSEVAL)
     SELECT, 
     
     // Select with condition operator - This selects between a true value and