LLVM  8.0.1
Namespaces | Functions | Variables
Host.h File Reference
#include "llvm/ADT/StringMap.h"
#include <machine/endian.h>
#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.

Namespaces

 llvm
 This class represents lattice values for constants.
 
 llvm::sys
 
 llvm::sys::detail
 

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 > &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 ()
 

Variables

constexpr bool llvm::sys::IsBigEndianHost = false
 
static const bool llvm::sys::IsLittleEndianHost = !IsBigEndianHost