LLVM 20.0.0git
Public Member Functions | List of all members
llvm::MSP430MCCodeEmitter Class Reference
Inheritance diagram for llvm::MSP430MCCodeEmitter:
Inheritance graph
[legend]

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
 
MCCodeEmitteroperator= (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 ()
 

Detailed Description

Definition at line 33 of file MSP430MCCodeEmitter.cpp.

Constructor & Destructor Documentation

◆ MSP430MCCodeEmitter()

llvm::MSP430MCCodeEmitter::MSP430MCCodeEmitter ( MCContext ctx,
MCInstrInfo const MCII 
)
inline

Definition at line 72 of file MSP430MCCodeEmitter.cpp.

Member Function Documentation

◆ encodeInstruction()

void llvm::MSP430MCCodeEmitter::encodeInstruction ( const MCInst Inst,
SmallVectorImpl< char > &  CB,
SmallVectorImpl< MCFixup > &  Fixups,
const MCSubtargetInfo STI 
) const
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().


The documentation for this class was generated from the following file: