LLVM  7.0.0svn
Functions
llvm::MIPS_MC Namespace Reference

Functions

StringRef selectMipsCPU (const Triple &TT, StringRef CPU)
 Select the Mips CPU for the given triple and cpu name. More...
 

Function Documentation

◆ selectMipsCPU()

StringRef llvm::MIPS_MC::selectMipsCPU ( const Triple TT,
StringRef  CPU 
)

Select the Mips CPU for the given triple and cpu name.

FIXME: Merge with the copy in MipsSubtarget.cpp

Definition at line 48 of file MipsMCTargetDesc.cpp.

References llvm::StringRef::empty(), and llvm::Triple::isMIPS32().

Referenced by createMipsMCSubtargetInfo(), llvm::MipsAsmPrinter::EmitStartOfAsmFile(), and llvm::MipsSubtarget::initializeSubtargetDependencies().