LLVM  6.0.0svn
Namespaces | Functions | Variables
Host.h File Reference
#include "llvm/ADT/StringMap.h"
#include "llvm/Support/MemoryBuffer.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.


 Compute iterated dominance frontiers using a linear time algorithm.


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 (const StringRef &ProcCpuinfoContent)
 Helper functions to extract HostCPUName from /proc/cpuinfo on linux. More...
StringRef llvm::sys::detail::getHostCPUNameForARM (const StringRef &ProcCpuinfoContent)
StringRef llvm::sys::detail::getHostCPUNameForS390x (const StringRef &ProcCpuinfoContent)
StringRef llvm::sys::detail::getHostCPUNameForBPF ()


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