LLVM 20.0.0git
|
#include "Target/Mips/MipsOptionRecord.h"
Public Member Functions | |
MipsRegInfoRecord (MipsELFStreamer *S, MCContext &Context) | |
~MipsRegInfoRecord () override=default | |
void | EmitMipsOptionRecord () override |
void | SetPhysRegUsed (unsigned Reg, const MCRegisterInfo *MCRegInfo) |
Public Member Functions inherited from llvm::MipsOptionRecord | |
virtual | ~MipsOptionRecord ()=default |
virtual void | EmitMipsOptionRecord ()=0 |
Definition at line 38 of file MipsOptionRecord.h.
|
inline |
Definition at line 40 of file MipsOptionRecord.h.
References llvm::MCContext::getRegisterInfo(), and TRI.
|
overridedefault |
|
overridevirtual |
Implements llvm::MipsOptionRecord.
Definition at line 22 of file MipsOptionRecord.cpp.
References assert(), llvm::MCStreamer::emitInt16(), llvm::MCStreamer::emitInt32(), llvm::MCStreamer::emitInt8(), llvm::MipsELFStreamer::emitIntValue(), llvm::MipsTargetStreamer::getABI(), llvm::MCContext::getELFSection(), llvm::MCStreamer::getTargetStreamer(), llvm::MipsABIInfo::IsN32(), llvm::MipsABIInfo::IsN64(), llvm::ELF::ODK_REGINFO, llvm::MCStreamer::popSection(), llvm::MCStreamer::pushSection(), llvm::MCSection::setAlignment(), llvm::ELF::SHF_ALLOC, llvm::ELF::SHF_MIPS_NOSTRIP, llvm::ELF::SHT_MIPS_OPTIONS, llvm::ELF::SHT_MIPS_REGINFO, and llvm::MipsELFStreamer::switchSection().
void MipsRegInfoRecord::SetPhysRegUsed | ( | unsigned | Reg, |
const MCRegisterInfo * | MCRegInfo | ||
) |
Definition at line 70 of file MipsOptionRecord.cpp.
References llvm::MCRegisterClass::contains(), llvm::MCRegisterInfo::getEncodingValue(), SubReg, and llvm::MCRegisterInfo::subregs_inclusive().
Referenced by llvm::MipsELFStreamer::emitInstruction().