|
LLVM 24.0.0git
|
Functions | |
| void | initLLVMToCVRegMapping (MCRegisterInfo *MRI) |
| 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. | |
| 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 72 of file MipsMCTargetDesc.cpp.
References llvm::MCRegisterInfo::getEncodingValue(), and matchRegisterName().
Referenced by llvm::MipsTargetLowering::getRegisterByName().
| void llvm::MIPS_MC::initLLVMToCVRegMapping | ( | MCRegisterInfo * | MRI | ) |
Definition at line 119 of file MipsMCTargetDesc.cpp.
References I, and llvm::MCRegisterInfo::mapLLVMRegToCVReg().
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 51 of file MipsMCTargetDesc.cpp.
References llvm::MCRegisterClass::contains(), llvm::MCRegisterInfo::getMatchingSuperReg(), llvm::MCRegisterInfo::getRegClass(), llvm::MCRegisterInfo::getSubReg(), MatchRegisterAltName(), and MatchRegisterName().
Referenced by getCPURegisterIndex().
Select the Mips CPU for the given triple and cpu name.
Definition at line 207 of file MipsMCTargetDesc.cpp.
References llvm::Triple::MipsSubArch_r6.
Referenced by createMipsMCSubtargetInfo(), llvm::MipsAsmPrinter::emitStartOfAsmFile(), and llvm::MipsSubtarget::initializeSubtargetDependencies().