LLVM API Documentation
MCCodeEmitter - Generic instruction encoding interface. More...
#include <MCCodeEmitter.h>
Public Member Functions | |
virtual | ~MCCodeEmitter () |
virtual void | reset () |
Lifetime management. | |
virtual void | EncodeInstruction (const MCInst &Inst, raw_ostream &OS, SmallVectorImpl< MCFixup > &Fixups, const MCSubtargetInfo &STI) const =0 |
Protected Member Functions | |
MCCodeEmitter () |
MCCodeEmitter - Generic instruction encoding interface.
Definition at line 23 of file MCCodeEmitter.h.
MCCodeEmitter::MCCodeEmitter | ( | ) | [protected] |
Definition at line 14 of file MCCodeEmitter.cpp.
MCCodeEmitter::~MCCodeEmitter | ( | ) | [virtual] |
Definition at line 17 of file MCCodeEmitter.cpp.
virtual void llvm::MCCodeEmitter::EncodeInstruction | ( | const MCInst & | Inst, |
raw_ostream & | OS, | ||
SmallVectorImpl< MCFixup > & | Fixups, | ||
const MCSubtargetInfo & | STI | ||
) | const [pure virtual] |
EncodeInstruction - Encode the given Inst
to bytes on the output stream OS
.
Implemented in llvm::MipsMCCodeEmitter.
Referenced by llvm::AMDGPUAsmPrinter::EmitInstruction(), llvm::MCWinCOFFStreamer::EmitInstToData(), and llvm::MCObjectStreamer::EmitInstToFragment().
virtual void llvm::MCCodeEmitter::reset | ( | ) | [inline, virtual] |
Lifetime management.
Definition at line 34 of file MCCodeEmitter.h.
Referenced by llvm::MCAssembler::reset().