diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-01-06 23:47:07 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-01-06 23:47:07 +0000 |
commit | 30ac0467ced4627a9b84d8a1d3ca5e8706ddad63 (patch) | |
tree | 8b12d1fe8932095354d1a6a11ce9f294622abf12 /lib/Target/ARM/ARMBaseInstrInfo.h | |
parent | ce3e769c15be90463abf14bb71b5a8e1205d3661 (diff) | |
download | external_llvm-30ac0467ced4627a9b84d8a1d3ca5e8706ddad63.zip external_llvm-30ac0467ced4627a9b84d8a1d3ca5e8706ddad63.tar.gz external_llvm-30ac0467ced4627a9b84d8a1d3ca5e8706ddad63.tar.bz2 |
Add Target hook to duplicate machine instructions.
Some instructions refer to unique labels, and so cannot be trivially cloned
with CloneMachineInstr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92873 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMBaseInstrInfo.h')
-rw-r--r-- | lib/Target/ARM/ARMBaseInstrInfo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMBaseInstrInfo.h b/lib/Target/ARM/ARMBaseInstrInfo.h index 78d9135..0d9d4a7 100644 --- a/lib/Target/ARM/ARMBaseInstrInfo.h +++ b/lib/Target/ARM/ARMBaseInstrInfo.h @@ -287,6 +287,8 @@ public: const MachineInstr *Orig, const TargetRegisterInfo *TRI) const; + MachineInstr *duplicate(MachineInstr *Orig, MachineFunction &MF) const; + virtual bool isIdentical(const MachineInstr *MI, const MachineInstr *Other, const MachineRegisterInfo *MRI) const; }; |