1 //===- ARMRegisterInfo.h - ARM Register Information Impl --------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains the ARM implementation of the TargetRegisterInfo class.
12 //===----------------------------------------------------------------------===//
14 #ifndef ARMREGISTERINFO_H
15 #define ARMREGISTERINFO_H
18 #include "llvm/Target/TargetRegisterInfo.h"
19 #include "ARMBaseRegisterInfo.h"
23 class ARMBaseInstrInfo;
27 /// SubregIndex - The index of various subregister classes. Note that
28 /// these indices must be kept in sync with the class indices in the
29 /// ARMRegisterInfo.td file.
31 SSUBREG_0 = 1, SSUBREG_1 = 2, SSUBREG_2 = 3, SSUBREG_3 = 4,
32 DSUBREG_0 = 5, DSUBREG_1 = 6
36 struct ARMRegisterInfo : public ARMBaseRegisterInfo {
38 ARMRegisterInfo(const ARMBaseInstrInfo &tii, const ARMSubtarget &STI);
41 } // end namespace llvm