LLVM 20.0.0git
Namespaces | Enumerations | Functions
Host.h File Reference
#include <string>

Go to the source code of this file.

Namespaces

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

Enumerations

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

Functions

std::string llvm::sys::getDefaultTargetTriple ()
 getDefaultTargetTriple() - Return the default target triple the compiler has been configured to produce code for.
 
std::string llvm::sys::getProcessTriple ()
 getProcessTriple() - Return an appropriate target triple for generating code to be loaded into the current process, e.g.
 
StringRef llvm::sys::getHostCPUName ()
 getHostCPUName - Get the LLVM name for the host CPU.
 
const StringMap< bool, MallocAllocatorllvm::sys::getHostCPUFeatures ()
 getHostCPUFeatures - Get the LLVM names for the host CPU features.
 
void llvm::sys::printDefaultTargetAndDetectedCPU (raw_ostream &OS)
 This is a function compatible with cl::AddExtraVersionPrinter, which adds info about the current target triple and detected CPU.
 
StringRef llvm::sys::detail::getHostCPUNameForPowerPC (StringRef ProcCpuinfoContent)
 Helper functions to extract HostCPUName from /proc/cpuinfo on linux.
 
StringRef llvm::sys::detail::getHostCPUNameForARM (StringRef ProcCpuinfoContent)
 
StringRef llvm::sys::detail::getHostCPUNameForS390x (StringRef ProcCpuinfoContent)
 
StringRef llvm::sys::detail::getHostCPUNameForRISCV (StringRef ProcCpuinfoContent)
 
StringRef llvm::sys::detail::getHostCPUNameForSPARC (StringRef ProcCpuinfoContent)
 
StringRef llvm::sys::detail::getHostCPUNameForBPF ()
 
VendorSignatures llvm::sys::detail::x86::getVendorSignature (unsigned *MaxLeaf=nullptr)
 Returns the host CPU's vendor.