diff options
| author | Bob Wilson <bob.wilson@apple.com> | 2009-10-06 22:01:59 +0000 |
|---|---|---|
| committer | Bob Wilson <bob.wilson@apple.com> | 2009-10-06 22:01:59 +0000 |
| commit | e6b778d5ff73f8227989bfcb6d0cf51ccede5ba6 (patch) | |
| tree | 7be76946e7afc0353e268820555e08efc0d0a609 /llvm/lib/Target/ARM/ARMRegisterInfo.h | |
| parent | 74b3d284f2e9e2b2e6dbfc958fbc0dc8f05e325a (diff) | |
| download | bcm5719-llvm-e6b778d5ff73f8227989bfcb6d0cf51ccede5ba6.tar.gz bcm5719-llvm-e6b778d5ff73f8227989bfcb6d0cf51ccede5ba6.zip | |
Add codegen support for NEON vld2 operations on quad registers.
llvm-svn: 83422
Diffstat (limited to 'llvm/lib/Target/ARM/ARMRegisterInfo.h')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMRegisterInfo.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMRegisterInfo.h b/llvm/lib/Target/ARM/ARMRegisterInfo.h index 8edfb9a2057..041afd04140 100644 --- a/llvm/lib/Target/ARM/ARMRegisterInfo.h +++ b/llvm/lib/Target/ARM/ARMRegisterInfo.h @@ -23,6 +23,16 @@ namespace llvm { class ARMBaseInstrInfo; class Type; +namespace ARM { + /// SubregIndex - The index of various subregister classes. Note that + /// these indices must be kept in sync with the class indices in the + /// ARMRegisterInfo.td file. + enum SubregIndex { + SSUBREG_0 = 1, SSUBREG_1 = 2, SSUBREG_2 = 3, SSUBREG_3 = 4, + DSUBREG_0 = 5, DSUBREG_1 = 6 + }; +} + struct ARMRegisterInfo : public ARMBaseRegisterInfo { public: ARMRegisterInfo(const ARMBaseInstrInfo &tii, const ARMSubtarget &STI); |

