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