CMakeLists.txt | 22 +- README.md | 17 +- ci/azure/linux_script | 6 +- ci/azure/macos_script | 38 +- ci/azure/pipelines.yml | 2 +- ci/azure/windows_msvc_install | 4 +- ci/azure/windows_msvc_script.bat | 2 +- ci/drone/drone.yml | 2 +- ci/srht/freebsd_script | 21 +- cmake/Findclang.cmake | 35 +- cmake/Findlld.cmake | 20 +- cmake/Findllvm.cmake | 105 +- doc/langref.html.in | 454 +- lib/include/__clang_cuda_cmath.h | 41 +- lib/include/__clang_cuda_complex_builtins.h | 268 +- lib/include/__clang_cuda_device_functions.h | 333 +- lib/include/__clang_cuda_libdevice_declares.h | 2 +- lib/include/__clang_cuda_math.h | 347 + lib/include/__clang_cuda_math_forward_declares.h | 41 +- lib/include/__clang_cuda_runtime_wrapper.h | 17 +- lib/include/__clang_hip_libdevice_declares.h | 326 + lib/include/__clang_hip_math.h | 1185 ++ lib/include/__clang_hip_runtime_wrapper.h | 64 + lib/include/altivec.h | 402 + lib/include/amxintrin.h | 225 + lib/include/arm_acle.h | 16 +- lib/include/arm_bf16.h | 20 + lib/include/arm_cde.h | 410 + lib/include/arm_mve.h | 19136 +++++++++++++++++-------- lib/include/arm_neon.h | 24440 +++++++++++++++++++------------- lib/include/arm_sve.h | 18148 ++++++++++++++++++++++++ lib/include/avx2intrin.h | 2 + lib/include/avx512bwintrin.h | 19 +- lib/include/avx512fintrin.h | 42 +- lib/include/avx512vlbwintrin.h | 18 +- lib/include/avx512vlintrin.h | 53 +- lib/include/bmiintrin.h | 50 +- lib/include/cet.h | 66 + lib/include/cldemoteintrin.h | 8 + lib/include/cpuid.h | 9 + lib/include/emmintrin.h | 6 +- lib/include/immintrin.h | 207 +- lib/include/intrin.h | 3 + lib/include/module.modulemap | 6 + lib/include/msa.h | 4 + lib/include/opencl-c.h | 698 +- lib/include/openmp_wrappers/__clang_openmp_device_functions.h | 42 + lib/include/openmp_wrappers/__clang_openmp_math.h | 35 - lib/include/openmp_wrappers/__clang_openmp_math_declares.h | 33 - lib/include/openmp_wrappers/cmath | 69 +- lib/include/openmp_wrappers/complex | 25 + lib/include/openmp_wrappers/complex.h | 25 + lib/include/openmp_wrappers/math.h | 46 +- lib/include/openmp_wrappers/new | 70 + lib/include/serializeintrin.h | 30 + lib/include/tsxldtrkintrin.h | 56 + lib/include/vecintrin.h | 8962 ++++++------ lib/include/wasm_simd128.h | 1133 ++ lib/include/x86intrin.h | 27 +- lib/include/xmmintrin.h | 50 +- lib/libcxx/include/__bit_reference | 15 + lib/libcxx/include/__config | 113 +- lib/libcxx/include/__config_site.in | 4 +- lib/libcxx/include/__functional_base | 4 +- lib/libcxx/include/__libcpp_version | 2 +- lib/libcxx/include/__locale | 6 + lib/libcxx/include/__string | 117 + lib/libcxx/include/__threading_support | 111 + lib/libcxx/include/array | 245 +- lib/libcxx/include/atomic | 760 +- lib/libcxx/include/barrier | 322 + lib/libcxx/include/bit | 9 +- lib/libcxx/include/charconv | 13 +- lib/libcxx/include/chrono | 2 +- lib/libcxx/include/cmath | 4 + lib/libcxx/include/codecvt | 72 +- lib/libcxx/include/compare | 84 + lib/libcxx/include/complex | 13 +- lib/libcxx/include/concepts | 166 + lib/libcxx/include/cstddef | 64 +- lib/libcxx/include/cstdio | 4 + lib/libcxx/include/deque | 24 +- lib/libcxx/include/exception | 2 + lib/libcxx/include/filesystem | 1 + lib/libcxx/include/forward_list | 18 +- lib/libcxx/include/functional | 137 +- lib/libcxx/include/future | 1 + lib/libcxx/include/ios | 51 +- lib/libcxx/include/iterator | 21 +- lib/libcxx/include/latch | 104 + lib/libcxx/include/list | 20 +- lib/libcxx/include/map | 25 +- lib/libcxx/include/math.h | 61 +- lib/libcxx/include/memory | 672 +- lib/libcxx/include/module.modulemap | 23 + lib/libcxx/include/numbers | 141 + lib/libcxx/include/ostream | 6 +- lib/libcxx/include/random | 5 + lib/libcxx/include/regex | 68 +- lib/libcxx/include/semaphore | 235 + lib/libcxx/include/set | 18 +- lib/libcxx/include/span | 170 +- lib/libcxx/include/stddef.h | 8 +- lib/libcxx/include/stdexcept | 7 + lib/libcxx/include/stdlib.h | 64 +- lib/libcxx/include/string | 498 +- lib/libcxx/include/system_error | 1 + lib/libcxx/include/thread | 30 +- lib/libcxx/include/type_traits | 447 +- lib/libcxx/include/typeinfo | 13 +- lib/libcxx/include/unordered_map | 26 +- lib/libcxx/include/unordered_set | 26 +- lib/libcxx/include/variant | 22 +- lib/libcxx/include/vector | 43 +- lib/libcxx/include/version | 21 +- lib/libcxx/include/wchar.h | 1 + lib/libcxx/src/algorithm.cpp | 48 - lib/libcxx/src/atomic.cpp | 189 + lib/libcxx/src/barrier.cpp | 103 + lib/libcxx/src/charconv.cpp | 18 +- lib/libcxx/src/chrono.cpp | 120 +- lib/libcxx/src/filesystem/int128_builtins.cpp | 54 + lib/libcxx/src/filesystem/operations.cpp | 12 +- lib/libcxx/src/include/apple_availability.h | 16 +- lib/libcxx/src/locale.cpp | 4 +- lib/libcxx/src/random_shuffle.cpp | 61 + lib/libcxx/src/string.cpp | 9 +- lib/libcxx/src/support/solaris/README | 4 - lib/libcxx/src/thread.cpp | 6 +- lib/libcxxabi/include/__cxxabi_config.h | 8 + lib/libcxxabi/src/abort_message.cpp | 66 +- lib/libcxxabi/src/abort_message.h | 11 +- lib/libcxxabi/src/cxa_guard_impl.h | 29 +- lib/libcxxabi/src/cxa_handlers.h | 2 +- lib/libcxxabi/src/cxa_unexpected.cpp | 22 - lib/libcxxabi/src/cxa_vector.cpp | 12 +- lib/libcxxabi/src/demangle/.clang-format | 2 - lib/libcxxabi/src/demangle/ItaniumDemangle.h | 47 +- lib/libcxxabi/src/demangle/README.txt | 52 - lib/libcxxabi/src/demangle/cp-to-llvm.sh | 27 - lib/libcxxabi/src/include/atomic_support.h | 30 - lib/libcxxabi/src/private_typeinfo.cpp | 47 +- lib/libcxxabi/src/stdlib_new_delete.cpp | 262 + lib/libunwind/include/__libunwind_config.h | 8 + lib/libunwind/include/libunwind.h | 38 + lib/libunwind/include/unwind.h | 21 +- lib/libunwind/src/AddressSpace.hpp | 269 +- lib/libunwind/src/DwarfParser.hpp | 129 +- lib/libunwind/src/EHHeaderParser.hpp | 2 + lib/libunwind/src/FrameHeaderCache.hpp | 149 + lib/libunwind/src/Registers.hpp | 205 +- lib/libunwind/src/Unwind-EHABI.cpp | 20 +- lib/libunwind/src/Unwind-seh.cpp | 6 +- lib/libunwind/src/Unwind-sjlj.c | 4 +- lib/libunwind/src/UnwindCursor.hpp | 25 +- lib/libunwind/src/UnwindLevel1-gcc-ext.c | 2 +- lib/libunwind/src/UnwindLevel1.c | 12 +- lib/libunwind/src/UnwindRegistersRestore.S | 46 +- lib/libunwind/src/UnwindRegistersSave.S | 50 +- lib/libunwind/src/Unwind_AppleExtras.cpp | 2 +- lib/libunwind/src/assembly.h | 9 +- lib/libunwind/src/config.h | 8 +- lib/libunwind/src/libunwind.cpp | 2 + lib/std/auto_reset_event.zig | 229 + lib/std/build.zig | 8 +- lib/std/build/emit_raw.zig | 2 +- lib/std/c.zig | 8 +- lib/std/child_process.zig | 8 +- lib/std/crypto.zig | 2 +- lib/std/crypto/25519/curve25519.zig | 5 + lib/std/crypto/25519/ed25519.zig | 9 +- lib/std/crypto/25519/edwards25519.zig | 24 + lib/std/crypto/chacha20.zig | 395 +- lib/std/crypto/gimli.zig | 64 +- lib/std/crypto/hmac.zig | 4 - lib/std/debug.zig | 4 +- lib/std/dynamic_library.zig | 4 +- lib/std/event/channel.zig | 46 +- lib/std/event/loop.zig | 181 +- lib/std/fmt.zig | 20 +- lib/std/fs.zig | 10 +- lib/std/fs/get_app_data_dir.zig | 2 +- lib/std/fs/test.zig | 15 +- lib/std/fs/watch.zig | 8 +- lib/std/math.zig | 2 +- lib/std/meta.zig | 8 +- lib/std/os.zig | 40 +- lib/std/os/bits.zig | 2 +- lib/std/os/bits/darwin.zig | 22 + lib/std/os/bits/linux.zig | 2 +- lib/std/os/test.zig | 2 +- lib/std/os/windows/kernel32.zig | 3 +- lib/std/packed_int_array.zig | 4 +- lib/std/priority_queue.zig | 82 +- lib/std/process.zig | 6 +- lib/std/rand.zig | 38 +- lib/std/special/build_runner.zig | 10 + lib/std/special/c.zig | 146 +- lib/std/special/compiler_rt.zig | 19 - lib/std/special/compiler_rt/clear_cache.zig | 2 +- lib/std/special/init-exe/build.zig | 3 + lib/std/special/ssp.zig | 141 + lib/std/start.zig | 50 +- lib/std/std.zig | 3 +- lib/std/target.zig | 54 +- lib/std/target/aarch64.zig | 208 +- lib/std/target/amdgpu.zig | 143 +- lib/std/target/arm.zig | 171 + lib/std/target/avr.zig | 23 +- lib/std/target/hexagon.zig | 101 + lib/std/target/mips.zig | 6 + lib/std/target/nvptx.zig | 26 + lib/std/target/powerpc.zig | 122 +- lib/std/target/riscv.zig | 142 +- lib/std/target/systemz.zig | 6 + lib/std/target/wasm.zig | 8 + lib/std/target/x86.zig | 100 +- lib/std/testing.zig | 8 + lib/std/time.zig | 7 +- lib/std/zig.zig | 2 +- lib/std/zig/cross_target.zig | 16 +- lib/std/zig/system.zig | 2 +- src/Compilation.zig | 26 +- src/Module.zig | 47 +- src/clang.zig | 67 +- src/clang_options_data.zig | 696 +- src/codegen/c.zig | 71 +- src/codegen/llvm.zig | 2 +- src/libcxx.zig | 6 +- src/link/Coff.zig | 18 +- src/link/MachO.zig | 310 +- src/main.zig | 171 +- src/stage1/bigfloat.cpp | 4 + src/stage1/codegen.cpp | 13 +- src/stage1/ir.cpp | 20 +- src/target.zig | 6 +- src/type.zig | 2 +- src/zig_clang.cpp | 133 +- src/zig_clang.h | 66 +- src/zig_clang_cc1_main.cpp | 7 +- src/zig_clang_cc1as_main.cpp | 41 +- src/zig_clang_driver.cpp | 39 +- src/zig_llvm.cpp | 9 +- test/cli.zig | 10 +- test/compile_errors.zig | 11 +- test/runtime_safety.zig | 26 +- test/stack_traces.zig | 8 +- test/stage1/behavior/cast.zig | 16 + test/stage1/behavior/sizeof_and_typeof.zig | 52 + test/stage2/cbe.zig | 96 + test/stage2/test.zig | 75 +- test/tests.zig | 2 +- tools/update_clang_options.zig | 3 +- 253 files changed, 65445 insertions(+), 24737 deletions(-)