aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/TargetInstrInfo.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-11-01 23:18:32 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-11-01 23:18:32 +0000
commite6ae14e1f413987f3de31a7cad1b20a7893f8cae (patch)
tree880e3bb1527666e32c68e7c16bb7b031aad55fab /lib/Target/TargetInstrInfo.cpp
parent360c2dd25a0dc7eaed3d57af47a47ac7d12a6886 (diff)
downloadexternal_llvm-e6ae14e1f413987f3de31a7cad1b20a7893f8cae.zip
external_llvm-e6ae14e1f413987f3de31a7cad1b20a7893f8cae.tar.gz
external_llvm-e6ae14e1f413987f3de31a7cad1b20a7893f8cae.tar.bz2
Rename
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31364 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetInstrInfo.cpp')
-rw-r--r--lib/Target/TargetInstrInfo.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/TargetInstrInfo.cpp b/lib/Target/TargetInstrInfo.cpp
index 8175909..d28f1e7 100644
--- a/lib/Target/TargetInstrInfo.cpp
+++ b/lib/Target/TargetInstrInfo.cpp
@@ -38,8 +38,10 @@ TargetInstrInfo::~TargetInstrInfo() {
TargetInstrDescriptors = NULL; // reset global variable
}
+/// findTiedToSrcOperand - Returns the operand that is tied to the specified
+/// dest operand. Returns -1 if there isn't one.
int
-TargetInstrInfo::getTiedToSrcOperand(MachineOpCode Opc, unsigned OpNum) const {
+TargetInstrInfo::findTiedToSrcOperand(MachineOpCode Opc, unsigned OpNum) const {
for (unsigned i = 0, e = getNumOperands(Opc); i != e; ++i) {
if (i == OpNum)
continue;