1 //===-- XCoreMCTargetDesc.h - XCore 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 XCore specific target descriptions. 11 // 12 //===----------------------------------------------------------------------===// 13 14 #ifndef XCOREMCTARGETDESC_H 15 #define XCOREMCTARGETDESC_H 16 17 namespace llvm { 18 class MCSubtargetInfo; 19 class Target; 20 class StringRef; 21 22 extern Target TheXCoreTarget; 23 24 } // End llvm namespace 25 26 // Defines symbolic names for XCore registers. This defines a mapping from 27 // register name to register number. 28 // 29 #define GET_REGINFO_ENUM 30 #include "XCoreGenRegisterInfo.inc" 31 32 // Defines symbolic names for the XCore instructions. 33 // 34 #define GET_INSTRINFO_ENUM 35 #include "XCoreGenInstrInfo.inc" 36 37 #define GET_SUBTARGETINFO_ENUM 38 #include "XCoreGenSubtargetInfo.inc" 39 40 #endif 41