LLVM
8.0.1
|
#include "llvm/Support/Host.h"
#include "llvm/Support/TargetParser.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/ADT/Triple.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/raw_ostream.h"
#include <assert.h>
#include <string.h>
#include "Unix/Host.inc"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "host-detection" |
Functions | |
static std::unique_ptr< llvm::MemoryBuffer > LLVM_ATTRIBUTE_UNUSED | getProcCpuinfoContent () |
static int | computeHostNumPhysicalCores () |
|
static |
Definition at line 1212 of file Host.cpp.
Referenced by llvm::sys::getHostCPUName(), and llvm::sys::getHostNumPhysicalCores().
|
static |
Definition at line 57 of file Host.cpp.
References llvm::errs(), llvm::ErrorOr< T >::getError(), and llvm::MemoryBuffer::getFileAsStream().
Referenced by llvm::sys::detail::getHostCPUNameForBPF(), and llvm::sys::getHostNumPhysicalCores().