Go to the documentation of this file.
13 #ifndef LLVM_SUPPORT_HOST_H
14 #define LLVM_SUPPORT_HOST_H
19 class MallocAllocator;
21 template <
typename ValueTy,
typename AllocatorTy>
class StringMap;
This is an optimization pass for GlobalISel generic memory operations.
bool getHostCPUFeatures(StringMap< bool, MallocAllocator > &Features)
getHostCPUFeatures - Get the LLVM names for the host CPU features.
Note that only the low bits of effective_addr2 are used On bit we don t eliminate the computation of the top half of effective_addr2 because we don t have whole function selection dags On x86
StringRef getHostCPUNameForRISCV(StringRef ProcCpuinfoContent)
std::string getDefaultTargetTriple()
getDefaultTargetTriple() - Return the default target triple the compiler has been configured to produ...
int getHostNumPhysicalCores()
Get the number of physical cores (as opposed to logical cores returned from thread::hardware_concurre...
StringRef - Represent a constant reference to a string, i.e.
StringRef getHostCPUNameForBPF()
StringRef getHostCPUNameForS390x(StringRef ProcCpuinfoContent)
std::string getProcessTriple()
getProcessTriple() - Return an appropriate target triple for generating code to be loaded into the cu...
StringRef getHostCPUNameForARM(StringRef ProcCpuinfoContent)
StringRef getHostCPUNameForPowerPC(StringRef ProcCpuinfoContent)
Helper functions to extract HostCPUName from /proc/cpuinfo on linux.
StringRef getHostCPUName()
getHostCPUName - Get the LLVM name for the host CPU.
VendorSignatures getVendorSignature(unsigned *MaxLeaf=nullptr)
Returns the host CPU's vendor.