Rename findRegisterUseOperand to findRegisterUseOperandIdx to avoid confusion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36483 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng
2007-04-26 19:00:32 +00:00
parent 6bc6333a10
commit faa510726f
8 changed files with 15 additions and 14 deletions

View File

@@ -390,10 +390,10 @@ public:
delete removeFromParent();
}
/// findRegisterUseOperand() - Returns the operand index that is a use of
/// findRegisterUseOperandIdx() - Returns the operand index that is a use of
/// the specific register or -1 if it is not found. It further tightening
/// the search criteria to a use that kills the register if isKill is true.
int findRegisterUseOperand(unsigned Reg, bool isKill = false);
int findRegisterUseOperandIdx(unsigned Reg, bool isKill = false);
/// findRegisterDefOperand() - Returns the MachineOperand that is a def of
/// the specific register or NULL if it is not found.