[llvm-commits] CVS: llvm/include/llvm/Target/TargetInstrInfo.h

Evan Cheng evan.cheng at apple.com
Fri Dec 8 10:44:41 PST 2006



Changes in directory llvm/include/llvm/Target:

TargetInstrInfo.h updated: 1.108 -> 1.109
---
Log message:

Move findTiedToSrcOperand to TargetInstrDescriptor.

---
Diffs of the changes:  (+4 -5)

 TargetInstrInfo.h |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)


Index: llvm/include/llvm/Target/TargetInstrInfo.h
diff -u llvm/include/llvm/Target/TargetInstrInfo.h:1.108 llvm/include/llvm/Target/TargetInstrInfo.h:1.109
--- llvm/include/llvm/Target/TargetInstrInfo.h:1.108	Fri Dec  8 01:56:02 2006
+++ llvm/include/llvm/Target/TargetInstrInfo.h	Fri Dec  8 12:44:26 2006
@@ -139,6 +139,10 @@
     }
     return -1;
   }
+
+  /// findTiedToSrcOperand - Returns the operand that is tied to the specified
+  /// dest operand. Returns -1 if there isn't one.
+  int findTiedToSrcOperand(unsigned OpNum) const;
 };
 
 
@@ -257,11 +261,6 @@
     return get(Opcode).getOperandConstraint(OpNum, Constraint);
   }
 
-  /// findTiedToSrcOperand - Returns the operand that is tied to the specified
-  /// dest operand. Returns -1 if there isn't one.
-  int findTiedToSrcOperand(const TargetInstrDescriptor *TID,
-                           unsigned OpNum) const;
-
   /// getDWARF_LABELOpcode - Return the opcode of the target's DWARF_LABEL
   /// instruction if it has one.  This is used by codegen passes that update
   /// DWARF line number info as they modify the code.






More information about the llvm-commits mailing list