1 //===-- XCoreMCTargetDesc.h - XCore Target Descriptions ---------*- C++ -*-===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 // 9 // This file provides XCore specific target descriptions. 10 // 11 //===----------------------------------------------------------------------===// 12 13 #ifndef LLVM_LIB_TARGET_XCORE_MCTARGETDESC_XCOREMCTARGETDESC_H 14 #define LLVM_LIB_TARGET_XCORE_MCTARGETDESC_XCOREMCTARGETDESC_H 15 16 namespace llvm { 17 18 class Target; 19 20 } // end namespace llvm 21 22 // Defines symbolic names for XCore registers. This defines a mapping from 23 // register name to register number. 24 // 25 #define GET_REGINFO_ENUM 26 #include "XCoreGenRegisterInfo.inc" 27 28 // Defines symbolic names for the XCore instructions. 29 // 30 #define GET_INSTRINFO_ENUM 31 #include "XCoreGenInstrInfo.inc" 32 33 #define GET_SUBTARGETINFO_ENUM 34 #include "XCoreGenSubtargetInfo.inc" 35 36 #endif // LLVM_LIB_TARGET_XCORE_MCTARGETDESC_XCOREMCTARGETDESC_H 37