llvm-project/clang/lib
Craig Topper 19a0a3ab68 [X86] Remove unnecessary extra encodings from the CPU name enum in clang
Summary:
For a lot of older CPUs we have a 1:1 mapping between CPU name and enum name. But many of them are effectively aliases of each other and as a result are always repeated together at every usage

This patch removes most of the duplication. It also uses StringSwitch::Cases to make the many to one mapping in the StringSwitch more obvious.

Reviewers: RKSimon, spatel, zvi, igorb

Reviewed By: RKSimon

Subscribers: cfe-commits

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

llvm-svn: 313462
2017-09-16 16:44:39 +00:00
..
ARCMigrate Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:23:19 +00:00
AST Fix the __interface inheritence rules to work better with IUnknown and IDispatch 2017-09-15 16:03:35 +00:00
ASTMatchers Add objcImplementationDecl matcher 2017-09-10 21:00:15 +00:00
Analysis Recommit "Add _Float16 as a C/C++ source language type" 2017-09-08 15:15:00 +00:00
Basic [X86] Remove unnecessary extra encodings from the CPU name enum in clang 2017-09-16 16:44:39 +00:00
CodeGen [WebAssembly] Restore __builtin_wasm_rethrow builtin 2017-09-16 01:07:43 +00:00
Driver [MSan] Specify use-after-dtor default value in header. 2017-09-14 23:53:56 +00:00
Edit [clang] Fix format specifiers fixits for nested macros 2017-06-20 20:46:58 +00:00
Format [clang-format] New flag - BraceWrapping.AfterExternBlock 2017-09-15 11:23:50 +00:00
Frontend Add /System/Library/PrivateFrameworks as a header search path. 2017-09-14 23:38:44 +00:00
FrontendTool Update after LLVM change r309087 2017-07-26 09:10:17 +00:00
Headers [X86] Disable _mm512_maskz_set1_epi64 intrinsic on 32-bit targets to prevent a backend isel failure. 2017-09-15 20:27:59 +00:00
Index Recommit "Add _Float16 as a C/C++ source language type" 2017-09-08 15:15:00 +00:00
Lex Remove comment accidentally committed with D36642. NFC. 2017-09-16 06:26:51 +00:00
Parse Recommit "Add _Float16 as a C/C++ source language type" 2017-09-08 15:15:00 +00:00
Rewrite [Analyzer] Add support for displaying cross-file diagnostic paths in HTML output 2017-08-03 18:12:22 +00:00
Sema [Sema] Error out early for tags defined inside an enumeration. 2017-09-15 19:51:42 +00:00
Serialization Minor cleanups to address feedback from Bruno. NFC 2017-09-14 23:40:51 +00:00
StaticAnalyzer [Analyzer] Check function name size before indexing. 2017-09-15 19:51:26 +00:00
Tooling [refactor] Use CommonOptionsParser in clang-refactor 2017-09-14 13:16:14 +00:00
CMakeLists.txt