ΒΆllvm::StringRef getHostCPUName()

Description

getHostCPUName - Get the LLVM name for the host CPU. The particular format of the name is target dependent, and suitable for passing as -mcpu to the target which matches the host.

Declared at: llvm/include/llvm/Support/Host.h:43

Returns

- The host CPU name, or empty if the CPU could not be determined.