xref: /aosp_15_r20/external/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.h (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker //===-- MSP430MCTargetDesc.h - MSP430 Target Descriptions -------*- C++ -*-===//
2*9880d681SAndroid Build Coastguard Worker //
3*9880d681SAndroid Build Coastguard Worker //                     The LLVM Compiler Infrastructure
4*9880d681SAndroid Build Coastguard Worker //
5*9880d681SAndroid Build Coastguard Worker // This file is distributed under the University of Illinois Open Source
6*9880d681SAndroid Build Coastguard Worker // License. See LICENSE.TXT for details.
7*9880d681SAndroid Build Coastguard Worker //
8*9880d681SAndroid Build Coastguard Worker //===----------------------------------------------------------------------===//
9*9880d681SAndroid Build Coastguard Worker //
10*9880d681SAndroid Build Coastguard Worker // This file provides MSP430 specific target descriptions.
11*9880d681SAndroid Build Coastguard Worker //
12*9880d681SAndroid Build Coastguard Worker //===----------------------------------------------------------------------===//
13*9880d681SAndroid Build Coastguard Worker 
14*9880d681SAndroid Build Coastguard Worker #ifndef LLVM_LIB_TARGET_MSP430_MCTARGETDESC_MSP430MCTARGETDESC_H
15*9880d681SAndroid Build Coastguard Worker #define LLVM_LIB_TARGET_MSP430_MCTARGETDESC_MSP430MCTARGETDESC_H
16*9880d681SAndroid Build Coastguard Worker 
17*9880d681SAndroid Build Coastguard Worker #include "llvm/Support/DataTypes.h"
18*9880d681SAndroid Build Coastguard Worker 
19*9880d681SAndroid Build Coastguard Worker namespace llvm {
20*9880d681SAndroid Build Coastguard Worker class Target;
21*9880d681SAndroid Build Coastguard Worker 
22*9880d681SAndroid Build Coastguard Worker extern Target TheMSP430Target;
23*9880d681SAndroid Build Coastguard Worker 
24*9880d681SAndroid Build Coastguard Worker } // End llvm namespace
25*9880d681SAndroid Build Coastguard Worker 
26*9880d681SAndroid Build Coastguard Worker // Defines symbolic names for MSP430 registers.
27*9880d681SAndroid Build Coastguard Worker // This defines a mapping from register name to register number.
28*9880d681SAndroid Build Coastguard Worker #define GET_REGINFO_ENUM
29*9880d681SAndroid Build Coastguard Worker #include "MSP430GenRegisterInfo.inc"
30*9880d681SAndroid Build Coastguard Worker 
31*9880d681SAndroid Build Coastguard Worker // Defines symbolic names for the MSP430 instructions.
32*9880d681SAndroid Build Coastguard Worker #define GET_INSTRINFO_ENUM
33*9880d681SAndroid Build Coastguard Worker #include "MSP430GenInstrInfo.inc"
34*9880d681SAndroid Build Coastguard Worker 
35*9880d681SAndroid Build Coastguard Worker #define GET_SUBTARGETINFO_ENUM
36*9880d681SAndroid Build Coastguard Worker #include "MSP430GenSubtargetInfo.inc"
37*9880d681SAndroid Build Coastguard Worker 
38*9880d681SAndroid Build Coastguard Worker #endif
39