LLVM 20.0.0git
Macros | Functions
DirectXMCTargetDesc.cpp File Reference

This file contains DirectX target initializer. More...

#include "DirectXMCTargetDesc.h"
#include "DirectXContainerObjectWriter.h"
#include "TargetInfo/DirectXTargetInfo.h"
#include "llvm/MC/LaneBitmask.h"
#include "llvm/MC/MCAsmBackend.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCCodeEmitter.h"
#include "llvm/MC/MCDXContainerWriter.h"
#include "llvm/MC/MCInstPrinter.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSchedule.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/Compiler.h"
#include "llvm/TargetParser/Triple.h"
#include <memory>
#include "DirectXGenInstrInfo.inc"
#include "DirectXGenSubtargetInfo.inc"
#include "DirectXGenRegisterInfo.inc"

Go to the source code of this file.

Macros

#define GET_INSTRINFO_MC_DESC
 
#define GET_INSTRINFO_MC_HELPERS
 
#define GET_SUBTARGETINFO_MC_DESC
 
#define GET_REGINFO_MC_DESC
 

Functions

static MCInstPrintercreateDXILMCInstPrinter (const Triple &T, unsigned SyntaxVariant, const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
 
MCCodeEmittercreateDXILMCCodeEmitter (const MCInstrInfo &MCII, MCContext &Ctx)
 
MCAsmBackendcreateDXILMCAsmBackend (const Target &T, const MCSubtargetInfo &STI, const MCRegisterInfo &MRI, const MCTargetOptions &Options)
 
static MCSubtargetInfocreateDirectXMCSubtargetInfo (const Triple &TT, StringRef CPU, StringRef FS)
 
static MCRegisterInfocreateDirectXMCRegisterInfo (const Triple &Triple)
 
static MCInstrInfocreateDirectXMCInstrInfo ()
 
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeDirectXTargetMC ()
 

Detailed Description

This file contains DirectX target initializer.

Definition in file DirectXMCTargetDesc.cpp.

Macro Definition Documentation

◆ GET_INSTRINFO_MC_DESC

#define GET_INSTRINFO_MC_DESC

Definition at line 34 of file DirectXMCTargetDesc.cpp.

◆ GET_INSTRINFO_MC_HELPERS

#define GET_INSTRINFO_MC_HELPERS

Definition at line 35 of file DirectXMCTargetDesc.cpp.

◆ GET_REGINFO_MC_DESC

#define GET_REGINFO_MC_DESC

Definition at line 41 of file DirectXMCTargetDesc.cpp.

◆ GET_SUBTARGETINFO_MC_DESC

#define GET_SUBTARGETINFO_MC_DESC

Definition at line 38 of file DirectXMCTargetDesc.cpp.

Function Documentation

◆ createDirectXMCInstrInfo()

static MCInstrInfo * createDirectXMCInstrInfo ( )
static

Definition at line 136 of file DirectXMCTargetDesc.cpp.

Referenced by LLVMInitializeDirectXTargetMC().

◆ createDirectXMCRegisterInfo()

static MCRegisterInfo * createDirectXMCRegisterInfo ( const Triple Triple)
static

Definition at line 132 of file DirectXMCTargetDesc.cpp.

Referenced by LLVMInitializeDirectXTargetMC().

◆ createDirectXMCSubtargetInfo()

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

Definition at line 128 of file DirectXMCTargetDesc.cpp.

Referenced by LLVMInitializeDirectXTargetMC().

◆ createDXILMCAsmBackend()

MCAsmBackend * createDXILMCAsmBackend ( const Target T,
const MCSubtargetInfo STI,
const MCRegisterInfo MRI,
const MCTargetOptions Options 
)

Definition at line 120 of file DirectXMCTargetDesc.cpp.

Referenced by LLVMInitializeDirectXTargetMC().

◆ createDXILMCCodeEmitter()

MCCodeEmitter * createDXILMCCodeEmitter ( const MCInstrInfo MCII,
MCContext Ctx 
)

Definition at line 115 of file DirectXMCTargetDesc.cpp.

Referenced by LLVMInitializeDirectXTargetMC().

◆ createDXILMCInstPrinter()

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

Definition at line 105 of file DirectXMCTargetDesc.cpp.

References MRI.

Referenced by LLVMInitializeDirectXTargetMC().

◆ LLVMInitializeDirectXTargetMC()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeDirectXTargetMC ( )