[llvm-commits] CVS: llvm/include/llvm/CodeGen/SelectionDAG.h

Chris Lattner lattner at cs.uiuc.edu
Wed Aug 24 15:44:04 PDT 2005



Changes in directory llvm/include/llvm/CodeGen:

SelectionDAG.h updated: 1.47 -> 1.48
---
Log message:

add two new methods


---
Diffs of the changes:  (+5 -0)

 SelectionDAG.h |    5 +++++
 1 files changed, 5 insertions(+)


Index: llvm/include/llvm/CodeGen/SelectionDAG.h
diff -u llvm/include/llvm/CodeGen/SelectionDAG.h:1.47 llvm/include/llvm/CodeGen/SelectionDAG.h:1.48
--- llvm/include/llvm/CodeGen/SelectionDAG.h:1.47	Sun Aug 21 17:30:42 2005
+++ llvm/include/llvm/CodeGen/SelectionDAG.h	Wed Aug 24 17:43:53 2005
@@ -260,11 +260,16 @@
                           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;
 






More information about the llvm-commits mailing list