LLVM  14.0.0git
Macros | Functions
M68kMCTargetDesc.cpp File Reference
#include "M68kMCTargetDesc.h"
#include "M68kInstPrinter.h"
#include "M68kMCAsmInfo.h"
#include "TargetInfo/M68kTargetInfo.h"
#include "llvm/MC/MCELFStreamer.h"
#include "llvm/MC/MCInstPrinter.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/MachineLocation.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/FormattedStream.h"
#include "llvm/Support/TargetRegistry.h"
#include "M68kGenInstrInfo.inc"
#include "M68kGenSubtargetInfo.inc"
#include "M68kGenRegisterInfo.inc"
Include dependency graph for M68kMCTargetDesc.cpp:

Go to the source code of this file.

Macros

#define GET_INSTRINFO_MC_DESC
 
#define GET_SUBTARGETINFO_MC_DESC
 
#define GET_REGINFO_MC_DESC
 

Functions

static std::string ParseM68kTriple (const Triple &TT, StringRef CPU)
 
static MCInstrInfocreateM68kMCInstrInfo ()
 
static MCRegisterInfocreateM68kMCRegisterInfo (const Triple &TT)
 
static MCSubtargetInfocreateM68kMCSubtargetInfo (const Triple &TT, StringRef CPU, StringRef FS)
 
static MCAsmInfocreateM68kMCAsmInfo (const MCRegisterInfo &MRI, const Triple &TT, const MCTargetOptions &TO)
 
static MCRelocationInfocreateM68kMCRelocationInfo (const Triple &TheTriple, MCContext &Ctx)
 
static MCInstPrintercreateM68kMCInstPrinter (const Triple &T, unsigned SyntaxVariant, const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
 
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeM68kTargetMC ()
 

Detailed Description

This file provides M68k target specific descriptions.

Definition in file M68kMCTargetDesc.cpp.

Macro Definition Documentation

◆ GET_INSTRINFO_MC_DESC

#define GET_INSTRINFO_MC_DESC

Definition at line 33 of file M68kMCTargetDesc.cpp.

◆ GET_REGINFO_MC_DESC

#define GET_REGINFO_MC_DESC

Definition at line 39 of file M68kMCTargetDesc.cpp.

◆ GET_SUBTARGETINFO_MC_DESC

#define GET_SUBTARGETINFO_MC_DESC

Definition at line 36 of file M68kMCTargetDesc.cpp.

Function Documentation

◆ createM68kMCAsmInfo()

static MCAsmInfo* createM68kMCAsmInfo ( const MCRegisterInfo MRI,
const Triple TT,
const MCTargetOptions TO 
)
static

◆ createM68kMCInstPrinter()

static MCInstPrinter* createM68kMCInstPrinter ( const Triple T,
unsigned  SyntaxVariant,
const MCAsmInfo MAI,
const MCInstrInfo MII,
const MCRegisterInfo MRI 
)
static

Definition at line 101 of file M68kMCTargetDesc.cpp.

References MRI.

Referenced by LLVMInitializeM68kTargetMC().

◆ createM68kMCInstrInfo()

static MCInstrInfo* createM68kMCInstrInfo ( )
static

Definition at line 47 of file M68kMCTargetDesc.cpp.

References X.

Referenced by LLVMInitializeM68kTargetMC().

◆ createM68kMCRegisterInfo()

static MCRegisterInfo* createM68kMCRegisterInfo ( const Triple TT)
static

Definition at line 53 of file M68kMCTargetDesc.cpp.

References X.

Referenced by LLVMInitializeM68kTargetMC().

◆ createM68kMCRelocationInfo()

static MCRelocationInfo* createM68kMCRelocationInfo ( const Triple TheTriple,
MCContext Ctx 
)
static

Definition at line 95 of file M68kMCTargetDesc.cpp.

References llvm::createMCRelocationInfo().

Referenced by LLVMInitializeM68kTargetMC().

◆ createM68kMCSubtargetInfo()

static MCSubtargetInfo* createM68kMCSubtargetInfo ( const Triple TT,
StringRef  CPU,
StringRef  FS 
)
static

Definition at line 59 of file M68kMCTargetDesc.cpp.

References llvm::X86AS::FS, and ParseM68kTriple().

Referenced by LLVMInitializeM68kTargetMC().

◆ LLVMInitializeM68kTargetMC()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeM68kTargetMC ( )

◆ ParseM68kTriple()

static std::string ParseM68kTriple ( const Triple TT,
StringRef  CPU 
)
static

Definition at line 43 of file M68kMCTargetDesc.cpp.

Referenced by createM68kMCSubtargetInfo().