1 //===-- CSKYMCTargetDesc.h - CSKY 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 CSKY specific target descriptions.
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_LIB_TARGET_CSKY_MCTARGETDESC_CSKYMCTARGETDESC_H
14 #define LLVM_LIB_TARGET_CSKY_MCTARGETDESC_CSKYMCTARGETDESC_H
16 #include "llvm/MC/MCTargetOptions.h"
25 class MCObjectTargetWriter
;
27 class MCSubtargetInfo
;
31 std::unique_ptr
<MCObjectTargetWriter
> createCSKYELFObjectWriter();
33 MCAsmBackend
*createCSKYAsmBackend(const Target
&T
, const MCSubtargetInfo
&STI
,
34 const MCRegisterInfo
&MRI
,
35 const MCTargetOptions
&Options
);
37 MCCodeEmitter
*createCSKYMCCodeEmitter(const MCInstrInfo
&MCII
,
38 const MCRegisterInfo
&MRI
,
42 #define GET_REGINFO_ENUM
43 #include "CSKYGenRegisterInfo.inc"
45 #define GET_INSTRINFO_ENUM
46 #include "CSKYGenInstrInfo.inc"
48 #endif // LLVM_LIB_TARGET_CSKY_MCTARGETDESC_CSKYMCTARGETDESC_H