LLVM 20.0.0git
Namespaces | Macros | Functions
SparcMCTargetDesc.cpp File Reference
#include "SparcMCTargetDesc.h"
#include "SparcInstPrinter.h"
#include "SparcMCAsmInfo.h"
#include "SparcTargetStreamer.h"
#include "TargetInfo/SparcTargetInfo.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/ErrorHandling.h"
#include "SparcGenSearchableTables.inc"
#include "SparcGenInstrInfo.inc"
#include "SparcGenSubtargetInfo.inc"
#include "SparcGenRegisterInfo.inc"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::SparcASITag
 
namespace  llvm::SparcPrefetchTag
 

Macros

#define GET_ASITagsList_IMPL
 
#define GET_PrefetchTagsList_IMPL
 
#define GET_INSTRINFO_MC_DESC
 
#define ENABLE_INSTR_PREDICATE_VERIFIER
 
#define GET_SUBTARGETINFO_MC_DESC
 
#define GET_REGINFO_MC_DESC
 

Functions

static MCAsmInfocreateSparcMCAsmInfo (const MCRegisterInfo &MRI, const Triple &TT, const MCTargetOptions &Options)
 
static MCAsmInfocreateSparcV9MCAsmInfo (const MCRegisterInfo &MRI, const Triple &TT, const MCTargetOptions &Options)
 
static MCInstrInfocreateSparcMCInstrInfo ()
 
static MCRegisterInfocreateSparcMCRegisterInfo (const Triple &TT)
 
static MCSubtargetInfocreateSparcMCSubtargetInfo (const Triple &TT, StringRef CPU, StringRef FS)
 
static MCTargetStreamercreateObjectTargetStreamer (MCStreamer &S, const MCSubtargetInfo &STI)
 
static MCTargetStreamercreateTargetAsmStreamer (MCStreamer &S, formatted_raw_ostream &OS, MCInstPrinter *InstPrint)
 
static MCTargetStreamercreateNullTargetStreamer (MCStreamer &S)
 
static MCInstPrintercreateSparcMCInstPrinter (const Triple &T, unsigned SyntaxVariant, const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
 
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeSparcTargetMC ()
 

Macro Definition Documentation

◆ ENABLE_INSTR_PREDICATE_VERIFIER

#define ENABLE_INSTR_PREDICATE_VERIFIER

Definition at line 39 of file SparcMCTargetDesc.cpp.

◆ GET_ASITagsList_IMPL

#define GET_ASITagsList_IMPL

Definition at line 26 of file SparcMCTargetDesc.cpp.

◆ GET_INSTRINFO_MC_DESC

#define GET_INSTRINFO_MC_DESC

Definition at line 38 of file SparcMCTargetDesc.cpp.

◆ GET_PrefetchTagsList_IMPL

#define GET_PrefetchTagsList_IMPL

Definition at line 31 of file SparcMCTargetDesc.cpp.

◆ GET_REGINFO_MC_DESC

#define GET_REGINFO_MC_DESC

Definition at line 45 of file SparcMCTargetDesc.cpp.

◆ GET_SUBTARGETINFO_MC_DESC

#define GET_SUBTARGETINFO_MC_DESC

Definition at line 42 of file SparcMCTargetDesc.cpp.

Function Documentation

◆ createNullTargetStreamer()

static MCTargetStreamer * createNullTargetStreamer ( MCStreamer S)
static

Definition at line 98 of file SparcMCTargetDesc.cpp.

Referenced by LLVMInitializeSparcTargetMC().

◆ createObjectTargetStreamer()

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

Definition at line 88 of file SparcMCTargetDesc.cpp.

Referenced by LLVMInitializeSparcTargetMC().

◆ createSparcMCAsmInfo()

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

◆ createSparcMCInstPrinter()

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

Definition at line 102 of file SparcMCTargetDesc.cpp.

References MRI.

Referenced by LLVMInitializeSparcTargetMC().

◆ createSparcMCInstrInfo()

static MCInstrInfo * createSparcMCInstrInfo ( )
static

Definition at line 68 of file SparcMCTargetDesc.cpp.

References X.

Referenced by LLVMInitializeSparcTargetMC().

◆ createSparcMCRegisterInfo()

static MCRegisterInfo * createSparcMCRegisterInfo ( const Triple TT)
static

Definition at line 74 of file SparcMCTargetDesc.cpp.

References X.

Referenced by LLVMInitializeSparcTargetMC().

◆ createSparcMCSubtargetInfo()

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

Definition at line 81 of file SparcMCTargetDesc.cpp.

References llvm::StringRef::empty(), and llvm::Triple::sparcv9.

Referenced by LLVMInitializeSparcTargetMC().

◆ createSparcV9MCAsmInfo()

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

◆ createTargetAsmStreamer()

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

Definition at line 92 of file SparcMCTargetDesc.cpp.

References OS.

Referenced by LLVMInitializeSparcTargetMC().

◆ LLVMInitializeSparcTargetMC()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeSparcTargetMC ( )