1 //===-- XCoreMCTargetDesc.h - XCore Target Descriptions ---------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 // This file provides XCore specific target descriptions.
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_LIB_TARGET_XCORE_MCTARGETDESC_XCOREMCTARGETDESC_H
14 #define LLVM_LIB_TARGET_XCORE_MCTARGETDESC_XCOREMCTARGETDESC_H
20 Target
&getTheXCoreTarget();
22 } // end namespace llvm
24 // Defines symbolic names for XCore registers. This defines a mapping from
25 // register name to register number.
27 #define GET_REGINFO_ENUM
28 #include "XCoreGenRegisterInfo.inc"
30 // Defines symbolic names for the XCore instructions.
32 #define GET_INSTRINFO_ENUM
33 #include "XCoreGenInstrInfo.inc"
35 #define GET_SUBTARGETINFO_ENUM
36 #include "XCoreGenSubtargetInfo.inc"
38 #endif // LLVM_LIB_TARGET_XCORE_MCTARGETDESC_XCOREMCTARGETDESC_H