[llvm-commits] CVS: llvm/lib/Target/TargetInstrInfo.cpp

Evan Cheng evan.cheng at apple.com
Wed Nov 1 15:14:29 PST 2006



Changes in directory llvm/lib/Target:

TargetInstrInfo.cpp updated: 1.20 -> 1.21
---
Log message:

Rename

---
Diffs of the changes:  (+3 -1)

 TargetInstrInfo.cpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)


Index: llvm/lib/Target/TargetInstrInfo.cpp
diff -u llvm/lib/Target/TargetInstrInfo.cpp:1.20 llvm/lib/Target/TargetInstrInfo.cpp:1.21
--- llvm/lib/Target/TargetInstrInfo.cpp:1.20	Wed Nov  1 17:00:31 2006
+++ llvm/lib/Target/TargetInstrInfo.cpp	Wed Nov  1 17:14:15 2006
@@ -38,8 +38,10 @@
   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;






More information about the llvm-commits mailing list