LLVM  10.0.0svn
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. More...
virtual void encodeInstruction (const MCInst &Inst, raw_ostream &OS, SmallVectorImpl< MCFixup > &Fixups, const MCSubtargetInfo &STI) const =0
 EncodeInstruction - Encode the given Inst to bytes on the output stream OS. More...

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,
raw_ostream OS,
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.

References encodeInstruction().

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

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