LLVM 20.0.0git
|
#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) |
#define DEBUG_TYPE "spirv-mccodeemitter" |
Definition at line 27 of file SPIRVMCCodeEmitter.cpp.
using EndianWriter = support::endian::Writer |
Definition at line 58 of file SPIRVMCCodeEmitter.cpp.
|
static |
Definition at line 76 of file SPIRVMCCodeEmitter.cpp.
References llvm::little, llvm_unreachable, llvm::Register::virtReg2Index(), and llvm::support::endian::write().
Referenced by emitTypedInstrOperands(), and emitUntypedInstrOperands().
|
static |
Definition at line 91 of file SPIRVMCCodeEmitter.cpp.
References emitOperand(), and MI.
|
static |
Definition at line 101 of file SPIRVMCCodeEmitter.cpp.
References emitOperand(), and MI.
|
static |
Definition at line 63 of file SPIRVMCCodeEmitter.cpp.
References llvm::MCInstrInfo::get(), llvm::MCInstrDesc::getNumDefs(), llvm::MCInstrDesc::getNumOperands(), MI, and llvm::MCInstrDesc::operands().