1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/include/llvm
Zakk Chen b333356046 [RISCV] Add support for -mcpu option.
Summary:
1. gcc uses `-march` and `-mtune` flag to chose arch and
pipeline model, but clang does not have `-mtune` flag,
we uses `-mcpu` to chose both infos.
2. Add SiFive e31 and u54 cpu which have default march
and pipeline model.
3. Specific `-mcpu` with rocket-rv[32|64] would select
pipeline model only, and use the driver's arch choosing
logic to get default arch.

Reviewers: lenary, asb, evandro, HsiangKai

Reviewed By: lenary, asb, evandro

Tags: #llvm, #clang

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

(cherry picked from commit 294d1eae75bf8867821a4491f0d67445227f8470)
2020-07-20 15:38:39 +02:00
..
ADT [ADT] Specialize std::swap() for SetVector 2020-07-13 23:14:04 +02:00
Analysis [llvm][NFC] Hide the tensorflow dependency from headers. 2020-07-14 21:14:11 -07:00
AsmParser
BinaryFormat [lldb] Use enum constant instead of raw value 2020-07-09 09:43:50 -07:00
Bitcode Temporarily revert "[NFC] Separate bitcode reading for FUNC_CODE_INST_CMPXCHG(_OLD)" 2020-07-10 15:21:00 -07:00
Bitstream
CodeGen Call Frame Information (CFI) Handling for Basic Block Sections 2020-07-14 12:54:12 -07:00
Config Revert "[CMake] Simplify CMake handling for zlib" 2020-07-14 19:56:10 -07:00
DebugInfo [llvm-objdump] Add entry_value and stack_value opcodes 2020-07-14 10:24:59 +01:00
Demangle [NFC] Add 'override' keyword where missing in include/ and lib/. 2020-07-14 09:47:29 -07:00
DWARFLinker DWARFLinkerDeclContext.h - fix implicit FileSystem.h dependency. NFC. 2020-06-23 12:11:51 +01:00
ExecutionEngine Make LazyCallThroughManager destructor virtual rather than arranging for 2020-07-14 18:41:07 -07:00
Frontend [OpenMP][IRBuilder] Support nested parallel regions 2020-07-14 22:39:06 -05:00
FuzzMutate
IR Temporarily Revert "[AssumeBundles] Use operand bundles to encode alignment assumptions" 2020-07-17 10:32:03 +02:00
IRReader
LineEditor
Linker
LTO [LTO] Use StringRef instead of C-style strings in setCodeGenDebugOptions 2020-06-22 11:22:18 +01:00
MC [MC] Support .reloc sym+constant, *, * 2020-07-14 13:44:00 -07:00
MCA
Object [llvm-readobj] - Verify the location of program headers better. 2020-07-15 12:37:23 +03:00
ObjectYAML [yaml2obj] - Rename FileHeader::SH* fields. 2020-07-15 12:47:31 +03:00
Option Start adding support for generating CC1 command lines from CompilerInvocation 2020-06-24 18:05:05 +01:00
Passes [NewPM][opt] Translate -foo-analysis to require<foo-analysis> 2020-07-13 11:24:59 -07:00
ProfileData [NFC] Change getEntryForPercentile to be a static function in ProfileSummaryBuilder. 2020-07-09 16:38:19 -07:00
Remarks
Support [RISCV] Add support for -mcpu option. 2020-07-20 15:38:39 +02:00
TableGen
Target [AArch64][GlobalISel] Add post-legalize combine for sext_inreg(trunc(sextload)) -> copy 2020-07-13 20:27:45 -07:00
Testing/Support
TextAPI [llvm][llvm-nm] add TextAPI/MachO support 2020-06-11 18:54:16 -07:00
ToolDrivers
Transforms Temporarily Revert "[AssumeBundles] Use operand bundles to encode alignment assumptions" 2020-07-17 10:32:03 +02:00
WindowsManifest
WindowsResource
XRay
CMakeLists.txt [flang][openacc] OpenACC 3.0 parser 2020-07-14 14:29:40 -04:00
InitializePasses.h [LPM] Port CGProfilePass from NPM to LPM 2020-07-10 09:04:51 -07:00
LinkAllIR.h
LinkAllPasses.h
module.extern.modulemap
module.install.modulemap
module.modulemap Reland [NFC] Derive from PassInfoMixin for no-op/printing passes 2020-07-10 12:51:28 -07:00
module.modulemap.build
Pass.h Improve LegacyPassManager API to correctly report modified status 2020-06-26 14:21:02 +02:00
PassAnalysisSupport.h [NFCi] Fixing build failures on Windows due to std::tie used w/o proper include. 2020-06-26 16:30:25 -07:00
PassInfo.h
PassRegistry.h
PassSupport.h