LLVM
8.0.1
|
#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 |
Definition at line 39 of file MipsOptionRecord.h.
|
inline |
Definition at line 41 of file MipsOptionRecord.h.
References Context, llvm::MipsOptionRecord::EmitMipsOptionRecord(), llvm::MCRegisterInfo::getRegClass(), llvm::MCContext::getRegisterInfo(), Reg, and TRI.
|
overridedefault |
|
overridevirtual |
Implements llvm::MipsOptionRecord.
Definition at line 23 of file MipsOptionRecord.cpp.
References assert(), llvm::MipsELFStreamer::EmitIntValue(), llvm::MipsTargetStreamer::getABI(), llvm::MCObjectStreamer::getAssembler(), llvm::MCContext::getELFSection(), llvm::MCStreamer::getTargetStreamer(), llvm::MipsABIInfo::IsN32(), llvm::MipsABIInfo::IsN64(), llvm::ELF::ODK_REGINFO, llvm::MCStreamer::PopSection(), llvm::MCStreamer::PushSection(), llvm::MCAssembler::registerSection(), 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 74 of file MipsOptionRecord.cpp.
References llvm::MCRegisterClass::contains(), llvm::MCRegisterInfo::getEncodingValue(), and llvm::MCRegisterInfo::DiffListIterator::isValid().
Referenced by llvm::MipsELFStreamer::EmitInstruction().