diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-04-26 19:00:32 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-04-26 19:00:32 +0000 |
commit | faa510726f4b40aa4495e60e4d341c6467e3fb01 (patch) | |
tree | d0a36cbcc5fdad6cb19ee21bef4c126ece184dad /include/llvm/CodeGen/MachineInstr.h | |
parent | 6bc6333a1059b0ee9b3b7c2685f4daf370ae67bd (diff) | |
download | llvm-faa510726f4b40aa4495e60e4d341c6467e3fb01.tar.gz llvm-faa510726f4b40aa4495e60e4d341c6467e3fb01.tar.bz2 llvm-faa510726f4b40aa4495e60e4d341c6467e3fb01.tar.xz |
Rename findRegisterUseOperand to findRegisterUseOperandIdx to avoid confusion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36483 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineInstr.h')
-rw-r--r-- | include/llvm/CodeGen/MachineInstr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index 4f252673e7..a81c70e371 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -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. |