LLVM 20.0.0git
|
MCCodeEmitter - Generic instruction encoding interface. More...
#include "llvm/MC/MCCodeEmitter.h"
Public Member Functions | |
MCCodeEmitter (const MCCodeEmitter &)=delete | |
MCCodeEmitter & | operator= (const MCCodeEmitter &)=delete |
virtual | ~MCCodeEmitter () |
virtual void | reset () |
Lifetime management. | |
virtual void | encodeInstruction (const MCInst &Inst, SmallVectorImpl< char > &CB, SmallVectorImpl< MCFixup > &Fixups, const MCSubtargetInfo &STI) const =0 |
Encode the given Inst to bytes and append to CB . | |
Protected Member Functions | |
MCCodeEmitter () | |
MCCodeEmitter - Generic instruction encoding interface.
Definition at line 21 of file MCCodeEmitter.h.
|
protecteddefault |
|
delete |
|
virtualdefault |
|
pure virtual |
Encode the given Inst
to bytes and append to CB
.
Implemented in llvm::CSKYMCCodeEmitter, llvm::MipsMCCodeEmitter, llvm::MSP430MCCodeEmitter, llvm::PPCMCCodeEmitter, and llvm::HexagonMCCodeEmitter.
Referenced by llvm::AMDGPUAsmPrinter::emitInstruction(), llvm::MCXCOFFStreamer::emitInstToData(), llvm::MCWinCOFFStreamer::emitInstToData(), and llvm::MCObjectStreamer::emitInstToFragment().
|
delete |
|
inlinevirtual |
Lifetime management.
Definition at line 31 of file MCCodeEmitter.h.
Referenced by llvm::MCAssembler::reset().