LLVM API Documentation

Public Member Functions | Protected Member Functions
llvm::MCCodeEmitter Class Reference

MCCodeEmitter - Generic instruction encoding interface. More...

#include <MCCodeEmitter.h>

Inheritance diagram for llvm::MCCodeEmitter:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

MCCodeEmitter - Generic instruction encoding interface.

Definition at line 23 of file MCCodeEmitter.h.


Constructor & Destructor Documentation

MCCodeEmitter::MCCodeEmitter ( ) [protected]

Definition at line 14 of file MCCodeEmitter.cpp.

Definition at line 17 of file MCCodeEmitter.cpp.


Member Function Documentation

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().


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