add two new methods
authorChris Lattner <sabre@nondot.org>
Wed, 24 Aug 2005 22:43:53 +0000 (22:43 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 24 Aug 2005 22:43:53 +0000 (22:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23024 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAG.h

index 83c3047906f38e503e025c49e6fd008feef102e3..e1826de8ec065c6f0aec6111c43e45e2f67f6289 100644 (file)
@@ -260,11 +260,16 @@ public:
                           SDOperand Op4, SDOperand Op5) {
     return getNode(ISD::BUILTIN_OP_END+Opcode, VT, Op1, Op2, Op3, Op4, Op5);
   }
+  SDOperand getTargetNode(unsigned Opcode, MVT::ValueType VT,
+                          std::vector<SDOperand> &Ops) {
+    return getNode(ISD::BUILTIN_OP_END+Opcode, VT, Ops);
+  }
   
   /// ReplaceAllUsesWith - Modify anything using 'From' to use 'To' instead.
   /// This can cause recursive merging of nodes in the DAG.
   ///
   void ReplaceAllUsesWith(SDNode *From, SDNode *To);
+  void ReplaceAllUsesWith(SDNode *From, const std::vector<SDOperand> &To);
   
   void dump() const;