mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-26 07:29:55 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83422 91177308-0d34-0410-b5e6-96231b3b80d8
44 lines
1.2 KiB
C++
44 lines
1.2 KiB
C++
//===- ARMRegisterInfo.h - ARM Register Information Impl --------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file contains the ARM implementation of the TargetRegisterInfo class.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef ARMREGISTERINFO_H
|
|
#define ARMREGISTERINFO_H
|
|
|
|
#include "ARM.h"
|
|
#include "llvm/Target/TargetRegisterInfo.h"
|
|
#include "ARMBaseRegisterInfo.h"
|
|
|
|
namespace llvm {
|
|
class ARMSubtarget;
|
|
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);
|
|
};
|
|
|
|
} // end namespace llvm
|
|
|
|
#endif
|