LLVM
15.0.0git
|
Public Member Functions | |
MSP430MCCodeEmitter (MCContext &ctx, MCInstrInfo const &MCII) | |
void | encodeInstruction (const MCInst &MI, raw_ostream &OS, SmallVectorImpl< MCFixup > &Fixups, const MCSubtargetInfo &STI) const override |
EncodeInstruction - Encode the given Inst to bytes on the output stream OS . More... | |
![]() | |
MCCodeEmitter (const MCCodeEmitter &)=delete | |
MCCodeEmitter & | operator= (const MCCodeEmitter &)=delete |
virtual | ~MCCodeEmitter () |
virtual void | reset () |
Lifetime management. More... | |
virtual void | emitPrefix (const MCInst &Inst, raw_ostream &OS, const MCSubtargetInfo &STI) const |
Emit the prefixes of given instruction on the output stream. More... | |
Additional Inherited Members | |
![]() | |
MCCodeEmitter () | |
Definition at line 35 of file MSP430MCCodeEmitter.cpp.
|
inline |
Definition at line 74 of file MSP430MCCodeEmitter.cpp.
|
overridevirtual |
EncodeInstruction - Encode the given Inst
to bytes on the output stream OS
.
Implements llvm::MCCodeEmitter.
Definition at line 82 of file MSP430MCCodeEmitter.cpp.
References llvm::MCInstrInfo::get(), llvm::MCInstrDesc::getSize(), llvm::support::little, MI, and llvm::support::endian::write().