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 LLVM_LIB_TARGET_XCORE_MCTARGETDESC_XCOREMCTARGETDESC_H 15 #define LLVM_LIB_TARGET_XCORE_MCTARGETDESC_XCOREMCTARGETDESC_H 16 17 namespace llvm { 18 19 class Target; 20 21 Target &getTheXCoreTarget(); 22 23 } // end namespace llvm 24 25 // Defines symbolic names for XCore registers. This defines a mapping from 26 // register name to register number. 27 // 28 #define GET_REGINFO_ENUM 29 #include "XCoreGenRegisterInfo.inc" 30 31 // Defines symbolic names for the XCore instructions. 32 // 33 #define GET_INSTRINFO_ENUM 34 #include "XCoreGenInstrInfo.inc" 35 36 #define GET_SUBTARGETINFO_ENUM 37 #include "XCoreGenSubtargetInfo.inc" 38 39 #endif // LLVM_LIB_TARGET_XCORE_MCTARGETDESC_XCOREMCTARGETDESC_H 40