Path: blob/main/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/CSKYMCTargetDesc.h
35294 views
//===-- CSKYMCTargetDesc.h - CSKY Target Descriptions -----------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// This file provides CSKY specific target descriptions.9//10//===----------------------------------------------------------------------===//1112#ifndef LLVM_LIB_TARGET_CSKY_MCTARGETDESC_CSKYMCTARGETDESC_H13#define LLVM_LIB_TARGET_CSKY_MCTARGETDESC_CSKYMCTARGETDESC_H1415#include "llvm/MC/MCTargetOptions.h"16#include <memory>1718namespace llvm {19class MCAsmBackend;20class MCCodeEmitter;21class MCContext;22class MCInstrInfo;23class MCRegisterInfo;24class MCObjectTargetWriter;25class MCRegisterInfo;26class MCSubtargetInfo;27class Target;28class Triple;2930std::unique_ptr<MCObjectTargetWriter> createCSKYELFObjectWriter();3132MCAsmBackend *createCSKYAsmBackend(const Target &T, const MCSubtargetInfo &STI,33const MCRegisterInfo &MRI,34const MCTargetOptions &Options);3536MCCodeEmitter *createCSKYMCCodeEmitter(const MCInstrInfo &MCII, MCContext &Ctx);37} // namespace llvm3839#define GET_REGINFO_ENUM40#include "CSKYGenRegisterInfo.inc"4142#define GET_INSTRINFO_ENUM43#define GET_INSTRINFO_MC_HELPER_DECLS44#include "CSKYGenInstrInfo.inc"4546#define GET_SUBTARGETINFO_ENUM47#include "CSKYGenSubtargetInfo.inc"4849#endif // LLVM_LIB_TARGET_CSKY_MCTARGETDESC_CSKYMCTARGETDESC_H505152