LLVM  8.0.1
Functions
llvm::sys::detail Namespace Reference

Functions

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

Function Documentation

◆ getHostCPUNameForARM()

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

◆ getHostCPUNameForBPF()

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

◆ getHostCPUNameForPowerPC()

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

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

Definition at line 68 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 ( StringRef  ProcCpuinfoContent)