LLVM 20.0.0git
Macros | Functions
MipsMCTargetDesc.cpp File Reference
#include "MipsMCTargetDesc.h"
#include "MipsAsmBackend.h"
#include "MipsBaseInfo.h"
#include "MipsELFStreamer.h"
#include "MipsInstPrinter.h"
#include "MipsMCAsmInfo.h"
#include "MipsMCNaCl.h"
#include "MipsTargetStreamer.h"
#include "TargetInfo/MipsTargetInfo.h"
#include "llvm/MC/MCCodeEmitter.h"
#include "llvm/MC/MCELFStreamer.h"
#include "llvm/MC/MCInstrAnalysis.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCObjectWriter.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/MachineLocation.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/FormattedStream.h"
#include "llvm/TargetParser/Triple.h"
#include "MipsGenInstrInfo.inc"
#include "MipsGenSubtargetInfo.inc"
#include "MipsGenRegisterInfo.inc"

Go to the source code of this file.

Macros

#define GET_INSTRINFO_MC_DESC
 
#define ENABLE_INSTR_PREDICATE_VERIFIER
 
#define GET_SUBTARGETINFO_MC_DESC
 
#define GET_REGINFO_MC_DESC
 

Functions

static MCInstrInfocreateMipsMCInstrInfo ()
 
static MCRegisterInfocreateMipsMCRegisterInfo (const Triple &TT)
 
static MCSubtargetInfocreateMipsMCSubtargetInfo (const Triple &TT, StringRef CPU, StringRef FS)
 
static MCAsmInfocreateMipsMCAsmInfo (const MCRegisterInfo &MRI, const Triple &TT, const MCTargetOptions &Options)
 
static MCInstPrintercreateMipsMCInstPrinter (const Triple &T, unsigned SyntaxVariant, const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
 
static MCStreamercreateMCStreamer (const Triple &T, MCContext &Context, std::unique_ptr< MCAsmBackend > &&MAB, std::unique_ptr< MCObjectWriter > &&OW, std::unique_ptr< MCCodeEmitter > &&Emitter)
 
static MCTargetStreamercreateMipsAsmTargetStreamer (MCStreamer &S, formatted_raw_ostream &OS, MCInstPrinter *InstPrint)
 
static MCTargetStreamercreateMipsNullTargetStreamer (MCStreamer &S)
 
static MCTargetStreamercreateMipsObjectTargetStreamer (MCStreamer &S, const MCSubtargetInfo &STI)
 
static MCInstrAnalysiscreateMipsMCInstrAnalysis (const MCInstrInfo *Info)
 
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeMipsTargetMC ()
 

Macro Definition Documentation

◆ ENABLE_INSTR_PREDICATE_VERIFIER

#define ENABLE_INSTR_PREDICATE_VERIFIER

Definition at line 39 of file MipsMCTargetDesc.cpp.

◆ GET_INSTRINFO_MC_DESC

#define GET_INSTRINFO_MC_DESC

Definition at line 38 of file MipsMCTargetDesc.cpp.

◆ GET_REGINFO_MC_DESC

#define GET_REGINFO_MC_DESC

Definition at line 45 of file MipsMCTargetDesc.cpp.

◆ GET_SUBTARGETINFO_MC_DESC

#define GET_SUBTARGETINFO_MC_DESC

Definition at line 42 of file MipsMCTargetDesc.cpp.

Function Documentation

◆ createMCStreamer()

static MCStreamer * createMCStreamer ( const Triple T,
MCContext Context,
std::unique_ptr< MCAsmBackend > &&  MAB,
std::unique_ptr< MCObjectWriter > &&  OW,
std::unique_ptr< MCCodeEmitter > &&  Emitter 
)
static

◆ createMipsAsmTargetStreamer()

static MCTargetStreamer * createMipsAsmTargetStreamer ( MCStreamer S,
formatted_raw_ostream OS,
MCInstPrinter InstPrint 
)
static

Definition at line 118 of file MipsMCTargetDesc.cpp.

References OS.

Referenced by LLVMInitializeMipsTargetMC().

◆ createMipsMCAsmInfo()

static MCAsmInfo * createMipsMCAsmInfo ( const MCRegisterInfo MRI,
const Triple TT,
const MCTargetOptions Options 
)
static

◆ createMipsMCInstPrinter()

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

Definition at line 96 of file MipsMCTargetDesc.cpp.

References MRI.

Referenced by LLVMInitializeMipsTargetMC().

◆ createMipsMCInstrAnalysis()

static MCInstrAnalysis * createMipsMCInstrAnalysis ( const MCInstrInfo Info)
static

Definition at line 164 of file MipsMCTargetDesc.cpp.

References Info.

Referenced by LLVMInitializeMipsTargetMC().

◆ createMipsMCInstrInfo()

static MCInstrInfo * createMipsMCInstrInfo ( )
static

Definition at line 66 of file MipsMCTargetDesc.cpp.

References X.

Referenced by LLVMInitializeMipsTargetMC().

◆ createMipsMCRegisterInfo()

static MCRegisterInfo * createMipsMCRegisterInfo ( const Triple TT)
static

Definition at line 72 of file MipsMCTargetDesc.cpp.

References X.

Referenced by LLVMInitializeMipsTargetMC().

◆ createMipsMCSubtargetInfo()

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

Definition at line 78 of file MipsMCTargetDesc.cpp.

References llvm::MIPS_MC::selectMipsCPU().

Referenced by LLVMInitializeMipsTargetMC().

◆ createMipsNullTargetStreamer()

static MCTargetStreamer * createMipsNullTargetStreamer ( MCStreamer S)
static

Definition at line 124 of file MipsMCTargetDesc.cpp.

Referenced by LLVMInitializeMipsTargetMC().

◆ createMipsObjectTargetStreamer()

static MCTargetStreamer * createMipsObjectTargetStreamer ( MCStreamer S,
const MCSubtargetInfo STI 
)
static

Definition at line 129 of file MipsMCTargetDesc.cpp.

Referenced by LLVMInitializeMipsTargetMC().

◆ LLVMInitializeMipsTargetMC()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeMipsTargetMC ( )