LLVM API Documentation
#include <MipsOptionRecord.h>
Public Member Functions | |
MipsRegInfoRecord (MipsELFStreamer *S, MCContext &Context, const MCSubtargetInfo &STI) | |
~MipsRegInfoRecord () | |
void | EmitMipsOptionRecord () override |
void | SetPhysRegUsed (unsigned Reg, const MCRegisterInfo *MCRegInfo) |
Definition at line 37 of file MipsOptionRecord.h.
llvm::MipsRegInfoRecord::MipsRegInfoRecord | ( | MipsELFStreamer * | S, |
MCContext & | Context, | ||
const MCSubtargetInfo & | STI | ||
) | [inline] |
Definition at line 39 of file MipsOptionRecord.h.
References llvm::MCRegisterInfo::getRegClass(), and llvm::MCContext::getRegisterInfo().
llvm::MipsRegInfoRecord::~MipsRegInfoRecord | ( | ) | [inline] |
Definition at line 56 of file MipsOptionRecord.h.
void MipsRegInfoRecord::EmitMipsOptionRecord | ( | ) | [override, virtual] |
Implements llvm::MipsOptionRecord.
Definition at line 16 of file MipsOptionRecord.cpp.
References llvm::MCStreamer::EmitIntValue(), Features, llvm::MCObjectStreamer::getAssembler(), llvm::MCContext::getELFSection(), llvm::MCSubtargetInfo::getFeatureBits(), llvm::SectionKind::getMetadata(), llvm::MCAssembler::getOrCreateSectionData(), llvm::MCSubtargetInfo::getTargetTriple(), llvm::MCStreamer::PopSection(), llvm::MCStreamer::PushSection(), llvm::MCSectionData::setAlignment(), llvm::ELF::SHF_ALLOC, llvm::ELF::SHF_MIPS_NOSTRIP, llvm::ELF::SHT_MIPS_OPTIONS, llvm::ELF::SHT_MIPS_REGINFO, llvm::MCStreamer::SwitchSection(), and T.
void MipsRegInfoRecord::SetPhysRegUsed | ( | unsigned | Reg, |
const MCRegisterInfo * | MCRegInfo | ||
) |
Definition at line 68 of file MipsOptionRecord.cpp.
References llvm::MCRegisterClass::contains(), llvm::MCRegisterInfo::getEncodingValue(), and llvm::MCRegisterInfo::DiffListIterator::isValid().
Referenced by llvm::MipsELFStreamer::EmitInstruction().