summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineInstr.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-04-26 19:00:32 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-04-26 19:00:32 +0000
commitfaa510726f4b40aa4495e60e4d341c6467e3fb01 (patch)
treed0a36cbcc5fdad6cb19ee21bef4c126ece184dad /include/llvm/CodeGen/MachineInstr.h
parent6bc6333a1059b0ee9b3b7c2685f4daf370ae67bd (diff)
downloadllvm-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.h4
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.