Rename isOperand() to isOperandOf() (and other similar methods). It always confuses me.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47872 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng
2008-03-04 00:41:45 +00:00
parent 07b7ea1a48
commit 917be6814e
5 changed files with 27 additions and 27 deletions

View File

@@ -825,8 +825,8 @@ public:
return SDOperand(Val, R);
}
// isOperand - Return true if this node is an operand of N.
bool isOperand(SDNode *N) const;
// isOperandOf - Return true if this node is an operand of N.
bool isOperandOf(SDNode *N) const;
/// getValueType - Return the ValueType of the referenced return value.
///
@@ -969,19 +969,19 @@ public:
/// value. This method ignores uses of other values defined by this operation.
bool hasAnyUseOfValue(unsigned Value) const;
/// isOnlyUse - Return true if this node is the only use of N.
/// isOnlyUseOf - Return true if this node is the only use of N.
///
bool isOnlyUse(SDNode *N) const;
bool isOnlyUseOf(SDNode *N) const;
/// isOperand - Return true if this node is an operand of N.
/// isOperandOf - Return true if this node is an operand of N.
///
bool isOperand(SDNode *N) const;
bool isOperandOf(SDNode *N) const;
/// 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.
/// isPredecessorOf - 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;
bool isPredecessorOf(SDNode *N) const;
/// getNumOperands - Return the number of values used by this operation.
///