|
LLVM 24.0.0git
|
Functions | |
| const MipsMCOptions & | getCLOpts (const MCTargetOptions &Options) |
| void | initLLVMToCVRegMapping (MCRegisterInfo *MRI) |
| constexpr unsigned | encodeCOP0Register (unsigned Reg, unsigned Sel) |
| COP0 hardware encodings reserve five bits each for REG and SEL. | |
| constexpr unsigned | getCOP0RegNum (unsigned Encoding) |
| constexpr unsigned | getCOP0Sel (unsigned Encoding) |
| MCRegister | getCOP0Register (const MCRegisterInfo &MRI, unsigned Encoding) |
| StringRef | selectMipsCPU (const Triple &TT, StringRef CPU) |
| Select the Mips CPU for the given triple and cpu name. | |
| MCRegister | matchRegisterName (StringRef Name, const MCRegisterInfo &MRI, unsigned RegClassID, unsigned AltIdx) |
| Match a symbolic name in RegClassID, or return an invalid register. | |
| int | getCPURegisterIndex (StringRef Name, const MCRegisterInfo &MRI, unsigned AltIdx, bool *IsDeprecated=nullptr) |
| Return a GPR name's hardware index, or -1 if unknown. | |
COP0 hardware encodings reserve five bits each for REG and SEL.
Definition at line 65 of file MipsMCTargetDesc.h.
References Reg.
|
inline |
Definition at line 18 of file MipsMCOptions.h.
References llvm::cl::LibraryOptionsContext::get(), and Options.
| MCRegister llvm::MIPS_MC::getCOP0Register | ( | const MCRegisterInfo & | MRI, |
| unsigned | Encoding ) |
Definition at line 56 of file MipsMCTargetDesc.cpp.
References assert(), getCOP0RegNum(), getCOP0Sel(), and MRI.
Referenced by DecodeCOP0RegisterClass().
Definition at line 68 of file MipsMCTargetDesc.h.
Referenced by DecodeCOP0RegisterClass(), getCOP0Register(), llvm::MipsInstPrinter::printCOP0Operand(), and llvm::MipsRegInfoRecord::SetPhysRegUsed().
Definition at line 69 of file MipsMCTargetDesc.h.
Referenced by DecodeCOP0RegisterClass(), getCOP0Register(), and llvm::MipsInstPrinter::printCOP0Operand().
| int llvm::MIPS_MC::getCPURegisterIndex | ( | StringRef | Name, |
| const MCRegisterInfo & | MRI, | ||
| unsigned | AltIdx, | ||
| bool * | IsDeprecated = nullptr ) |
Return a GPR name's hardware index, or -1 if unknown.
Definition at line 86 of file MipsMCTargetDesc.cpp.
References llvm::Mips::FP, matchRegisterName(), and MRI.
Referenced by llvm::MipsTargetLowering::getRegisterByName().
| void llvm::MIPS_MC::initLLVMToCVRegMapping | ( | MCRegisterInfo * | MRI | ) |
Definition at line 133 of file MipsMCTargetDesc.cpp.
References llvm::Mips::FP, llvm::Mips::GP, I, MRI, llvm::Mips::RA, and llvm::Mips::SP.
Referenced by llvm::MipsRegisterInfo::MipsRegisterInfo().
| MCRegister llvm::MIPS_MC::matchRegisterName | ( | StringRef | Name, |
| const MCRegisterInfo & | MRI, | ||
| unsigned | RegClassID, | ||
| unsigned | AltIdx ) |
Match a symbolic name in RegClassID, or return an invalid register.
Definition at line 65 of file MipsMCTargetDesc.cpp.
References llvm::MCRegisterClass::contains(), MatchRegisterAltName(), MatchRegisterName(), and MRI.
Referenced by getCPURegisterIndex().
Select the Mips CPU for the given triple and cpu name.
Definition at line 221 of file MipsMCTargetDesc.cpp.
References llvm::Triple::MipsSubArch_r6.
Referenced by createMipsMCSubtargetInfo(), llvm::MipsAsmPrinter::emitStartOfAsmFile(), and llvm::MipsSubtarget::initializeSubtargetDependencies().