Fix comments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31414 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng
2006-11-03 07:31:32 +00:00
parent 1a854be352
commit e6e97e66a3
2 changed files with 16 additions and 6 deletions

View File

@@ -809,13 +809,18 @@ public:
/// 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.