LLVM 20.0.0git
Macros | Typedefs | Functions
SPIRVMCCodeEmitter.cpp File Reference
#include "MCTargetDesc/SPIRVMCTargetDesc.h"
#include "llvm/CodeGen/Register.h"
#include "llvm/MC/MCCodeEmitter.h"
#include "llvm/MC/MCFixup.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/EndianStream.h"
#include "SPIRVGenMCCodeEmitter.inc"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "spirv-mccodeemitter"
 

Typedefs

using EndianWriter = support::endian::Writer
 

Functions

static bool hasType (const MCInst &MI, const MCInstrInfo &MII)
 
static void emitOperand (const MCOperand &Op, SmallVectorImpl< char > &CB)
 
static void emitTypedInstrOperands (const MCInst &MI, SmallVectorImpl< char > &CB)
 
static void emitUntypedInstrOperands (const MCInst &MI, SmallVectorImpl< char > &CB)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "spirv-mccodeemitter"

Definition at line 27 of file SPIRVMCCodeEmitter.cpp.

Typedef Documentation

◆ EndianWriter

Definition at line 58 of file SPIRVMCCodeEmitter.cpp.

Function Documentation

◆ emitOperand()

static void emitOperand ( const MCOperand Op,
SmallVectorImpl< char > &  CB 
)
static

◆ emitTypedInstrOperands()

static void emitTypedInstrOperands ( const MCInst MI,
SmallVectorImpl< char > &  CB 
)
static

Definition at line 91 of file SPIRVMCCodeEmitter.cpp.

References emitOperand(), and MI.

◆ emitUntypedInstrOperands()

static void emitUntypedInstrOperands ( const MCInst MI,
SmallVectorImpl< char > &  CB 
)
static

Definition at line 101 of file SPIRVMCCodeEmitter.cpp.

References emitOperand(), and MI.

◆ hasType()

static bool hasType ( const MCInst MI,
const MCInstrInfo MII 
)
static