diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-12-08 18:45:48 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-12-08 18:45:48 +0000 |
commit | cc22a7a2adfea3fc318a6d8ca0c692a8e892105b (patch) | |
tree | b8d278f060b0b31ef4360882cab15373769f78a1 /include/llvm/Target/TargetInstrInfo.h | |
parent | 6ec10ef00ca908e53ee22df013a8c1a5c5d90db9 (diff) | |
download | external_llvm-cc22a7a2adfea3fc318a6d8ca0c692a8e892105b.zip external_llvm-cc22a7a2adfea3fc318a6d8ca0c692a8e892105b.tar.gz external_llvm-cc22a7a2adfea3fc318a6d8ca0c692a8e892105b.tar.bz2 |
Move findTiedToSrcOperand to TargetInstrDescriptor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32366 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetInstrInfo.h')
-rw-r--r-- | include/llvm/Target/TargetInstrInfo.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index 312e6c3..7fb594d 100644 --- a/include/llvm/Target/TargetInstrInfo.h +++ b/include/llvm/Target/TargetInstrInfo.h @@ -139,6 +139,10 @@ public: } 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 @@ public: 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. |