Changes in directory llvm/include/llvm/CodeGen:
SelectionDAGNodes.h updated: 1.160 -> 1.161 --- Log message: Fix comments. --- Diffs of the changes: (+8 -3) SelectionDAGNodes.h | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h diff -u llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.160 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.161 --- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.160 Thu Nov 2 21:02:18 2006 +++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h Fri Nov 3 01:29:55 2006 @@ -809,13 +809,18 @@ /// operation. bool hasNUsesOfValue(unsigned NUses, unsigned Value) const; - // isOnlyUse - Return true if this node is the only use of N. + /// isOnlyUse - Return true if this node is the only use of N. + /// bool isOnlyUse(SDNode *N) const; - // isOperand - Return true if this node is an operand of N. + /// isOperand - Return true if this node is an operand of N. + /// bool isOperand(SDNode *N) const; - // isPredecessor - Return true if this node is a predecessor of N. + /// isPredecessor - Return true if this node is a predecessor of N. This node + /// is either an operand of N or it can be reached by recursively traversing + /// up the operands. + /// NOTE: this is an expensive method. Use it carefully. bool isPredecessor(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