llvm-project/clang/lib/Basic/Targets
Jon Chesterfield 77579b99e9 [openmp][nfc] Replace OMPGridValues array with struct
[nfc] Replaces enum indices into an array with a struct. Named the
fields to match the enum, leaves memory layout and initialization unchanged.

Motivation is to later safely remove dead fields and replace redundant ones
with (compile time) computation. It should also be possible to factor some
common fields into a base and introduce a gfx10 amdgpu instance with less
duplication than the arrays of integers require.

Reviewed By: ronlieb

Differential Revision: https://reviews.llvm.org/D108339
2021-08-19 13:25:42 +01:00
..
AArch64.cpp [SVE] Remove usage of getMaxVScale for AArch64, in favour of IR Attribute 2021-08-17 14:42:47 +01:00
AArch64.h [SVE] Remove usage of getMaxVScale for AArch64, in favour of IR Attribute 2021-08-17 14:42:47 +01:00
AMDGPU.cpp [openmp][nfc] Replace OMPGridValues array with struct 2021-08-19 13:25:42 +01:00
AMDGPU.h Revert "[HIP] Allow target addr space in target builtins" 2021-08-18 21:38:42 -06:00
ARC.cpp
ARC.h [ARC] Add codegen for llvm.ctlz intrinsic for the ARC backend 2021-08-06 12:18:06 -07:00
ARM.cpp [Clang] Introduce Swift async calling convention. 2021-07-09 11:50:10 -07:00
ARM.h [ARM][AArch64] Require appropriate features for crypto algorithms 2021-04-28 16:26:18 +01:00
AVR.cpp [clang][AVR] Redefine [u]int16_t to be compatible with avr-gcc 2021-05-18 07:06:12 +08:00
AVR.h [clang][AVR] Redefine [u]int16_t to be compatible with avr-gcc 2021-05-18 07:06:12 +08:00
BPF.cpp [BPF] add support for 32 bit registers in inline asm 2021-05-16 11:01:47 -07:00
BPF.h [BPF] add support for 32 bit registers in inline asm 2021-05-16 11:01:47 -07:00
Hexagon.cpp [Hexagon] Add HVX and control register names to Hexagon target 2021-06-14 17:14:37 -05:00
Hexagon.h Implement _ExtInt ABI for all ABIs in Clang, enable type for ABIs 2020-05-06 06:52:18 -07:00
Lanai.cpp
Lanai.h Implement _ExtInt ABI for all ABIs in Clang, enable type for ABIs 2020-05-06 06:52:18 -07:00
Le64.cpp [NFC] Remove reference to file deleted by D100981. 2021-04-22 10:40:18 -07:00
Le64.h [NFC] Remove reference to file deleted by D100981. 2021-04-22 10:40:18 -07:00
M68k.cpp [cfe] Support target-specific escaped character in inline asm 2021-05-24 21:39:21 -07:00
M68k.h [cfe] Support target-specific escaped character in inline asm 2021-05-24 21:39:21 -07:00
MSP430.cpp [MSP430] Actualize the toolchain description 2020-07-17 15:42:12 +03:00
MSP430.h [MSP430] Update register names 2020-06-26 15:32:07 +03:00
Mips.cpp Remove unreachable return (PR47026) 2020-08-07 11:23:43 +01:00
Mips.h Revert rGf0bab7875e78e01c149d12302dcc4b6d4c43e25c - "Triple.h - reduce Twine.h include to forward declarations. NFC." 2020-06-26 14:46:40 +01:00
NVPTX.cpp [openmp][nfc] Replace OMPGridValues array with struct 2021-08-19 13:25:42 +01:00
NVPTX.h [OpenCL] Add clang extension for bit-fields. 2021-05-24 12:42:17 +01:00
OSTargets.cpp [clang][darwin] add support for Mac Catalyst availability 2021-07-20 12:51:57 -07:00
OSTargets.h [AIX] Define __HOS_AIX__ macro only for AIX target 2021-08-10 13:03:17 -04:00
PNaCl.cpp
PNaCl.h Implement _ExtInt ABI for all ABIs in Clang, enable type for ABIs 2020-05-06 06:52:18 -07:00
PPC.cpp [PowerPC] Implement XL compatibility builtin __addex 2021-08-12 16:38:21 -05:00
PPC.h [PowerPC][NFC] Power ISA features for Semachecking 2021-07-13 13:13:34 -05:00
RISCV.cpp [RISCV] Rename vector inline constraint from 'v' to 'vr' and 'vm' in IR. 2021-08-01 05:58:17 +08:00
RISCV.h [Clang][RISCV] Support half-precision floating point for RVV intrinsics. 2021-07-19 23:17:01 +08:00
SPIR.cpp Define __SPIR__ macro for spir/spir64 targets. 2020-06-03 12:36:21 -07:00
SPIR.h [clang][PATCH][nfc] Refactor TargetInfo::adjust to pass DiagnosticsEngine to allow diagnostics on target-unsupported options 2021-06-29 13:26:23 -04:00
Sparc.cpp [clang][Sparc] Default to -mcpu=v9 for Sparc V8 on Solaris 2020-09-11 09:53:19 +02:00
Sparc.h [clang][Sparc] Default to -mcpu=v9 for Sparc V8 on Solaris 2020-09-11 09:53:19 +02:00
SystemZ.cpp [SystemZ] Add support for new cpu architecture - arch14 2021-07-26 16:57:28 +02:00
SystemZ.h [SystemZ] Add support for new cpu architecture - arch14 2021-07-26 16:57:28 +02:00
TCE.cpp
TCE.h [SYCL] Enable `opencl_global_[host,device]` attributes for SYCL 2021-05-18 10:27:35 +03:00
VE.cpp [VE] Clang toolchain for VE 2020-06-24 10:12:09 +02:00
VE.h [VE] Change clang to support SjLj Lowering 2021-01-05 22:19:02 +09:00
WebAssembly.cpp [clang][PATCH][nfc] Refactor TargetInfo::adjust to pass DiagnosticsEngine to allow diagnostics on target-unsupported options 2021-06-29 13:26:23 -04:00
WebAssembly.h [WebAssembly] Implementation of global.get/set for reftypes in LLVM IR 2021-07-22 22:07:24 +02:00
X86.cpp [X86] AVX512FP16 instructions enabling 1/6 2021-08-10 12:46:01 +08:00
X86.h [X86] AVX512FP16 instructions enabling 1/6 2021-08-10 12:46:01 +08:00
XCore.cpp [clang][XCore] Define __xcore__ for XCore target. 2021-04-26 15:06:04 +01:00
XCore.h Implement _ExtInt ABI for all ABIs in Clang, enable type for ABIs 2020-05-06 06:52:18 -07:00