llvm-project/clang/test/CodeGen/RISCV
Saleem Abdulrasool c17d9b4b12 headers: optionalise some generated resource headers
This splits out the generated headers and conditonalises them upon the
target being enabled.

The motivation here is that the RISCV header alone added 10MB to the
resource directory, which was previously at 10MB, increasing the build
size and time. This header is contributing ~50% of the size of the
resource headers (~10MB).

The ARM generated headers are contributing about ~10% or 1MB.

This could be extended further adding only the static resource headers
for the targets that the LLVM build supports.

The changes to the tests for ARM mirror what the RISCV target already
did and rnk identified as a possible issue.

Testing:
  cmake -G Ninja -D LLVM_TARGETS_TO_BUILD=X86 -D LLVM_ENABLE_PROJECTS="clang;lld" ../clang
  ninja check-clang

Differential Revision: https://reviews.llvm.org/D112890
Reviewed By: craig.topper
2021-11-09 22:30:29 +00:00
..
rvb-intrinsics [RISCV] [1/2] Add IR intrinsic for Zbe extension 2021-04-25 19:14:34 -07:00
rvv-intrinsics [RISCV] Rename some assembler mnemonic and intrinsic functions for RVV 1.0. 2021-11-04 10:08:01 -07:00
rvv-intrinsics-overloaded [RISCV] Rename some assembler mnemonic and intrinsic functions for RVV 1.0. 2021-11-04 10:08:01 -07:00
riscv-atomics.c NFC: update clang tests to check ordering and alignment for atomicrmw/cmpxchg. 2021-02-11 17:35:09 -05:00
riscv-attr-builtin-alias-err.c [Clang] Add clang attribute `clang_builtin_alias`. 2021-04-25 08:49:19 +08:00
riscv-attr-builtin-alias.c [RISCV] Reduce the number of RISCV vector builtins by an order of magnitude. 2021-10-25 09:03:59 -07:00
riscv-inline-asm-rvv.c headers: optionalise some generated resource headers 2021-11-09 22:30:29 +00:00
riscv-inline-asm.c Revert "[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default" 2021-11-09 02:15:55 +09:00
riscv-metadata.c
riscv-sdata-module-flag.c
riscv-v-debuginfo.c [Clang][RISCV] Define RISC-V V builtin types 2021-02-18 10:17:31 +08:00
riscv-v-lifetime.cpp [Clang][CodeGen] Set the size of llvm.lifetime to unknown for scalable types. 2021-06-07 23:30:13 +08:00
riscv32-ilp32-abi.c Revert "[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default" 2021-11-09 02:15:55 +09:00
riscv32-ilp32-ilp32f-abi.c Revert "[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default" 2021-11-09 02:15:55 +09:00
riscv32-ilp32-ilp32f-ilp32d-abi.c Revert "[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default" 2021-11-09 02:15:55 +09:00
riscv32-ilp32d-abi.c Revert "[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default" 2021-11-09 02:15:55 +09:00
riscv32-ilp32f-abi.c Revert "[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default" 2021-11-09 02:15:55 +09:00
riscv32-ilp32f-ilp32d-abi.c Revert "[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default" 2021-11-09 02:15:55 +09:00
riscv64-lp64-abi.c Revert "[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default" 2021-11-09 02:15:55 +09:00
riscv64-lp64-lp64f-abi.c Revert "[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default" 2021-11-09 02:15:55 +09:00
riscv64-lp64-lp64f-lp64d-abi.c Revert "[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default" 2021-11-09 02:15:55 +09:00
riscv64-lp64d-abi.c Revert "[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default" 2021-11-09 02:15:55 +09:00
riscv64-lp64f-lp64d-abi.c Revert "[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default" 2021-11-09 02:15:55 +09:00
rvv_errors.c [RISCV] Validate the SEW and LMUL operands to __builtin_rvv_vsetvli(max) 2021-05-10 12:11:13 -07:00