LLVM  8.0.1
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
[legend]

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 22 of file MCCodeEmitter.h.

Constructor & Destructor Documentation

◆ MCCodeEmitter() [1/2]

MCCodeEmitter::MCCodeEmitter ( )
protecteddefault

◆ MCCodeEmitter() [2/2]

llvm::MCCodeEmitter::MCCodeEmitter ( const MCCodeEmitter )
delete

◆ ~MCCodeEmitter()

MCCodeEmitter::~MCCodeEmitter ( )
virtualdefault

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 )
delete

◆ reset()

virtual void llvm::MCCodeEmitter::reset ( )
inlinevirtual

Lifetime management.

Definition at line 32 of file MCCodeEmitter.h.

References encodeInstruction().

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


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