LLVM 19.0.0git
XCoreMCTargetDesc.h
Go to the documentation of this file.
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// Defines symbolic names for XCore registers. This defines a mapping from
17// register name to register number.
18//
19#define GET_REGINFO_ENUM
20#include "XCoreGenRegisterInfo.inc"
21
22// Defines symbolic names for the XCore instructions.
23//
24#define GET_INSTRINFO_ENUM
25#define GET_INSTRINFO_MC_HELPER_DECLS
26#include "XCoreGenInstrInfo.inc"
27
28#define GET_SUBTARGETINFO_ENUM
29#include "XCoreGenSubtargetInfo.inc"
30
31#endif // LLVM_LIB_TARGET_XCORE_MCTARGETDESC_XCOREMCTARGETDESC_H