summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMBaseInstrInfo.h
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-09-14 18:48:46 +0000
committerAndrew Trick <atrick@apple.com>2012-09-14 18:48:46 +0000
commit9eed53379f19f836769a0c4a14042eeb1b587769 (patch)
tree3f0214222d86eee39bd6a1fdc3060383ea439f49 /lib/Target/ARM/ARMBaseInstrInfo.h
parentdcf31ed4139df19b14e599adaaa4f09901553ede (diff)
downloadllvm-9eed53379f19f836769a0c4a14042eeb1b587769.tar.gz
llvm-9eed53379f19f836769a0c4a14042eeb1b587769.tar.bz2
llvm-9eed53379f19f836769a0c4a14042eeb1b587769.tar.xz
Implement getNumLDMAddresses and expose through ARMBaseInstrInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163922 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMBaseInstrInfo.h')
-rw-r--r--lib/Target/ARM/ARMBaseInstrInfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMBaseInstrInfo.h b/lib/Target/ARM/ARMBaseInstrInfo.h
index 92e5ee8dcb..304ccc087c 100644
--- a/lib/Target/ARM/ARMBaseInstrInfo.h
+++ b/lib/Target/ARM/ARMBaseInstrInfo.h
@@ -235,6 +235,9 @@ public:
getExecutionDomain(const MachineInstr *MI) const;
void setExecutionDomain(MachineInstr *MI, unsigned Domain) const;
+ /// Get the number of addresses by LDM or VLDM or zero for unknown.
+ unsigned getNumLDMAddresses(const MachineInstr *MI) const;
+
private:
unsigned getInstBundleLength(const MachineInstr *MI) const;