Rename isOnlyUseOf to isOnlyUserOf.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54124 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2008-07-27 18:06:42 +00:00
parent 7a24cdc4ed
commit 2a6299543f
2 changed files with 4 additions and 4 deletions

View File

@ -1199,9 +1199,9 @@ public:
/// value. This method ignores uses of other values defined by this operation.
bool hasAnyUseOfValue(unsigned Value) const;
/// isOnlyUseOf - Return true if this node is the only use of N.
/// isOnlyUserOf - Return true if this node is the only use of N.
///
bool isOnlyUseOf(SDNode *N) const;
bool isOnlyUserOf(SDNode *N) const;
/// isOperandOf - Return true if this node is an operand of N.
///

View File

@ -4581,9 +4581,9 @@ bool SDNode::hasAnyUseOfValue(unsigned Value) const {
}
/// isOnlyUseOf - Return true if this node is the only use of N.
/// isOnlyUserOf - Return true if this node is the only use of N.
///
bool SDNode::isOnlyUseOf(SDNode *N) const {
bool SDNode::isOnlyUserOf(SDNode *N) const {
bool Seen = false;
for (SDNode::use_iterator I = N->use_begin(), E = N->use_end(); I != E; ++I) {
SDNode *User = I->getUser();