llvm-project/clang/lib/Basic/Targets
Mikhail Maltsev cdeeb548bb [ARM,CDE] Implement CDE feature test macros
Summary:
This patch implements feature test macros for the CDE extension
according to the upcoming ACLE specification.

The following 2 macros are being added:
- __ARM_FEATURE_CDE - defined as '1' when any coprocessor is
  configured as a CDE coprocessor
- __ARM_FEATURE_CDE_COPROC - defined as an 8-bit mask, each bit of the
  mask corresponds to a coprocessor and is set when the corresponding
  coprocessor is configured as CDE (and cleared otherwise).

The patch also exposes the value of __ARM_FEATURE_CDE_COPROC in the
target-independent method TargetInfo::getARMCDECorpocMask, the method
will be used in follow-up patches implementing semantic checks of CDE
intrinsics (we want to diagnose the cases when CDE intrinsics are used
with coprocessors that are not configured as CDE).

Reviewers: simon_tatham, dmgreen, ostannard, MarkMurrayARM

Reviewed By: simon_tatham

Subscribers: kristof.beyls, danielkiss, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D75843
2020-03-09 16:14:06 +00:00
..
AArch64.cpp [AArch64] Predefine __AARCH64_CMODEL_*__ as GCC does 2020-02-21 23:27:36 -08:00
AArch64.h Implement target(branch-protection) attribute for AArch64 2019-11-15 15:40:46 +00:00
AMDGPU.cpp Separately track input and output denormal mode 2020-02-04 12:59:21 -05:00
AMDGPU.h Add cl_khr_mipmap_image_writes as supported to AMDGPU 2020-02-19 17:40:40 -05:00
ARC.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ARC.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ARM.cpp [ARM,CDE] Implement CDE feature test macros 2020-03-09 16:14:06 +00:00
ARM.h [ARM,CDE] Implement CDE feature test macros 2020-03-09 16:14:06 +00:00
AVR.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AVR.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BPF.cpp [BPF] do compile-once run-everywhere relocation for bitfields 2019-10-08 18:23:17 +00:00
BPF.h reland "[DebugInfo] Support to emit debugInfo for extern variables" 2019-12-22 18:28:50 -08:00
Hexagon.cpp [Hexagon] Define __ELF__ by default. 2020-02-21 16:10:31 -06:00
Hexagon.h [Hexagon] Change HVX vector predicate types from v512/1024i1 to v64/128i1 2020-02-19 14:14:56 -06:00
Lanai.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Lanai.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Le64.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Le64.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
MSP430.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
MSP430.h [MSP430] Ajust f32/f64 alignment according to MSP430 EABI 2019-01-25 08:51:53 +00:00
Mips.cpp [mips] Check that features required by built-ins are enabled 2019-11-29 00:23:00 +03:00
Mips.h [mips] Add `octeon+` to the list of CPUs accepted by the driver 2019-11-07 13:58:50 +03:00
NVPTX.cpp [HIP] Add GPU arch gfx1010, gfx1011, and gfx1012 2019-07-11 17:50:09 +00:00
NVPTX.h Add support for the MS qualifiers __ptr32, __ptr64, __sptr, __uptr. 2019-12-18 10:41:12 -08:00
OSTargets.cpp clang: Only define OBJC_NEW_PROPERTIES when -x objective-c 2020-01-24 14:55:12 -08:00
OSTargets.h [AIX][Frontend] C++ ABI customizations for AIX boilerplate 2020-02-24 10:26:51 -05:00
PNaCl.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PNaCl.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PPC.cpp [Driver][PowerPC] Move powerpcspe logic from cc1 to Driver 2020-01-10 11:43:17 -08:00
PPC.h [PowerPC]: Add powerpcspe target triple subarch component 2020-01-08 19:10:53 -06:00
RISCV.cpp Revert "[RISCV] Add Clang frontend support for Bitmanip extension" 2020-01-15 10:43:42 +00:00
RISCV.h Revert "[RISCV] Add Clang frontend support for Bitmanip extension" 2020-01-15 10:43:42 +00:00
SPIR.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SPIR.h Add support for the MS qualifiers __ptr32, __ptr64, __sptr, __uptr. 2019-12-18 10:41:12 -08:00
Sparc.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Sparc.h [clang, test] Fix Clang :: Headers/max_align.c on 64-bit SPARC 2019-07-23 16:24:00 +00:00
SystemZ.cpp [SystemZ] Support z15 processor name 2019-09-20 23:06:03 +00:00
SystemZ.h [SystemZ] Support -msoft-float 2020-02-04 10:32:45 -05:00
TCE.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TCE.h Add support for the MS qualifiers __ptr32, __ptr64, __sptr, __uptr. 2019-12-18 10:41:12 -08:00
WebAssembly.cpp [WebAssembly] Add experimental multivalue calling ABI 2020-02-04 21:09:49 -08:00
WebAssembly.h [WebAssembly] Add experimental multivalue calling ABI 2020-02-04 21:09:49 -08:00
X86.cpp [Preprocessor][X86] Fix __code_model_*__ predefine macros 2020-02-21 23:30:07 -08:00
X86.h Support -fstack-clash-protection for x86 2020-02-09 10:42:45 +01:00
XCore.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
XCore.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00