|
LLVM 22.0.0git
|
Namespaces | |
| namespace | x86 |
| Helper functions to extract CPU details from CPUID on x86. | |
Functions | |
| LLVM_ABI StringRef | getHostCPUNameForPowerPC (StringRef ProcCpuinfoContent) |
| Helper functions to extract HostCPUName from /proc/cpuinfo on linux. | |
| LLVM_ABI StringRef | getHostCPUNameForARM (StringRef ProcCpuinfoContent) |
| LLVM_ABI StringRef | getHostCPUNameForARM (uint64_t PrimaryCpuInfo, ArrayRef< uint64_t > UniqueCpuInfos) |
| LLVM_ABI StringRef | getHostCPUNameForS390x (StringRef ProcCpuinfoContent) |
| LLVM_ABI StringRef | getHostCPUNameForRISCV (StringRef ProcCpuinfoContent) |
| LLVM_ABI StringRef | getHostCPUNameForSPARC (StringRef ProcCpuinfoContent) |
| LLVM_ABI StringRef | getHostCPUNameForBPF () |
Definition at line 394 of file Host.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::back(), llvm::SmallVectorImpl< T >::emplace_back(), llvm::SmallVectorTemplateCommon< T, typename >::empty(), llvm::SmallVectorTemplateCommon< T, typename >::end(), llvm::SmallVectorImpl< T >::erase(), getHostCPUNameForARMFromComponents(), I, llvm::StringRef::ltrim(), llvm::sort(), llvm::StringRef::split(), and llvm::unique().
| StringRef llvm::sys::detail::getHostCPUNameForARM | ( | uint64_t | PrimaryCpuInfo, |
| ArrayRef< uint64_t > | UniqueCpuInfos ) |
Definition at line 436 of file Host.cpp.
References llvm::Bitfield::get(), getHostCPUNameForARMFromComponents(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::SmallVectorImpl< T >::reserve(), llvm::ArrayRef< T >::size(), llvm::SmallVectorTemplateCommon< T, typename >::size(), and llvm::utohexstr().
Helper functions to extract HostCPUName from /proc/cpuinfo on linux.
Definition at line 89 of file Host.cpp.
References llvm::StringRef::begin(), llvm::StringSwitch< T, R >::Case(), llvm::StringSwitch< T, R >::Default(), and llvm::StringRef::end().
Definition at line 550 of file Host.cpp.
References llvm::StringSwitch< T, R >::Case(), llvm::StringSwitch< T, R >::Default(), I, llvm::StringRef::split(), and starts_with().
Definition at line 505 of file Host.cpp.
References I, llvm::StringRef::npos, llvm::StringRef::split(), and starts_with().