LLVM  15.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"
Include dependency graph for SPIRVMCCodeEmitter.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "spirv-mccodeemitter"
 
#define ENABLE_INSTR_PREDICATE_VERIFIER
 

Typedefs

using EndianWriter = support::endian::Writer
 

Functions

static bool hasType (const MCInst &MI, const MCInstrInfo &MII)
 
static void emitOperand (const MCOperand &Op, EndianWriter &OSE)
 
static void emitTypedInstrOperands (const MCInst &MI, EndianWriter &OSE)
 
static void emitUntypedInstrOperands (const MCInst &MI, EndianWriter &OSE)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "spirv-mccodeemitter"

Definition at line 27 of file SPIRVMCCodeEmitter.cpp.

◆ ENABLE_INSTR_PREDICATE_VERIFIER

#define ENABLE_INSTR_PREDICATE_VERIFIER

Definition at line 131 of file SPIRVMCCodeEmitter.cpp.

Typedef Documentation

◆ EndianWriter

Definition at line 64 of file SPIRVMCCodeEmitter.cpp.

Function Documentation

◆ emitOperand()

static void emitOperand ( const MCOperand Op,
EndianWriter OSE 
)
static

◆ emitTypedInstrOperands()

static void emitTypedInstrOperands ( const MCInst MI,
EndianWriter OSE 
)
static

Definition at line 96 of file SPIRVMCCodeEmitter.cpp.

References emitOperand(), i, and MI.

◆ emitUntypedInstrOperands()

static void emitUntypedInstrOperands ( const MCInst MI,
EndianWriter OSE 
)
static

Definition at line 105 of file SPIRVMCCodeEmitter.cpp.

References emitOperand(), and MI.

◆ hasType()

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