Go to file
Craig Topper c77d00e327 [X86] Add a def file to CPU vendor, type, and subtype encodings used by Host.cpp
Summary:
I want to leverage this to clean up some of the code in clang. This will allow us to simplify D39521 which was trying to do some of the same.

If we accurately keep the code in Host.cpp synced with new CPUs added to compile-rt/libgcc we should be able to use this file as a proxy for what's implemented in the libraries.

The entries for the CPUs recognized by the libraries use separate macros that define additional parameters like the name for __builtin_cpu_is and an alias string for the couple cases where __builtin_cpu_is accepts two different names.

All of the macros contain an ARCHNAME that is usually the same as the __builtin_cpu_is string, but sometimes isn't. This represents the name recognized by X86.td and -march.

I'm following the precedent set by ARM and AArch64 and adding this information to lib/Support/TargetParser.cpp

Reviewers: erichkeane, echristo, asbirlea

Reviewed By: echristo

Subscribers: llvm-commits, aemerson, kristof.beyls

Differential Revision: https://reviews.llvm.org/D39782

llvm-svn: 317900
2017-11-10 17:10:57 +00:00
clang [NFC] Pacify bbot for OpenMP 'teams distribute parallel for' 2017-11-10 16:49:09 +00:00
clang-tools-extra [clangd] Fix compilation database detection 2017-11-09 21:45:27 +00:00
compiler-rt Revert "[XRay][darwin] Initial XRay in Darwin Support" 2017-11-10 07:00:55 +00:00
debuginfo-tests Revert r313600 due to bot failures on Green Dragon. 2017-09-19 14:51:37 +00:00
libclc tgamma: Use unary_decl instead of custom inc file 2017-11-02 19:49:00 +00:00
libcxx Add _LIBCPP_INLINE_VISIBILITY to __compressed_pair_elem members 2017-11-09 17:54:49 +00:00
libcxxabi Fix ASAN build with older compiler-rt versions. 2017-09-14 22:37:34 +00:00
libunwind Add ifdefs around ELF specific parts of UnwindRegisters*.S for arm 2017-11-04 21:01:31 +00:00
lld [MIPS] Fix calculation of the R_MICROMIPS_LO16 / HI16 relocations 2017-11-09 12:10:14 +00:00
lldb Clean up NativeRegisterContext 2017-11-10 11:05:49 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [X86] Add a def file to CPU vendor, type, and subtype encodings used by Host.cpp 2017-11-10 17:10:57 +00:00
openmp [OMPT] Purge OMPT_BLAME and OMPT_TRACE 2017-11-10 15:17:57 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Update formatting to reflect change in clang-format. NFC. 2017-11-09 16:33:29 +00:00
README.md Add an svn project to contain the files that appear at the root of the 2017-10-19 21:09:49 +00:00

README.md

Low Level Virtual Machine (LLVM)

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.