llvm-project/clang/test/Headers
Philip Reames e6ad9ef4e7 [instcombine] Canonicalize constant index type to i64 for extractelement/insertelement
The basic idea to this is that a) having a single canonical type makes CSE easier, and b) many of our transforms are inconsistent about which types we end up with based on visit order.

I'm restricting this to constants as for non-constants, we'd have to decide whether the simplicity was worth extra instructions. For constants, there are no extra instructions.

We chose the canonical type as i64 arbitrarily.  We might consider changing this to something else in the future if we have cause.

Differential Revision: https://reviews.llvm.org/D115387
2021-12-13 16:56:22 -08:00
..
Inputs [CUDA] remove unneeded includes from CUDA-related headers. 2021-10-06 17:20:21 -07:00
altivec-header.c
altivec-intrin.c
amdgcn-openmp-device-math-complex.c [OpenMP][AMDGCN] Enable complex functions 2021-08-24 12:40:41 +05:30
amdgcn-openmp-device-math-complex.cpp [AMDGPU][OpenMP] Use complex definitions from complex_cmath.h 2021-09-09 10:55:17 +05:30
amdgcn_openmp_device_math.c [OpenMP][AMDGCN] Initial math headers support 2021-08-02 14:38:52 +00:00
arm-acle-header.c
arm-cde-header.c [ARM/AArch64] Move REQUIRES after update_cc_test_checks line. NFC 2021-11-13 19:09:01 +00:00
arm-cmse-header-ns.c
arm-cmse-header.c
arm-fp16-header.c [ARM/AArch64] Move REQUIRES after update_cc_test_checks line. NFC 2021-11-13 19:09:01 +00:00
arm-neon-header.c [ARM/AArch64] Move REQUIRES after update_cc_test_checks line. NFC 2021-11-13 19:09:01 +00:00
arm64-apple-ios-types.cpp
builtins-header.c [Clang] Add an empty builtins.h file. 2021-07-16 12:50:04 -05:00
c11.c
c89.c
cpuid.c [clang] Add missing header guard in <cpuid.h> 2020-11-10 19:34:25 -08:00
cuda_with_openmp.cu [NFC][OpenMP][CUDA] Add test for using `-x cuda -fopenmp` 2021-07-02 19:03:15 +02:00
cxx11.cpp
float-darwin.c
float.c
float16.c
hexagon-audio-headers.c [hexagon] Add {hvx,}hexagon_{protos,circ_brev...} 2021-06-30 22:58:56 -05:00
hexagon-headers.c [hexagon] Add {hvx,}hexagon_{protos,circ_brev...} 2021-06-30 22:58:56 -05:00
hexagon-hvx-headers.c [hexagon] Add {hvx,}hexagon_{protos,circ_brev...} 2021-06-30 22:58:56 -05:00
hip-header.hip [HIP] Move std headers after device malloc/free 2021-07-09 21:20:16 +00:00
htm-header.c
int64-type.c
limits.cpp
lit.local.cfg [OpenCL] Add builtin header test 2021-06-10 10:05:53 +01:00
mm3dnow.c
ms-arm64-intrin.cpp 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
ms-intrin.cpp
ms-null-ms-header-vs-stddef.cpp
ms-wchar.c
nvptx_device_cmath_functions.c
nvptx_device_cmath_functions.cpp
nvptx_device_cmath_functions_cxx17.cpp
nvptx_device_math_complex.c [OpenMP] Overhaul `declare target` handling 2021-05-06 02:10:41 -05:00
nvptx_device_math_complex.cpp [OpenMP] Support `std::complex` math functions in target regions 2020-09-16 13:37:10 -05:00
nvptx_device_math_functions.c
nvptx_device_math_functions.cpp
nvptx_device_math_functions_cxx17.cpp
nvptx_device_math_macro.cpp
nvptx_device_math_modf.cpp
nvptx_device_math_sin.c
nvptx_device_math_sin.cpp
nvptx_device_math_sin_cos.cpp
nvptx_device_math_sincos.cpp
opencl-builtins.cl [OpenCL] Add builtin header test 2021-06-10 10:05:53 +01:00
opencl-c-header.cl [SPIR-V] Add SPIR-V triple and clang target info. 2021-11-08 13:34:10 +00:00
openmp_device_math_isnan.cpp [OpenMP][AMDGCN] Initial math headers support 2021-08-02 14:38:52 +00:00
pconfigintin.c
pmmintrin.c
ppc-intrinsics.c
riscv-vector-header.c headers: optionalise some generated resource headers 2021-11-09 22:30:29 +00:00
sgxintrin.c
stdarg-gnuc_va_list.c
stdarg.cpp 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
stdatomic.c
stdbool.cpp
stddefneeds.cpp
stdint-typeof-MINMAX.cpp
target_include_new.cpp [OpenMP] Make sure classes work on the device as they do on the host 2021-05-06 02:10:30 -05:00
texture_intrinsics.cu [CUDA] Implement experimental support for texture lookups. 2021-10-06 15:15:53 -07:00
tgmath-darwin.c
tgmath.c
thumbv7-apple-ios-types.cpp
typedef_guards.c
unwind.c
wasm.c [instcombine] Canonicalize constant index type to i64 for extractelement/insertelement 2021-12-13 16:56:22 -08:00
wasm.cpp [WebAssembly] Fix types in wasm_simd128.h and add tests 2020-08-05 14:00:01 -07:00
wchar_limits.cpp
wmmintrin.c
x86-header-warnings.c
x86-intrinsics-headers-clean.cpp
x86-intrinsics-headers.c
x86_64-apple-macosx-types.cpp
x86intrin-2.c
x86intrin.c
x86intrin.cpp
xmmintrin-unsupported.c Check supported architectures in sseXYZ/avxXYZ headers 2021-09-14 09:57:54 +02:00
xmmintrin.c [test] Add {{.*}} to make tests immune to dso_local/dso_preemptable/(none) differences 2020-12-30 20:52:01 -08:00