LLVM 20.0.0git
|
Public Member Functions | |
MSP430MCCodeEmitter (MCContext &ctx, MCInstrInfo const &MCII) | |
void | encodeInstruction (const MCInst &MI, SmallVectorImpl< char > &CB, SmallVectorImpl< MCFixup > &Fixups, const MCSubtargetInfo &STI) const override |
Encode the given Inst to bytes and append to CB . | |
Public Member Functions inherited from llvm::MCCodeEmitter | |
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 . | |
Additional Inherited Members | |
Protected Member Functions inherited from llvm::MCCodeEmitter | |
MCCodeEmitter () | |
Definition at line 33 of file MSP430MCCodeEmitter.cpp.
|
inline |
Definition at line 72 of file MSP430MCCodeEmitter.cpp.
|
overridevirtual |
Encode the given Inst
to bytes and append to CB
.
Implements llvm::MCCodeEmitter.
Definition at line 80 of file MSP430MCCodeEmitter.cpp.
References llvm::MCInstrInfo::get(), llvm::little, MI, Size, and llvm::support::endian::write().