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

Chris Lattner lattner at cs.uiuc.edu
Wed Jan 12 10:37:48 PST 2005



Changes in directory llvm/include/llvm/CodeGen:

SelectionDAGNodes.h updated: 1.10 -> 1.11
---
Log message:

New method.


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

Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
diff -u llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.10 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.11
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.10	Wed Jan 12 12:11:36 2005
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h	Wed Jan 12 12:37:33 2005
@@ -353,6 +353,11 @@
   bool use_empty() const { return Uses.empty(); }
   bool hasOneUse() const { return Uses.size() == 1; }
 
+  /// hasNUsesOfValue - Return true if there are exactly NUSES uses of the
+  /// indicated value.  This method ignores uses of other values defined by this
+  /// operation.
+  bool hasNUsesOfValue(unsigned NUses, unsigned Value);
+
   /// getNumOperands - Return the number of values used by this operation.
   ///
   unsigned getNumOperands() const { return Operands.size(); }






More information about the llvm-commits mailing list