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

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...
 
- Public Member Functions inherited from llvm::MCCodeEmitter
 MCCodeEmitter (const MCCodeEmitter &)=delete
 
MCCodeEmitteroperator= (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

- Protected Member Functions inherited from llvm::MCCodeEmitter
 MCCodeEmitter ()
 

Detailed Description

Definition at line 35 of file MSP430MCCodeEmitter.cpp.

Constructor & Destructor Documentation

◆ MSP430MCCodeEmitter()

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

Definition at line 74 of file MSP430MCCodeEmitter.cpp.

Member Function Documentation

◆ encodeInstruction()

void llvm::MSP430MCCodeEmitter::encodeInstruction ( const MCInst Inst,
raw_ostream OS,
SmallVectorImpl< MCFixup > &  Fixups,
const MCSubtargetInfo STI 
) const
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, llvm::Check::Size, and llvm::support::endian::write().


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