LLVM  6.0.0svn
Functions
llvm::sys::detail Namespace Reference

Functions

StringRef getHostCPUNameForPowerPC (const StringRef &ProcCpuinfoContent)
 Helper functions to extract HostCPUName from /proc/cpuinfo on linux. More...
 
StringRef getHostCPUNameForARM (const StringRef &ProcCpuinfoContent)
 
StringRef getHostCPUNameForS390x (const StringRef &ProcCpuinfoContent)
 
StringRef getHostCPUNameForBPF ()
 

Function Documentation

◆ getHostCPUNameForARM()

StringRef llvm::sys::detail::getHostCPUNameForARM ( const StringRef ProcCpuinfoContent)

◆ getHostCPUNameForBPF()

StringRef llvm::sys::detail::getHostCPUNameForBPF ( )

◆ getHostCPUNameForPowerPC()

StringRef llvm::sys::detail::getHostCPUNameForPowerPC ( const StringRef ProcCpuinfoContent)

Helper functions to extract HostCPUName from /proc/cpuinfo on linux.

Definition at line 67 of file Host.cpp.

References llvm::StringRef::begin(), llvm::StringSwitch< T, R >::Case(), llvm::StringSwitch< T, R >::Default(), and llvm::StringRef::end().

Referenced by getHostCPUNameForBPF().

◆ getHostCPUNameForS390x()

StringRef llvm::sys::detail::getHostCPUNameForS390x ( const StringRef ProcCpuinfoContent)