aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/SystemZ/SystemZRegisterInfo.h
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 14:04:01 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 14:04:01 +0000
commited00212f4359190df95c9970ac5b1e2fd2bda384 (patch)
treeb88112b032025a7d29f78c573b1cdf0bf56b2d6a /lib/Target/SystemZ/SystemZRegisterInfo.h
parent3166a9ac5c81621bb7f58f8cd4311694af26fa29 (diff)
downloadexternal_llvm-ed00212f4359190df95c9970ac5b1e2fd2bda384.zip
external_llvm-ed00212f4359190df95c9970ac5b1e2fd2bda384.tar.gz
external_llvm-ed00212f4359190df95c9970ac5b1e2fd2bda384.tar.bz2
Implement asmprinting for odd-even regpairs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75974 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZRegisterInfo.h')
-rw-r--r--lib/Target/SystemZ/SystemZRegisterInfo.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/Target/SystemZ/SystemZRegisterInfo.h b/lib/Target/SystemZ/SystemZRegisterInfo.h
index d800f29..9430c87 100644
--- a/lib/Target/SystemZ/SystemZRegisterInfo.h
+++ b/lib/Target/SystemZ/SystemZRegisterInfo.h
@@ -19,6 +19,15 @@
namespace llvm {
+namespace SystemZ {
+ /// SubregIndex - The index of various sized subregister classes. Note that
+ /// these indices must be kept in sync with the class indices in the
+ /// SystemZRegisterInfo.td file.
+ enum SubregIndex {
+ SUBREG_32BIT = 1, SUBREG_EVEN = 1, SUBREG_ODD = 2
+ };
+}
+
class SystemZSubtarget;
class TargetInstrInfo;
class Type;