LLVM
24.0.0git
lib
Target
M68k
MCTargetDesc
M68kMCTargetDesc.h
Go to the documentation of this file.
1
//===-- M68kMCTargetDesc.h - M68k 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
/// \file
10
/// This file provides M68k specific target descriptions.
11
///
12
//===----------------------------------------------------------------------===//
13
14
#ifndef LLVM_LIB_TARGET_M68K_MCTARGETDESC_M68KMCTARGETDESC_H
15
#define LLVM_LIB_TARGET_M68K_MCTARGETDESC_M68KMCTARGETDESC_H
16
17
#include "
llvm/MC/MCInstrDesc.h
"
18
#include "
llvm/MC/MCObjectWriter.h
"
19
#include "
llvm/Support/DataTypes.h
"
20
21
namespace
llvm
{
22
class
MCAsmBackend
;
23
class
MCCodeEmitter
;
24
class
MCContext
;
25
class
MCInstrInfo
;
26
class
MCRegisterInfo
;
27
class
MCSubtargetInfo
;
28
class
MCTargetOptions
;
29
class
Target
;
30
31
MCAsmBackend
*
createM68kAsmBackend
(
const
Target
&
T
,
const
MCSubtargetInfo
&STI,
32
const
MCRegisterInfo
&
MRI
,
33
const
MCTargetOptions
&
Options
);
34
35
MCCodeEmitter
*
createM68kMCCodeEmitter
(
const
MCInstrInfo
&MCII,
36
MCContext
&Ctx);
37
38
/// Construct an M68k ELF object writer.
39
std::unique_ptr<MCObjectTargetWriter>
createM68kELFObjectWriter
(uint8_t OSABI);
40
41
}
// namespace llvm
42
43
// Defines symbolic names for M68k registers. This defines a mapping from
44
// register name to register number.
45
#define GET_REGINFO_ENUM
46
#include "M68kGenRegisterInfo.inc"
47
48
// Defines symbolic names for the M68k instructions.
49
#define GET_INSTRINFO_ENUM
50
#define GET_INSTRINFO_MC_HELPER_DECLS
51
#include "M68kGenInstrInfo.inc"
52
53
#define GET_SUBTARGETINFO_ENUM
54
#include "M68kGenSubtargetInfo.inc"
55
56
#endif
// LLVM_LIB_TARGET_M68K_MCTARGETDESC_M68KMCTARGETDESC_H
Options
static LVOptions Options
Definition
LVOptions.cpp:25
MCInstrDesc.h
MCObjectWriter.h
T
#define T
Definition
Mips16ISelLowering.cpp:268
MRI
MachineRegisterInfo & MRI
Definition
RISCVLateBranchOpt.cpp:60
llvm::MCAsmBackend
Generic interface to target specific assembler backends.
Definition
MCAsmBackend.h:54
llvm::MCCodeEmitter
MCCodeEmitter - Generic instruction encoding interface.
Definition
MCCodeEmitter.h:22
llvm::MCContext
Context object for machine code objects.
Definition
MCContext.h:84
llvm::MCInstrInfo
Interface to description of machine instruction set.
Definition
MCInstrInfo.h:27
llvm::MCRegisterInfo
MCRegisterInfo base class - We assume that the target defines a static array of MCRegisterDesc object...
Definition
MCRegisterInfo.h:296
llvm::MCSubtargetInfo
Generic base class for all target subtargets.
Definition
MCSubtargetInfo.h:142
llvm::MCTargetOptions
Definition
MCTargetOptions.h:42
llvm::Target
Target - Wrapper for Target specific information.
Definition
TargetRegistry.h:138
DataTypes.h
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition
DefaultTargetInfo.h:21
llvm::createM68kELFObjectWriter
std::unique_ptr< MCObjectTargetWriter > createM68kELFObjectWriter(uint8_t OSABI)
Construct an M68k ELF object writer.
Definition
M68kELFObjectWriter.cpp:179
llvm::createM68kAsmBackend
MCAsmBackend * createM68kAsmBackend(const Target &T, const MCSubtargetInfo &STI, const MCRegisterInfo &MRI, const MCTargetOptions &Options)
Definition
M68kAsmBackend.cpp:262
llvm::createM68kMCCodeEmitter
MCCodeEmitter * createM68kMCCodeEmitter(const MCInstrInfo &MCII, MCContext &Ctx)
Definition
M68kMCCodeEmitter.cpp:295
Generated on
for LLVM by
1.14.0