This is an automated email from the git hooks/post-receive script.
tcwg-buildslave pushed a change to branch linaro-local/ci/tcwg_kernel/llvm-master-aarch64-mainline-allnoconfig in repository toolchain/ci/llvm-project.
from 6e1308bc1027 [SCEV][NFC] Simplify check with CI->isZero() exit condition adds ca0ce99fc87c [lldb] Print embedded nuls in char arrays (PR44649) adds 7106f588567b [lldb] Make the thread_local g_global_boundary accessed fr [...] adds 00baad35b2a3 [SystemZ] Bugfix and refactorization of mem-mem operations adds a33e4c8ae925 [SystemZ] Reapply memcmp and memcpy patches. adds fa639eda6535 [lldb] Fix TestStackCorefile.py for ca0ce99fc8 adds eaa52750ce38 [mlir][linalg] Verify every LinalgOp has a body. adds 0b48b015b574 [Flang] flang-omp-report replace std::vector's with llvm:: [...] adds a8f69be61fc8 [mlir][linalg] Expose flag to control nofold attribute whe [...] adds 05fb26062c32 [MLIR] Fix assert crash when an unregistered dialect op is [...] adds e3e1da20d4a9 Follow up to a3936a6c19c, correctly select LiveDebugValues [...] adds a04c0b7ed2f9 [mlir][python] Fix MemRefType IsAFunction in Python bindings adds 18fbd5fe34f0 [mlir][python] Better support for variadic regions in Pyth [...] adds 16729d0f6274 [Orc] ELFNixPlatform::setupJITDylib - remove dead return. NFCI. adds 77dcdc2f50cc [CostModel][X86] Pre-SSE41 targets can use PMADDWD for sex [...] adds 012c0cc7c38c [mlir] NFC - Avoid unused symbol in opt mode. adds 0ce3c7111e90 [clangd] IncludeCleaner: Handle macros coming from ScratchBuffer adds b577126d6268 [clang][sema] instantiateOMPDeclareVariantAttr - merge rep [...] adds 88487662f7c2 [Codegen] TargetLowering::getCanonicalIndexType - early ou [...] adds dc8a41de3493 [ARM] Simplify address calculation for NEON load/store adds c0d88613f204 [SystemZ] Remove some now unused ISD XXX_LOOP opcodes. adds 094faa5fcabd [VectorCombine] Add test showing issue when running Vector [...] adds 51eefa816457 [NVPTX] Add VRFrame and VRFrameLocal to integer register classes adds a567fd8a0820 Fixup [NVPTX] Add VRFrame and VRFrameLocal to integer regi [...] adds 743e263e0850 [hexagon] Add system register, transfer support adds b5426ced7128 [DebugInfo][InstrRef] Place variable-values PHI using LLVM [...] adds 3f335ffffe47 [mlir][linalg] Fix FusionOnTensors header and make local m [...] adds c2e5c95a1458 [RISCV][test] Add tests of (add (shl r, c0), c1) adds 4fee8a16915e [NFC][compiler-rt][profile] Remove non-Posix -h option from test adds 849b36bf6f52 [JITLink][NFC] Add TableManager to replace PerGraph...Buil [...] adds 0eeaad3012af [mlir][Linalg] Fix insertion point in comprehensive bufferization adds 82dd977bafa8 [mlir][Linalg] Tighten canonicalization of InsertSliceOp t [...] adds 722a2fb7f9a3 [lldb] Fix 'frame diagnose' docstring typo adds 25a3463c44ee [libc++][NFC] Fixes placement of the return type. adds ac3edc5af099 [analyzer][solver] Handle simplification to ConcreteInt adds e4e48e2f025b [AMDGPU] Add more tests for build_vector adds 1fa27f2a10e8 [libc++] LWG3480: make (recursive_)directory_iterator C++2 [...] adds a316343e193d [llvm-profgen] Allow generating AutoFDO profile from CSSPG [...] adds a8e7d11acaa3 [ValueTracking] Simplify getKnowledgeValidInContext() call (NFC) adds 8282024a7477 [sanitizer] Move out stack trace pointer from header StackDepot adds f7ba572483dd [RISCV] Update Zba, Zbb, Zbc, and Zbs version from 0.93 to 1.0. adds 727a891ec8c4 [FPEnv][InstSimplify] Fold fadd X, 0 ==> X, when we know X [...] adds b6c218d4fdb7 [libTooling] Add "switch"-like Stencil combinator adds 13185f01546a [Transforms] eliminateDeadStores - remove unused variable. NFC. adds fcbec7e668ec [TTI][X86] Swap getInterleavedMemoryOpCostAVX2/getInterlea [...] adds 5f668bba5574 [Polly] Clean up Polly's getting started docs. adds f7a3214306cb [Driver][WebAssembly] Use ToolChain reference instead of g [...] adds 871f773986c3 [TTI][X86] Merge getInterleavedMemoryOpCostAVX2 into getIn [...] adds b050564d3e93 [AIX] Ignore case when comparing output from od adds 0a869ef3a844 [llvm-mca][timeline] Indicate output was stopped due to cy [...] adds 5f05ff081f39 [BasicAA] Improve scalable vector handling adds 228b3b729d90 [libc++][AIX] Add scripts and config for building with the [...] adds 78e17e23aa0f [lldb] Rewrite TestDiamond and document some bugs. adds 59dd418e8941 [mlir][tosa] Fix tosa.cast UiToFp32 for tosa-to-linalg adds e632e900ac10 [lldb] Remove logging from Platform::~Platform adds b9941de0bfac Fix a rejects-valid with consteval on overloaded operators adds a5e52ce3f2aa [Polly][docs] Fix itemize list for release notes. adds 19db33c06e7e [Polly] Remove support for code generated by gfortran+DragonEgg. adds 3ff9cc01f275 [X86] Use CMOVNS for abs instead of CMOVGE. adds 8ecbcd058fbd [Driver][Darwin] Use T reference instead of getToolChain() [...] adds 482c53fa0dce [lldb] Move ~Platform to source file adds 68157fe15b23 Fix a crash on valid consteval code. adds 69853f992048 [IVUsers] Move preheader check into SCEVExpander adds 79ae9562cc15 [RISCV] Remove unused member variable. NFC adds 7f3861cfdb10 autogen tests for ease of update adds 3d7bf6625a6e [X86][Costmodel] Improve cost modelling for not-fully-inte [...] adds e9e6266c704d [AArch64] Add extra tests for fptosisat vector variants adds 8b31f07cdf13 [tests] Add indvars tests showing missing transforms with [...] adds afad0cdf31e8 [mlir][vector] Refactor linalg vectorization for reductions adds cb3aa49ec04d [MLIR][arith] fix references to std.constant in comments adds 21abe2128058 [TableGen][PGO] Disable profile instrumentation for printI [...] adds d0a5f61c4f6f [clang] Support -clear-ast-before-backend without -disable-free adds 8c66d781721f [test] Fix asan dynamic unit tests with per-target runtime dirs adds aeeefe97c686 [bazel] Move MC header usage from Support to tblgen adds 277623f4d5a6 Compress formatting of array type names (int [4] -> int[4]) adds 414abff1fe8a [SLP]Fix PR52090: clang crashes: Assertion `Index < Length [...] adds 50b68a3d0305 [OpenMP][host runtime] Add support for teams affinity adds 8e54f24f89c5 Disable add_mlir_aggregate() debug file generation. adds 1062f989af23 [flang] Expunge bogus semantic check for ELEMENTAL without [...] adds f9ad1d1c775a Revert "Compress formatting of array type names (int [4] - [...] adds b840d3ab0d8a [OpenMP][host runtime] small fixup of RTM CPUID bit check adds acb3b187c4c8 [OpenMP][host runtime] Add initial hybrid CPU support adds 039096ee7137 [hwasan] Add default "/" prefix. adds 7a3fb71c3cbd [hwasan] Fix TestCases/thread-uaf.c. adds 439e00a25bde [scudo] Fix running tests under hwasan. adds 675ed4c82df6 [NFC][Interpreter] Remove unused CompilerInvocation adds 6965a776ee19 [flang] Fold LGE/LGT/LLE/LLT intrinsic functions adds 65c9907c809a [mlir][ods] Enable emitting getter/setter prefix adds 0fcda9ae5757 [flang] Admit NULL() in generic procedure resolution cases adds db8a88fef87e [libc] add memccpy and mempcpy adds 1274a07da009 [NFC][asan] Use more common socket type in test adds 882ce178b317 [NFC][sanitizer] Remove %stdcxx11 adds a1e78aee6603 [NFC][asan] Speedup uar_signals.cpp test adds 42ad7e1bc908 [CSSPGO] Turn off PseudoProbeUpdatePass for non-FDO builds. adds 3f96f7b30c91 Fix getInlineCost with ComputeFullInlineCost enabled adds d3cb6bf2d462 [mlir][linalg][bufferize] Rewrite conflict detection adds 7dd7078760e7 [mlir][linalg][bufferize] Handle scf::ForOp correctly in b [...] adds 44610c01aeed [MLIR][ODS] default-valued strings should be in quotes adds 1202d280c6d9 [SCEV][NFC] Reduce memory footprint & compile time via DFS [...] adds effbf0bdd039 PR52183: Don't emit code for a void-typed constant expression. adds 12cbc8cbf071 [analyzer] Fix property access kind detection inside parentheses. adds 9e9b0f462146 [PowerPC] Support ppc-asm-full-reg-names for AIX adds 90ae538cab4b [SCEV] Prove implication of predicates to their sign-flipp [...] adds 81e9c90686f7 [llvm] Use llvm::is_contained (NFC) adds 4fe5ab4b00b2 [RISCV] Optimize immediate materialisation with SH*ADD adds 7c704c0f53bd [NFC] fix a typo adds 35d710148b98 Use Module's FileSpec for limiting binaries to set dyld br [...] adds 844706701ea3 [MLIR] Add `KeywordOrString` handling to AsmParser adds 2ccdc7315e8b [RISCV] Add invalid match case for uimm2, uimm3 and uimm7 adds 2232a68b2df2 Fix another test not using the standard separator for sani [...] adds b092dc0bb9e4 [AArch64ISelLowering] Avoid duplane in some cases when sve [...] adds a92cf5a5a0cd [clang-format] [PR42014,PR52021] don't let clang-format as [...] adds 191a395343b9 [git-clang-format] Add --diffstat parameter adds bc9b106a5750 [lldb] Fix an include in HostTest.cpp adds 8c3adce81dc3 [JSON] Handle uint64_t type adds 082fa5681904 [ARM] Fix MOVCC peephole to not use an incorrect register class adds 25cbf7216201 [libc++] Use apple-install-libcxx.sh in the Apple/system CI job adds a4f42a33be37 [AArch64] Improve fptosi.sat lowering adds c450e47a8c2d [llvm-dwarfdump] Fix unsigned overflow when calculating stats adds fa1a68285e40 [AArch64] Improve fptosi.sat vector lowering adds e23351cdc9bc [Test][InstCombine] Precommit tests for PR52078 adds 7b07c0135140 [InstCombine] Support arbitrary const shift amount for `ls [...] adds 0d1705a9d623 [lldb] [DynamicRegisterInfo] Support value_regs with offset adds 2712d1814860 [lldb] [ABI/X86] Add pseudo-registers if missing adds 3dbcea8b957a Reland [clang] Check unsupported types in expressions adds 6a89fefd13cd Adds //mlir:GPUTransforms dependency to //llvm:MC as the f [...] adds f70f9620d9ab [lldb] [ABI/AArch64] Do not add subregs if some of them ar [...] adds e7418906f505 [lldb] [test] Simplify X86 TestGDBServerTargetXML logic to [...] adds 6069a6a50494 [pstl] Initial implementation of OpenMP backend, on behalf [...] adds 0379263f23a6 [AMDGPU] Fix width check for signed mul24 generation. adds 97809c828f8e [AArch64]Enabling Cortex-A510 Support adds 6678db00e678 [X86] Enable promotion of i16 popcnt (PR52056) adds 4a9bcb605b32 [libc] Memory function benchmarks: rename MemcmpConfigurat [...] adds f2ea85255075 Fix a crash on an invalid templated UDL declaration adds 1583c41d07a4 [lldb] [test] Add TestGDBServerTargetXML tests for x86 dup [...] adds 5bf32a0e4841 [Polly] Remove checkIslAstExprInt and use RAII instead of [...] adds de3038400b16 [AMDGPU] Avoid redundant calls to numBits in AMDGPUCodeGen [...] adds ecef0359538c [Driver][NetBSD] Use Triple reference instead of ToolChain [...] adds 096ace55804d [AArch64] Fix failing test target-invalid-cpu-note.c adds 03a8e70a192f [lldb] Add test for struct merging in scratch ASTContext adds 8cd9c351a1af [VectorCombine] add tests for shuffle of binops; NFC adds a64e6ecfe13f [llvm-readelf] Make -W an alias of --wide adds cef9978027cf [libc++][doc] Use issue labels. adds 26b675d65eb2 [OpenMP][Tools][NFC] Make an Archer test more robust adds a59c1a2138a5 [libc++] LWG3266: delete the to_chars(bool) overload. adds 60802715d1d0 [mlir][vector] NFC - Refactor and extract a helper Structu [...] adds c294715e2e0c [ARM] Don't use TARGET_HEADER_BUILTIN in arm_mve_builtins. [...] adds 395e1fe30574 [clang] Capture Framework when HeaderSearch is resolved vi [...] adds 24703cb6a4e9 [IR] Fix a few incorrect paths in file header comments. NFC adds 42eea2b69bb9 [AIX] Enable int128 in 64 bit mode adds b24788abd8df [mlir][sparse] implement sparse tensor init operation adds f5ed223b0fd0 [DebugInfo] Limit the size of DIExpressions that we will s [...] adds aa80034ab986 [DebugInfo] retainedTypes should not have subprograms adds 1312aff768b0 [SLP]Add a test for shrink shuffle after reorder, NFC. adds ff4c98c05559 [lldb] Harden TestCompletion against new settings in 'targ [...] adds 59b94c4a60d4 NFC: Remove wayward MIR tests from lib/Target adds 6a154e606e57 [clang] Use llvm::is_contained (NFC) adds ccbfcfda1e21 [SystemZ] Handle huge immediates in SystemZInstrInfo::load [...] adds 47eb99aa44ab [clang] Pass -clear-ast-before-backend in Clang::ConstructJob() adds e0f3a3b228ce [ubsan] Remove REQUIRED from some TestCases adds bacddf47a838 [amdgpu] Fix a crash case when preserving MDT in SILowerCo [...] adds 4e572db0c2ec [lld/mac] Mark private externs with GOT relocs as LOCAL in [...] adds 03375a3fb33b [HIP] [AlwaysInliner] Disable AlwaysInliner to eliminate u [...] adds cfd155c41bf2 [SelectionDAG] Fix typo in option help adds 659a08399a78 [WebAssembly] Add import info to `dylink` section of share [...] adds 69708477be25 [compiler-rt/profile] Hide __llvm_profile_raw_version adds 4a1d63d7d09f [VectorCombine] Add option to only run scalarization transforms. adds d0e7bdc20849 [modules] Make a module map referenced by a system map a s [...] adds 82e858d1bf4b [ConstantRange] Better diagnostic for correctness test fai [...] adds 0c52c271a538 [BasicAA] Rename ExtendedValue to CastedValue (NFC) adds 3b48e1170dc6 [HIP] Relax conditions for address space cast in builtin args adds 727e642e970d [InstCombine] generalize fold for mask-with-signbit-splat adds 53fc5100e07a Revert "[HIP] Relax conditions for address space cast in b [...] adds 9eb8040a28b9 [ConstantRange] Support checking optimality for subset of [...] adds cd538a6b1462 [AMDGPU] Precommit fused-bitlogic.ll test. NFC. adds a49f5386ce6b [InstCombine] generalize fold for mask-with-signbit-splat, part 2 adds 2a2432e95f23 [NFC] Make Assume2KnowledgeMap's typedef more precise adds f92db6d3fff1 [HIP] Relax conditions for address space cast in builtin args adds 587493b441ea [ConstantRange] Compute precise shl range for single elements adds 4594f8116543 Fix Xcode project for debugserver adds 1830ec94ac02 Revert "[HIP] [AlwaysInliner] Disable AlwaysInliner to eli [...] adds 489561d46381 [clang] fix typo correction not looking for candidates in [...] adds f8ee74fc1304 [ELF] Require two-dash form for --pack-dyn-relocs adds efc6fe963c11 [MLIR][TOSA] Drop "OnTensors" suffix adds e9b1c974be27 [mlir][sparse] run less combinations of SpMM in test (to r [...] adds 965ec6dbe7e0 [mlir] Add folder for shape.add adds da07942834fe [WebAssembly] Add prototype relaxed laneselect instructions adds f6cd43c0987a [X86] Add more tests for D111858. NFC adds da2e1f622db4 [Polly][docs] Fix Sphinx warning. adds 80dba72a669b [Clang/Test]: Rename enable_noundef_analysis to disable-no [...] adds 8ca4b3ef19fe [Clang/Test]: Rename enable_noundef_analysis to disable-no [...] adds 705387c5074b Resolve lit failures in clang after 8ca4b3e's land adds 9aa6c72b92b6 Fix lit test failures in clang-ppc* and clang-x64-windows-msvc adds 52d6c5df85fa [MLIR] Generalize Affine dependence analysis using Affine [...] adds 37ca7a795b27 Fix missing failures in clang-ppc64be* and retry fixing cl [...] adds 64591f217d98 [TableGen] Replace static_cast with llvm's cast. NFC adds e7bb8dd92983 [mlir][linalg][bufferize] Relax rules for extract_slice/in [...] adds f0711106dc6c [clang-tidy] Fix false positive in cppcoreguidelines-virtu [...] adds 9bf6bef9951a [AArch64] Optimize add/sub with immediate adds d137f1288e2c [X86][LV] X86 does *not* prefer vectorized addressing adds 76ca0d67ab07 [ConstantFolding] ConstantFoldScalarCall1 - early-out if g [...] adds c18cf10a0495 [ConstantFolding] Use getValueAPF const ref value where po [...] adds c28824179530 [ConstantFolding] ConstantFoldScalarCall2 - early-out if g [...] adds a1b43d2bc946 [LazyValueInfo] getPredicateAt - remove unnecessary null p [...] adds d464a9d476a2 [Analysis] Replace assert(isa)/dyn_cast with cast. NFC. adds 4d7c7d87e46e [docs] Mention DragonFlyBSD as a supported platform for LLVM. adds 41a6fc8438f3 [Demangle] Extract nonMicrosoftDemangle from llvm::demangle adds a3813438ae1c [llvm-cxxfilt] Use nonMicrosoftDemangle for demangling NFC adds 48ce523a26b7 [Symbolize] Demangle Rust symbols adds 60b96aa65e59 [lldb] Split ParseSingleMember into Obj-C property and nor [...] adds d5f5121ea65a [LV][X86] Add PR47437 test case adds 6c96ceabaf84 [Support] Add more Windows error codes to mapWindowsError adds 939a80867004 Use llvm::is_contained (NFC) adds bfe5b1b3122c [NFC][X86][Codegen] Add missing interleaving tests after D111546 adds 6ec644e2157d [TTI][X86] Add SSE2 sub-128bit vXi16/32 and v2i64 stride 2 [...] adds 3956a1f8b6d2 [libc++][doc] Adds more issue status labels. adds 85b87179f482 [TTI][X86] Add v8i16 -> 2 x v4i16 stride 2 interleaved load costs adds 2c941fa2f9b9 [OpenMP][deviceRTLs] Fix wrong return value of `__kmpc_is_ [...] adds 492a4a428f77 [APInt] Fix 1-bit edge case in smul_ov() adds 49562d3dfed0 Revert "[clang] Pass -clear-ast-before-backend in Clang::C [...] adds d0d991cd23ef Improve fatal error message when an Attribute or Type wasn [...] adds ecbee4804d44 [Builders.h] Silence a warning by adding a cast. adds beb7862db520 [X86] Add DAG combine for negation of CMOV absolute value [...] adds c0b1b52a28be [NFC][sanitizer] Rename stack depot tests adds 746dd6a70093 [NFC][sanitizer] Add StackDepotTestOnlyUnmap adds 8e1d532707fd [Object] Simplify RELR decoding adds d0dbc991c098 Revert "[AArch64] Optimize add/sub with immediate" adds 40b9c39db159 [MLIR][LLVM] Add memset intrinsic adds 6176fda3f992 Fix a few warnings (signed/unsigned comparison in gtest, a [...] adds 10726992fad7 Use llvm::erase_value (NFC) adds ff13189c5d0d [RISCV] Unify the arch string parsing logic to to RISCVISAInfo. adds 8efa6512e066 [RISCV][NFC] Fix build error adds 1d7aadb4c48a [gn build] Port ff13189c5d0d adds 27969c4e00bb tsan: refactor trace tests adds 2e0fb007d63c [llvm][AArch64][SVE] Fold literals into math instructions adds 2edb89c74684 Lex arguments for __has_cpp_attribute and friends as expan [...] adds 052b77e49f50 [InstCombine] Add some extra tests for truncated saturates. NFC adds c8be7743acc7 Bump the value of __STDC_VERSION__ in -std=c2x mode adds dd8c8d4b7cee This patch supports the following checks for THREADPRIVATE [...] adds 887acf6842cb [X86][Costmodel] Load/store i16 Stride=6 VF=32 interleaving costs adds 4b76a74b4283 [X86][Costmodel] Load/store i32 Stride=3 VF=32 interleaving costs adds 3a6a9f74d3a5 [X86][Costmodel] Load/store i32 Stride=4 VF=32 interleaving costs adds 3274ce3a287d [X86][Costmodel] Load/store i64 Stride=2 VF=32 interleaving costs adds 91373bf12ec6 [X86][Costmodel] Load/store i64 Stride=4 VF=16 interleaving costs adds 274b2439f839 [ConstantRange] Add fast signed multiply adds 498c7236bc76 [X86][SLM] +1uop for PSHUFBrm xmm adds 680afaaa5d92 [X86][SLM] Fix uops for PCLMULQDQ adds 5ed5df480257 [X86][SLM] Fix uops for PCMPISTR/PCMPISTR instructions adds 0bb32b1b2121 [X86][SLM] Fix BitTest+Set uops + port usage adds dbf5dc893069 [CostModel][X86] Add div/rem by negative power-of-2 constants adds f17f694a0fcf [fir] Add IfBuilder and utility functions adds dc3382dc2c12 [CostModel][X86] Add mul by positive/negative power-of-2 c [...] adds d245f2e8597b [clang] Use llvm::erase_if (NFC) adds c900b0a6d5f7 [lldb] Skip target variable test on AS adds fa16329ae072 [NFC] [LoopPeel] Change the way DT is updated for loop exits new 8b7cc93e9dc7 [JITLink] Add comments, rename types for visitExistingEdge [...] new 67c64d83378e [PowerPC] Implement scheduling model for Power10
The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: .../VirtualClassDestructorCheck.cpp | 19 +- clang-tools-extra/clangd/IncludeCleaner.cpp | 12 +- .../clangd/unittests/IncludeCleanerTests.cpp | 41 + .../cppcoreguidelines-virtual-class-destructor.cpp | 70 + clang/docs/ReleaseNotes.rst | 16 + clang/include/clang/AST/ASTContext.h | 6 + .../clang/ASTMatchers/ASTMatchersInternal.h | 9 +- clang/include/clang/Analysis/Analyses/Dominators.h | 2 +- clang/include/clang/Analysis/CloneDetection.h | 4 +- clang/include/clang/Basic/BuiltinsWebAssembly.def | 5 + clang/include/clang/Basic/CodeGenOptions.def | 2 +- clang/include/clang/Basic/DiagnosticCommonKinds.td | 2 + clang/include/clang/Basic/DiagnosticSemaKinds.td | 4 +- clang/include/clang/Basic/JsonSupport.h | 2 +- clang/include/clang/Driver/Options.td | 6 +- clang/include/clang/Sema/ScopeInfo.h | 5 +- clang/include/clang/Sema/Sema.h | 6 +- .../Core/PathSensitive/RangedConstraintManager.h | 17 +- clang/include/clang/Tooling/Transformer/Stencil.h | 32 + clang/lib/AST/ASTContext.cpp | 31 +- clang/lib/AST/CXXInheritance.cpp | 4 +- clang/lib/AST/CommentSema.cpp | 4 +- clang/lib/AST/DeclBase.cpp | 1 + clang/lib/AST/DeclCXX.cpp | 9 +- clang/lib/AST/ExprConstant.cpp | 12 +- clang/lib/AST/ExternalASTMerger.cpp | 18 +- clang/lib/Basic/Targets/OSTargets.h | 1 - clang/lib/Basic/Targets/RISCV.cpp | 163 +- clang/lib/Basic/Targets/RISCV.h | 26 +- clang/lib/CodeGen/CGBuiltin.cpp | 11 + clang/lib/CodeGen/CGCall.cpp | 4 +- clang/lib/CodeGen/CGExprConstant.cpp | 4 +- clang/lib/CodeGen/CGExprScalar.cpp | 5 + clang/lib/CodeGen/CGOpenMPRuntime.cpp | 29 +- clang/lib/CodeGen/CodeGenAction.cpp | 12 +- clang/lib/CodeGen/CodeGenModule.cpp | 7 +- clang/lib/Driver/Multilib.cpp | 2 +- clang/lib/Driver/ToolChains/Arch/RISCV.cpp | 474 +-- clang/lib/Driver/ToolChains/Darwin.cpp | 6 +- clang/lib/Driver/ToolChains/NetBSD.cpp | 26 +- clang/lib/Driver/ToolChains/WebAssembly.cpp | 4 +- clang/lib/Frontend/ASTUnit.cpp | 4 +- clang/lib/Frontend/CompilerInstance.cpp | 8 +- clang/lib/Frontend/InitPreprocessor.cpp | 5 +- clang/lib/Interpreter/Interpreter.cpp | 1 - clang/lib/Lex/HeaderSearch.cpp | 10 +- clang/lib/Lex/ModuleMap.cpp | 2 +- clang/lib/Lex/PPMacroExpansion.cpp | 49 +- clang/lib/Sema/Sema.cpp | 41 +- clang/lib/Sema/SemaDecl.cpp | 3 +- clang/lib/Sema/SemaDeclCXX.cpp | 2 +- clang/lib/Sema/SemaExpr.cpp | 22 +- clang/lib/Sema/SemaExprMember.cpp | 5 +- clang/lib/Sema/SemaOverload.cpp | 5 +- clang/lib/Sema/SemaTemplateInstantiateDecl.cpp | 4 +- clang/lib/Serialization/ModuleManager.cpp | 3 +- .../Checkers/MallocOverflowSecurityChecker.cpp | 3 +- .../StaticAnalyzer/Checkers/SmartPtrModeling.cpp | 8 +- clang/lib/StaticAnalyzer/Core/CallEvent.cpp | 4 +- .../StaticAnalyzer/Core/RangeConstraintManager.cpp | 15 +- .../Core/RangedConstraintManager.cpp | 8 +- clang/lib/Tooling/Transformer/Stencil.cpp | 79 +- clang/test/AST/ast-print-int128.cpp | 1 + clang/test/Analysis/ObjCProperties.m | 35 +- .../solver-sym-simplification-concreteint.c | 40 + clang/test/Analysis/sval-dump-int128.c | 1 + clang/test/CXX/drs/dr1xx.cpp | 4 +- clang/test/CXX/except/except.spec/p14-ir.cpp | 4 +- .../expr.prim/expr.prim.lambda/blocks-irgen.mm | 4 +- clang/test/CodeGen/2005-01-02-ConstantInits.c | 10 +- clang/test/CodeGen/2006-05-19-SingleEltReturn.c | 2 +- clang/test/CodeGen/2007-06-18-SextAttrAggregate.c | 2 +- .../test/CodeGen/2009-02-13-zerosize-union-field.c | 2 +- clang/test/CodeGen/2009-05-04-EnumInreg.c | 2 +- clang/test/CodeGen/64bit-swiftcall.c | 8 +- clang/test/CodeGen/RISCV/riscv-inline-asm.c | 2 +- clang/test/CodeGen/RISCV/riscv32-ilp32-abi.c | 8 +- .../test/CodeGen/RISCV/riscv32-ilp32-ilp32f-abi.c | 8 +- .../RISCV/riscv32-ilp32-ilp32f-ilp32d-abi.c | 48 +- clang/test/CodeGen/RISCV/riscv32-ilp32d-abi.c | 24 +- clang/test/CodeGen/RISCV/riscv32-ilp32f-abi.c | 6 +- .../test/CodeGen/RISCV/riscv32-ilp32f-ilp32d-abi.c | 16 +- clang/test/CodeGen/RISCV/riscv64-lp64-abi.c | 6 +- clang/test/CodeGen/RISCV/riscv64-lp64-lp64f-abi.c | 4 +- .../CodeGen/RISCV/riscv64-lp64-lp64f-lp64d-abi.c | 58 +- clang/test/CodeGen/RISCV/riscv64-lp64d-abi.c | 12 +- clang/test/CodeGen/RISCV/riscv64-lp64f-lp64d-abi.c | 16 +- clang/test/CodeGen/SystemZ/systemz-abi-vector.c | 18 +- clang/test/CodeGen/SystemZ/systemz-abi.c | 22 +- clang/test/CodeGen/SystemZ/systemz-inline-asm.c | 24 +- clang/test/CodeGen/WebAssembly/wasm-arguments.c | 38 +- .../test/CodeGen/WebAssembly/wasm-main_argc_argv.c | 2 +- clang/test/CodeGen/X86/avx-union.c | 6 +- clang/test/CodeGen/X86/avx512fp16-complex-abi.c | 2 +- clang/test/CodeGen/X86/ms-x86-intrinsics.c | 32 +- clang/test/CodeGen/X86/strictfp_builtins.c | 8 +- clang/test/CodeGen/X86/x86-atomic-long_double.c | 36 +- .../CodeGen/X86/x86-inline-asm-min-vector-width.c | 12 +- clang/test/CodeGen/X86/x86-long-double.cpp | 6 +- clang/test/CodeGen/X86/x86-soft-float.c | 4 +- clang/test/CodeGen/X86/x86-vec-i128.c | 22 +- clang/test/CodeGen/X86/x86_32-arguments-darwin.c | 62 +- clang/test/CodeGen/X86/x86_32-arguments-iamcu.c | 24 +- clang/test/CodeGen/X86/x86_32-arguments-linux.c | 30 +- clang/test/CodeGen/X86/x86_32-arguments-nommx.c | 4 +- clang/test/CodeGen/X86/x86_32-arguments-realign.c | 2 +- clang/test/CodeGen/X86/x86_32-arguments-win32.c | 12 +- clang/test/CodeGen/X86/x86_64-arguments-nacl.c | 6 +- clang/test/CodeGen/X86/x86_64-arguments-win32.c | 12 +- clang/test/CodeGen/X86/x86_64-arguments.c | 82 +- clang/test/CodeGen/X86/x86_64-longdouble.c | 36 +- clang/test/CodeGen/aapcs-align.cpp | 56 +- clang/test/CodeGen/aapcs64-align.cpp | 34 +- clang/test/CodeGen/aarch64-args.cpp | 18 +- clang/test/CodeGen/aarch64-byval-temp.c | 8 +- clang/test/CodeGen/aarch64-neon-3v.c | 160 +- clang/test/CodeGen/aarch64-neon-across.c | 88 +- clang/test/CodeGen/aarch64-neon-dot-product.c | 24 +- clang/test/CodeGen/aarch64-neon-extract.c | 48 +- clang/test/CodeGen/aarch64-neon-fcvt-intrinsics.c | 42 +- clang/test/CodeGen/aarch64-neon-fma.c | 44 +- clang/test/CodeGen/aarch64-neon-ldst-one.c | 540 ++-- clang/test/CodeGen/aarch64-neon-scalar-copy.c | 48 +- .../CodeGen/aarch64-neon-scalar-x-indexed-elem.c | 80 +- clang/test/CodeGen/aarch64-neon-tbl.c | 144 +- clang/test/CodeGen/aarch64-neon-vcombine.c | 28 +- clang/test/CodeGen/aarch64-neon-vget-hilo.c | 56 +- clang/test/CodeGen/aarch64-neon-vget.c | 96 +- clang/test/CodeGen/aarch64-poly128.c | 62 +- clang/test/CodeGen/aarch64-poly64.c | 96 +- clang/test/CodeGen/aarch64-strictfp-builtins.c | 8 +- ...4-sve-acle-__ARM_FEATURE_SVE_VECTOR_OPERATORS.c | 16 +- ...sve-acle-__ARM_FEATURE_SVE_VECTOR_OPERATORS.cpp | 8 +- clang/test/CodeGen/aarch64-varargs.c | 2 +- clang/test/CodeGen/address-space-field1.c | 2 +- clang/test/CodeGen/address-space.c | 2 +- clang/test/CodeGen/aix-alignment.c | 8 +- clang/test/CodeGen/aix-altivec.c | 10 +- clang/test/CodeGen/aix-ignore-xcoff-visibility.cpp | 12 +- clang/test/CodeGen/aix-return.c | 16 +- clang/test/CodeGen/aix-struct-arg.c | 44 +- clang/test/CodeGen/aix-vaargs.c | 4 +- clang/test/CodeGen/alias.c | 12 +- clang/test/CodeGen/align_value.cpp | 63 +- clang/test/CodeGen/alloc-align-attr.c | 46 +- clang/test/CodeGen/alloc-fns-alignment.c | 2 +- clang/test/CodeGen/alloc-size-fnptr.c | 12 +- clang/test/CodeGen/arc/arguments.c | 26 +- clang/test/CodeGen/arithmetic-fence-builtin.c | 10 +- clang/test/CodeGen/arm-aapcs-vfp.c | 24 +- clang/test/CodeGen/arm-abi-vector.c | 48 +- clang/test/CodeGen/arm-arguments.c | 10 +- clang/test/CodeGen/arm-bf16-params-returns.c | 10 +- clang/test/CodeGen/arm-byval-align.c | 2 +- clang/test/CodeGen/arm-cmse-attr.c | 4 +- clang/test/CodeGen/arm-cmse-call.c | 4 +- clang/test/CodeGen/arm-float-helpers.c | 76 +- clang/test/CodeGen/arm-fp16-arguments.c | 12 +- clang/test/CodeGen/arm-homogenous.c | 2 +- clang/test/CodeGen/arm-mangle-bf16.cpp | 2 +- clang/test/CodeGen/arm-neon-directed-rounding.c | 30 +- clang/test/CodeGen/arm-neon-dot-product.c | 16 +- clang/test/CodeGen/arm-neon-fma.c | 8 +- clang/test/CodeGen/arm-neon-numeric-maxmin.c | 8 +- clang/test/CodeGen/arm-neon-vcvtX.c | 32 +- clang/test/CodeGen/arm-swiftcall.c | 6 +- clang/test/CodeGen/arm-varargs.c | 2 +- clang/test/CodeGen/arm-vector-arguments.c | 10 +- clang/test/CodeGen/arm-vfp16-arguments.c | 12 +- clang/test/CodeGen/arm64-aapcs-arguments.c | 12 +- clang/test/CodeGen/arm64-abi-vector.c | 42 +- clang/test/CodeGen/arm64-arguments.c | 96 +- clang/test/CodeGen/arm64-microsoft-arguments.cpp | 6 +- clang/test/CodeGen/arm64_32.c | 2 +- clang/test/CodeGen/arm64_vcopy.c | 20 +- clang/test/CodeGen/arm64_vdupq_n_f64.c | 12 +- clang/test/CodeGen/armv7k-abi.c | 6 +- clang/test/CodeGen/asm-label.c | 12 +- .../assume-aligned-and-alloc-align-attributes.c | 12 +- clang/test/CodeGen/atomic-arm64.c | 2 +- clang/test/CodeGen/atomic-ops-libcall.c | 34 +- clang/test/CodeGen/atomic-ops.c | 44 +- clang/test/CodeGen/atomic_ops.c | 10 +- clang/test/CodeGen/atomics-inlining.c | 52 +- clang/test/CodeGen/attr-func-def.c | 4 +- clang/test/CodeGen/attr-naked.c | 2 +- clang/test/CodeGen/attr-no-tail.c | 8 +- clang/test/CodeGen/attr-nomerge.cpp | 20 +- clang/test/CodeGen/attr-noundef.cpp | 4 +- clang/test/CodeGen/attr-target-mv-func-ptrs.c | 4 +- clang/test/CodeGen/attr-target-mv-va-args.c | 24 +- clang/test/CodeGen/attr-target-mv.c | 28 +- clang/test/CodeGen/attr-x86-interrupt.c | 16 +- clang/test/CodeGen/attributes.c | 2 +- clang/test/CodeGen/available-externally-hidden.cpp | 2 +- clang/test/CodeGen/available-externally-suppress.c | 2 +- clang/test/CodeGen/avr/struct.c | 4 +- clang/test/CodeGen/big-atomic-ops.c | 30 +- clang/test/CodeGen/bittest-intrin.c | 8 +- clang/test/CodeGen/blocks.c | 6 +- clang/test/CodeGen/bool-convert.c | 2 +- clang/test/CodeGen/builtin-align-array.c | 8 +- clang/test/CodeGen/builtin-align.c | 24 +- clang/test/CodeGen/builtin-assume-aligned.c | 31 +- clang/test/CodeGen/builtin-attributes.c | 20 +- clang/test/CodeGen/builtin-memfns.c | 4 +- clang/test/CodeGen/builtin-sqrt.c | 2 +- clang/test/CodeGen/builtins-arm.c | 24 +- clang/test/CodeGen/builtins-memcpy-inline.c | 8 +- clang/test/CodeGen/builtins-ms.c | 4 +- clang/test/CodeGen/builtins-multiprecision.c | 4 +- clang/test/CodeGen/builtins-overflow.c | 12 +- clang/test/CodeGen/builtins-ppc-xlcompat-macros.c | 4 +- clang/test/CodeGen/builtins-wasm.c | 28 + clang/test/CodeGen/builtins.c | 44 +- clang/test/CodeGen/c-strings.c | 2 +- clang/test/CodeGen/c11atomics-ios.c | 8 +- clang/test/CodeGen/c11atomics.c | 52 +- clang/test/CodeGen/calling-conv-ignored.c | 32 +- ...-assumption-attribute-align_value-on-lvalue.cpp | 2 +- ...ssumption-attribute-align_value-on-paramvar.cpp | 4 +- ...-attribute-alloc_align-on-function-variable.cpp | 6 +- ...ssumption-attribute-alloc_align-on-function.cpp | 8 +- ...ibute-assume_aligned-on-function-two-params.cpp | 6 +- ...mption-attribute-assume_aligned-on-function.cpp | 8 +- ...uiltin_assume_aligned-three-params-variable.cpp | 2 +- ...umption-builtin_assume_aligned-three-params.cpp | 2 +- ...ssumption-builtin_assume_aligned-two-params.cpp | 2 +- .../CodeGen/catch-alignment-assumption-openmp.cpp | 2 +- .../CodeGen/catch-implicit-integer-sign-changes.c | 18 +- ...icit-signed-integer-truncation-or-sign-change.c | 10 +- ...tr-and-nonzero-offset-when-nullptr-is-defined.c | 2 +- .../CodeGen/catch-nullptr-and-nonzero-offset.c | 14 +- .../test/CodeGen/catch-pointer-overflow-volatile.c | 2 +- clang/test/CodeGen/catch-pointer-overflow.c | 16 +- clang/test/CodeGen/cfi-check-fail.c | 2 +- clang/test/CodeGen/cfi-check-fail2.c | 2 +- clang/test/CodeGen/cmse-clear-arg.c | 2 +- clang/test/CodeGen/complex-builtins.c | 228 +- clang/test/CodeGen/complex-indirect.c | 2 +- clang/test/CodeGen/complex-libcalls.c | 228 +- clang/test/CodeGen/complex-math.c | 12 +- clang/test/CodeGen/complex-strictfp.c | 42 +- clang/test/CodeGen/constructor-attribute.c | 2 +- clang/test/CodeGen/dbg-const-int128.c | 1 + clang/test/CodeGen/debug-info-block-vars.c | 2 +- clang/test/CodeGen/debug-info-pseudo-probe.cpp | 4 +- clang/test/CodeGen/debug-info.c | 1 + clang/test/CodeGen/decl.c | 2 +- clang/test/CodeGen/default-address-space.c | 4 +- clang/test/CodeGen/exceptions-seh-finally.c | 14 +- clang/test/CodeGen/exceptions-seh-leave.c | 30 +- clang/test/CodeGen/exceptions-seh-nested-finally.c | 4 +- clang/test/CodeGen/exceptions-seh.c | 26 +- clang/test/CodeGen/exceptions.c | 2 +- clang/test/CodeGen/ext-int-cc.c | 58 +- clang/test/CodeGen/extend-arg-64.c | 8 +- clang/test/CodeGen/fp-function-attrs.cpp | 6 +- clang/test/CodeGen/fp-options-to-fast-math-flags.c | 18 +- clang/test/CodeGen/fpconstrained-cmp-double.c | 24 +- clang/test/CodeGen/fpconstrained-cmp-float.c | 24 +- clang/test/CodeGen/function-attributes.c | 20 +- clang/test/CodeGen/functions.c | 4 +- clang/test/CodeGen/hexagon-hvx-abi.c | 8 +- clang/test/CodeGen/ibm128-unsupported.c | 2 +- clang/test/CodeGen/incomplete-function-type-2.c | 2 +- clang/test/CodeGen/indirect-noundef.cpp | 2 +- clang/test/CodeGen/inline.c | 4 +- clang/test/CodeGen/lanai-arguments.c | 12 +- clang/test/CodeGen/lanai-regparm.c | 12 +- clang/test/CodeGen/libcall-declarations.c | 636 ++-- clang/test/CodeGen/libcalls.c | 54 +- clang/test/CodeGen/long_double_fp128.cpp | 14 +- clang/test/CodeGen/malign-double-x86-nacl.c | 6 +- clang/test/CodeGen/mangle-blocks.c | 6 +- clang/test/CodeGen/mangle-windows.c | 2 +- clang/test/CodeGen/math-builtins-long.c | 386 +-- clang/test/CodeGen/math-builtins.c | 648 ++-- clang/test/CodeGen/math-libcalls.c | 474 +-- clang/test/CodeGen/matrix-cast.c | 26 +- clang/test/CodeGen/matrix-type-builtins.c | 4 +- .../test/CodeGen/matrix-type-operators-fast-math.c | 12 +- clang/test/CodeGen/matrix-type-operators.c | 84 +- clang/test/CodeGen/memcmp-inline-builtin-to-asm.c | 2 +- clang/test/CodeGen/memcpy-inline-builtin.c | 2 +- clang/test/CodeGen/microsoft-call-conv-x64.c | 2 +- clang/test/CodeGen/microsoft-call-conv.c | 2 +- clang/test/CodeGen/mingw-long-double.c | 12 +- clang/test/CodeGen/mips-unsigned-ext-var.c | 6 +- clang/test/CodeGen/mips-unsigned-extend.c | 6 +- clang/test/CodeGen/mips-vector-arg.c | 16 +- clang/test/CodeGen/mips-zero-sized-struct.c | 6 +- clang/test/CodeGen/mips64-padding-arg.c | 24 +- clang/test/CodeGen/mrtd.c | 6 +- clang/test/CodeGen/ms-inline-asm.c | 2 +- clang/test/CodeGen/ms-intrinsics-cpuid.c | 4 +- clang/test/CodeGen/ms-intrinsics-other.c | 2 +- clang/test/CodeGen/ms-mixed-ptr-sizes.c | 20 +- clang/test/CodeGen/ms_abi.c | 4 +- clang/test/CodeGen/ms_abi_aarch64.c | 4 +- clang/test/CodeGen/named_reg_global.c | 2 +- clang/test/CodeGen/no-bitfield-type-align.c | 2 +- clang/test/CodeGen/no-builtin.cpp | 12 +- clang/test/CodeGen/no-prototype.c | 2 +- clang/test/CodeGen/noduplicate-cxx11-test.cpp | 2 +- .../CodeGen/non-power-of-2-alignment-assumptions.c | 10 +- clang/test/CodeGen/nonnull.c | 28 +- clang/test/CodeGen/nrvo-tracking.cpp | 2 +- clang/test/CodeGen/nvptx-abi.c | 10 +- clang/test/CodeGen/object-size.c | 4 +- clang/test/CodeGen/padding-init.c | 6 +- clang/test/CodeGen/pass-by-value-noalias.c | 4 +- clang/test/CodeGen/pass-object-size.c | 114 +- clang/test/CodeGen/pch-dllexport.cpp | 4 +- clang/test/CodeGen/powerpc-c99complex.c | 14 +- clang/test/CodeGen/ppc-emmintrin.c | 750 ++--- clang/test/CodeGen/ppc-mm-malloc-le.c | 8 +- clang/test/CodeGen/ppc-mm-malloc.c | 8 +- clang/test/CodeGen/ppc-mmintrin.c | 124 +- clang/test/CodeGen/ppc-pmmintrin.c | 177 +- clang/test/CodeGen/ppc-signbit.c | 2 +- clang/test/CodeGen/ppc-smmintrin.c | 32 +- clang/test/CodeGen/ppc-tmmintrin.c | 290 +- clang/test/CodeGen/ppc-varargs-struct.c | 1 + clang/test/CodeGen/ppc-xmmintrin.c | 400 +-- clang/test/CodeGen/ppc64-align-struct.c | 26 +- clang/test/CodeGen/ppc64-complex-parms.c | 38 +- clang/test/CodeGen/ppc64-complex-return.c | 20 +- clang/test/CodeGen/ppc64-extend.c | 4 +- clang/test/CodeGen/ppc64-inline-asm.c | 14 +- clang/test/CodeGen/ppc64-long-double.cpp | 6 +- clang/test/CodeGen/ppc64-soft-float.c | 6 +- clang/test/CodeGen/ppc64-vector.c | 10 +- clang/test/CodeGen/ppc64le-aggregates.c | 8 +- clang/test/CodeGen/ppc64le-f128Aggregates.c | 4 +- clang/test/CodeGen/ppc64le-varargs-f128.c | 12 +- clang/test/CodeGen/pr25786.c | 4 +- clang/test/CodeGen/pr5406.c | 2 +- clang/test/CodeGen/pr9614.c | 4 +- clang/test/CodeGen/pragma-weak.c | 2 +- clang/test/CodeGen/ps4-dllimport-dllexport.c | 2 +- clang/test/CodeGen/regcall.c | 100 +- clang/test/CodeGen/regparm-flag.c | 12 +- clang/test/CodeGen/regparm-struct.c | 36 +- clang/test/CodeGen/regparm.c | 6 +- clang/test/CodeGen/renderscript.c | 14 +- clang/test/CodeGen/restrict.c | 10 +- .../sanitize-thread-no-checking-at-run-time.m | 2 +- clang/test/CodeGen/sparc-arguments.c | 4 +- clang/test/CodeGen/sparcv8-abi.c | 6 +- clang/test/CodeGen/sparcv8-inline-asm.c | 2 +- clang/test/CodeGen/sparcv9-abi.c | 16 +- clang/test/CodeGen/spir-half-type.cpp | 2 +- clang/test/CodeGen/stack-protector.c | 4 +- clang/test/CodeGen/stdcall-fastcall.c | 24 +- clang/test/CodeGen/strictfp_builtins.c | 26 +- clang/test/CodeGen/swift-async-call-conv.c | 22 +- clang/test/CodeGen/switch-dce.c | 4 +- clang/test/CodeGen/sysv_abi.c | 8 +- clang/test/CodeGen/temporary-lifetime.cpp | 4 +- clang/test/CodeGen/transparent-union-redecl.c | 8 +- clang/test/CodeGen/transparent-union.c | 8 +- clang/test/CodeGen/ubsan-function.cpp | 2 +- clang/test/CodeGen/uint128_t.c | 1 + .../CodeGen/unique-internal-linkage-names-dwarf.c | 4 +- .../unique-internal-linkage-names-dwarf.cpp | 12 +- .../test/CodeGen/unique-internal-linkage-names.cpp | 16 +- clang/test/CodeGen/variadic-null-win64.c | 12 +- clang/test/CodeGen/ve-abi.c | 34 +- clang/test/CodeGen/vectorcall.c | 86 +- clang/test/CodeGen/vla.c | 22 +- clang/test/CodeGen/win64-i128.c | 4 +- clang/test/CodeGen/windows-itanium.c | 2 +- .../CodeGen/windows-on-arm-dllimport-dllexport.c | 2 +- .../CodeGen/windows-seh-EHa-CppCatchDotDotDot.cpp | 2 +- .../test/CodeGen/windows-seh-EHa-CppCondiTemps.cpp | 18 +- clang/test/CodeGen/windows-seh-EHa-CppDtors01.cpp | 2 +- .../test/CodeGen/windows-seh-EHa-TryInFinally.cpp | 4 +- clang/test/CodeGen/windows-seh-abnormal-exits.c | 2 +- clang/test/CodeGen/windows-swiftcall.c | 22 +- clang/test/CodeGen/x86_32-align-linux.c | 6 +- clang/test/CodeGen/xcore-abi.c | 14 +- clang/test/CodeGen/xray-log-args.cpp | 4 +- clang/test/CodeGenCUDA/address-spaces.cu | 2 +- .../CodeGenCUDA/amdgpu-kernel-arg-pointer-type.cu | 10 +- clang/test/CodeGenCUDA/builtins-amdgcn.cu | 2 +- .../CodeGenCUDA/builtins-unsafe-atomics-gfx90a.cu | 20 + clang/test/CodeGenCUDA/cuda-builtin-vars.cu | 2 +- clang/test/CodeGenCUDA/kernel-args-alignment.cu | 2 +- clang/test/CodeGenCUDA/kernel-args.cu | 8 +- clang/test/CodeGenCUDA/kernel-stub-name.cu | 4 +- clang/test/CodeGenCUDA/lambda.cu | 8 +- clang/test/CodeGenCUDA/redux-builtins.cu | 2 +- clang/test/CodeGenCUDA/surface.cu | 4 +- clang/test/CodeGenCUDA/texture.cu | 6 +- clang/test/CodeGenCUDA/unnamed-types.cu | 8 +- clang/test/CodeGenCUDA/usual-deallocators.cu | 36 +- clang/test/CodeGenCUDA/vtbl.cu | 2 +- .../CodeGenCXX/2009-05-04-PureConstNounwind.cpp | 10 +- .../test/CodeGenCXX/2011-12-19-init-list-ctor.cpp | 6 +- .../diamond-virtual-inheritance.cpp | 2 +- .../CodeGenCXX/RelativeVTablesABI/dynamic-cast.cpp | 8 +- .../RelativeVTablesABI/member-function-pointer.cpp | 2 +- .../RelativeVTablesABI/multiple-inheritance.cpp | 2 +- .../parent-and-child-in-comdats.cpp | 2 +- .../CodeGenCXX/RelativeVTablesABI/type-info.cpp | 2 +- .../CodeGenCXX/RelativeVTablesABI/vbase-offset.cpp | 2 +- .../RelativeVTablesABI/virtual-function-call.cpp | 2 +- clang/test/CodeGenCXX/address-space-cast.cpp | 14 +- clang/test/CodeGenCXX/address-space-ref.cpp | 8 +- clang/test/CodeGenCXX/aix-alignment.cpp | 6 +- .../aix-static-init-temp-spec-and-inline-var.cpp | 14 +- clang/test/CodeGenCXX/aix-static-init.cpp | 4 +- .../test/CodeGenCXX/align-avx-complete-objects.cpp | 4 +- clang/test/CodeGenCXX/alignment.cpp | 20 +- clang/test/CodeGenCXX/alloc-size.cpp | 16 +- .../test/CodeGenCXX/amdgcn-automatic-variable.cpp | 10 +- clang/test/CodeGenCXX/amdgcn-func-arg.cpp | 24 +- clang/test/CodeGenCXX/amdgcn_declspec_get.cpp | 2 +- clang/test/CodeGenCXX/anonymous-namespaces.cpp | 4 +- .../test/CodeGenCXX/apple-kext-indirect-call-2.cpp | 8 +- clang/test/CodeGenCXX/apple-kext-linkage.cpp | 4 +- clang/test/CodeGenCXX/arm-cc.cpp | 4 +- clang/test/CodeGenCXX/arm-swiftcall.cpp | 2 +- clang/test/CodeGenCXX/arm.cpp | 4 +- clang/test/CodeGenCXX/arm64-constructor-return.cpp | 4 +- clang/test/CodeGenCXX/arm64-darwinpcs.cpp | 4 +- clang/test/CodeGenCXX/atomic-dllexport.cpp | 4 +- clang/test/CodeGenCXX/atomic-inline.cpp | 2 +- clang/test/CodeGenCXX/atomicinit.cpp | 8 +- .../CodeGenCXX/attr-cpuspecific-outoflinedefs.cpp | 28 +- clang/test/CodeGenCXX/attr-disable-tail-calls.cpp | 12 +- clang/test/CodeGenCXX/attr-musttail.cpp | 40 +- clang/test/CodeGenCXX/attr-notail.cpp | 10 +- clang/test/CodeGenCXX/attr-target-mv-diff-ns.cpp | 42 +- clang/test/CodeGenCXX/attr-target-mv-func-ptrs.cpp | 6 +- clang/test/CodeGenCXX/attr-target-mv-inalloca.cpp | 16 +- .../CodeGenCXX/attr-target-mv-member-funcs.cpp | 96 +- .../CodeGenCXX/attr-target-mv-out-of-line-defs.cpp | 22 +- clang/test/CodeGenCXX/attr-target-mv-overloads.cpp | 36 +- ...used-member-function-implicit-instantiation.cpp | 2 +- clang/test/CodeGenCXX/attr-x86-interrupt.cpp | 24 +- clang/test/CodeGenCXX/blocks-cxx11.cpp | 16 +- clang/test/CodeGenCXX/blocks.cpp | 4 +- clang/test/CodeGenCXX/builtin-calling-conv.cpp | 18 +- .../CodeGenCXX/builtin-is-constant-evaluated.cpp | 8 +- .../CodeGenCXX/builtin-operator-new-delete.cpp | 20 +- clang/test/CodeGenCXX/builtin-source-location.cpp | 20 +- clang/test/CodeGenCXX/builtin_FUNCTION.cpp | 6 +- clang/test/CodeGenCXX/builtin_LINE.cpp | 24 +- clang/test/CodeGenCXX/builtins.cpp | 4 +- clang/test/CodeGenCXX/call-with-static-chain.cpp | 16 +- clang/test/CodeGenCXX/catch-undef-behavior.cpp | 10 +- clang/test/CodeGenCXX/cfi-cast.cpp | 4 +- clang/test/CodeGenCXX/cfi-multiple-inheritance.cpp | 2 +- .../test/CodeGenCXX/cfi-vcall-check-after-args.cpp | 2 +- clang/test/CodeGenCXX/clang-sections.cpp | 2 +- clang/test/CodeGenCXX/compound-literals.cpp | 6 +- clang/test/CodeGenCXX/condition.cpp | 30 +- clang/test/CodeGenCXX/conditional-gnu-ext.cpp | 14 +- clang/test/CodeGenCXX/conditional-temporaries.cpp | 44 +- clang/test/CodeGenCXX/const-init-cxx11.cpp | 16 +- .../constructor-destructor-return-this.cpp | 100 +- clang/test/CodeGenCXX/constructor-direct-call.cpp | 14 +- clang/test/CodeGenCXX/constructor-init.cpp | 10 +- clang/test/CodeGenCXX/constructors.cpp | 24 +- clang/test/CodeGenCXX/convert-to-fptr.cpp | 4 +- clang/test/CodeGenCXX/copy-assign-synthesis-1.cpp | 2 +- clang/test/CodeGenCXX/copy-constructor-elim-2.cpp | 2 +- .../CodeGenCXX/copy-constructor-synthesis-2.cpp | 2 +- .../test/CodeGenCXX/copy-constructor-synthesis.cpp | 6 +- clang/test/CodeGenCXX/copy-elision.cpp | 2 +- clang/test/CodeGenCXX/copy-initialization.cpp | 2 +- clang/test/CodeGenCXX/cxx-abi-switch.cpp | 4 +- clang/test/CodeGenCXX/cxx0x-delegating-ctors.cpp | 2 +- .../CodeGenCXX/cxx0x-initializer-constructors.cpp | 14 +- .../CodeGenCXX/cxx0x-initializer-references.cpp | 4 +- .../CodeGenCXX/cxx11-initializer-aggregate.cpp | 4 +- .../CodeGenCXX/cxx11-initializer-array-new.cpp | 30 +- .../CodeGenCXX/cxx11-thread-local-reference.cpp | 6 +- .../CodeGenCXX/cxx11-thread-local-visibility.cpp | 8 +- clang/test/CodeGenCXX/cxx11-thread-local.cpp | 38 +- .../test/CodeGenCXX/cxx11-user-defined-literal.cpp | 20 +- clang/test/CodeGenCXX/cxx1y-init-captures.cpp | 12 +- .../CodeGenCXX/cxx1y-initializer-aggregate.cpp | 6 +- clang/test/CodeGenCXX/cxx1y-sized-deallocation.cpp | 48 +- .../CodeGenCXX/cxx1y-variable-template-linkage.cpp | 10 +- clang/test/CodeGenCXX/cxx1y-variable-template.cpp | 2 +- clang/test/CodeGenCXX/cxx1z-aligned-allocation.cpp | 68 +- clang/test/CodeGenCXX/cxx1z-copy-omission.cpp | 8 +- clang/test/CodeGenCXX/cxx1z-decomposition.cpp | 4 +- clang/test/CodeGenCXX/cxx1z-init-statement.cpp | 4 +- .../CodeGenCXX/cxx1z-initializer-aggregate.cpp | 20 +- clang/test/CodeGenCXX/cxx1z-inline-variables.cpp | 8 +- clang/test/CodeGenCXX/cxx20-consteval-crash.cpp | 14 + clang/test/CodeGenCXX/cxx2a-consteval.cpp | 21 +- clang/test/CodeGenCXX/cxx2a-destroying-delete.cpp | 38 +- .../debug-info-codeview-heapallocsite.cpp | 6 +- .../test/CodeGenCXX/debug-info-destroy-helper.cpp | 48 +- clang/test/CodeGenCXX/debug-info-enum-i128.cpp | 1 + clang/test/CodeGenCXX/debug-info-globalinit.cpp | 6 +- clang/test/CodeGenCXX/debug-info-line.cpp | 4 +- clang/test/CodeGenCXX/debug-info-nested-exprs.cpp | 84 +- clang/test/CodeGenCXX/debug-info-static-fns.cpp | 2 +- clang/test/CodeGenCXX/debug-info-thunk-msabi.cpp | 2 +- clang/test/CodeGenCXX/decl-ref-init.cpp | 4 +- clang/test/CodeGenCXX/default-arg-temps.cpp | 4 +- clang/test/CodeGenCXX/default-arguments.cpp | 2 +- clang/test/CodeGenCXX/default_calling_conv.cpp | 24 +- clang/test/CodeGenCXX/delete-two-arg.cpp | 8 +- clang/test/CodeGenCXX/delete.cpp | 6 +- clang/test/CodeGenCXX/derived-to-base-conv.cpp | 6 +- clang/test/CodeGenCXX/derived-to-base.cpp | 4 +- clang/test/CodeGenCXX/destructors.cpp | 8 +- clang/test/CodeGenCXX/devirtualize-ms-dtor.cpp | 2 +- .../devirtualize-virtual-function-calls-final.cpp | 34 +- .../devirtualize-virtual-function-calls.cpp | 2 +- clang/test/CodeGenCXX/dllexport-ctor-closure.cpp | 10 +- clang/test/CodeGenCXX/dllexport-dtor-thunks.cpp | 2 +- clang/test/CodeGenCXX/dllexport-members.cpp | 12 +- .../CodeGenCXX/dllexport-no-dllexport-inlines.cpp | 18 +- clang/test/CodeGenCXX/dllexport.cpp | 12 +- clang/test/CodeGenCXX/dllimport-members.cpp | 12 +- clang/test/CodeGenCXX/dllimport-runtime-fns.cpp | 6 +- clang/test/CodeGenCXX/dllimport.cpp | 18 +- clang/test/CodeGenCXX/eh.cpp | 10 +- .../CodeGenCXX/empty-nontrivially-copyable.cpp | 6 +- clang/test/CodeGenCXX/exceptions-cxx-new.cpp | 10 +- .../CodeGenCXX/exceptions-seh-filter-captures.cpp | 24 +- .../CodeGenCXX/exceptions-seh-filter-uwtable.cpp | 2 +- clang/test/CodeGenCXX/exceptions-seh.cpp | 16 +- clang/test/CodeGenCXX/exceptions.cpp | 4 +- clang/test/CodeGenCXX/explicit-instantiation.cpp | 32 +- clang/test/CodeGenCXX/ext-int.cpp | 8 +- clang/test/CodeGenCXX/fastcall.cpp | 2 +- clang/test/CodeGenCXX/float128-declarations.cpp | 20 +- clang/test/CodeGenCXX/float16-declarations.cpp | 8 +- clang/test/CodeGenCXX/for-cond-var.cpp | 16 +- clang/test/CodeGenCXX/for-range-temporaries.cpp | 2 +- clang/test/CodeGenCXX/for-range.cpp | 20 +- clang/test/CodeGenCXX/forward-enum.cpp | 2 +- clang/test/CodeGenCXX/fp16-mangle-arg-return.cpp | 4 +- clang/test/CodeGenCXX/fp16-mangle.cpp | 4 +- clang/test/CodeGenCXX/fp16-overload.cpp | 4 +- clang/test/CodeGenCXX/global-init.cpp | 2 +- clang/test/CodeGenCXX/goto.cpp | 6 +- clang/test/CodeGenCXX/homogeneous-aggregates.cpp | 28 +- clang/test/CodeGenCXX/ibm128-declarations.cpp | 24 +- .../CodeGenCXX/implicit-copy-assign-operator.cpp | 2 +- .../test/CodeGenCXX/implicit-copy-constructor.cpp | 2 +- clang/test/CodeGenCXX/inalloca-overaligned.cpp | 38 +- clang/test/CodeGenCXX/inalloca-stmtexpr.cpp | 2 +- clang/test/CodeGenCXX/inalloca-vector.cpp | 40 +- .../CodeGenCXX/inheriting-constructor-cleanup.cpp | 4 +- clang/test/CodeGenCXX/inheriting-constructor.cpp | 10 +- clang/test/CodeGenCXX/init-invariant.cpp | 14 +- clang/test/CodeGenCXX/init-priority-attr.cpp | 10 +- .../CodeGenCXX/initializer-list-ctor-order.cpp | 2 +- clang/test/CodeGenCXX/inline-functions.cpp | 2 +- clang/test/CodeGenCXX/lambda-conversion-op-cc.cpp | 56 +- .../lambda-expressions-inside-auto-functions.cpp | 8 +- .../lambda-expressions-nested-linkage.cpp | 10 +- clang/test/CodeGenCXX/lambda-expressions.cpp | 30 +- clang/test/CodeGenCXX/lifetime-sanitizer.cpp | 2 +- clang/test/CodeGenCXX/linkage.cpp | 2 +- clang/test/CodeGenCXX/mangle-abi-tag.cpp | 2 +- clang/test/CodeGenCXX/mangle-exprs.cpp | 8 +- clang/test/CodeGenCXX/mangle-extern-local.cpp | 6 +- clang/test/CodeGenCXX/mangle-lambdas.cpp | 102 +- clang/test/CodeGenCXX/mangle-ms-cxx11.cpp | 4 +- .../CodeGenCXX/mangle-ms-templates-memptrs-2.cpp | 2 +- clang/test/CodeGenCXX/mangle-ms-vector-types.cpp | 14 +- clang/test/CodeGenCXX/mangle-ms.cpp | 10 +- clang/test/CodeGenCXX/mangle-this-cxx11.cpp | 4 +- clang/test/CodeGenCXX/mangle-win-ccs.cpp | 24 +- clang/test/CodeGenCXX/mangle-win64-ccs.cpp | 14 +- clang/test/CodeGenCXX/mangle.cpp | 32 +- clang/test/CodeGenCXX/matrix-casts.cpp | 8 +- clang/test/CodeGenCXX/matrix-type-builtins.cpp | 56 +- clang/test/CodeGenCXX/matrix-type-operators.cpp | 48 +- clang/test/CodeGenCXX/matrix-type.cpp | 2 +- .../CodeGenCXX/member-expr-references-variable.cpp | 40 +- clang/test/CodeGenCXX/member-expressions.cpp | 2 +- .../CodeGenCXX/member-function-pointer-calls.cpp | 8 +- clang/test/CodeGenCXX/member-init-assignment.cpp | 2 +- clang/test/CodeGenCXX/member-templates.cpp | 4 +- clang/test/CodeGenCXX/microsoft-abi-arg-order.cpp | 16 +- .../CodeGenCXX/microsoft-abi-array-cookies.cpp | 8 +- clang/test/CodeGenCXX/microsoft-abi-byval-sret.cpp | 8 +- .../test/CodeGenCXX/microsoft-abi-byval-thunks.cpp | 16 +- .../test/CodeGenCXX/microsoft-abi-byval-vararg.cpp | 12 +- .../CodeGenCXX/microsoft-abi-cdecl-method-sret.cpp | 8 +- .../test/CodeGenCXX/microsoft-abi-dynamic-cast.cpp | 22 +- clang/test/CodeGenCXX/microsoft-abi-eh-catch.cpp | 6 +- .../test/CodeGenCXX/microsoft-abi-eh-cleanups.cpp | 56 +- .../CodeGenCXX/microsoft-abi-extern-template.cpp | 8 +- .../CodeGenCXX/microsoft-abi-member-pointers.cpp | 42 +- clang/test/CodeGenCXX/microsoft-abi-methods.cpp | 10 +- ...crosoft-abi-multiple-nonvirtual-inheritance.cpp | 10 +- .../CodeGenCXX/microsoft-abi-sret-and-byval.cpp | 78 +- .../microsoft-abi-static-initializers.cpp | 24 +- clang/test/CodeGenCXX/microsoft-abi-structors.cpp | 2 +- .../CodeGenCXX/microsoft-abi-this-nullable.cpp | 2 +- .../microsoft-abi-thread-safe-statics.cpp | 2 +- clang/test/CodeGenCXX/microsoft-abi-throw.cpp | 4 +- clang/test/CodeGenCXX/microsoft-abi-thunks.cpp | 14 +- clang/test/CodeGenCXX/microsoft-abi-typeid.cpp | 16 +- .../test/CodeGenCXX/microsoft-abi-unknown-arch.cpp | 2 +- clang/test/CodeGenCXX/microsoft-abi-vbase-dtor.cpp | 2 +- ...microsoft-abi-virtual-inheritance-vtordisps.cpp | 6 +- .../microsoft-abi-virtual-inheritance.cpp | 54 +- .../microsoft-abi-virtual-member-pointers.cpp | 56 +- .../CodeGenCXX/microsoft-abi-vmemptr-conflicts.cpp | 34 +- .../CodeGenCXX/microsoft-abi-vmemptr-fastcall.cpp | 4 +- ...iple-nonvirtual-inheritance-this-adjustment.cpp | 4 +- clang/test/CodeGenCXX/microsoft-compatibility.cpp | 2 +- .../CodeGenCXX/microsoft-inaccessible-base.cpp | 4 +- clang/test/CodeGenCXX/microsoft-interface.cpp | 10 +- clang/test/CodeGenCXX/microsoft-new.cpp | 8 +- clang/test/CodeGenCXX/mips-size_t-ptrdiff_t.cpp | 12 +- clang/test/CodeGenCXX/ms-inline-asm-fields.cpp | 2 +- clang/test/CodeGenCXX/ms-inline-asm-return.cpp | 2 +- clang/test/CodeGenCXX/ms-property.cpp | 48 +- clang/test/CodeGenCXX/ms-thunks-ehspec.cpp | 4 +- clang/test/CodeGenCXX/ms-thunks-unprototyped.cpp | 18 +- clang/test/CodeGenCXX/ms-union-member-ref.cpp | 6 +- .../test/CodeGenCXX/msabi-ctor-abstract-vbase.cpp | 8 +- clang/test/CodeGenCXX/multi-dim-operator-new.cpp | 6 +- clang/test/CodeGenCXX/new-alias.cpp | 2 +- clang/test/CodeGenCXX/new-array-init.cpp | 18 +- clang/test/CodeGenCXX/new-infallible.cpp | 4 +- clang/test/CodeGenCXX/new-overflow.cpp | 30 +- clang/test/CodeGenCXX/new.cpp | 56 +- clang/test/CodeGenCXX/noescape.cpp | 22 +- clang/test/CodeGenCXX/nonconst-init.cpp | 2 +- clang/test/CodeGenCXX/nrvo.cpp | 4 +- clang/test/CodeGenCXX/observe-noexcept.cpp | 4 +- clang/test/CodeGenCXX/operator-new.cpp | 8 +- clang/test/CodeGenCXX/partial-destruction.cpp | 22 +- clang/test/CodeGenCXX/pass-by-value-noalias.cpp | 16 +- clang/test/CodeGenCXX/pass-object-size.cpp | 8 +- clang/test/CodeGenCXX/pod-member-memcpys.cpp | 4 +- clang/test/CodeGenCXX/powerpc-byval.cpp | 2 +- clang/test/CodeGenCXX/pr13396.cpp | 12 +- clang/test/CodeGenCXX/pr20897.cpp | 4 +- clang/test/CodeGenCXX/pr24097.cpp | 2 +- clang/test/CodeGenCXX/pr28360.cpp | 2 +- clang/test/CodeGenCXX/pr9130.cpp | 2 +- clang/test/CodeGenCXX/pragma-visibility.cpp | 2 +- clang/test/CodeGenCXX/redefine_extname.cpp | 2 +- clang/test/CodeGenCXX/reference-cast.cpp | 12 +- clang/test/CodeGenCXX/references.cpp | 2 +- clang/test/CodeGenCXX/regcall.cpp | 42 +- clang/test/CodeGenCXX/regparm.cpp | 6 +- clang/test/CodeGenCXX/runtime-dllstorage.cpp | 14 +- clang/test/CodeGenCXX/runtimecc.cpp | 2 +- clang/test/CodeGenCXX/rvalue-references.cpp | 12 +- clang/test/CodeGenCXX/split-stacks.cpp | 12 +- clang/test/CodeGenCXX/stack-reuse-miscompile.cpp | 8 +- clang/test/CodeGenCXX/stack-reuse.cpp | 2 +- clang/test/CodeGenCXX/static-data-member.cpp | 4 +- clang/test/CodeGenCXX/static-destructor.cpp | 4 +- clang/test/CodeGenCXX/static-init-1.cpp | 8 +- clang/test/CodeGenCXX/static-init-wasm.cpp | 4 +- clang/test/CodeGenCXX/static-init.cpp | 14 +- .../CodeGenCXX/static-local-in-local-class.cpp | 20 +- clang/test/CodeGenCXX/stmtexpr.cpp | 16 +- clang/test/CodeGenCXX/switch-case-folding-2.cpp | 2 +- clang/test/CodeGenCXX/temp-order.cpp | 18 +- clang/test/CodeGenCXX/template-anonymous-types.cpp | 12 +- clang/test/CodeGenCXX/temporaries.cpp | 48 +- clang/test/CodeGenCXX/this-nonnull.cpp | 8 +- clang/test/CodeGenCXX/thunk-linkonce-odr.cpp | 4 +- clang/test/CodeGenCXX/thunk-returning-memptr.cpp | 2 +- clang/test/CodeGenCXX/thunks-ehspec.cpp | 6 +- clang/test/CodeGenCXX/thunks.cpp | 20 +- clang/test/CodeGenCXX/tls-init-funcs.cpp | 10 +- clang/test/CodeGenCXX/trivial_abi.cpp | 46 +- clang/test/CodeGenCXX/ubsan-suppress-checks.cpp | 16 +- clang/test/CodeGenCXX/ubsan-vtable-checks.cpp | 4 +- clang/test/CodeGenCXX/uncopyable-args.cpp | 48 +- clang/test/CodeGenCXX/unknown-anytype.cpp | 28 +- clang/test/CodeGenCXX/value-init.cpp | 4 +- clang/test/CodeGenCXX/varargs.cpp | 2 +- clang/test/CodeGenCXX/variadic-templates.cpp | 2 +- .../CodeGenCXX/virtual-base-destructor-call.cpp | 4 +- clang/test/CodeGenCXX/virtual-bases.cpp | 8 +- clang/test/CodeGenCXX/virtual-operator-call.cpp | 4 +- .../visibility-inlines-hidden-staticvar.cpp | 44 +- .../test/CodeGenCXX/visibility-inlines-hidden.cpp | 4 +- clang/test/CodeGenCXX/vla-consruct.cpp | 4 +- clang/test/CodeGenCXX/vla-lambda-capturing.cpp | 6 +- clang/test/CodeGenCXX/vla.cpp | 4 +- clang/test/CodeGenCXX/volatile.cpp | 2 +- clang/test/CodeGenCXX/vtable-assume-load.cpp | 2 +- .../CodeGenCXX/vtable-available-externally.cpp | 16 +- clang/test/CodeGenCXX/wasm-args-returns.cpp | 4 +- clang/test/CodeGenCXX/wasm-eh.cpp | 8 +- .../windows-on-arm-itanium-thread-local.cpp | 2 +- clang/test/CodeGenCXX/windows-x86-swiftcall.cpp | 6 +- clang/test/CodeGenCXX/x86_32-arguments.cpp | 8 +- clang/test/CodeGenCXX/x86_64-arguments-avx.cpp | 2 +- .../test/CodeGenCXX/x86_64-arguments-nacl-x32.cpp | 2 +- clang/test/CodeGenCXX/x86_64-arguments.cpp | 2 +- clang/test/CodeGenCoroutines/coro-alloc.cpp | 26 +- clang/test/CodeGenCoroutines/coro-await.cpp | 2 +- clang/test/CodeGenCoroutines/coro-builtins.c | 2 +- clang/test/CodeGenCoroutines/coro-cleanup.cpp | 6 +- clang/test/CodeGenCoroutines/coro-gro-nrvo.cpp | 8 +- clang/test/CodeGenCoroutines/coro-gro.cpp | 6 +- clang/test/CodeGenCoroutines/coro-params.cpp | 22 +- clang/test/CodeGenCoroutines/coro-promise-dtor.cpp | 2 +- clang/test/CodeGenCoroutines/coro-ret-void.cpp | 2 +- clang/test/CodeGenCoroutines/coro-return.cpp | 6 +- .../coro-symmetric-transfer-01.cpp | 2 +- clang/test/CodeGenObjC/arc-blocks.m | 44 +- clang/test/CodeGenObjC/arc-foreach.m | 4 +- clang/test/CodeGenObjC/arc-literals.m | 16 +- clang/test/CodeGenObjC/arc-no-arc-exceptions.m | 6 +- clang/test/CodeGenObjC/arc-precise-lifetime.m | 4 +- clang/test/CodeGenObjC/arc-property.m | 10 +- clang/test/CodeGenObjC/arc-ternary-op.m | 4 +- clang/test/CodeGenObjC/arc.m | 44 +- .../CodeGenObjC/arm-atomic-scalar-setter-getter.m | 4 +- clang/test/CodeGenObjC/atomic-aggregate-property.m | 4 +- .../test/CodeGenObjC/availability-cf-link-guard.m | 2 +- clang/test/CodeGenObjC/blocks.m | 4 +- clang/test/CodeGenObjC/builtin-constant-p.m | 4 +- clang/test/CodeGenObjC/class-stubs.m | 10 +- clang/test/CodeGenObjC/debug-info-blocks.m | 2 +- clang/test/CodeGenObjC/debug-info-nested-blocks.m | 2 +- clang/test/CodeGenObjC/exceptions.m | 16 +- clang/test/CodeGenObjC/for-in.m | 2 +- clang/test/CodeGenObjC/fragile-arc.m | 8 +- clang/test/CodeGenObjC/gnu-exceptions.m | 4 +- clang/test/CodeGenObjC/implicit-objc_msgSend.m | 2 +- clang/test/CodeGenObjC/ivar-invariant.m | 2 +- clang/test/CodeGenObjC/local-static-block.m | 2 +- clang/test/CodeGenObjC/mangle-blocks.m | 6 +- clang/test/CodeGenObjC/matrix-type-builtins.m | 16 +- clang/test/CodeGenObjC/matrix-type-operators.m | 10 +- clang/test/CodeGenObjC/noescape.m | 10 +- .../CodeGenObjC/nontrivial-c-struct-exception.m | 2 +- .../nontrivial-c-struct-within-struct-name.m | 6 +- .../CodeGenObjC/nsvalue-objc-boxable-ios-arc.m | 12 +- clang/test/CodeGenObjC/nsvalue-objc-boxable-ios.m | 12 +- .../CodeGenObjC/nsvalue-objc-boxable-mac-arc.m | 12 +- clang/test/CodeGenObjC/nsvalue-objc-boxable-mac.m | 12 +- .../CodeGenObjC/objc-container-subscripting-1.m | 8 +- clang/test/CodeGenObjC/objc-literal-tests.m | 26 +- .../CodeGenObjC/objc-non-trivial-struct-nrvo.m | 6 +- clang/test/CodeGenObjC/objfw.m | 2 +- clang/test/CodeGenObjC/optimize-ivar-offset-load.m | 2 +- clang/test/CodeGenObjC/os_log.m | 12 +- clang/test/CodeGenObjC/parameterized_classes.m | 2 +- clang/test/CodeGenObjC/pass-by-value-noalias.m | 4 +- clang/test/CodeGenObjC/property-array-type.m | 2 +- clang/test/CodeGenObjC/property-atomic-bool.m | 4 +- clang/test/CodeGenObjC/property-ref-cast-to-void.m | 4 +- clang/test/CodeGenObjC/property.m | 10 +- clang/test/CodeGenObjC/return-objc-object.mm | 4 +- clang/test/CodeGenObjC/stret_lookup.m | 4 +- clang/test/CodeGenObjC/strong-in-c-struct.m | 54 +- .../test/CodeGenObjC/tentative-cfconstantstring.m | 2 +- clang/test/CodeGenObjC/terminate.m | 8 +- clang/test/CodeGenObjC/ubsan-bool.m | 6 +- clang/test/CodeGenObjC/ubsan-nonnull.m | 12 +- clang/test/CodeGenObjC/ubsan-nullability.m | 4 +- clang/test/CodeGenObjC/weak-in-c-struct.m | 30 +- clang/test/CodeGenObjCXX/arc-attrs.mm | 18 +- clang/test/CodeGenObjCXX/arc-blocks.mm | 6 +- clang/test/CodeGenObjCXX/arc-cxx11-init-list.mm | 2 +- clang/test/CodeGenObjCXX/arc-cxx11-member-init.mm | 4 +- clang/test/CodeGenObjCXX/arc-exceptions.mm | 8 +- .../CodeGenObjCXX/arc-forwarded-lambda-call.mm | 8 +- clang/test/CodeGenObjCXX/arc-globals.mm | 4 +- clang/test/CodeGenObjCXX/arc-list-init-destruct.mm | 2 +- clang/test/CodeGenObjCXX/arc-mangle.mm | 22 +- clang/test/CodeGenObjCXX/arc-marker-funclet.mm | 2 +- clang/test/CodeGenObjCXX/arc-move.mm | 6 +- clang/test/CodeGenObjCXX/arc-new-delete.mm | 16 +- clang/test/CodeGenObjCXX/arc-references.mm | 6 +- clang/test/CodeGenObjCXX/arc-rv-attr.mm | 2 +- .../CodeGenObjCXX/arc-special-member-functions.mm | 2 +- clang/test/CodeGenObjCXX/arc.mm | 44 +- .../CodeGenObjCXX/auto-release-result-assert.mm | 8 +- clang/test/CodeGenObjCXX/block-default-arg.mm | 4 +- clang/test/CodeGenObjCXX/block-nested-in-lambda.mm | 4 +- clang/test/CodeGenObjCXX/copy.mm | 2 +- .../CodeGenObjCXX/implicit-copy-assign-operator.mm | 2 +- .../CodeGenObjCXX/implicit-copy-constructor.mm | 2 +- .../inheriting-constructor-cleanup.mm | 2 +- clang/test/CodeGenObjCXX/lambda-expressions.mm | 20 +- clang/test/CodeGenObjCXX/lambda-to-block.mm | 18 +- clang/test/CodeGenObjCXX/literals.mm | 8 +- .../test/CodeGenObjCXX/lvalue-reference-getter.mm | 4 +- clang/test/CodeGenObjCXX/mangle-blocks.mm | 8 +- clang/test/CodeGenObjCXX/message-reference.mm | 2 +- clang/test/CodeGenObjCXX/message.mm | 4 +- .../CodeGenObjCXX/objc-container-subscripting.mm | 2 +- clang/test/CodeGenObjCXX/objc-struct-cxx-abi.mm | 54 +- clang/test/CodeGenObjCXX/objc-weak.mm | 4 +- .../CodeGenObjCXX/property-dot-copy-elision.mm | 6 +- clang/test/CodeGenObjCXX/property-dot-reference.mm | 22 +- .../test/CodeGenObjCXX/property-lvalue-capture.mm | 6 +- clang/test/CodeGenObjCXX/property-lvalue-lambda.mm | 2 +- .../CodeGenObjCXX/property-object-reference-1.mm | 2 +- .../CodeGenObjCXX/property-object-reference-2.mm | 14 +- clang/test/CodeGenObjCXX/property-objects.mm | 14 +- clang/test/CodeGenObjCXX/property-reference.mm | 6 +- clang/test/CodeGenObjCXX/selector-expr-lvalue.mm | 2 +- .../CodeGenObjCXX/synthesized-property-cleanup.mm | 2 +- .../ubsan-nullability-return-notypeloc.mm | 2 +- clang/test/CodeGenOpenCL/addr-space-struct-arg.cl | 20 +- clang/test/CodeGenOpenCL/address-spaces.cl | 10 +- .../CodeGenOpenCL/amdgcn-automatic-variable.cl | 8 +- .../test/CodeGenOpenCL/amdgpu-abi-struct-coerce.cl | 48 +- clang/test/CodeGenOpenCL/amdgpu-call-kernel.cl | 2 +- clang/test/CodeGenOpenCL/amdgpu-nullptr.cl | 8 +- clang/test/CodeGenOpenCL/as_type.cl | 26 +- clang/test/CodeGenOpenCL/atomic-ops-libcall.cl | 54 +- clang/test/CodeGenOpenCL/blocks.cl | 12 +- clang/test/CodeGenOpenCL/byval.cl | 4 +- .../test/CodeGenOpenCL/cl20-device-side-enqueue.cl | 6 +- clang/test/CodeGenOpenCL/const-str-array-decay.cl | 2 +- .../CodeGenOpenCL/constant-addr-space-globals.cl | 2 +- clang/test/CodeGenOpenCL/convergent.cl | 4 +- clang/test/CodeGenOpenCL/fpmath.cl | 4 +- clang/test/CodeGenOpenCL/half.cl | 8 +- .../kernels-have-spir-cc-by-default.cl | 8 +- clang/test/CodeGenOpenCL/no-half.cl | 4 +- clang/test/CodeGenOpenCL/overload.cl | 20 +- clang/test/CodeGenOpenCL/printf.cl | 12 +- clang/test/CodeGenOpenCL/size_t.cl | 60 +- clang/test/CodeGenOpenCL/spir-calling-conv.cl | 10 +- .../CodeGenOpenCLCXX/address-space-deduction.clcpp | 2 +- .../CodeGenOpenCLCXX/addrspace-derived-base.clcpp | 4 +- .../CodeGenOpenCLCXX/addrspace-new-delete.clcpp | 2 +- .../test/CodeGenOpenCLCXX/addrspace-of-this.clcpp | 32 +- .../CodeGenOpenCLCXX/addrspace-operators.clcpp | 4 +- .../CodeGenOpenCLCXX/addrspace-references.clcpp | 2 +- .../CodeGenOpenCLCXX/addrspace-with-class.clcpp | 22 +- .../CodeGenOpenCLCXX/template-address-spaces.clcpp | 6 +- .../test/CodeGenSYCL/address-space-conversions.cpp | 52 +- clang/test/CodeGenSYCL/address-space-mangling.cpp | 16 +- clang/test/CodeGenSYCL/unique_stable_name.cpp | 40 +- clang/test/Driver/aarch64-cpus.c | 9 + clang/test/Driver/riscv-abi.c | 4 +- clang/test/Driver/riscv-arch.c | 30 +- clang/test/Driver/riscv-features.c | 4 + clang/test/Driver/types.c | 4 +- clang/test/Headers/ms-arm64-intrin.cpp | 6 +- clang/test/Headers/stdarg.cpp | 28 +- clang/test/Misc/target-invalid-cpu-note.c | 4 +- clang/test/Modules/codegen-extern-template.cpp | 2 +- clang/test/Modules/codegen.test | 2 +- clang/test/Modules/cxx-irgen.cpp | 2 +- .../fmodules-validate-once-per-build-session.c | 28 +- clang/test/Modules/initializers.cpp | 4 +- clang/test/Modules/templates.mm | 8 +- clang/test/OpenMP/allocate_codegen.cpp | 2 +- clang/test/OpenMP/allocate_codegen_attr.cpp | 2 +- clang/test/OpenMP/assumes_include_nvptx.cpp | 6 +- clang/test/OpenMP/atomic_capture_codegen.cpp | 28 +- clang/test/OpenMP/atomic_codegen.cpp | 8 +- clang/test/OpenMP/atomic_read_codegen.c | 14 +- clang/test/OpenMP/atomic_update_codegen.cpp | 28 +- clang/test/OpenMP/atomic_write_codegen.c | 18 +- clang/test/OpenMP/cancel_codegen.cpp | 104 +- clang/test/OpenMP/cancellation_point_codegen.cpp | 28 +- clang/test/OpenMP/debug-info-complex-byval.cpp | 49 +- clang/test/OpenMP/debug-info-openmp-array.cpp | 6 +- clang/test/OpenMP/declare_mapper_codegen.cpp | 20 +- clang/test/OpenMP/declare_reduction_codegen.c | 48 +- clang/test/OpenMP/declare_reduction_codegen.cpp | 46 +- .../declare_reduction_codegen_in_templates.cpp | 2 +- clang/test/OpenMP/declare_target_codegen.cpp | 4 +- .../declare_target_codegen_globalization.cpp | 12 +- clang/test/OpenMP/declare_target_link_codegen.cpp | 4 +- clang/test/OpenMP/declare_variant_mixed_codegen.c | 12 +- clang/test/OpenMP/distribute_codegen.cpp | 304 +- .../OpenMP/distribute_firstprivate_codegen.cpp | 329 +- .../test/OpenMP/distribute_lastprivate_codegen.cpp | 361 ++- .../OpenMP/distribute_parallel_for_codegen.cpp | 576 ++-- ...istribute_parallel_for_firstprivate_codegen.cpp | 385 ++- .../OpenMP/distribute_parallel_for_if_codegen.cpp | 320 +- ...distribute_parallel_for_lastprivate_codegen.cpp | 449 ++- ...distribute_parallel_for_num_threads_codegen.cpp | 481 ++- .../distribute_parallel_for_private_codegen.cpp | 425 ++- .../distribute_parallel_for_proc_bind_codegen.cpp | 29 +- ...tribute_parallel_for_reduction_task_codegen.cpp | 44 +- .../distribute_parallel_for_simd_codegen.cpp | 592 ++-- ...bute_parallel_for_simd_firstprivate_codegen.cpp | 1362 ++++----- .../distribute_parallel_for_simd_if_codegen.cpp | 3192 ++++++++++---------- ...ibute_parallel_for_simd_lastprivate_codegen.cpp | 1336 ++++---- ...ibute_parallel_for_simd_num_threads_codegen.cpp | 2640 ++++++++-------- ...istribute_parallel_for_simd_private_codegen.cpp | 1288 ++++---- ...tribute_parallel_for_simd_proc_bind_codegen.cpp | 236 +- clang/test/OpenMP/distribute_private_codegen.cpp | 345 ++- clang/test/OpenMP/distribute_simd_codegen.cpp | 512 ++-- .../distribute_simd_firstprivate_codegen.cpp | 944 +++--- .../OpenMP/distribute_simd_lastprivate_codegen.cpp | 1008 +++---- .../OpenMP/distribute_simd_private_codegen.cpp | 1056 +++---- .../OpenMP/distribute_simd_reduction_codegen.cpp | 272 +- clang/test/OpenMP/for_codegen.cpp | 16 +- clang/test/OpenMP/for_firstprivate_codegen.cpp | 313 +- clang/test/OpenMP/for_lastprivate_codegen.cpp | 601 ++-- clang/test/OpenMP/for_linear_codegen.cpp | 165 +- clang/test/OpenMP/for_private_codegen.cpp | 177 +- clang/test/OpenMP/for_reduction_codegen.cpp | 760 ++--- clang/test/OpenMP/for_reduction_codegen_UDR.cpp | 936 +++--- clang/test/OpenMP/for_reduction_task_codegen.cpp | 36 +- clang/test/OpenMP/for_scan_codegen.cpp | 2 +- clang/test/OpenMP/for_simd_codegen.cpp | 6 +- clang/test/OpenMP/for_simd_scan_codegen.cpp | 2 +- clang/test/OpenMP/function-attr.cpp | 8 +- clang/test/OpenMP/irbuilder_for_iterator.cpp | 24 +- clang/test/OpenMP/irbuilder_for_rangefor.cpp | 28 +- clang/test/OpenMP/irbuilder_for_unsigned.c | 6 +- ...builder_unroll_partial_heuristic_constant_for.c | 2 +- ...builder_unroll_partial_heuristic_for_collapse.c | 380 ++- ...rbuilder_unroll_partial_heuristic_runtime_for.c | 2 +- clang/test/OpenMP/master_taskloop_codegen.cpp | 10 +- .../master_taskloop_firstprivate_codegen.cpp | 22 +- .../master_taskloop_in_reduction_codegen.cpp | 12 +- .../OpenMP/master_taskloop_lastprivate_codegen.cpp | 22 +- .../OpenMP/master_taskloop_private_codegen.cpp | 22 +- .../OpenMP/master_taskloop_reduction_codegen.cpp | 22 +- clang/test/OpenMP/master_taskloop_simd_codegen.cpp | 8 +- .../master_taskloop_simd_firstprivate_codegen.cpp | 22 +- .../master_taskloop_simd_in_reduction_codegen.cpp | 12 +- .../master_taskloop_simd_lastprivate_codegen.cpp | 22 +- .../master_taskloop_simd_private_codegen.cpp | 22 +- .../master_taskloop_simd_reduction_codegen.cpp | 22 +- clang/test/OpenMP/nvptx_allocate_codegen.cpp | 8 +- clang/test/OpenMP/nvptx_data_sharing.cpp | 8 +- .../nvptx_declare_target_var_ctor_dtor_codegen.cpp | 28 +- .../OpenMP/nvptx_declare_variant_name_mangling.cpp | 4 +- ...tx_distribute_parallel_generic_mode_codegen.cpp | 48 +- clang/test/OpenMP/nvptx_lambda_capturing.cpp | 122 +- .../OpenMP/nvptx_multi_target_parallel_codegen.cpp | 18 +- .../test/OpenMP/nvptx_nested_parallel_codegen.cpp | 72 +- clang/test/OpenMP/nvptx_parallel_codegen.cpp | 52 +- clang/test/OpenMP/nvptx_parallel_for_codegen.cpp | 6 +- clang/test/OpenMP/nvptx_target_codegen.cpp | 10 +- .../OpenMP/nvptx_target_firstprivate_codegen.cpp | 8 +- .../test/OpenMP/nvptx_target_parallel_codegen.cpp | 48 +- .../nvptx_target_parallel_num_threads_codegen.cpp | 48 +- .../nvptx_target_parallel_reduction_codegen.cpp | 18 +- ...get_parallel_reduction_codegen_tbaa_PR46146.cpp | 10 +- clang/test/OpenMP/nvptx_target_printf_codegen.c | 4 +- clang/test/OpenMP/nvptx_target_teams_codegen.cpp | 48 +- .../nvptx_target_teams_distribute_codegen.cpp | 18 +- ...arget_teams_distribute_parallel_for_codegen.cpp | 144 +- ...istribute_parallel_for_generic_mode_codegen.cpp | 72 +- ..._teams_distribute_parallel_for_simd_codegen.cpp | 72 +- .../nvptx_target_teams_distribute_simd_codegen.cpp | 22 +- clang/test/OpenMP/nvptx_teams_codegen.cpp | 32 +- .../test/OpenMP/nvptx_teams_reduction_codegen.cpp | 162 +- .../test/OpenMP/nvptx_unsupported_type_codegen.cpp | 4 +- .../OpenMP/nvptx_unsupported_type_messages.cpp | 52 +- clang/test/OpenMP/openmp_offload_codegen.cpp | 2 +- clang/test/OpenMP/openmp_win_codegen.cpp | 7 +- clang/test/OpenMP/ordered_codegen.cpp | 76 +- clang/test/OpenMP/parallel_codegen.cpp | 100 +- clang/test/OpenMP/parallel_copyin_codegen.cpp | 613 ++-- .../test/OpenMP/parallel_firstprivate_codegen.cpp | 44 +- clang/test/OpenMP/parallel_for_codegen.cpp | 224 +- .../parallel_for_lastprivate_conditional.cpp | 17 +- clang/test/OpenMP/parallel_for_linear_codegen.cpp | 93 +- .../OpenMP/parallel_for_reduction_task_codegen.cpp | 36 +- clang/test/OpenMP/parallel_for_scan_codegen.cpp | 2 +- .../OpenMP/parallel_for_simd_aligned_codegen.cpp | 72 +- clang/test/OpenMP/parallel_for_simd_codegen.cpp | 6 +- .../test/OpenMP/parallel_for_simd_scan_codegen.cpp | 2 +- clang/test/OpenMP/parallel_if_codegen.cpp | 100 +- clang/test/OpenMP/parallel_if_codegen_PR51349.cpp | 2 +- clang/test/OpenMP/parallel_master_codegen.cpp | 63 +- .../parallel_master_reduction_task_codegen.cpp | 36 +- .../OpenMP/parallel_master_taskloop_codegen.cpp | 60 +- ...rallel_master_taskloop_firstprivate_codegen.cpp | 20 +- ...arallel_master_taskloop_lastprivate_codegen.cpp | 282 +- .../parallel_master_taskloop_private_codegen.cpp | 20 +- .../parallel_master_taskloop_reduction_codegen.cpp | 22 +- .../parallel_master_taskloop_simd_codegen.cpp | 160 +- ...l_master_taskloop_simd_firstprivate_codegen.cpp | 20 +- ...el_master_taskloop_simd_lastprivate_codegen.cpp | 470 +-- ...rallel_master_taskloop_simd_private_codegen.cpp | 20 +- ...llel_master_taskloop_simd_reduction_codegen.cpp | 22 +- clang/test/OpenMP/parallel_num_threads_codegen.cpp | 4 +- clang/test/OpenMP/parallel_private_codegen.cpp | 261 +- clang/test/OpenMP/parallel_reduction_codegen.cpp | 501 ++- .../OpenMP/parallel_reduction_task_codegen.cpp | 36 +- clang/test/OpenMP/parallel_sections_codegen.cpp | 13 +- .../parallel_sections_reduction_task_codegen.cpp | 36 +- clang/test/OpenMP/reduction_compound_op.cpp | 12 +- .../test/OpenMP/sections_firstprivate_codegen.cpp | 321 +- clang/test/OpenMP/sections_lastprivate_codegen.cpp | 433 ++- clang/test/OpenMP/sections_private_codegen.cpp | 189 +- clang/test/OpenMP/sections_reduction_codegen.cpp | 353 ++- .../OpenMP/sections_reduction_task_codegen.cpp | 36 +- clang/test/OpenMP/simd_codegen.cpp | 8 +- clang/test/OpenMP/single_codegen.cpp | 597 ++-- clang/test/OpenMP/single_firstprivate_codegen.cpp | 321 +- clang/test/OpenMP/single_private_codegen.cpp | 189 +- clang/test/OpenMP/target_codegen.cpp | 12 +- .../test/OpenMP/target_codegen_global_capture.cpp | 104 +- clang/test/OpenMP/target_defaultmap_codegen_01.cpp | 676 ++--- clang/test/OpenMP/target_depend_codegen.cpp | 14 +- clang/test/OpenMP/target_enter_data_codegen.cpp | 2 +- .../OpenMP/target_enter_data_depend_codegen.cpp | 8 +- clang/test/OpenMP/target_exit_data_codegen.cpp | 2 +- .../OpenMP/target_exit_data_depend_codegen.cpp | 8 +- clang/test/OpenMP/target_firstprivate_codegen.cpp | 12 +- clang/test/OpenMP/target_map_codegen_00.cpp | 2 +- clang/test/OpenMP/target_map_codegen_01.cpp | 4 +- clang/test/OpenMP/target_map_codegen_02.cpp | 2 +- clang/test/OpenMP/target_map_codegen_03.cpp | 96 +- clang/test/OpenMP/target_map_codegen_04.cpp | 2 +- clang/test/OpenMP/target_map_codegen_05.cpp | 2 +- clang/test/OpenMP/target_map_codegen_06.cpp | 2 +- clang/test/OpenMP/target_map_codegen_07.cpp | 2 +- clang/test/OpenMP/target_map_codegen_11.cpp | 2 +- clang/test/OpenMP/target_map_codegen_12.cpp | 2 +- clang/test/OpenMP/target_map_codegen_13.cpp | 2 +- clang/test/OpenMP/target_map_codegen_14.cpp | 4 +- clang/test/OpenMP/target_map_codegen_15.cpp | 2 +- clang/test/OpenMP/target_map_codegen_17.cpp | 2 +- clang/test/OpenMP/target_map_codegen_24.cpp | 2 +- clang/test/OpenMP/target_map_names.cpp | 2 +- clang/test/OpenMP/target_map_names_attr.cpp | 2 +- clang/test/OpenMP/target_parallel_codegen.cpp | 608 ++-- .../test/OpenMP/target_parallel_debug_codegen.cpp | 24 +- .../test/OpenMP/target_parallel_depend_codegen.cpp | 12 +- clang/test/OpenMP/target_parallel_for_codegen.cpp | 672 ++--- .../OpenMP/target_parallel_for_debug_codegen.cpp | 24 +- .../OpenMP/target_parallel_for_depend_codegen.cpp | 12 +- .../target_parallel_for_reduction_task_codegen.cpp | 40 +- .../OpenMP/target_parallel_for_simd_codegen.cpp | 1008 +++---- .../target_parallel_for_simd_depend_codegen.cpp | 12 +- clang/test/OpenMP/target_parallel_if_codegen.cpp | 464 +-- .../OpenMP/target_parallel_num_threads_codegen.cpp | 464 +-- .../target_parallel_reduction_task_codegen.cpp | 40 +- clang/test/OpenMP/target_private_codegen.cpp | 4 +- clang/test/OpenMP/target_reduction_codegen.cpp | 2 +- clang/test/OpenMP/target_simd_codegen.cpp | 6 +- clang/test/OpenMP/target_simd_depend_codegen.cpp | 12 +- clang/test/OpenMP/target_teams_codegen.cpp | 928 +++--- clang/test/OpenMP/target_teams_depend_codegen.cpp | 12 +- .../OpenMP/target_teams_distribute_codegen.cpp | 656 ++-- .../target_teams_distribute_collapse_codegen.cpp | 89 +- .../target_teams_distribute_depend_codegen.cpp | 12 +- ...rget_teams_distribute_dist_schedule_codegen.cpp | 184 +- ...arget_teams_distribute_firstprivate_codegen.cpp | 573 ++-- ...target_teams_distribute_lastprivate_codegen.cpp | 361 ++- ...arget_teams_distribute_parallel_for_codegen.cpp | 118 +- ...ms_distribute_parallel_for_collapse_codegen.cpp | 113 +- ...eams_distribute_parallel_for_depend_codegen.cpp | 12 +- ...stribute_parallel_for_dist_schedule_codegen.cpp | 257 +- ...istribute_parallel_for_firstprivate_codegen.cpp | 1177 ++++---- ...et_teams_distribute_parallel_for_if_codegen.cpp | 320 +- ...distribute_parallel_for_lastprivate_codegen.cpp | 449 ++- ...teams_distribute_parallel_for_order_codegen.cpp | 8 +- ...ams_distribute_parallel_for_private_codegen.cpp | 739 +++-- ...s_distribute_parallel_for_proc_bind_codegen.cpp | 29 +- ...s_distribute_parallel_for_reduction_codegen.cpp | 117 +- ...tribute_parallel_for_reduction_task_codegen.cpp | 64 +- ...ms_distribute_parallel_for_schedule_codegen.cpp | 800 ++--- ..._teams_distribute_parallel_for_simd_codegen.cpp | 536 ++-- ...stribute_parallel_for_simd_collapse_codegen.cpp | 752 ++--- ...distribute_parallel_for_simd_depend_codegen.cpp | 12 +- ...ute_parallel_for_simd_dist_schedule_codegen.cpp | 1976 ++++++------ ...bute_parallel_for_simd_firstprivate_codegen.cpp | 2852 ++++++++--------- ...ams_distribute_parallel_for_simd_if_codegen.cpp | 376 +-- ...ibute_parallel_for_simd_lastprivate_codegen.cpp | 1472 ++++----- ...istribute_parallel_for_simd_private_codegen.cpp | 2322 +++++++------- ...tribute_parallel_for_simd_proc_bind_codegen.cpp | 236 +- ...tribute_parallel_for_simd_reduction_codegen.cpp | 512 ++-- ...stribute_parallel_for_simd_schedule_codegen.cpp | 840 +++--- .../target_teams_distribute_private_codegen.cpp | 393 ++- .../target_teams_distribute_reduction_codegen.cpp | 77 +- .../target_teams_distribute_simd_codegen.cpp | 944 +++--- ...rget_teams_distribute_simd_collapse_codegen.cpp | 128 +- ...target_teams_distribute_simd_depend_codegen.cpp | 12 +- ...teams_distribute_simd_dist_schedule_codegen.cpp | 224 +- ..._teams_distribute_simd_firstprivate_codegen.cpp | 876 +++--- ...t_teams_distribute_simd_lastprivate_codegen.cpp | 664 ++-- ...arget_teams_distribute_simd_private_codegen.cpp | 760 ++--- ...get_teams_distribute_simd_reduction_codegen.cpp | 88 +- clang/test/OpenMP/target_teams_map_codegen.cpp | 368 +-- .../test/OpenMP/target_teams_num_teams_codegen.cpp | 465 ++- .../OpenMP/target_teams_thread_limit_codegen.cpp | 465 ++- clang/test/OpenMP/target_update_codegen.cpp | 2 +- clang/test/OpenMP/target_update_depend_codegen.cpp | 8 +- clang/test/OpenMP/task_codegen.cpp | 284 +- clang/test/OpenMP/task_firstprivate_codegen.cpp | 18 +- clang/test/OpenMP/task_if_codegen.cpp | 112 +- clang/test/OpenMP/task_in_reduction_codegen.cpp | 12 +- clang/test/OpenMP/task_private_codegen.cpp | 18 +- clang/test/OpenMP/taskgroup_codegen.cpp | 90 +- .../OpenMP/taskgroup_task_reduction_codegen.cpp | 22 +- clang/test/OpenMP/taskloop_codegen.cpp | 10 +- .../test/OpenMP/taskloop_firstprivate_codegen.cpp | 22 +- .../test/OpenMP/taskloop_in_reduction_codegen.cpp | 12 +- clang/test/OpenMP/taskloop_lastprivate_codegen.cpp | 22 +- clang/test/OpenMP/taskloop_private_codegen.cpp | 22 +- clang/test/OpenMP/taskloop_reduction_codegen.cpp | 22 +- clang/test/OpenMP/taskloop_simd_codegen.cpp | 8 +- .../OpenMP/taskloop_simd_firstprivate_codegen.cpp | 22 +- .../OpenMP/taskloop_simd_in_reduction_codegen.cpp | 12 +- .../OpenMP/taskloop_simd_lastprivate_codegen.cpp | 22 +- .../test/OpenMP/taskloop_simd_private_codegen.cpp | 22 +- .../OpenMP/taskloop_simd_reduction_codegen.cpp | 22 +- clang/test/OpenMP/taskloop_with_atomic_codegen.cpp | 2 +- clang/test/OpenMP/teams_codegen.cpp | 257 +- clang/test/OpenMP/teams_distribute_codegen.cpp | 145 +- .../OpenMP/teams_distribute_collapse_codegen.cpp | 89 +- .../teams_distribute_dist_schedule_codegen.cpp | 184 +- .../teams_distribute_firstprivate_codegen.cpp | 573 ++-- .../teams_distribute_lastprivate_codegen.cpp | 361 ++- .../teams_distribute_parallel_for_codegen.cpp | 192 +- ...ms_distribute_parallel_for_collapse_codegen.cpp | 113 +- ...eams_distribute_parallel_for_copyin_codegen.cpp | 77 +- ...stribute_parallel_for_dist_schedule_codegen.cpp | 257 +- ...istribute_parallel_for_firstprivate_codegen.cpp | 721 +++-- .../teams_distribute_parallel_for_if_codegen.cpp | 320 +- ...distribute_parallel_for_lastprivate_codegen.cpp | 449 ++- ...distribute_parallel_for_num_threads_codegen.cpp | 257 +- ...ams_distribute_parallel_for_private_codegen.cpp | 481 ++- ...s_distribute_parallel_for_proc_bind_codegen.cpp | 29 +- ...s_distribute_parallel_for_reduction_codegen.cpp | 117 +- ...tribute_parallel_for_reduction_task_codegen.cpp | 64 +- ...ms_distribute_parallel_for_schedule_codegen.cpp | 800 ++--- .../teams_distribute_parallel_for_simd_codegen.cpp | 592 ++-- ...stribute_parallel_for_simd_collapse_codegen.cpp | 704 ++--- ...ute_parallel_for_simd_dist_schedule_codegen.cpp | 1904 ++++++------ ...bute_parallel_for_simd_firstprivate_codegen.cpp | 1608 +++++----- ...ams_distribute_parallel_for_simd_if_codegen.cpp | 3192 ++++++++++---------- ...ibute_parallel_for_simd_lastprivate_codegen.cpp | 1336 ++++---- ...ibute_parallel_for_simd_num_threads_codegen.cpp | 1312 ++++---- ...istribute_parallel_for_simd_private_codegen.cpp | 1312 ++++---- ...tribute_parallel_for_simd_proc_bind_codegen.cpp | 236 +- ...tribute_parallel_for_simd_reduction_codegen.cpp | 512 ++-- ...stribute_parallel_for_simd_schedule_codegen.cpp | 840 +++--- .../OpenMP/teams_distribute_private_codegen.cpp | 397 ++- .../OpenMP/teams_distribute_reduction_codegen.cpp | 77 +- .../test/OpenMP/teams_distribute_simd_codegen.cpp | 320 +- .../teams_distribute_simd_collapse_codegen.cpp | 464 +-- ...teams_distribute_simd_dist_schedule_codegen.cpp | 224 +- .../teams_distribute_simd_firstprivate_codegen.cpp | 1160 +++---- .../teams_distribute_simd_lastprivate_codegen.cpp | 1008 +++---- .../teams_distribute_simd_private_codegen.cpp | 1048 +++---- .../teams_distribute_simd_reduction_codegen.cpp | 292 +- clang/test/OpenMP/teams_firstprivate_codegen.cpp | 72 +- clang/test/OpenMP/teams_private_codegen.cpp | 529 ++-- clang/test/OpenMP/threadprivate_codegen.cpp | 2548 ++++++++-------- clang/test/OpenMP/tile_codegen.cpp | 136 +- clang/test/OpenMP/tile_codegen_for_dependent.cpp | 2 +- clang/test/OpenMP/tile_codegen_tile_for.cpp | 2 +- clang/test/OpenMP/unroll_codegen_factor.cpp | 2 +- .../OpenMP/unroll_codegen_for_collapse_outer.cpp | 2 +- clang/test/OpenMP/unroll_codegen_for_partial.cpp | 2 +- clang/test/OpenMP/unroll_codegen_full.cpp | 2 +- clang/test/OpenMP/unroll_codegen_heuristic.cpp | 2 +- .../OpenMP/unroll_codegen_parallel_for_factor.cpp | 2 +- clang/test/OpenMP/unroll_codegen_partial.cpp | 2 +- clang/test/OpenMP/unroll_codegen_tile_for.cpp | 2 +- clang/test/OpenMP/unroll_codegen_unroll_for.cpp | 2 +- .../test/OpenMP/unroll_codegen_unroll_for_attr.cpp | 2 +- clang/test/OpenMP/vla_crash.c | 6 +- clang/test/PCH/builtin-is-constant-evaluated.cpp | 6 +- clang/test/PCH/chain-pending-instantiations.cpp | 2 +- clang/test/PCH/dllexport-default-arg-closure.cpp | 2 +- clang/test/PCH/no-escaping-block-tail-calls.cpp | 4 +- clang/test/PCH/uses-seh.cpp | 4 +- clang/test/Preprocessor/c2x.c | 5 + clang/test/Preprocessor/has_attribute.c | 8 + clang/test/Preprocessor/has_attribute.cpp | 64 +- clang/test/Preprocessor/has_attribute_errors.cpp | 16 + clang/test/Preprocessor/has_c_attribute.c | 51 +- clang/test/Preprocessor/init-ppc64.c | 1 + clang/test/Preprocessor/riscv-target-features.c | 24 +- clang/test/Profile/c-unprofiled-blocks.c | 6 +- clang/test/Profile/cxx-abc-deleting-dtor.cpp | 4 +- clang/test/Profile/cxx-lambda.cpp | 4 +- clang/test/Sema/128bitint.c | 2 + clang/test/Sema/const-eval.c | 1 + clang/test/Sema/libbuiltins-ctype-powerpc64.c | 56 +- clang/test/Sema/libbuiltins-ctype-x86_64.c | 56 +- clang/test/Sema/pr30306.cpp | 4 +- clang/test/Sema/redefine_extname.c | 1 + clang/test/Sema/types.c | 1 + .../SemaCUDA/builtins-unsafe-atomics-gfx90a.cu | 12 + clang/test/SemaCXX/cxx2a-consteval.cpp | 31 + clang/test/SemaCXX/linkage.cpp | 6 +- clang/test/SemaCXX/literal-operators.cpp | 6 + clang/test/SemaObjC/debugger-support.m | 2 +- clang/test/SemaSYCL/float128.cpp | 34 +- clang/test/SemaSYCL/int128.cpp | 32 +- .../Inputs/basic-cplusplus.cpp.expected | 12 +- .../Inputs/def-and-decl.c.expected | 2 +- .../explicit-template-instantiation.cpp.expected | 20 +- .../Inputs/generated-funcs-regex.c.expected | 2 +- .../Inputs/mangled_names.c.funcsig.expected | 4 +- .../Inputs/resolve-tmp-conflict.cpp.expected | 2 +- clang/tools/clang-format/ClangFormat.cpp | 19 +- clang/tools/clang-format/git-clang-format | 15 + clang/unittests/Lex/HeaderSearchTest.cpp | 49 +- clang/unittests/Tooling/StencilTest.cpp | 74 + clang/utils/TableGen/MveEmitter.cpp | 8 +- compiler-rt/lib/asan/tests/CMakeLists.txt | 17 +- compiler-rt/lib/gwp_asan/tests/alignment.cpp | 42 +- compiler-rt/lib/hwasan/scripts/hwasan_symbolize | 1 + compiler-rt/lib/profile/InstrProfiling.h | 13 +- compiler-rt/lib/profile/InstrProfilingVersionVar.c | 3 +- .../sanitizer_chained_origin_depot.cpp | 8 +- .../lib/sanitizer_common/sanitizer_flat_map.h | 1 + .../sanitizer_persistent_allocator.h | 34 +- .../lib/sanitizer_common/sanitizer_stackdepot.cpp | 55 +- .../lib/sanitizer_common/sanitizer_stackdepot.h | 2 + .../sanitizer_common/sanitizer_stackdepotbase.h | 11 +- .../tests/sanitizer_stackdepot_test.cpp | 122 +- compiler-rt/lib/scudo/standalone/memtag.h | 4 +- .../lib/tsan/tests/unit/tsan_trace_test.cpp | 345 +-- compiler-rt/test/asan/CMakeLists.txt | 36 +- .../test/asan/TestCases/Linux/uar_signals.cpp | 4 +- compiler-rt/test/asan/TestCases/Posix/ioctl.cpp | 2 +- compiler-rt/test/asan/TestCases/exitcode.cpp | 2 +- .../asan/TestCases/use-after-scope-capture.cpp | 2 +- .../test/asan/TestCases/use-after-scope-temp.cpp | 4 +- .../test/asan/TestCases/use-after-scope-temp2.cpp | 3 +- .../test/asan/TestCases/use-after-scope-types.cpp | 2 +- compiler-rt/test/asan/Unit/lit.site.cfg.py.in | 23 +- compiler-rt/test/asan/lit.cfg.py | 8 - compiler-rt/test/hwasan/TestCases/thread-uaf.c | 12 +- compiler-rt/test/memprof/lit.cfg.py | 3 - compiler-rt/test/profile/Posix/gcov-execlp.c | 4 +- compiler-rt/test/tsan/flush_memory.cpp | 2 +- .../integer-sign-change-summary.cpp | 1 - ...d-integer-truncation-or-sign-change-summary.cpp | 1 - .../signed-integer-truncation-summary.cpp | 1 - .../unsigned-integer-truncation-summary.cpp | 1 - .../Pointer/alignment-assumption-summary.cpp | 1 - .../Pointer/nullptr-and-nonzero-offset-summary.cpp | 2 - .../unittests/lit.common.unit.configured.in | 1 + .../flang-omp-report-visitor.h | 11 +- flang/include/flang/Evaluate/common.h | 21 + flang/include/flang/Evaluate/tools.h | 1 + flang/include/flang/Evaluate/type.h | 1 + flang/include/flang/Optimizer/Builder/FIRBuilder.h | 76 + flang/include/flang/Optimizer/Dialect/FIROps.td | 36 +- flang/include/flang/Semantics/expression.h | 7 +- flang/lib/Evaluate/fold-logical.cpp | 16 +- flang/lib/Evaluate/tools.cpp | 4 + flang/lib/Optimizer/Builder/FIRBuilder.cpp | 19 + flang/lib/Semantics/check-declarations.cpp | 10 +- flang/lib/Semantics/check-io.h | 3 +- flang/lib/Semantics/check-omp-structure.cpp | 60 +- flang/lib/Semantics/check-omp-structure.h | 2 + flang/lib/Semantics/data-to-inits.cpp | 4 +- flang/lib/Semantics/expression.cpp | 134 +- flang/lib/Semantics/resolve-names.cpp | 4 +- flang/lib/Semantics/runtime-type-info.cpp | 2 +- flang/test/Evaluate/fold-char-cmp.f90 | 17 + flang/test/Evaluate/folding01.f90 | 4 +- flang/test/Evaluate/folding05.f90 | Bin 10211 -> 10119 bytes flang/test/Semantics/elemental01.f90 | 5 - flang/test/Semantics/omp-declarative-directive.f90 | 7 + flang/test/Semantics/omp-declare-target01.f90 | 113 + flang/test/Semantics/omp-declare-target02.f90 | 176 ++ flang/test/Semantics/omp-threadprivate02.f90 | 89 + flang/test/Semantics/resolve63.f90 | 46 +- .../unittests/Optimizer/Builder/FIRBuilderTest.cpp | 101 + flang/unittests/Optimizer/CMakeLists.txt | 1 + libc/benchmarks/LibcDefaultImplementations.cpp | 14 +- libc/benchmarks/LibcFunctionPrototypes.h | 6 +- libc/benchmarks/LibcMemoryBenchmark.h | 6 +- libc/benchmarks/LibcMemoryGoogleBenchmarkMain.cpp | 10 +- libc/config/linux/x86_64/entrypoints.txt | 2 + libc/spec/posix.td | 15 + libc/src/string/CMakeLists.txt | 19 + libc/src/string/memccpy.cpp | 35 + libc/src/string/memccpy.h | 21 + libc/src/string/mempcpy.cpp | 26 + libc/src/string/mempcpy.h | 20 + libc/test/src/string/CMakeLists.txt | 20 + libc/test/src/string/memccpy_test.cpp | 80 + libc/test/src/string/mempcpy_test.cpp | 28 + libcxx/cmake/Modules/DefineLinkerScript.cmake | 2 +- libcxx/cmake/caches/AIX.cmake | 16 + libcxx/docs/Helpers/Styles.rst | 14 + libcxx/docs/Status/Cxx20Issues.csv | 190 +- libcxx/docs/Status/Cxx2bIssues.csv | 164 +- libcxx/docs/Status/FormatIssues.csv | 24 - libcxx/docs/Status/RangesIssues.csv | 68 - libcxx/include/__format/parser_std_format_spec.h | 6 +- libcxx/include/charconv | 2 + libcxx/include/filesystem | 35 +- libcxx/test/configs/ibm-libc++-shared.cfg.in | 28 + .../begin_end.pass.cpp | 6 +- .../range_concept_conformance.compile.pass.cpp | 52 +- .../range_concept_conformance.compile.pass.cpp | 42 + .../rec.dir.itr.nonmembers/begin_end.pass.cpp | 6 +- .../enable_borrowed_range.compile.pass.cpp | 32 + .../enable_view.compile.pass.cpp | 32 + libcxx/utils/ci/buildkite-pipeline.yml | 6 +- libcxx/utils/ci/run-buildbot | 46 +- libcxxabi/test/configs/ibm-libc++abi-shared.cfg.in | 29 + lld/ELF/Driver.cpp | 2 +- lld/ELF/Options.td | 2 +- lld/ELF/Writer.cpp | 3 +- lld/MachO/SyntheticSections.cpp | 8 +- lld/test/ELF/pack-dyn-relocs.s | 4 + ...mpact-unwind-both-local-and-dylib-personality.s | 3 +- lld/test/MachO/indirect-symtab.s | 21 +- lld/test/wasm/shared-weak-undefined.s | 32 + lld/wasm/SyntheticSections.cpp | 37 +- lldb/bindings/interface/SBSymbolContextList.i | 2 +- lldb/include/lldb/Target/DynamicRegisterInfo.h | 3 + lldb/include/lldb/Target/Platform.h | 2 - .../lldb/Utility/ReproducerInstrumentation.h | 10 +- lldb/source/Commands/CommandObjectFrame.cpp | 2 +- lldb/source/Core/ValueObject.cpp | 11 +- lldb/source/Plugins/ABI/AArch64/ABIAArch64.cpp | 14 +- lldb/source/Plugins/ABI/X86/ABIX86.cpp | 145 +- lldb/source/Plugins/ABI/X86/ABIX86.h | 4 + .../MacOSX-DYLD/DynamicLoaderMacOS.cpp | 2 +- .../SymbolFile/DWARF/DWARFASTParserClang.cpp | 382 +-- .../Plugins/SymbolFile/DWARF/DWARFASTParserClang.h | 17 +- lldb/source/Target/DynamicRegisterInfo.cpp | 10 +- lldb/source/Target/Platform.cpp | 9 +- lldb/source/Utility/ReproducerInstrumentation.cpp | 11 +- .../API/commands/target/basic/TestTargetCommand.py | 2 + .../functionalities/completion/TestCompletion.py | 2 +- .../builtin-formats/TestBuiltinFormats.py | 8 +- .../data-formatter/stringprinter/main.cpp | 11 +- .../gdb_remote_client/TestGDBServerTargetXML.py | 430 ++- .../gdb_remote_client/amd64-partial-regs.FileCheck | 34 + lldb/test/API/lang/cpp/diamond/TestCppDiamond.py | 84 + lldb/test/API/lang/cpp/diamond/TestDiamond.py | 51 - lldb/test/API/lang/cpp/diamond/main.cpp | 80 +- .../cpp/scratch-context-merging/structs}/Makefile | 0 .../structs/TestCppScratchContextMergingStructs.py | 129 + .../cpp/scratch-context-merging/structs/main.cpp | 53 + lldb/test/API/macosx/stack-corefile/main.c | 3 +- lldb/test/API/python_api/target/TestTargetAPI.py | 10 +- .../Shell/SymbolFile/DWARF/x86/DW_AT_const_value.s | 2 +- .../debugserver.xcodeproj/project.pbxproj | 2 +- lldb/unittests/Host/linux/HostTest.cpp | 2 +- lldb/unittests/Target/DynamicRegisterInfoTest.cpp | 19 +- llvm/docs/GettingStarted.rst | 1 + llvm/include/llvm/Analysis/AssumeBundleQueries.h | 3 +- llvm/include/llvm/Analysis/IVUsers.h | 3 - llvm/include/llvm/BinaryFormat/Wasm.h | 12 +- llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h | 3 +- llvm/include/llvm/Demangle/Demangle.h | 2 + .../include/llvm/ExecutionEngine/JITLink/JITLink.h | 30 + llvm/include/llvm/IR/ConstantRange.h | 5 + llvm/include/llvm/IR/DiagnosticPrinter.h | 2 +- llvm/include/llvm/IR/IntrinsicsWebAssembly.td | 5 + llvm/include/llvm/ObjectYAML/WasmYAML.h | 22 +- llvm/include/llvm/Option/Arg.h | 5 +- llvm/include/llvm/Support/AArch64TargetParser.def | 4 + llvm/include/llvm/Support/CommandLine.h | 4 +- llvm/include/llvm/Support/Compiler.h | 9 + llvm/include/llvm/Support/JSON.h | 46 +- llvm/include/llvm/Support/RISCVISAInfo.h | 90 + llvm/include/llvm/TableGen/DirectiveEmitter.h | 2 +- .../Transforms/Utils/ScalarEvolutionExpander.h | 6 +- .../llvm/Transforms/Vectorize/VectorCombine.h | 10 +- llvm/lib/Analysis/BasicAliasAnalysis.cpp | 81 +- llvm/lib/Analysis/ConstantFolding.cpp | 14 +- llvm/lib/Analysis/IVUsers.cpp | 62 +- llvm/lib/Analysis/InlineCost.cpp | 32 +- llvm/lib/Analysis/InstructionSimplify.cpp | 11 +- llvm/lib/Analysis/LazyValueInfo.cpp | 102 +- llvm/lib/Analysis/LoopCacheAnalysis.cpp | 4 +- llvm/lib/Analysis/ScalarEvolution.cpp | 88 +- llvm/lib/Analysis/ValueTracking.cpp | 3 +- llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 5 - .../CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | 589 ++-- .../CodeGen/LiveDebugValues/InstrRefBasedImpl.h | 199 +- .../CodeGen/LiveDebugValues/LiveDebugValues.cpp | 23 +- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 4 +- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 2 +- .../CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 2 +- llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 6 +- llvm/lib/DebugInfo/Symbolize/Symbolize.cpp | 15 +- llvm/lib/Demangle/Demangle.cpp | 48 +- llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp | 271 +- .../JITLink/PerGraphTLSInfoEntryBuilder.h | 78 - llvm/lib/ExecutionEngine/JITLink/TableManager.h | 75 + llvm/lib/ExecutionEngine/Orc/ELFNixPlatform.cpp | 1 - llvm/lib/IR/Assumptions.cpp | 4 +- llvm/lib/IR/ConstantRange.cpp | 52 +- llvm/lib/IR/DiagnosticInfo.cpp | 2 +- llvm/lib/IR/DiagnosticPrinter.cpp | 2 +- llvm/lib/Object/ELF.cpp | 42 +- llvm/lib/Object/WasmObjectFile.cpp | 8 + llvm/lib/ObjectYAML/WasmYAML.cpp | 16 +- llvm/lib/Passes/PassBuilderPipelines.cpp | 8 +- llvm/lib/Support/APInt.cpp | 5 +- llvm/lib/Support/CMakeLists.txt | 1 + llvm/lib/Support/ErrorHandling.cpp | 7 +- llvm/lib/Support/JSON.cpp | 5 + llvm/lib/Support/RISCVISAInfo.cpp | 716 +++++ llvm/lib/Target/AArch64/AArch64.td | 17 + llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | 109 +- llvm/lib/Target/AArch64/AArch64InstrFormats.td | 12 + .../AArch64LowerHomogeneousPrologEpilog.cpp | 2 +- llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td | 36 +- llvm/lib/Target/AArch64/AArch64Subtarget.cpp | 1 + llvm/lib/Target/AArch64/AArch64Subtarget.h | 1 + llvm/lib/Target/AArch64/GISel/select-saddo.mir | 158 - llvm/lib/Target/AArch64/GISel/select-ssubo.mir | 158 - llvm/lib/Target/AArch64/SVEInstrFormats.td | 67 +- llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp | 37 +- llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp | 9 +- llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp | 8 +- llvm/lib/Target/ARM/ARMISelLowering.cpp | 654 ++-- .../Hexagon/Disassembler/HexagonDisassembler.cpp | 79 + llvm/lib/Target/Hexagon/HexagonDepInstrFormats.td | 24 + llvm/lib/Target/Hexagon/HexagonDepInstrInfo.td | 38 + llvm/lib/Target/Hexagon/HexagonRegisterInfo.td | 187 ++ llvm/lib/Target/NVPTX/NVPTXFrameLowering.cpp | 11 +- llvm/lib/Target/NVPTX/NVPTXPeephole.cpp | 25 +- llvm/lib/Target/NVPTX/NVPTXRegisterInfo.cpp | 14 +- llvm/lib/Target/NVPTX/NVPTXRegisterInfo.h | 1 + llvm/lib/Target/NVPTX/NVPTXRegisterInfo.td | 12 +- .../Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp | 2 - llvm/lib/Target/PowerPC/P10InstrResources.td | 2075 +++++++++++++ llvm/lib/Target/PowerPC/PPC.td | 3 +- llvm/lib/Target/PowerPC/PPCSchedPredicates.td | 294 ++ llvm/lib/Target/PowerPC/PPCSchedule.td | 3 + llvm/lib/Target/PowerPC/PPCScheduleP10.td | 416 +++ llvm/lib/Target/PowerPC/PPCScheduleP9.td | 2 - llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp | 205 +- .../Target/RISCV/MCTargetDesc/RISCVBaseInfo.cpp | 14 + llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h | 4 + llvm/lib/Target/RISCV/MCTargetDesc/RISCVMatInt.cpp | 27 + .../RISCV/MCTargetDesc/RISCVTargetStreamer.cpp | 62 +- llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp | 3 + llvm/lib/Target/RISCV/RISCVInstrInfo.cpp | 6 + llvm/lib/Target/RISCV/RISCVInstrInfoZb.td | 34 +- llvm/lib/Target/RISCV/RISCVMergeBaseOffset.cpp | 1 - llvm/lib/Target/SystemZ/SystemZISelLowering.cpp | 116 +- llvm/lib/Target/SystemZ/SystemZISelLowering.h | 13 +- llvm/lib/Target/SystemZ/SystemZInstrFP.td | 7 +- llvm/lib/Target/SystemZ/SystemZInstrFormats.td | 49 +- llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp | 20 +- llvm/lib/Target/SystemZ/SystemZInstrInfo.td | 34 +- llvm/lib/Target/SystemZ/SystemZOperators.td | 21 - .../lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp | 110 +- .../lib/Target/WebAssembly/WebAssemblyInstrSIMD.td | 17 + llvm/lib/Target/X86/X86ISelLowering.cpp | 57 +- llvm/lib/Target/X86/X86ScheduleSLM.td | 26 +- llvm/lib/Target/X86/X86TargetTransformInfo.cpp | 567 ++-- llvm/lib/Target/X86/X86TargetTransformInfo.h | 8 +- .../Transforms/InstCombine/InstCombineAndOrXor.cpp | 14 +- .../Transforms/InstCombine/InstCombineShifts.cpp | 35 +- .../lib/Transforms/Scalar/DeadStoreElimination.cpp | 4 +- llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp | 19 +- llvm/lib/Transforms/Utils/Local.cpp | 11 +- llvm/lib/Transforms/Utils/LoopPeel.cpp | 90 +- llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp | 4 +- .../Transforms/Utils/ScalarEvolutionExpander.cpp | 16 +- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 6 +- llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 9 +- llvm/lib/Transforms/Vectorize/VectorCombine.cpp | 25 +- llvm/test/Analysis/BasicAA/vscale.ll | 52 +- llvm/test/Analysis/CostModel/X86/div.ll | 609 ++++ .../CostModel/X86/gather-i16-with-i8-index.ll | 36 +- .../CostModel/X86/gather-i32-with-i8-index.ll | 36 +- .../CostModel/X86/gather-i64-with-i8-index.ll | 36 +- .../CostModel/X86/gather-i8-with-i8-index.ll | 36 +- .../CostModel/X86/interleaved-load-f32-stride-2.ll | 8 +- .../CostModel/X86/interleaved-load-f32-stride-3.ll | 5 +- .../CostModel/X86/interleaved-load-f32-stride-4.ll | 3 + .../CostModel/X86/interleaved-load-f64-stride-2.ll | 7 +- .../CostModel/X86/interleaved-load-f64-stride-4.ll | 3 + .../CostModel/X86/interleaved-load-i16-stride-2.ll | 8 +- .../CostModel/X86/interleaved-load-i16-stride-5.ll | 3 + .../CostModel/X86/interleaved-load-i16-stride-6.ll | 3 + .../interleaved-load-i32-stride-2-indices-0u.ll | 19 +- .../CostModel/X86/interleaved-load-i32-stride-2.ll | 8 +- .../interleaved-load-i32-stride-3-indices-01u.ll | 11 +- .../interleaved-load-i32-stride-3-indices-0uu.ll | 11 +- .../CostModel/X86/interleaved-load-i32-stride-3.ll | 3 + .../interleaved-load-i32-stride-4-indices-012u.ll | 11 +- .../interleaved-load-i32-stride-4-indices-01uu.ll | 11 +- .../interleaved-load-i32-stride-4-indices-0uuu.ll | 11 +- .../CostModel/X86/interleaved-load-i32-stride-4.ll | 3 + .../CostModel/X86/interleaved-load-i64-stride-2.ll | 7 +- .../CostModel/X86/interleaved-load-i64-stride-4.ll | 3 + .../X86/interleaved-store-f32-stride-3.ll | 3 + .../X86/interleaved-store-f32-stride-4.ll | 3 + .../X86/interleaved-store-f64-stride-2.ll | 3 + .../X86/interleaved-store-f64-stride-4.ll | 3 + .../X86/interleaved-store-i16-stride-5.ll | 3 + .../X86/interleaved-store-i16-stride-6.ll | 3 + .../X86/interleaved-store-i32-stride-3.ll | 3 + .../X86/interleaved-store-i32-stride-4.ll | 3 + .../X86/interleaved-store-i64-stride-2.ll | 3 + .../X86/interleaved-store-i64-stride-4.ll | 3 + llvm/test/Analysis/CostModel/X86/mul.ll | 716 +++++ llvm/test/Analysis/CostModel/X86/mul32.ll | 20 +- llvm/test/Analysis/CostModel/X86/rem.ll | 628 ++++ llvm/test/CodeGen/AArch64/fptosi-sat-scalar.ll | 408 +-- llvm/test/CodeGen/AArch64/fptosi-sat-vector.ll | 2901 ++++++++++++------ llvm/test/CodeGen/AArch64/fptoui-sat-scalar.ll | 281 +- llvm/test/CodeGen/AArch64/fptoui-sat-vector.ll | 2359 ++++++++++----- .../AArch64/sve-fixed-length-limit-duplane.ll | 28 + .../CodeGen/AArch64/sve-fp-immediates-merging.ll | 1071 +++++++ .../CodeGen/AArch64/sve-intrinsics-fp-arith-imm.ll | 1309 ++++++++ .../CodeGen/AMDGPU/amdgpu-codegenprepare-mul24.ll | 33 + llvm/test/CodeGen/AMDGPU/build_vector.ll | 72 +- llvm/test/CodeGen/AMDGPU/fused-bitlogic.ll | 349 +++ llvm/test/CodeGen/AMDGPU/mdt-preserving-crash.ll | 156 + llvm/test/CodeGen/ARM/alloc-no-stack-realign.ll | 105 +- llvm/test/CodeGen/ARM/arm-post-indexing-opt.ll | 325 ++ llvm/test/CodeGen/ARM/fp16-vector-argument.ll | 58 +- llvm/test/CodeGen/ARM/large-vector.ll | 12 +- llvm/test/CodeGen/ARM/memcpy-inline.ll | 9 +- llvm/test/CodeGen/ARM/memset-align.ll | 13 +- llvm/test/CodeGen/ARM/misched-fusion-aes.ll | 9 +- llvm/test/CodeGen/ARM/movc-peephole.mir | 41 + llvm/test/CodeGen/ARM/vector-load.ll | 5 +- llvm/test/CodeGen/ARM/vext.ll | 17 +- llvm/test/CodeGen/ARM/vselect_imax.ll | 508 ++-- llvm/test/CodeGen/NVPTX/local-stack-frame.ll | 4 +- llvm/test/CodeGen/PowerPC/builtins-ppc-p10vsx.ll | 8 +- .../PowerPC/builtins-ppc-xlcompat-cmpb-32.ll | 4 +- .../PowerPC/builtins-ppc-xlcompat-sync-32.ll | 10 +- .../PowerPC/builtins-ppc-xlcompat-sync-64.ll | 14 +- llvm/test/CodeGen/PowerPC/constant-pool.ll | 4 +- llvm/test/CodeGen/PowerPC/ctrloop-i128.ll | 5 +- llvm/test/CodeGen/PowerPC/int128_ldst.ll | 9 +- llvm/test/CodeGen/PowerPC/mma-acc-spill.ll | 10 +- llvm/test/CodeGen/PowerPC/mma-intrinsics.ll | 68 +- llvm/test/CodeGen/PowerPC/mma-outer-product.ll | 40 +- llvm/test/CodeGen/PowerPC/mma-phi-accs.ll | 16 +- llvm/test/CodeGen/PowerPC/more-dq-form-prepare.ll | 527 ++-- llvm/test/CodeGen/PowerPC/p10-fi-elim.ll | 74 +- llvm/test/CodeGen/PowerPC/p10-spill-creq.ll | 30 +- llvm/test/CodeGen/PowerPC/p10-spill-crgt.ll | 11 +- llvm/test/CodeGen/PowerPC/p10-spill-crlt.ll | 7 +- llvm/test/CodeGen/PowerPC/p10-spill-crun.ll | 22 +- .../CodeGen/PowerPC/pcrel-call-linkage-leaf.ll | 2 +- .../PowerPC/pcrel-call-linkage-with-calls.ll | 4 +- llvm/test/CodeGen/PowerPC/pcrel-jump-table.ll | 4 +- llvm/test/CodeGen/PowerPC/pcrel-tail-calls.ll | 35 +- llvm/test/CodeGen/PowerPC/ppc64-acc-regalloc.ll | 50 +- llvm/test/CodeGen/PowerPC/ppc64-i128-abi.ll | 35 +- llvm/test/CodeGen/PowerPC/ppc64-rop-protection.ll | 256 +- llvm/test/CodeGen/PowerPC/reg-names.ll | 1 + llvm/test/CodeGen/PowerPC/scalar-double-ldst.ll | 12 +- llvm/test/CodeGen/PowerPC/scalar-float-ldst.ll | 12 +- llvm/test/CodeGen/PowerPC/scalar-i16-ldst.ll | 16 +- llvm/test/CodeGen/PowerPC/scalar-i32-ldst.ll | 16 +- llvm/test/CodeGen/PowerPC/scalar-i64-ldst.ll | 16 +- llvm/test/CodeGen/PowerPC/scalar-i8-ldst.ll | 16 +- llvm/test/CodeGen/PowerPC/spill-vec-pair.ll | 48 +- llvm/test/CodeGen/PowerPC/testComparesi32gtu.ll | 12 +- llvm/test/CodeGen/PowerPC/testComparesi32ltu.ll | 12 +- llvm/test/CodeGen/RISCV/attributes.ll | 20 +- llvm/test/CodeGen/RISCV/imm.ll | 42 +- llvm/test/CodeGen/RISCV/shlimm-addimm.ll | 408 +++ llvm/test/CodeGen/SystemZ/int-const-02.ll | 26 + llvm/test/CodeGen/SystemZ/loop-03.ll | 2 +- llvm/test/CodeGen/SystemZ/memcmp-01.ll | 27 + llvm/test/CodeGen/SystemZ/memcpy-01.ll | 25 + llvm/test/CodeGen/SystemZ/memset-05.ll | 139 +- llvm/test/CodeGen/SystemZ/mverify-optypes.mir | 6 +- .../CodeGen/SystemZ/tail-call-mem-intrinsics.ll | 8 - llvm/test/CodeGen/WebAssembly/simd-intrinsics.ll | 48 + llvm/test/CodeGen/X86/abs.ll | 68 +- llvm/test/CodeGen/X86/combine-abs.ll | 2 +- llvm/test/CodeGen/X86/iabs.ll | 10 +- llvm/test/CodeGen/X86/neg-abs.ll | 174 +- llvm/test/CodeGen/X86/parity-vec.ll | 10 +- llvm/test/CodeGen/X86/parity.ll | 18 +- llvm/test/CodeGen/X86/popcnt.ll | 15 +- .../X86/vector-interleaved-load-i16-stride-5.ll | 1557 ++++++++++ .../X86/vector-interleaved-load-i16-stride-6.ll | 1833 +++++++++++ .../X86/vector-interleaved-load-i32-stride-3.ll | 777 +++++ .../X86/vector-interleaved-load-i32-stride-4.ll | 905 ++++++ .../X86/vector-interleaved-load-i64-stride-2.ll | 343 +++ .../X86/vector-interleaved-load-i64-stride-4.ll | 519 ++++ .../X86/vector-interleaved-store-i16-stride-5.ll | 1289 ++++++++ .../X86/vector-interleaved-store-i16-stride-6.ll | 1162 +++++++ .../X86/vector-interleaved-store-i32-stride-3.ll | 655 ++++ .../X86/vector-interleaved-store-i32-stride-4.ll | 675 +++++ .../X86/vector-interleaved-store-i64-stride-2.ll | 372 +++ .../X86/vector-interleaved-store-i64-stride-4.ll | 470 +++ .../MIR/AArch64/dbgcall-site-indirect-param.mir | 13 +- .../MIR/AArch64/dbgcall-site-orr-moves.mir | 9 +- .../MIR/InstrRef/pick-vphi-in-shifting-loop.mir | 128 + .../DebugInfo/MIR/X86/callsite-stack-value.mir | 9 +- .../DebugInfo/MIR/X86/debug-call-site-param.mir | 19 +- llvm/test/DebugInfo/NVPTX/debug-info.ll | 8 +- llvm/test/DebugInfo/X86/convert-loclist.ll | 5 +- llvm/test/DebugInfo/salvage-limit-expr-size.ll | 47 + llvm/test/DebugInfo/symbolize-demangling.s | 14 +- llvm/test/MC/Hexagon/sysregs.s | 83 + llvm/test/MC/Hexagon/sysregs2.s | 168 ++ llvm/test/MC/Hexagon/sysregs3.s | 13 + llvm/test/MC/RISCV/attribute-arch.s | 15 +- llvm/test/MC/RISCV/attribute-with-insts.s | 2 +- llvm/test/MC/RISCV/insn-invalid.s | 5 + llvm/test/MC/RISCV/invalid-attribute.s | 4 +- llvm/test/MC/RISCV/rv64zba-aliases-valid.s | 40 + llvm/test/MC/WebAssembly/simd-encodings.s | 12 + .../IndVarSimplify/finite-exit-comparisons.ll | 672 +++++ .../IndVarSimplify/lftr-address-space-pointers.ll | 4 +- llvm/test/Transforms/IndVarSimplify/outer_phi.ll | 32 +- .../IndVarSimplify/strengthen-overflow.ll | 205 +- llvm/test/Transforms/Inline/noduplicate.ll | 22 + llvm/test/Transforms/InstCombine/and.ll | 14 +- llvm/test/Transforms/InstCombine/icmp.ll | 4 +- llvm/test/Transforms/InstCombine/lshr.ll | 46 + .../Transforms/InstCombine/mul-inseltpoison.ll | 28 +- llvm/test/Transforms/InstCombine/mul.ll | 32 +- .../InstCombine/sub-ashr-and-to-icmp-select.ll | 4 +- .../Transforms/InstCombine/truncating-saturate.ll | 585 ++++ llvm/test/Transforms/InstSimplify/strictfp-fadd.ll | 26 +- .../LoopStrengthReduce/ARM/ivchain-ARM.ll | 12 +- .../Transforms/LoopVectorize/X86/cost-model.ll | 167 +- .../Transforms/LoopVectorize/X86/interleaving.ll | 123 +- .../Transforms/LoopVectorize/X86/parallel-loops.ll | 69 +- llvm/test/Transforms/LoopVectorize/X86/pr47437.ll | 479 +++ llvm/test/Transforms/LoopVectorize/X86/pr48340.ll | 23 +- .../Transforms/LoopVectorize/X86/uniform_mem_op.ll | 106 +- .../PhaseOrdering/AArch64/matrix-extract-insert.ll | 33 + llvm/test/Transforms/PhaseOrdering/X86/pr52078.ll | 45 + .../SLPVectorizer/X86/crash_undef_mask_elem.ll | 47 + .../SLPVectorizer/X86/shrink_after_reorder2.ll | 78 + .../Transforms/SampleProfile/inline-noduplicate.ll | 104 + llvm/test/Transforms/VectorCombine/X86/shuffle.ll | 160 + .../Inputs/basic.ll.expected | 10 +- ...ered.yaml => locstats-big-number-of-bytes.yaml} | 56 +- ...s-covered.yaml => locstats-bytes-overflow.yaml} | 70 +- .../X86/locstats-for-absctract-origin-vars.yaml | 2 +- .../tools/llvm-dwarfdump/X86/statistics-dwo.test | 2 +- .../tools/llvm-dwarfdump/X86/statistics-v3.test | 2 +- llvm/test/tools/llvm-dwarfdump/X86/statistics.ll | 2 +- .../X86/stats-scope-bytes-covered.yaml | 2 +- .../test/tools/llvm-mca/X86/SLM/resources-pclmul.s | 4 +- llvm/test/tools/llvm-mca/X86/SLM/resources-sse42.s | 16 +- llvm/test/tools/llvm-mca/X86/SLM/resources-ssse3.s | 2 +- .../test/tools/llvm-mca/X86/SLM/resources-x86_64.s | 224 +- .../tools/llvm-profgen/inline-force-dwarf.test | 38 + llvm/test/tools/llvm-profgen/inline-noprobe.test | 4 + llvm/test/tools/yaml2obj/XCOFF/string-table.yaml | 3 +- llvm/tools/llvm-cxxfilt/llvm-cxxfilt.cpp | 27 +- llvm/tools/llvm-dwarfdump/Statistics.cpp | 329 +- llvm/tools/llvm-mca/CodeRegionGenerator.cpp | 2 +- llvm/tools/llvm-mca/Views/TimelineView.cpp | 4 +- llvm/tools/llvm-profgen/PerfReader.cpp | 26 +- llvm/tools/llvm-profgen/ProfiledBinary.cpp | 26 +- llvm/tools/llvm-readobj/Opts.td | 4 +- llvm/tools/obj2yaml/wasm2yaml.cpp | 2 + llvm/unittests/ADT/APIntTest.cpp | 21 +- llvm/unittests/CodeGen/InstrRefLDVTest.cpp | 2091 +++++++++++-- llvm/unittests/Demangle/DemangleTest.cpp | 1 + llvm/unittests/IR/ConstantRangeTest.cpp | 97 +- llvm/unittests/Support/JSONTest.cpp | 21 + llvm/unittests/Support/TargetParserTest.cpp | 13 +- llvm/utils/TableGen/AsmWriterEmitter.cpp | 5 + llvm/utils/TableGen/CodeGenDAGPatterns.cpp | 6 +- llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn | 1 + mlir/cmake/modules/AddMLIR.cmake | 27 +- mlir/docs/Bufferization.md | 2 +- mlir/docs/DialectConversion.md | 4 +- mlir/docs/Dialects/Affine.md | 2 +- mlir/docs/PassManagement.md | 16 +- mlir/docs/Passes.md | 4 + mlir/docs/Rationale/MLIRForGraphAlgorithms.md | 2 +- .../standalone/include/Standalone/StandaloneOps.td | 2 +- mlir/include/mlir/Analysis/AffineAnalysis.h | 25 + mlir/include/mlir/Analysis/AffineStructures.h | 116 +- mlir/include/mlir/Conversion/Passes.td | 4 +- .../mlir/Conversion/TosaToLinalg/TosaToLinalg.h | 7 +- mlir/include/mlir/Dialect/Affine/IR/AffineOps.h | 4 +- mlir/include/mlir/Dialect/Affine/IR/AffineOps.td | 4 +- mlir/include/mlir/Dialect/Affine/Passes.td | 4 +- mlir/include/mlir/Dialect/Affine/Utils.h | 2 +- mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td | 5 + .../mlir/Dialect/Linalg/IR/LinalgInterfaces.td | 28 +- .../mlir/Dialect/Linalg/IR/LinalgStructuredOps.td | 19 +- .../Linalg/Transforms/ComprehensiveBufferize.h | 88 +- .../mlir/Dialect/Linalg/Transforms/Transforms.h | 17 + mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td | 8 +- mlir/include/mlir/Dialect/SCF/SCFOps.td | 14 +- mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td | 2 + .../mlir/Dialect/SparseTensor/Transforms/Passes.td | 4 +- mlir/include/mlir/Dialect/StandardOps/IR/Ops.td | 13 +- mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td | 4 +- .../mlir/Dialect/Utils/StructuredOpsUtils.h | 57 + mlir/include/mlir/Dialect/Vector/VectorOps.td | 16 +- .../include/mlir/Dialect/Vector/VectorTransforms.h | 2 +- mlir/include/mlir/Dialect/Vector/VectorUtils.h | 2 +- mlir/include/mlir/IR/AttributeSupport.h | 18 +- mlir/include/mlir/IR/Builders.h | 2 +- mlir/include/mlir/IR/OpBase.td | 27 +- mlir/include/mlir/IR/OpImplementation.h | 15 + mlir/include/mlir/IR/Operation.h | 2 +- mlir/include/mlir/IR/OperationSupport.h | 4 +- mlir/include/mlir/IR/TypeSupport.h | 18 +- mlir/include/mlir/TableGen/Dialect.h | 4 + mlir/include/mlir/Transforms/Passes.td | 26 +- mlir/lib/Analysis/AffineAnalysis.cpp | 610 +--- mlir/lib/Analysis/AffineStructures.cpp | 185 ++ mlir/lib/Bindings/Python/IRTypes.cpp | 2 +- .../ArithmeticToSPIRV/ArithmeticToSPIRV.cpp | 6 +- .../Conversion/ShapeToStandard/ShapeToStandard.cpp | 2 +- .../Conversion/StandardToSPIRV/StandardToSPIRV.cpp | 230 -- mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp | 12 +- .../Conversion/TosaToLinalg/TosaToLinalgPass.cpp | 13 +- .../Async/Transforms/AsyncToAsyncRuntime.cpp | 2 +- mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp | 15 +- mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | 2 +- .../Linalg/Transforms/ComprehensiveBufferize.cpp | 473 ++- .../lib/Dialect/Linalg/Transforms/DropUnitDims.cpp | 8 +- .../Dialect/Linalg/Transforms/FusionOnTensors.cpp | 6 +- .../Dialect/Linalg/Transforms/Generalization.cpp | 30 +- mlir/lib/Dialect/Linalg/Transforms/Interchange.cpp | 8 +- mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp | 8 +- mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp | 16 +- .../Dialect/Linalg/Transforms/Vectorization.cpp | 170 +- mlir/lib/Dialect/Linalg/Utils/Utils.cpp | 7 +- mlir/lib/Dialect/Shape/IR/Shape.cpp | 11 + .../Transforms/SparseTensorConversion.cpp | 137 +- .../SparseTensor/Transforms/SparseTensorPasses.cpp | 13 +- mlir/lib/Dialect/Tensor/IR/TensorOps.cpp | 11 +- mlir/lib/Dialect/Vector/VectorOps.cpp | 2 +- mlir/lib/Dialect/Vector/VectorTransforms.cpp | 205 +- mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp | 1 + mlir/lib/ExecutionEngine/SparseUtils.cpp | 185 +- mlir/lib/IR/AsmPrinter.cpp | 50 +- mlir/lib/IR/Operation.cpp | 2 +- mlir/lib/Parser/AsmParserImpl.h | 11 + mlir/lib/Parser/Parser.cpp | 29 +- mlir/lib/TableGen/Dialect.cpp | 8 + mlir/lib/Transforms/Utils/Utils.cpp | 2 +- mlir/python/mlir/dialects/_memref_ops_ext.py | 2 +- mlir/test/CAPI/ir.c | 15 +- .../Conversion/TosaToLinalg/tosa-to-linalg.mlir | 11 +- .../comprehensive-module-bufferize-analysis.mlir | 262 +- .../Linalg/comprehensive-module-bufferize.mlir | 21 + mlir/test/Dialect/Linalg/invalid.mlir | 4 +- mlir/test/Dialect/Linalg/tile-and-pad-tensors.mlir | 6 +- mlir/test/Dialect/Linalg/vectorization.mlir | 4 +- mlir/test/Dialect/Shape/canonicalize.mlir | 13 + mlir/test/Dialect/SparseTensor/conversion.mlir | 165 +- mlir/test/Dialect/Tensor/canonicalize.mlir | 10 + mlir/test/IR/invalid-unregistered.mlir | 4 +- mlir/test/Target/LLVMIR/llvmir-intrinsics.mlir | 8 + .../lib/Dialect/Linalg/TestLinalgTransforms.cpp | 15 +- mlir/test/lib/Dialect/Test/TestOps.td | 19 +- .../mlir-tblgen/constant-str-attr-invalid.mlir | 4 + mlir/test/mlir-tblgen/op-attribute.td | 116 +- mlir/test/mlir-tblgen/op-format.mlir | 7 + mlir/test/mlir-tblgen/op-python-bindings.td | 75 +- mlir/test/mlir-tblgen/pattern.mlir | 10 + mlir/test/python/dialects/memref.py | 1 + .../python/dialects/sparse_tensor/test_SpMM.py | 17 +- .../mlir-linalg-ods-yaml-gen.cpp | 5 +- mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp | 407 ++- mlir/tools/mlir-tblgen/OpPythonBindingGen.cpp | 50 +- mlir/tools/mlir-tblgen/RewriterGen.cpp | 30 +- .../deviceRTLs/common/src/omptarget.cu | 6 +- openmp/runtime/src/i18n/en_US.txt | 1 + openmp/runtime/src/kmp.h | 7 +- openmp/runtime/src/kmp_affinity.cpp | 75 + openmp/runtime/src/kmp_affinity.h | 33 + openmp/runtime/src/kmp_global.cpp | 1 + openmp/runtime/src/kmp_runtime.cpp | 117 +- openmp/runtime/src/kmp_settings.cpp | 43 + openmp/runtime/src/kmp_utility.cpp | 12 +- .../runtime/test/affinity/libomp_test_topology.h | 347 ++- openmp/runtime/test/affinity/teams-affinity.c | 119 + openmp/tools/archer/tests/races/task-dependency.c | 10 +- polly/docs/ReleaseNotes.rst | 23 +- polly/include/polly/CodeGen/IslNodeBuilder.h | 7 - polly/include/polly/LinkAllPasses.h | 3 - polly/include/polly/RewriteByReferenceParameters.h | 38 - polly/include/polly/ScopBuilder.h | 62 - polly/include/polly/ScopInfo.h | 29 - polly/lib/Analysis/ScopBuilder.cpp | 219 +- polly/lib/Analysis/ScopInfo.cpp | 90 +- polly/lib/CMakeLists.txt | 1 - polly/lib/CodeGen/IslNodeBuilder.cpp | 108 +- polly/lib/Support/RegisterPasses.cpp | 1 - polly/lib/Transform/Canonicalization.cpp | 3 - .../lib/Transform/RewriteByReferenceParameters.cpp | 112 - .../fortran_array_runtime_size_generation.ll | 77 - ...fortran-array-size-param-offloaded-to-kernel.ll | 103 - .../RewriteByReferenceParameters/fortran_io.ll | 40 - .../fortran_array_global_malloc_nonvectored.ll | 116 - .../fortran_array_global_nonmalloc_nonvectored.ll | 89 - .../fortran_array_param_nonmalloc_nonvectored.ll | 68 - ...y_param_nonmalloc_nonvectored_read_and_write.ll | 93 - polly/www/get_started.html | 65 +- polly/www/polly.sh | 32 - pstl/CMakeLists.txt | 6 +- pstl/CREDITS.txt | 4 + pstl/include/__pstl_config_site.in | 1 + pstl/include/pstl/internal/omp/parallel_for.h | 64 + pstl/include/pstl/internal/omp/parallel_for_each.h | 59 + pstl/include/pstl/internal/omp/parallel_invoke.h | 50 + pstl/include/pstl/internal/omp/parallel_merge.h | 94 + pstl/include/pstl/internal/omp/parallel_reduce.h | 68 + pstl/include/pstl/internal/omp/parallel_scan.h | 136 + .../internal/omp/parallel_stable_partial_sort.h | 32 + .../pstl/internal/omp/parallel_stable_sort.h | 157 + .../pstl/internal/omp/parallel_transform_reduce.h | 112 + .../pstl/internal/omp/parallel_transform_scan.h | 32 + pstl/include/pstl/internal/omp/util.h | 173 ++ pstl/include/pstl/internal/parallel_backend.h | 6 + pstl/include/pstl/internal/parallel_backend_omp.h | 58 + pstl/include/pstl/internal/pstl_config.h | 5 +- pstl/include/pstl/internal/utils.h | 4 +- utils/bazel/llvm-project-overlay/llvm/BUILD.bazel | 6 +- utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 1 + 1824 files changed, 94144 insertions(+), 63606 deletions(-) create mode 100644 clang/test/Analysis/solver-sym-simplification-concreteint.c create mode 100644 clang/test/CodeGenCUDA/builtins-unsafe-atomics-gfx90a.cu create mode 100644 clang/test/CodeGenCXX/cxx20-consteval-crash.cpp create mode 100644 clang/test/Preprocessor/c2x.c create mode 100644 clang/test/Preprocessor/has_attribute_errors.cpp create mode 100644 clang/test/SemaCUDA/builtins-unsafe-atomics-gfx90a.cu create mode 100644 flang/test/Evaluate/fold-char-cmp.f90 create mode 100644 flang/test/Semantics/omp-declare-target01.f90 create mode 100644 flang/test/Semantics/omp-declare-target02.f90 create mode 100644 flang/test/Semantics/omp-threadprivate02.f90 create mode 100644 flang/unittests/Optimizer/Builder/FIRBuilderTest.cpp create mode 100644 libc/src/string/memccpy.cpp create mode 100644 libc/src/string/memccpy.h create mode 100644 libc/src/string/mempcpy.cpp create mode 100644 libc/src/string/mempcpy.h create mode 100644 libc/test/src/string/memccpy_test.cpp create mode 100644 libc/test/src/string/mempcpy_test.cpp create mode 100644 libcxx/cmake/caches/AIX.cmake create mode 100644 libcxx/test/configs/ibm-libc++-shared.cfg.in create mode 100644 libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rang [...] create mode 100644 libcxx/test/std/input.output/filesystems/fs.filesystem.synopsis [...] create mode 100644 libcxx/test/std/input.output/filesystems/fs.filesystem.synopsis [...] create mode 100644 libcxxabi/test/configs/ibm-libc++abi-shared.cfg.in create mode 100644 lld/test/wasm/shared-weak-undefined.s create mode 100644 lldb/test/API/functionalities/gdb_remote_client/amd64-partial-r [...] create mode 100644 lldb/test/API/lang/cpp/diamond/TestCppDiamond.py delete mode 100644 lldb/test/API/lang/cpp/diamond/TestDiamond.py copy lldb/test/API/{api/check_public_api_headers => lang/cpp/scratch-context-mergi [...] create mode 100644 lldb/test/API/lang/cpp/scratch-context-merging/structs/TestCppS [...] create mode 100644 lldb/test/API/lang/cpp/scratch-context-merging/structs/main.cpp create mode 100644 llvm/include/llvm/Support/RISCVISAInfo.h delete mode 100644 llvm/lib/ExecutionEngine/JITLink/PerGraphTLSInfoEntryBuilder.h create mode 100644 llvm/lib/ExecutionEngine/JITLink/TableManager.h create mode 100644 llvm/lib/Support/RISCVISAInfo.cpp delete mode 100644 llvm/lib/Target/AArch64/GISel/select-saddo.mir delete mode 100644 llvm/lib/Target/AArch64/GISel/select-ssubo.mir create mode 100644 llvm/lib/Target/PowerPC/P10InstrResources.td create mode 100644 llvm/lib/Target/PowerPC/PPCSchedPredicates.td create mode 100644 llvm/lib/Target/PowerPC/PPCScheduleP10.td create mode 100644 llvm/test/Analysis/CostModel/X86/mul.ll create mode 100644 llvm/test/CodeGen/AArch64/sve-fixed-length-limit-duplane.ll create mode 100644 llvm/test/CodeGen/AArch64/sve-fp-immediates-merging.ll create mode 100644 llvm/test/CodeGen/AArch64/sve-intrinsics-fp-arith-imm.ll create mode 100644 llvm/test/CodeGen/AMDGPU/fused-bitlogic.ll create mode 100644 llvm/test/CodeGen/AMDGPU/mdt-preserving-crash.ll create mode 100644 llvm/test/CodeGen/ARM/arm-post-indexing-opt.ll create mode 100644 llvm/test/CodeGen/ARM/movc-peephole.mir create mode 100644 llvm/test/CodeGen/RISCV/shlimm-addimm.ll create mode 100644 llvm/test/DebugInfo/MIR/InstrRef/pick-vphi-in-shifting-loop.mir create mode 100644 llvm/test/DebugInfo/salvage-limit-expr-size.ll create mode 100644 llvm/test/MC/Hexagon/sysregs.s create mode 100644 llvm/test/MC/Hexagon/sysregs2.s create mode 100644 llvm/test/MC/Hexagon/sysregs3.s create mode 100644 llvm/test/Transforms/IndVarSimplify/finite-exit-comparisons.ll create mode 100644 llvm/test/Transforms/Inline/noduplicate.ll create mode 100644 llvm/test/Transforms/InstCombine/truncating-saturate.ll create mode 100644 llvm/test/Transforms/LoopVectorize/X86/pr47437.ll create mode 100644 llvm/test/Transforms/PhaseOrdering/X86/pr52078.ll create mode 100644 llvm/test/Transforms/SLPVectorizer/X86/crash_undef_mask_elem.ll create mode 100644 llvm/test/Transforms/SLPVectorizer/X86/shrink_after_reorder2.ll create mode 100644 llvm/test/Transforms/SampleProfile/inline-noduplicate.ll copy llvm/test/tools/llvm-dwarfdump/X86/{stats-scope-bytes-covered.yaml => locstat [...] copy llvm/test/tools/llvm-dwarfdump/X86/{stats-scope-bytes-covered.yaml => locstat [...] create mode 100644 llvm/test/tools/llvm-profgen/inline-force-dwarf.test create mode 100644 mlir/test/mlir-tblgen/constant-str-attr-invalid.mlir create mode 100644 openmp/runtime/test/affinity/teams-affinity.c delete mode 100644 polly/include/polly/RewriteByReferenceParameters.h delete mode 100644 polly/lib/Transform/RewriteByReferenceParameters.cpp delete mode 100644 polly/test/CodeGen/fortran_array_runtime_size_generation.ll delete mode 100644 polly/test/GPGPU/check-unused-fortran-array-size-param-offloade [...] delete mode 100644 polly/test/RewriteByReferenceParameters/fortran_io.ll delete mode 100644 polly/test/ScopInfo/fortran_array_global_malloc_nonvectored.ll delete mode 100644 polly/test/ScopInfo/fortran_array_global_nonmalloc_nonvectored.ll delete mode 100644 polly/test/ScopInfo/fortran_array_param_nonmalloc_nonvectored.ll delete mode 100644 polly/test/ScopInfo/fortran_array_param_nonmalloc_nonvectored_r [...] delete mode 100644 polly/www/polly.sh create mode 100644 pstl/include/pstl/internal/omp/parallel_for.h create mode 100644 pstl/include/pstl/internal/omp/parallel_for_each.h create mode 100644 pstl/include/pstl/internal/omp/parallel_invoke.h create mode 100644 pstl/include/pstl/internal/omp/parallel_merge.h create mode 100644 pstl/include/pstl/internal/omp/parallel_reduce.h create mode 100644 pstl/include/pstl/internal/omp/parallel_scan.h create mode 100644 pstl/include/pstl/internal/omp/parallel_stable_partial_sort.h create mode 100644 pstl/include/pstl/internal/omp/parallel_stable_sort.h create mode 100644 pstl/include/pstl/internal/omp/parallel_transform_reduce.h create mode 100644 pstl/include/pstl/internal/omp/parallel_transform_scan.h create mode 100644 pstl/include/pstl/internal/omp/util.h create mode 100644 pstl/include/pstl/internal/parallel_backend_omp.h