1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/lib/Object
Tim Renouf 13991476f1 [AMDGPU] Add gfx602, gfx705, gfx805 targets
At AMD, in an internal audit of our code, we found some corner cases
where we were not quite differentiating targets enough for some old
hardware. This commit is part of fixing that by adding three new
targets:

* The "Oland" and "Hainan" variants of gfx601 are now split out into
  gfx602. LLPC (in the GPUOpen driver) and other front-ends could use
  that to avoid using the shaderZExport workaround on gfx602.

* One variant of gfx703 is now split out into gfx705. LLPC and other
  front-ends could use that to avoid using the
  shaderSpiCsRegAllocFragmentation workaround on gfx705.

* The "TongaPro" variant of gfx802 is now split out into gfx805.
  TongaPro has a faster 64-bit shift than its former friends in gfx802,
  and a subtarget feature could be set up for that to take advantage of
  it. This commit does not make that change; it just adds the target.

V2: Add clang changes. Put TargetParser list in order.
V3: AMDGCNGPUs table in TargetParser.cpp needs to be in GPUKind order,
    so fix the GPUKind order.

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

Change-Id: Ia901a7157eb2f73ccd9f25dbacec38427312377d
2020-10-10 17:22:22 +01:00
..
Archive.cpp
ArchiveWriter.cpp [Archive] Don't throw away errors for malformed archive members 2020-10-01 14:03:34 +01:00
Binary.cpp [llvm-lipo] Add support for bitcode files 2020-08-25 21:11:18 -07:00
CMakeLists.txt [llvm-libtool-darwin] Refactor Slice and writeUniversalBinary 2020-07-31 09:22:35 -07:00
COFFImportFile.cpp
COFFModuleDefinition.cpp
COFFObjectFile.cpp [llvm-readobj] Add --coff-tls-directory flag to print TLS Directory & test. 2020-10-08 01:53:15 -07:00
Decompressor.cpp
ELF.cpp Introduce and use a new section type for the bb_addr_map section. 2020-10-08 11:13:19 -07:00
ELFObjectFile.cpp [AMDGPU] Add gfx602, gfx705, gfx805 targets 2020-10-10 17:22:22 +01:00
Error.cpp Error.h - GenericBinaryError - pass Twine arg by reference not value. 2020-06-27 10:12:20 +01:00
IRObjectFile.cpp
IRSymtab.cpp Remove GlobalValue::getAlignment(). 2020-06-23 19:13:42 -07:00
LLVMBuild.txt
MachOObjectFile.cpp
MachOUniversal.cpp [llvm-lipo] Add support for bitcode files 2020-08-25 21:11:18 -07:00
MachOUniversalWriter.cpp [llvm-objcopy][MachO] Add support for universal binaries 2020-10-06 04:01:40 -07:00
Minidump.cpp
ModuleSymbolTable.cpp [ThinLTO] Always parse module level inline asm with At&t dialect (PR46503) 2020-07-01 09:43:45 +02:00
Object.cpp
ObjectFile.cpp
RecordStreamer.cpp
RecordStreamer.h
RelocationResolver.cpp [DebugInfo] Respect relocations when decoding DW_EH_PE_sdata4 & DW_EH_PE_sdata8 and support R_ARM_REL32 2020-07-18 09:00:50 -07:00
SymbolicFile.cpp [Archive] Don't throw away errors for malformed archive members 2020-10-01 14:03:34 +01:00
SymbolSize.cpp
TapiFile.cpp [llvm/Object] Reimplment basic_symbol_iterator in TapiFile 2020-06-12 00:03:32 -07:00
TapiUniversal.cpp [llvm][llvm-nm] add TextAPI/MachO support 2020-06-11 18:54:16 -07:00
WasmObjectFile.cpp [WebAssembly] 64-bit (function) pointer fixes. 2020-07-16 14:10:22 -07:00
WindowsMachineFlag.cpp
WindowsResource.cpp
XCOFFObjectFile.cpp [AIX][XCOFF][Patch1] Provide decoding trace back table information API for xcoff object file for llvm-objdump -d 2020-08-17 16:23:47 -04:00