LLVM
8.0.1
|
Public Member Functions | |
MSP430MCCodeEmitter (MCContext &ctx, MCInstrInfo const &MCII) | |
void | encodeInstruction (const MCInst &MI, raw_ostream &OS, SmallVectorImpl< MCFixup > &Fixups, const MCSubtargetInfo &STI) const override |
EncodeInstruction - Encode the given Inst to bytes on the output stream OS . More... | |
Public Member Functions inherited from llvm::MCCodeEmitter | |
MCCodeEmitter (const MCCodeEmitter &)=delete | |
MCCodeEmitter & | operator= (const MCCodeEmitter &)=delete |
virtual | ~MCCodeEmitter () |
virtual void | reset () |
Lifetime management. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from llvm::MCCodeEmitter | |
MCCodeEmitter () | |
Definition at line 36 of file MSP430MCCodeEmitter.cpp.
|
inline |
Definition at line 75 of file MSP430MCCodeEmitter.cpp.
References encodeInstruction().
Referenced by llvm::createMSP430MCCodeEmitter().
|
overridevirtual |
EncodeInstruction - Encode the given Inst
to bytes on the output stream OS
.
Implements llvm::MCCodeEmitter.
Definition at line 83 of file MSP430MCCodeEmitter.cpp.
References assert(), MSP430CC::COND_E, MSP430CC::COND_GE, MSP430CC::COND_HS, MSP430CC::COND_L, MSP430CC::COND_LO, MSP430CC::COND_N, MSP430CC::COND_NE, llvm::MCFixup::create(), llvm::MSP430::fixup_10_pcrel, llvm::MSP430::fixup_16_byte, llvm::MSP430::fixup_16_pcrel_byte, llvm::FixupKind(), llvm::MCInstrInfo::get(), llvm::MCRegisterInfo::getEncodingValue(), llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInst::getLoc(), llvm::MCInst::getOpcode(), llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), llvm::MCContext::getRegisterInfo(), llvm::MCInstrDesc::getSize(), llvm::MCOperand::isExpr(), llvm::MCOperand::isImm(), llvm::MCOperand::isReg(), llvm::support::little, llvm_unreachable, MI, llvm::SmallVectorTemplateBase< T >::push_back(), Reg, Size, and llvm::support::endian::write().
Referenced by MSP430MCCodeEmitter().