34#define GET_INSTRINFO_MC_DESC
35#define ENABLE_INSTR_PREDICATE_VERIFIER
36#include "M68kGenInstrInfo.inc"
38#define GET_SUBTARGETINFO_MC_DESC
39#include "M68kGenSubtargetInfo.inc"
41#define GET_REGINFO_MC_DESC
42#include "M68kGenRegisterInfo.inc"
51 InitM68kMCInstrInfo(
X);
57 InitM68kMCRegisterInfo(
X, llvm::M68k::A0, 0, 0, llvm::M68k::PC);
65 if (!ArchFS.empty()) {
66 ArchFS = (ArchFS +
"," + FS).str();
71 return createM68kMCSubtargetInfoImpl(TT, CPU, CPU, ArchFS);
86 nullptr,
MRI.getDwarfRegNum(llvm::M68k::SP,
true), -StackGrowth);
91 nullptr,
MRI.getDwarfRegNum(M68k::PC,
true), StackGrowth);
104 unsigned SyntaxVariant,
static MCTargetStreamer * createNullTargetStreamer(MCStreamer &S)
#define LLVM_EXTERNAL_VISIBILITY
This file contains declarations for an M68k MCInst printer.
This file contains the declarations of the M68k MCAsmInfo properties.
static MCInstrInfo * createM68kMCInstrInfo()
static MCInstPrinter * createM68kMCInstPrinter(const Triple &T, unsigned SyntaxVariant, const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
static MCAsmInfo * createM68kMCAsmInfo(const MCRegisterInfo &MRI, const Triple &TT, const MCTargetOptions &TO)
static MCTargetStreamer * createNullTargetStreamer(MCStreamer &S)
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeM68kTargetMC()
static std::string ParseM68kTriple(const Triple &TT, StringRef CPU)
static MCRegisterInfo * createM68kMCRegisterInfo(const Triple &TT)
static MCRelocationInfo * createM68kMCRelocationInfo(const Triple &TheTriple, MCContext &Ctx)
static MCSubtargetInfo * createM68kMCSubtargetInfo(const Triple &TT, StringRef CPU, StringRef FS)
This file provides M68k specific target descriptions.
MachineRegisterInfo & MRI
This class is intended to be used as a base class for asm properties and features specific to the tar...
void addInitialFrameState(const MCCFIInstruction &Inst)
static MCCFIInstruction cfiDefCfa(MCSymbol *L, unsigned Register, int64_t Offset, SMLoc Loc={})
.cfi_def_cfa defines a rule for computing CFA as: take address from Register and add Offset to it.
static MCCFIInstruction createOffset(MCSymbol *L, unsigned Register, int64_t Offset, SMLoc Loc={})
.cfi_offset Previous value of Register is saved at offset Offset from CFA.
Context object for machine code objects.
This is an instance of a target assembly language printer that converts an MCInst to valid target ass...
Interface to description of machine instruction set.
MCRegisterInfo base class - We assume that the target defines a static array of MCRegisterDesc object...
Create MCExprs from relocations found in an object file.
Streaming machine code generation interface.
Generic base class for all target subtargets.
Target specific streamer interface.
Represent a constant reference to a string, i.e.
Target - Wrapper for Target specific information.
Triple - Helper class for working with autoconf configuration names.
This is an optimization pass for GlobalISel generic memory operations.
LLVM_ABI MCRelocationInfo * createMCRelocationInfo(const Triple &TT, MCContext &Ctx)
MCAsmBackend * createM68kAsmBackend(const Target &T, const MCSubtargetInfo &STI, const MCRegisterInfo &MRI, const MCTargetOptions &Options)
Target & getTheM68kTarget()
MCCodeEmitter * createM68kMCCodeEmitter(const MCInstrInfo &MCII, MCContext &Ctx)
RegisterMCAsmInfoFn - Helper template for registering a target assembly info implementation.
static void RegisterMCRegInfo(Target &T, Target::MCRegInfoCtorFnTy Fn)
RegisterMCRegInfo - Register a MCRegisterInfo implementation for the given target.
static void RegisterMCAsmBackend(Target &T, Target::MCAsmBackendCtorTy Fn)
RegisterMCAsmBackend - Register a MCAsmBackend implementation for the given target.
static void RegisterMCCodeEmitter(Target &T, Target::MCCodeEmitterCtorTy Fn)
RegisterMCCodeEmitter - Register a MCCodeEmitter implementation for the given target.
static void RegisterMCSubtargetInfo(Target &T, Target::MCSubtargetInfoCtorFnTy Fn)
RegisterMCSubtargetInfo - Register a MCSubtargetInfo implementation for the given target.
static void RegisterNullTargetStreamer(Target &T, Target::NullTargetStreamerCtorTy Fn)
static void RegisterMCInstPrinter(Target &T, Target::MCInstPrinterCtorTy Fn)
RegisterMCInstPrinter - Register a MCInstPrinter implementation for the given target.
static void RegisterMCInstrInfo(Target &T, Target::MCInstrInfoCtorFnTy Fn)
RegisterMCInstrInfo - Register a MCInstrInfo implementation for the given target.
static void RegisterMCRelocationInfo(Target &T, Target::MCRelocationInfoCtorTy Fn)
RegisterMCRelocationInfo - Register an MCRelocationInfo implementation for the given target.