LLVM 19.0.0git
Namespaces | Functions
llvm::sys::detail Namespace Reference

Namespaces

namespace  x86
 Helper functions to extract CPU details from CPUID on x86.
 

Functions

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

Function Documentation

◆ getHostCPUNameForARM()

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

◆ getHostCPUNameForBPF()

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

Definition at line 458 of file Host.cpp.

◆ getHostCPUNameForPowerPC()

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

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

Definition at line 76 of file Host.cpp.

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

◆ getHostCPUNameForRISCV()

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

◆ getHostCPUNameForS390x()

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

◆ getHostCPUNameForSPARC()

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