LLVM  14.0.0git
Classes | Namespaces | Enumerations | Functions
Host.h File Reference
#include <string>
Include dependency graph for Host.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::StringMap< ValueTy, AllocatorTy >
 StringMap - This is an unconventional map that is specialized for handling keys that are "strings", which are basically ranges of bytes. More...
 

Namespaces

 llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
 llvm::sys
 
 llvm::sys::detail
 
 llvm::sys::detail::x86
 Helper functions to extract CPU details from CPUID on x86.
 

Enumerations

enum  llvm::sys::detail::x86::VendorSignatures { llvm::sys::detail::x86::VendorSignatures::UNKNOWN, llvm::sys::detail::x86::VendorSignatures::GENUINE_INTEL, llvm::sys::detail::x86::VendorSignatures::AUTHENTIC_AMD }
 

Functions

std::string llvm::sys::getDefaultTargetTriple ()
 getDefaultTargetTriple() - Return the default target triple the compiler has been configured to produce code for. More...
 
std::string llvm::sys::getProcessTriple ()
 getProcessTriple() - Return an appropriate target triple for generating code to be loaded into the current process, e.g. More...
 
StringRef llvm::sys::getHostCPUName ()
 getHostCPUName - Get the LLVM name for the host CPU. More...
 
bool llvm::sys::getHostCPUFeatures (StringMap< bool, MallocAllocator > &Features)
 getHostCPUFeatures - Get the LLVM names for the host CPU features. More...
 
int llvm::sys::getHostNumPhysicalCores ()
 Get the number of physical cores (as opposed to logical cores returned from thread::hardware_concurrency(), which includes hyperthreads). More...
 
StringRef llvm::sys::detail::getHostCPUNameForPowerPC (StringRef ProcCpuinfoContent)
 Helper functions to extract HostCPUName from /proc/cpuinfo on linux. More...
 
StringRef llvm::sys::detail::getHostCPUNameForARM (StringRef ProcCpuinfoContent)
 
StringRef llvm::sys::detail::getHostCPUNameForS390x (StringRef ProcCpuinfoContent)
 
StringRef llvm::sys::detail::getHostCPUNameForBPF ()
 
VendorSignatures llvm::sys::detail::x86::getVendorSignature (unsigned *MaxLeaf=nullptr)
 Returns the host CPU's vendor. More...