LLVM
15.0.0git
|
#include "Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.h"
Additional Inherited Members | |
![]() | |
MCCodeEmitter () | |
Definition at line 34 of file HexagonMCCodeEmitter.h.
|
inline |
Definition at line 49 of file HexagonMCCodeEmitter.h.
|
overridevirtual |
Emit the bundle.
Implements llvm::MCCodeEmitter.
Definition at line 367 of file HexagonMCCodeEmitter.cpp.
References assert(), llvm::HexagonMCInstrInfo::bundleInstructions(), llvm::HexagonMCInstrInfo::bundleSize(), llvm::dbgs(), llvm::MCSubtargetInfo::getFeatureBits(), HEXAGON_INSTR_SIZE, I, llvm::HexagonMCInstrInfo::isBundle(), llvm::HexagonMCInstrInfo::isImmext(), LLVM_DEBUG, and MI.
void HexagonMCCodeEmitter::EncodeSingleInstruction | ( | const MCInst & | MI, |
raw_ostream & | OS, | ||
SmallVectorImpl< MCFixup > & | Fixups, | ||
const MCSubtargetInfo & | STI, | ||
uint32_t | Parse | ||
) | const |
EncodeSingleInstruction - Emit a single.
Definition at line 400 of file HexagonMCCodeEmitter.cpp.
References assert(), llvm::dbgs(), llvm::HexagonMCInstrInfo::getDesc(), llvm::HexagonMCInstrInfo::getName(), llvm::HexagonII::INST_PARSE_DUPLEX, llvm::HexagonMCInstrInfo::isBundle(), llvm::X86II::isPseudo(), llvm::support::little, LLVM_DEBUG, llvm_unreachable, and MI.
uint64_t llvm::HexagonMCCodeEmitter::getBinaryCodeForInstr | ( | MCInst const & | MI, |
SmallVectorImpl< MCFixup > & | Fixups, | ||
MCSubtargetInfo const & | STI | ||
) | const |
unsigned HexagonMCCodeEmitter::getMachineOpValue | ( | MCInst const & | MI, |
MCOperand const & | MO, | ||
SmallVectorImpl< MCFixup > & | Fixups, | ||
MCSubtargetInfo const & | STI | ||
) | const |
Return binary encoding of operand.
Definition at line 712 of file HexagonMCCodeEmitter.cpp.
References assert(), llvm::HexagonMCInstrInfo::bundleInstructions(), llvm::HexagonMCInstrInfo::getDesc(), llvm::HexagonMCInstrInfo::getDuplexRegisterNumbering(), llvm::MCOperand::getExpr(), llvm::HexagonMCInstrInfo::getNewValueOperand(), llvm::HexagonMCInstrInfo::getNewValueOperand2(), llvm::MCOperand::getReg(), llvm::HexagonMCInstrInfo::hasNewValue(), llvm::HexagonMCInstrInfo::hasNewValue2(), i, I, llvm::MCOperand::isImm(), llvm::HexagonMCInstrInfo::isImmext(), llvm::HexagonMCInstrInfo::isNewValue(), llvm::HexagonMCInstrInfo::isPredicated(), llvm::HexagonMCInstrInfo::isPredicatedTrue(), llvm::MCOperand::isReg(), llvm::HexagonMCInstrInfo::isVector(), MI, n, RegisterMatches(), llvm::HexagonMCInstrInfo::SubregisterBit(), and UseReg().