Revert r354244 "[DAGCombiner] Eliminate dead stores to stack."
[llvm-complete.git] / lib / Target / XCore / MCTargetDesc / XCoreMCTargetDesc.h
blob042a40fd2cf234f0fc6d821eee2efaefa5a85044
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.
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_LIB_TARGET_XCORE_MCTARGETDESC_XCOREMCTARGETDESC_H
14 #define LLVM_LIB_TARGET_XCORE_MCTARGETDESC_XCOREMCTARGETDESC_H
16 namespace llvm {
18 class Target;
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