LLVM 22.0.0git
llvm::HexagonMCCodeEmitter Class Reference

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

Inheritance diagram for llvm::HexagonMCCodeEmitter:
[legend]

Public Member Functions

 HexagonMCCodeEmitter (MCInstrInfo const &MII, MCContext &MCT)
void encodeInstruction (MCInst const &MI, SmallVectorImpl< char > &CB, SmallVectorImpl< MCFixup > &Fixups, MCSubtargetInfo const &STI) const override
 Emit the bundle.
void encodeSingleInstruction (const MCInst &MI, SmallVectorImpl< char > &CB, SmallVectorImpl< MCFixup > &Fixups, const MCSubtargetInfo &STI, uint32_t Parse) const
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.
Public Member Functions inherited from llvm::MCCodeEmitter
 MCCodeEmitter (const MCCodeEmitter &)=delete
MCCodeEmitteroperator= (const MCCodeEmitter &)=delete
virtual ~MCCodeEmitter ()
virtual void reset ()
 Lifetime management.

Additional Inherited Members

Protected Member Functions inherited from llvm::MCCodeEmitter
 MCCodeEmitter ()
Static Protected Member Functions inherited from llvm::MCCodeEmitter
static void reportUnsupportedInst (const MCInst &Inst)
static void reportUnsupportedOperand (const MCInst &Inst, unsigned OpNum)

Detailed Description

Definition at line 35 of file HexagonMCCodeEmitter.h.

Constructor & Destructor Documentation

◆ HexagonMCCodeEmitter()

llvm::HexagonMCCodeEmitter::HexagonMCCodeEmitter ( MCInstrInfo const & MII,
MCContext & MCT )
inline

Definition at line 50 of file HexagonMCCodeEmitter.h.

Member Function Documentation

◆ encodeInstruction()

◆ encodeSingleInstruction()

◆ getBinaryCodeForInstr()

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

References llvm::Last, and MI.

Referenced by encodeSingleInstruction().

◆ getMachineOpValue()


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