Path: blob/main/contrib/llvm-project/llvm/lib/Target/M68k/MCTargetDesc/M68kMCTargetDesc.h
35294 views
//===-- M68kMCTargetDesc.h - M68k 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/// \file9/// This file provides M68k specific target descriptions.10///11//===----------------------------------------------------------------------===//1213#ifndef LLVM_LIB_TARGET_M68K_MCTARGETDESC_M68KMCTARGETDESC_H14#define LLVM_LIB_TARGET_M68K_MCTARGETDESC_M68KMCTARGETDESC_H1516#include "llvm/MC/MCInstrDesc.h"17#include "llvm/MC/MCObjectWriter.h"18#include "llvm/Support/DataTypes.h"1920namespace llvm {21class MCAsmBackend;22class MCCodeEmitter;23class MCContext;24class MCInstrInfo;25class MCRegisterInfo;26class MCSubtargetInfo;27class MCRelocationInfo;28class MCTargetOptions;29class Target;30class Triple;31class StringRef;32class raw_ostream;33class raw_pwrite_stream;3435MCAsmBackend *createM68kAsmBackend(const Target &T, const MCSubtargetInfo &STI,36const MCRegisterInfo &MRI,37const MCTargetOptions &Options);3839MCCodeEmitter *createM68kMCCodeEmitter(const MCInstrInfo &MCII,40MCContext &Ctx);4142/// Construct an M68k ELF object writer.43std::unique_ptr<MCObjectTargetWriter> createM68kELFObjectWriter(uint8_t OSABI);4445} // namespace llvm4647// Defines symbolic names for M68k registers. This defines a mapping from48// register name to register number.49#define GET_REGINFO_ENUM50#include "M68kGenRegisterInfo.inc"5152// Defines symbolic names for the M68k instructions.53#define GET_INSTRINFO_ENUM54#define GET_INSTRINFO_MC_HELPER_DECLS55#include "M68kGenInstrInfo.inc"5657#define GET_SUBTARGETINFO_ENUM58#include "M68kGenSubtargetInfo.inc"5960#endif // LLVM_LIB_TARGET_M68K_MCTARGETDESC_M68KMCTARGETDESC_H616263