LLVM 19.0.0git
Public Member Functions | Protected Member Functions | List of all members
llvm::MCCodeEmitter Class Referenceabstract

MCCodeEmitter - Generic instruction encoding interface. More...

#include "llvm/MC/MCCodeEmitter.h"

Inheritance diagram for llvm::MCCodeEmitter:
Inheritance graph

Public Member Functions

 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.

Protected Member Functions

 MCCodeEmitter ()

Detailed Description

MCCodeEmitter - Generic instruction encoding interface.

Definition at line 21 of file MCCodeEmitter.h.

Constructor & Destructor Documentation

◆ MCCodeEmitter() [1/2]

MCCodeEmitter::MCCodeEmitter ( )

◆ MCCodeEmitter() [2/2]

llvm::MCCodeEmitter::MCCodeEmitter ( const MCCodeEmitter )

◆ ~MCCodeEmitter()

MCCodeEmitter::~MCCodeEmitter ( )

Member Function Documentation

◆ encodeInstruction()

virtual void llvm::MCCodeEmitter::encodeInstruction ( const MCInst Inst,
SmallVectorImpl< char > &  CB,
SmallVectorImpl< MCFixup > &  Fixups,
const MCSubtargetInfo STI 
) const
pure virtual

◆ operator=()

MCCodeEmitter & llvm::MCCodeEmitter::operator= ( const MCCodeEmitter )

◆ reset()

virtual void llvm::MCCodeEmitter::reset ( )

Lifetime management.

Definition at line 31 of file MCCodeEmitter.h.

Referenced by llvm::MCAssembler::reset().

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