Changes in directory llvm/include/llvm/CodeGen:
SelectionDAGNodes.h updated: 1.99 -> 1.100 --- Log message: * Added SDNode::isOnlyUse(). * Fix hasNUsesOfValue(), it should be const. --- Diffs of the changes: (+4 -1) SelectionDAGNodes.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletion(-) Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h diff -u llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.99 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.100 --- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.99 Tue Jan 31 16:21:33 2006 +++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h Sun Feb 5 00:29:23 2006 @@ -619,7 +619,10 @@ /// 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); + bool hasNUsesOfValue(unsigned NUses, unsigned Value) const; + + // isOnlyUse - Return true if this node is the only use of N. + bool isOnlyUse(SDNode *N) const; /// getNumOperands - Return the number of values used by this operation. /// _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits