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

#include "Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.h"

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

Public Member Functions

 HexagonMCCodeEmitter (MCInstrInfo const &aMII, MCContext &aMCT)
 
uint32_t parseBits (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 - Emit the bundle. More...
 
void EncodeSingleInstruction (const MCInst &MI, raw_ostream &OS, SmallVectorImpl< MCFixup > &Fixups, const MCSubtargetInfo &STI, uint32_t Parse) 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
 MCCodeEmitter (const MCCodeEmitter &)=delete
 
MCCodeEmitteroperator= (const MCCodeEmitter &)=delete
 
virtual ~MCCodeEmitter ()
 
virtual void reset ()
 Lifetime management. More...
 

Additional Inherited Members

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

Detailed Description

Definition at line 35 of file HexagonMCCodeEmitter.h.

Constructor & Destructor Documentation

◆ HexagonMCCodeEmitter()

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

Definition at line 45 of file HexagonMCCodeEmitter.cpp.

Referenced by llvm::createHexagonMCCodeEmitter().

Member Function Documentation

◆ encodeInstruction()

void HexagonMCCodeEmitter::encodeInstruction ( MCInst const MI,
raw_ostream OS,
SmallVectorImpl< MCFixup > &  Fixups,
MCSubtargetInfo const STI 
) const
overridevirtual

◆ EncodeSingleInstruction()

void HexagonMCCodeEmitter::EncodeSingleInstruction ( const MCInst MI,
raw_ostream OS,
SmallVectorImpl< MCFixup > &  Fixups,
const MCSubtargetInfo STI,
uint32_t  Parse 
) const

◆ getBinaryCodeForInstr()

uint64_t llvm::HexagonMCCodeEmitter::getBinaryCodeForInstr ( MCInst const MI,
SmallVectorImpl< MCFixup > &  Fixups,
MCSubtargetInfo const STI 
) const

Referenced by EncodeSingleInstruction().

◆ getMachineOpValue()

unsigned HexagonMCCodeEmitter::getMachineOpValue ( MCInst const MI,
MCOperand const MO,
SmallVectorImpl< MCFixup > &  Fixups,
MCSubtargetInfo const STI 
) const

◆ parseBits()

uint32_t HexagonMCCodeEmitter::parseBits ( size_t  Last,
MCInst const MCB,
MCInst const MCI 
) const

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