summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMBaseInstrInfo.h
diff options
context:
space:
mode:
authorTim Northover <Tim.Northover@arm.com>2013-04-21 11:57:07 +0000
committerTim Northover <Tim.Northover@arm.com>2013-04-21 11:57:07 +0000
commit4cc1407b84dc6dbbc0d62b1d1b8db7c0ddec86cc (patch)
tree9bff7608272aef75d3b7f50402d567ee277424dc /lib/Target/ARM/ARMBaseInstrInfo.h
parent7aad829243dd0b14515e556f87bfada139c56f81 (diff)
downloadllvm-4cc1407b84dc6dbbc0d62b1d1b8db7c0ddec86cc.tar.gz
llvm-4cc1407b84dc6dbbc0d62b1d1b8db7c0ddec86cc.tar.bz2
llvm-4cc1407b84dc6dbbc0d62b1d1b8db7c0ddec86cc.tar.xz
ARM: Use ldrd/strd to spill 64-bit pairs when available.
This allows common sp-offsets to be part of the instruction and is probably faster on modern CPUs too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179977 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMBaseInstrInfo.h')
-rw-r--r--lib/Target/ARM/ARMBaseInstrInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMBaseInstrInfo.h b/lib/Target/ARM/ARMBaseInstrInfo.h
index 7c107bb419..2ef659c23b 100644
--- a/lib/Target/ARM/ARMBaseInstrInfo.h
+++ b/lib/Target/ARM/ARMBaseInstrInfo.h
@@ -141,6 +141,10 @@ public:
MachineInstr *commuteInstruction(MachineInstr*, bool=false) const;
+ const MachineInstrBuilder &AddDReg(MachineInstrBuilder &MIB, unsigned Reg,
+ unsigned SubIdx, unsigned State,
+ const TargetRegisterInfo *TRI) const;
+
virtual bool produceSameValue(const MachineInstr *MI0,
const MachineInstr *MI1,
const MachineRegisterInfo *MRI) const;