LLVM
8.0.1
|
MCCodeEmitter - Generic instruction encoding interface. More...
#include "llvm/MC/MCCodeEmitter.h"
Public Member Functions | |
MCCodeEmitter (const MCCodeEmitter &)=delete | |
MCCodeEmitter & | operator= (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 () | |
MCCodeEmitter - Generic instruction encoding interface.
Definition at line 22 of file MCCodeEmitter.h.
|
protecteddefault |
|
delete |
|
virtualdefault |
|
pure virtual |
EncodeInstruction - Encode the given Inst
to bytes on the output stream OS
.
Implemented in llvm::PPCMCCodeEmitter, llvm::MSP430MCCodeEmitter, llvm::HexagonMCCodeEmitter, and llvm::MipsMCCodeEmitter.
Referenced by CheckBundleSubtargets(), llvm::MCWasmStreamer::EmitIdent(), llvm::MCWinCOFFStreamer::EmitInstToData(), llvm::MCObjectStreamer::EmitInstToFragment(), EmitNops(), llvm::MCAssembler::Finish(), and reset().
|
delete |
|
inlinevirtual |
Lifetime management.
Definition at line 32 of file MCCodeEmitter.h.
References encodeInstruction().
Referenced by llvm::MCAssembler::reset().