LLVM  3.7.0
Public Member Functions | List of all members
llvm::HexagonMCCodeEmitter Class Reference

#include <HexagonMCCodeEmitter.h>

Inheritance diagram for llvm::HexagonMCCodeEmitter:
[legend]
Collaboration diagram for llvm::HexagonMCCodeEmitter:
[legend]

Public Member Functions

 HexagonMCCodeEmitter (MCInstrInfo const &aMII, MCContext &aMCT)
 
uint32_t parseBits (size_t Instruction, size_t Last, MCInst const &MCB, MCInst const &MCI) const
 
void encodeInstruction (MCInst const &MI, raw_ostream &OS, SmallVectorImpl< MCFixup > &Fixups, MCSubtargetInfo const &STI) const override
 EncodeInstruction - Encode the given Inst to bytes on the output stream OS. More...
 
void EncodeSingleInstruction (const MCInst &MI, raw_ostream &OS, SmallVectorImpl< MCFixup > &Fixups, const MCSubtargetInfo &STI, uint32_t Parse, size_t Index) const
 EncodeSingleInstruction - Emit a single. More...
 
uint64_t getBinaryCodeForInstr (MCInst const &MI, SmallVectorImpl< MCFixup > &Fixups, MCSubtargetInfo const &STI) const
 
unsigned getMachineOpValue (MCInst const &MI, MCOperand const &MO, SmallVectorImpl< MCFixup > &Fixups, MCSubtargetInfo const &STI) const
 Return binary encoding of operand. More...
 
- Public Member Functions inherited from llvm::MCCodeEmitter
virtual ~MCCodeEmitter ()
 
virtual void reset ()
 Lifetime management. More...
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::MCCodeEmitter
 MCCodeEmitter ()
 

Detailed Description

Definition at line 28 of file HexagonMCCodeEmitter.h.

Constructor & Destructor Documentation

HexagonMCCodeEmitter::HexagonMCCodeEmitter ( MCInstrInfo const aMII,
MCContext aMCT 
)

Definition at line 35 of file HexagonMCCodeEmitter.cpp.

Member Function Documentation

void HexagonMCCodeEmitter::encodeInstruction ( MCInst const Inst,
raw_ostream OS,
SmallVectorImpl< MCFixup > &  Fixups,
MCSubtargetInfo const STI 
) const
overridevirtual
void HexagonMCCodeEmitter::EncodeSingleInstruction ( const MCInst MI,
raw_ostream OS,
SmallVectorImpl< MCFixup > &  Fixups,
const MCSubtargetInfo STI,
uint32_t  Parse,
size_t  Index 
) const
uint64_t llvm::HexagonMCCodeEmitter::getBinaryCodeForInstr ( MCInst const MI,
SmallVectorImpl< MCFixup > &  Fixups,
MCSubtargetInfo const STI 
) const

Referenced by EncodeSingleInstruction().

unsigned HexagonMCCodeEmitter::getMachineOpValue ( MCInst const MI,
MCOperand const MO,
SmallVectorImpl< MCFixup > &  Fixups,
MCSubtargetInfo const STI 
) const
uint32_t HexagonMCCodeEmitter::parseBits ( size_t  Instruction,
size_t  Last,
MCInst const MCB,
MCInst const MCI 
) const

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