1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib
Craig Topper 461e54845b [X86] Move CPUKind enum from clang to llvm/lib/Support. NFCI
Similar to what some other targets have done. This information
could be reused by other frontends so doesn't make sense to live
in clang.

-Rename CK_Generic to CK_None to better reflect its illegalness.
-Move function for translating from string to enum into llvm.
-Call checkCPUKind directly from the string to enum translation
and update CPU kind to CK_None accordinly. Caller will use CK_None
as sentinel for bad CPU.

I'm planning to move all the CPU to feature mapping out next. As
part of that I want to devise a better way to express CPUs inheriting
features from an earlier CPU. Allowing this to be expressed in a
less rigid way than just falling through a switch. Or using gotos
as we've had to do lately.

Differential Revision: https://reviews.llvm.org/D81439
2020-06-09 12:52:41 -07:00
..
Analysis [NFCI][CostModel] Unify getCmpSelInstrCost 2020-06-09 07:41:22 +01:00
AsmParser [ThinLTO] Compute the basic block count across modules. 2020-05-28 10:33:05 -07:00
BinaryFormat Magic.h - reduce includes to forward declarations. NFC. 2020-06-09 11:54:51 +01:00
Bitcode [ThinLTO] Compute the basic block count across modules. 2020-05-28 10:33:05 -07:00
Bitstream [Bitcode] reserve in front of push_back loops. NFCI. 2020-05-01 15:52:53 +02:00
CodeGen GlobalISel: Set instr/debugloc before any legalizer action 2020-06-09 15:37:02 -04:00
DebugInfo [DebugInfo] Drop unneeded format() calls (fix -Wformat-security) after 3b7ec64d59748765990ed99716034ab8d5533673 2020-06-09 09:56:13 -07:00
Demangle Give microsoftDemangle() an outparam for how many input bytes were consumed. 2020-05-20 16:17:31 -04:00
DWARFLinker [Clang] Restore replace_path_prefix instead of startswith 2020-05-13 13:49:14 -04:00
ExecutionEngine [ORC] Always use ObjectLinkingLayer/JITLink for MachO on x86-64 and arm64. 2020-06-05 21:02:29 -07:00
Extensions Update compiler extension integration into the build system 2020-04-24 09:40:14 +02:00
Frontend [OpenMP] Replace Clang's OpenMP RTL Definitions with OMPKinds.def 2020-06-01 16:23:10 -04:00
Fuzzer
FuzzMutate FuzzerCLI.h - reduce StringRef.h include to forward declaration. NFC. 2020-05-12 13:03:50 +01:00
IR [DebugInfo] Fix assertion for extern void type 2020-06-08 13:43:18 -07:00
IRReader Infer alignment of unmarked loads in IR/bitcode parsing. 2020-05-14 13:03:50 -07:00
LineEditor
Linker [SVE] Eliminate calls to default-false VectorType::get() from Linker 2020-05-29 17:43:15 -07:00
LTO [PGO] Improve the working set size heuristics under the partial sample PGO. 2020-06-01 10:29:23 -07:00
MC [XCOFF][AIX] report_fatal_error when an overflow section is needed 2020-06-08 19:59:04 +00:00
MCA [MCA][InstrBuilder] Correctly mark reserved resources in initializeUsedResources. 2020-05-10 19:25:54 +01:00
Object [XCOFF][AIX] report_fatal_error when an overflow section is needed 2020-06-08 19:59:04 +00:00
ObjectYAML [ObjectYAML][ELF] Add support for emitting the .debug_line section. 2020-06-09 23:42:40 +08:00
Option
Passes [Inlining] Introduce -enable-npm-pgo-inline-deferral 2020-06-04 00:40:58 -07:00
ProfileData [gcov] Improve tests and lower the minimum supported version to gcov 3.4 2020-06-06 23:11:32 -07:00
Remarks YAMLRemarkParser.cpp - remove duplicate RemarkParser.h include. NFC. 2020-06-08 13:59:05 +01:00
Support [X86] Move CPUKind enum from clang to llvm/lib/Support. NFCI 2020-06-09 12:52:41 -07:00
TableGen [TableGen] Simplify with TGParser::consume() 2020-04-26 15:26:49 -07:00
Target [x86] refine conditions for immediate hoisting to save code-size 2020-06-09 15:44:55 -04:00
Testing
TextAPI ArchitectureSet.h - reduce raw_ostream.h include to forward declaration. NFC. 2020-05-30 12:36:16 +01:00
ToolDrivers [COFF] Use Expected in COFFObjectFile creation 2020-05-08 14:22:28 -07:00
Transforms [VectorCombine] scalarizeBinop - support an all-constant src vector operand 2020-06-09 19:02:05 +01:00
WindowsManifest
XRay [xray] Add llvm-xray extract support for 32 bit ARM 2020-05-28 18:41:11 -04:00
CMakeLists.txt Update compiler extension integration into the build system 2020-04-24 09:40:14 +02:00
LLVMBuild.txt Update compiler extension integration into the build system 2020-04-24 09:40:14 +02:00