This is an automated email from the git hooks/post-receive script.
tcwg-buildslave pushed a change to branch linaro-local/ci/tcwg_bmk_tk1/llvm-master-arm-spec2k6-Os in repository toolchain/ci/llvm-project.
from c7cabf9d608 [flang] Define new runtime error IOSTAT values (I/O runtime [...] adds 7926969afc6 [flang] Track known file size, add IsATerminal (ext. I/O wo [...] adds 551092bc3df Revert AST Matchers default to AsIs mode adds 0939e04e417 [PowerPC] Implement Vector Insert Builtins in LLVM/Clang adds 50ba9f994c6 [clangd] Fix hover crash on invalid decls adds 5cde3c9633f [libcxx] Put clang::trivial_abi on std::unique_ptr, std::sh [...] adds 5504d8b04a5 [InstCombine] add more tests for mul of bools; NFC adds 7fd8af1de05 [InstCombine] fold mul of sext bools to 'and' adds 26543f1c0ce [x86] improve codegen for bit-masked vector compare and sel [...] adds 341ab511491 [NFCI][InstCombine] shift.ll: s/%tmp/%i/ to silence update [...] adds 17a15c32aff [NFCI][LoopUnroll] s/%tmp/%i/ in one test to silence update [...] adds e359ab1eca5 [PowerPC][NFC] Fix indentation adds aa5ec34e312 [LoopDeletion] Emit a remark when a dead loop is deleted adds fba8523fb55 [gcov][test] Reorganize some compiler-rt/test/profile tests adds 1c6e2eceeb1 [gcov][test] Add `UNSUPPORTED: host-byteorder-big-endian` t [...] adds 8df30d988e9 [WebAssembly] Do not omit range checks for i64 switches adds 0006354c3b8 [flang] Further implementation of external I/O unit operati [...] adds e75f2d5a8cd [X86] Add matching support for X86ISD::ANDNP to X86DAGToDAG [...] adds c352e0885a6 [PowerPC] Implement probing for prologue adds fed432523ed [X86] Directly emit VPTERNLOG from canonicalizeBitSelect wh [...] adds 8bd000a65fe [clangd] Config: loading and caching config from disk. adds 2ac9c459109 [gn build] Port 8bd000a65fe adds 93ccb8eb52f [InstSimplify] Add additional zext/sext comparison tests (NFC) adds 3b671022e45 [InstSimplify] Simplify comparison between zext(x) and sext(x) adds 15a60fe09f4 [clangd] Config: compute config in TUScheduler and BackgroundIndex adds 7356b4243ad [SVE] Fix invalid assert in expand_DestructiveOp. adds 6d6d5db251e [MLIR][Linalg] Generate the right type of load/store when l [...] adds 4f2e7f6fb1f [clangd] Try to fix windows buildbot. NFC adds b6cbe6cb039 [analyzer][NFC] Move the data structures from CheckerRegist [...] adds 07d4d84676a [gn build] Port b6cbe6cb039 adds 71f342d6c3d [X86][AVX] Fold PACK(LOSUBVECTOR(SHUFFLE(X)),HISUBVECTOR(SH [...] adds 5f2843857fe [MLIR] Parallelize affine.for op to 1-D affine.parallel op adds 7bfe4102a99 [X86][SSE] Add add/fadd reduction shuffle+subvector tests adds e56e96a2642 [libcxx testing] Remove ALLOW_RETRIES from another test adds 56a8a5c9fe2 [DAG] matchBinOpReduction - match subvector reduction patte [...] adds 14936e01e21 [InstCombine] add test for miscompile (PR46561); NFC adds ef70cc9d1ac [InstCombine] improve debug value names; NFC adds c3b8bd1eea5 [InstCombine] Always try to invert non-canonical predicate [...] adds 3b8ae1001f6 [InstCombine] fix miscompile from umul_with_overflow matching adds 7fed3cfadbd [clang] Fix two tests that are affected by llvm opt change adds dc13ac02800 Revert "[libcxx] Put clang::trivial_abi on std::unique_ptr, [...] adds b4eb415a996 [X86] Disable VPBLENDVB formation in combineLogicBlendIntoP [...] adds e652c0f8f3e [X86] Teach lowerShuffleAsBlend to use bit blend for v16i8/ [...] adds 85e144329cf [profile] Mark gcov test as unsupported on Darwin. adds 45b5c79a31d [flang] Extend & fix per-I/O-statement state (ext. I/O work [...] adds 11a3f040c71 [Utils] Make -assume-builder/-assume-simplify actually work [...] adds 21d8f66d20b [X86] Add test caes for pr46585. NFC adds 120c5f1057d [DAGCombiner] Don't fold zext_vector_inreg/sext_vector_inre [...] adds 5d5b9682527 [flang] Add fixes and missing stmts to I/O runtime API hand [...] adds 7ea46aee367 Revert "[AssumeBundles] Use operand bundles to encode align [...] adds fbc06b22801 Revert "[MLIR] Parallelize affine.for op to 1-D affine.para [...] adds 6c4a5e9257b [OpenMPOpt] ICV Tracking adds 76123d338dc [DAGCombiner] visitSIGN_EXTEND_INREG should fold sext_vecto [...] adds fbbb6884e10 [llvm-reduce] extractArgumentsFromModule(): don't crash whe [...] adds f804bd586ee [llvm-reduce] extractGVsFromModule(): don't crash when dele [...] adds 05c5ff5ab0b [gn build] make stage2_unix_toolchain set clang_base_path adds 90a35bd074e [gn build] fix link of libclang_rt.asan_osx_dynamic.dylib i [...] adds 7e2d27bc554 Fix two -Wrange-loop-analysis warnings that Xcode 12 beta i [...] adds 65330f394b2 [WebAssembly] Do not assume br_table range checks will be gt_u adds afd81a637df [llvm-objcopy] Fix crash when removing symbol table at same [...] adds 68e07da3e5d [clang][PowerPC] Enable -fstack-clash-protection option for ppc64 adds aed6a1b137d Add tests for clang -fno-zero-initialized-in-bss and llc -n [...] adds 3fc97f9636b [OpenMP][Tests] NFC use type macro in printf adds fc1d95eb7b3 [lldb][NFC] Remove an unnecessary cast in SBCommandInterpreter adds 779432690fb [lldb][NFC] Clarify that spaces can't be in breakpoint names adds e8158bf0e77 [NFC] Clean up braces and anon namespace adds 2247f7218a3 [llvm] Cast to (void) the unused variable. adds edba2864a7a [clangd] Fix stack-use-after-scope adds 011d73202c0 [X86][SSE] Add PACKSS/PACKUS style patterns tests adds 74ca67c109c [ARM] Remove hasSideEffects from FP converts adds f706b01a006 Revert "Revert "[libcxx] Put clang::trivial_abi on std::uni [...] adds b0b5162fc23 [Driver] Pass -gno-column-info instead of -dwarf-column-info adds 516ff1d4bae [SCCP] Add test for range metadata (NFC) adds 6ba4380ed62 [libomptarget][test] Fix text relocations by adding -fPIC adds 30205865d96 [OpenMP][OMPT] Fix ifdefs for OMPT code adds 8289f2891e8 [OpenMP][Tests] Flag compatibility of OpenMP runtime tests [...] adds a378c044950 [Fuchsia] Set projects and runtimes in the cache file adds 8849831d55a [Coroutines] Warning if return type of coroutine_handle::ad [...] adds b65d4b23f6d [lldb/DWARF] Look for complete array element definitions in [...] adds df3bda047d5 [VE] Correct stack alignment adds 5daa39aa4c3 [lldb/Utility] Merge Scalar::Get(Value)TypeAsCString adds 04288e93be7 Fix 46594 - Alignment assertion failure in instcombine adds 4c0a965c092 Fix off by one error in Bitfields adds bd50cf905fa Fix indentation in FixedPoint.h. NFC. adds 55227f85d09 [ARM] Use BaseT::getMemoryOpCost for getMemoryOpCost adds 3341d470fc4 Revert "Revert "Revert "[libcxx] Put clang::trivial_abi on [...] adds cd7f8051ac7 [InstCombine] Lower infinite combine loop detection thresholds adds f62c8dbc99e [Scalarizer] InsertElement handling w/ constant insert index adds 28b7816b782 [Scalarizer] ExtractElement handling w/ constant extract index adds 6e504745813 [Scalarizer] InsertElement handling w/ variable insert inde [...] adds 51f9310ff2e [Scalarizer] ExtractElement handling w/ variable insert ind [...] adds cd209f1a379 [Support] Add path::user_config_directory for $XDG_CONFIG_HOME etc adds 60b8b2beeab [ARM] Add extra extend and trunc costs for cast instructions adds 5d7afe2d2e3 [Scalarizer] visit{Insert,Extract}ElementInst(): avoid call [...] adds 0663844b064 [SystemZ/ZOS] Define Endian constants for z/OS. adds bfd84b1c034 [SystemZ/ZOS] Implement getMainExecutable() and is_local_impl() adds d7ea6ce809a [Support] fix user_cache_directory on mac adds 690ff37a286 [analyzer] Force dependency checkers to be hidden adds e7a4a24dc50 [TargetLowering] Improve expansion of ROTL/ROTR adds babbeafa006 [TargetLowering] Improve expansion of FSHL/FSHR by non-zero amount adds 7349479f224 RecursiveASTVisitor: don't call WalkUp unnecessarily in pos [...] adds c19c6b1722e Make RecursiveASTVisitor call WalkUpFrom for unary and bina [...] adds 8e750b1f0a2 Make RecursiveASTVisitor call WalkUpFrom for operators when [...] adds 5689b38c6a4 Removed a RecursiveASTVisitor feature to visit operator kin [...] adds 0607c8df7fa [PowerPC] Legalize SREM/UREM directly on P9. adds 05c65dc0fee [mlir][Vector] Add a VectorUnrollInterface and expose Unrol [...] adds bd87c6bce1c [mlir][Vector] Add custom slt / SCF.if folding to VectorToSCF adds b2956076976 [analyzer][NFC] Don't allow dependency checkers to emit dia [...] adds f6bd1bd8558 Regenerate neon copy tests. NFC. adds c37400f6e78 Regenerate subreg liverange tests. NFC. adds d6c72bdca2f [X86][XOP] Add XOP target vselect-pcmp tests adds bcff3deaa12 AMDGPU/GlobalISel: Add some missing return tests adds 7b76a5c8a2a AMDGPU: Fix fixed ABI SGPR arguments adds 581f1823cdb AMDGPU/GlobalISel: Fix hardcoded register number checks in test adds a5b9ad7e9ac AMDGPU/GlobalISel: Don't emit code for unused kernel arguments adds 521ebc16815 GlobalISel: Move finalizeLowering call later adds afdb2ef2ed9 [ARM] Adjust default fp extend and trunc costs adds cfd6b4b811a [analyzer] Don't allow hidden checkers to emit diagnostics adds fc3c693b617 [clang-tidy] Added alias llvm-else-after-return. adds 01966003674 [clang-tidy] Fix incorrect default option in fc3c693b61 adds dbfcf6eb721 [x86] add tests for vector select with non-splat bit-test c [...] adds 4c4bda1630a [OpenMP] Temporarily disable failing runtime tests for OpenMP 5.0 adds cff57391575 [LV] Pass dbgs() to verifyFunction call. adds d3e3f36ff11 Revert "[ScalarEvolution] createSCEV(): recognize `udiv`/`u [...] adds cd9a241f165 [clang] Fix the incorrect dependence bits for DependentExtIntType. adds 146dad0077b [ARM] MVE FP16 cost adjustments adds 5814255e1a7 [lldb] Always round down in NSDate's formatter to match NSD [...] adds a2619a60e46 Reland "[ScalarEvolution] createSCEV(): recognize `udiv`/`u [...] adds 254b016c656 [clangd] More complete fix for hover crashes on invalid record. adds e80b81d1cbf [Support] Fix formatted_raw_ostream for UTF-8 adds 6d3ae365bdf [XCOFF][AIX] Give symbol an internal name when desired symb [...] adds 7308e143262 [clang] Fix modules build after D82585 adds cf0b3affed4 [clang][utils] make-ast-dump-check.sh: strip line and colum [...] adds 52af9c59e3b [MLIR] Add a NoRegionArguments trait adds 61c2a0bb823 [RISCV] Fold ADDIs into load/stores with nonzero offsets adds c1a5f73a4ae [ELF][ARM] Represent R_ARM_LDO32 as R_DTPREL instead of R_ABS adds 2402f9385e8 [AIX] Add system-aix to lit config file adds 2a19672af5d [mlir] Change ODS to have include and exclude regex adds 39d2ae0afb2 [FPEnv][Clang][Driver] Disable constrained floating point o [...] adds a39e9cf6bec [flang] Basic tests of external I/O runtime (part 9/9) adds 054704082b4 [SemaCXX] Fix false positive of -Wuninitialized-const-refer [...] adds bfdafa32a0f [FPEnv][Clang][Driver] Failing tests are now expected failures. adds f9e24a563c3 [flang] Bug fix for ambiguous references to data and functions adds c19c153e741 AMDGPU: Don't ignore carry out user when expanding add_co_pseudo adds 2b355113504 [FPEnv][Clang][Driver] Failing tests are now expected failu [...] adds af8389e1315 [VE] Change to use isa adds 916e2ca9978 Revert "[FPEnv][Clang][Driver] Disable constrained floating [...] adds dc6b3f03a87 [ELF] Drop an unneeded reference to `symtab` from SymbolTab [...] adds 71a6a41f1c5 [Sanitizer] Fix demangling for Swift symbol names adds fa1fecc73d4 [VE] Support symbol with offset in assembly adds 4d135b0446d [WebAssembly] 64-bit memory limits adds aa6ef6fea0f [libc] Add documentation for integration tests. adds 16d83c395a1 [WebAssembly] Added 64-bit memory.grow/size/copy/fill adds 76c5cb05a3a DomTree: Remove getChildren() accessor adds 723a44c9b5d DomTree: Remove the releaseMemory() method adds dfcc68c5282 DomTree: Remove getRoots() accessor adds f987ba3cf9a DomTree: add private create{Child,Node} helpers adds 1b183918184 [flang] Add missing include for std::min adds 60c07fd016a Use CMAKE_OSX_SYSROOT instead of the environment variable SYSROOT adds 1d8cb099231 Add option LLVM_NM to allow specifying the location of the [...] adds f25d020c2ec AMDGPU/GlobalISel: Add types to special inputs adds f63e3ea558b [clang] Rework how and when APValues are dumped adds f7a7efbf88b [AMDGPU] Tweak getTypeLegalizationCost() adds 02946de3802 [Support][NFC] Fix Wdocumentation warning in ADT/Bitfields.h adds 7c63804383f Fix [-Werror,-Wsign-compare] in dominator unit test. adds f47b8851318 [clang] Enable errors for undefined TARGET_OS_ macros in Da [...] adds 6d9626d2da3 [OpenMP][Tests] Fix/Mark compatibilty for GCC adds c359c5d5344 [X86] Centalize the 'sse4' hack to a single place in X86Tar [...] adds db05f2e34a5 [Scalarizer] Centralize instruction DCE adds c143900a085 [llvm-install-name-tool] Merge install-name options adds 69dca6efc60 [NFCI][IR] Introduce CallBase::Create() wrapper adds 05f2b5ccfc5 [llvm-reduce] Reducing call operand bundles adds 95a28df5c45 [OpenMP] Add GOMP 5.0 loop entry points adds 84213642826 Modifications to the algorithm sort benchmark adds fc4f5d65848 [NFCI][llvm-reduce] ReduceOperandBundles: actually put Modu [...] adds 1e495e10e6c [NFC] change getLimitedCodeGenPipelineReason to static function adds 4029f8ede42 Temporarily Revert "[llvm-install-name-tool] Merge install- [...] adds ea71ba11ab1 [DAGCombiner] reassociate reciprocal sqrt expression to eli [...] adds 3c7e8d6d0eb Fix sdk version test to use 99.99.99 as a max dummy version [...] adds 129387497e5 Correct 3 spelling errors in headers and doc strings. adds 003ea142205 fix typos to cycle bots adds bfa8bda0460 [gn build] Port adds 7a3258912c4 [gn build] Port 05f2b5ccfc5 adds 10c82eecbcb Revert "[LV] Enable the LoopVectorizer to create pointer in [...] adds 7a99aab8692 [ModuloSchedule] Devirtualize PeelingModuloScheduleExpander [...] adds ab25ed26c67 [libc] Add documentation for clang-tidy checks. adds c13e3e2c2e0 [PowerPC][Power10] Exploit the xxsplti32dx instruction when [...] adds 0c6b6e28e70 [PowerPC] Implement Vector Splat Immediate Builtins in Clang adds 28a45d54a7f Create the framework and testing environment for MLIR Reduc [...] adds 939d8309dbd [X86-64] Support Intel AMX Intrinsic adds 65482e8a703 [openmp] Move isAllowedClauseForDirective to tablegen + add [...] adds fc67b25426c [gn build] Port 939d8309dbd adds 1b1539712e1 [PowerPC] Do not RAUW combined nodes in VECTOR_SHUFFLE lega [...] adds 3b5db7fc69b [llvm-install-name-tool] Merge install-name options adds 72df59d5909 [mlir] resolve types from attributes in assemblyFormat adds 7fb3a849c13 [X86] Remove duplicate SSE4A feature bit from X86TargetPars [...] adds 094e99d264c [Test] Add one more missing optimization opportunity test adds 16f3d698f2a [X86] Move the feature dependency handling in X86TargetInfo [...] adds 0882c9d4fc4 [AMDGPU] Change Clang AMDGCN atomic inc/dec builtins to tak [...] adds 38d6640ba55 [libomptarget] Implement atomic inc and fence functions for [...] adds 560292fa990 [AMDGPU] Update isFMAFasterThanFMulAndFAdd assumptions adds 3cbfe988bc5 [X86] Merge X86TargetInfo::setFeatureEnabled and X86TargetI [...] adds ef4cc70f3ed [X86] Remove assert for missing features from X86::getImpli [...] adds 44ea81acb69 [X86] Add 64bit and retpoline-external-thunk to list of fea [...] adds c061e56e880 [CodeGen] Fix warnings in sve-vector-splat.ll and sve-trunc.ll adds 79d34a5a1bc [SVE][CodeGen] Fix bug when falling back to DAG ISel adds 9a1a7d888b5 [SVE] Add more warnings checks to clang and LLVM SVE tests adds 9db53a18270 [mlir][NFC] Remove usernames and google bug numbers from TO [...] adds cd503166fb7 [flang][OpenMP] Enhance parser support for flush construct [...] adds d5cbf7ba325 [llvm-readobj] - Fix a crash scenario in GNUStyle<ELFT>::pr [...] adds 2cdf108d329 [lldb/DWARF] Add a utility function for (forceful) completi [...] adds 74c723757e6 [NFC] Adding the align attribute on Atomic{CmpXchg|RMW}Inst adds 8c2a6139760 Hand Allocator and IdentifierTable into FormatTokenLexer. adds 5e8084beba2 [SVE][CodeGen] Legalisation of unpredicated load instructions adds 2d9bd448c9f [llvm-readobj] - Allow dumping partially corrupted SHT_LLVM [...] adds 2953ac0975b [llvm-readobj] - Refactor ELFDumper<ELFT>::getStaticSymbolName. adds cdf2eef613f [SVE][CodeGen] Legalisation of unpredicated store instructions adds 8f0f7dbcea3 [llvm-readobj] - Split the printHashSymbols. NFCI. adds 0d656cb25dc [llvm-readobj] - Refine the error reporting in LLVMStyle<EL [...] adds 3b1e3d22735 [clang-tidy] Fix an unused-raii check crash on objective-c++. adds a256193afa4 [llvm-readobj] - Add prepending # to mips-got.test and mips [...] adds de0175d04bc [lldb] Make TestIOHandlerResizeNoEditline pass with Python 2 adds 7bf299c8d8d [LV] Vectorize without versioning-for-unit-stride under -Os/-Oz new b80508703fd [mlir][spirv] Introduce OwningSPIRVModuleRef for ownership new cca4ac523e1 [mlir][VectorOps] Lower vector.outerproduct of int vectors new 9b55bc4d119 [clangd] Store index in '.cache/clangd/index' instead of '. [...] new 4a3c3d741a1 [llvm-readobj] - Don't abort when dumping dynamic relocatio [...] new f7522a5823d [llvm-readobj] - Fix indentation in broken-dynamic-reloc.te [...] new 41bbb875e4d [NFC] Use hasAnyName matcher in place of anyOf(hasName()...) new e7abed3d48e [llvm-readobj] - Refactor the MipsGOTParser<ELFT> to stop u [...] new ed39becd274 [OpenMP][NFC] Remove hard-coded line numbers from more tests new ea85ff82c82 [X86] Fix a bug that when lowering byval argument new 16266e63963 [Scalarizer] When gathering scattered scalar, don't replace [...] new 72ae70032ca [lldb/test] Fix lldbutil.run_to_***_breakpoint for shared l [...] new c9fb7f81715 [DEBUGINFO]Add dwarf versions to the test, NFC. new c5348aecd77 [OpenMP] Use primary context in CUDA plugin new 85f5d1261c9 [ASTImporter] Corrected import of repeated friend declarations. new 216a54a04b9 [flang] Add lowering of I/O statements. new abdd367b200 [Bitfields][NFC] Make sure bitfields are contiguous new 082e3952300 [CodeMoverUtils] Make specific analysis dependent checks optional
The 17 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: .gitignore | 7 +- clang-tools-extra/clang-move/Move.cpp | 40 +- clang-tools-extra/clang-query/Query.cpp | 6 +- clang-tools-extra/clang-query/QuerySession.h | 2 +- .../MisplacedOperatorInStrlenInAllocCheck.cpp | 20 +- .../MisplacedPointerArithmeticInAllocCheck.cpp | 7 +- .../bugprone/SpuriouslyWakeUpFunctionsCheck.cpp | 3 +- .../clang-tidy/bugprone/UnusedRaiiCheck.cpp | 8 +- .../clang-tidy/cert/CommandProcessorCheck.cpp | 3 +- .../cert/DontModifyStdNamespaceCheck.cpp | 2 +- .../clang-tidy/llvm/LLVMTidyModule.cpp | 6 + .../llvm/PreferIsaOrDynCastInConditionalsCheck.cpp | 15 +- .../clang-tidy/modernize/AvoidBindCheck.cpp | 3 +- .../clang-tidy/modernize/LoopConvertCheck.cpp | 11 +- .../clang-tidy/modernize/LoopConvertUtils.cpp | 2 +- .../clang-tidy/modernize/LoopConvertUtils.h | 2 +- .../readability/ElseAfterReturnCheck.cpp | 40 +- clang-tools-extra/clangd/CMakeLists.txt | 1 + clang-tools-extra/clangd/ClangdServer.cpp | 46 +- clang-tools-extra/clangd/ClangdServer.h | 13 + clang-tools-extra/clangd/ConfigProvider.cpp | 207 +++ clang-tools-extra/clangd/ConfigProvider.h | 43 + clang-tools-extra/clangd/Hover.cpp | 12 +- clang-tools-extra/clangd/TUScheduler.cpp | 23 +- clang-tools-extra/clangd/TUScheduler.h | 10 +- clang-tools-extra/clangd/XRefs.cpp | 2 +- clang-tools-extra/clangd/index/Background.cpp | 43 +- clang-tools-extra/clangd/index/Background.h | 15 +- .../clangd/index/BackgroundIndexStorage.cpp | 6 +- .../clangd/test/background-index.test | 4 +- .../clangd/unittests/BackgroundIndexTests.cpp | 51 + clang-tools-extra/clangd/unittests/CMakeLists.txt | 1 + clang-tools-extra/clangd/unittests/ClangdTests.cpp | 45 + .../clangd/unittests/ConfigProviderTests.cpp | 156 ++ clang-tools-extra/clangd/unittests/HoverTests.cpp | 31 +- .../clangd/unittests/PreambleTests.cpp | 2 +- .../clangd/unittests/TUSchedulerTests.cpp | 29 +- clang-tools-extra/clangd/unittests/TestFS.cpp | 6 +- clang-tools-extra/clangd/unittests/TestFS.h | 3 +- clang-tools-extra/docs/ReleaseNotes.rst | 5 + clang-tools-extra/docs/clang-tidy/checks/list.rst | 1 + .../clang-tidy/checks/llvm-else-after-return.rst | 11 + .../checks/readability-else-after-return.rst | 10 + .../checkers/bugprone-unused-raii-crash.mm | 15 + clang/cmake/caches/Fuchsia-stage2.cmake | 13 +- clang/cmake/caches/Fuchsia.cmake | 10 +- clang/docs/ClangCommandLineReference.rst | 6 + clang/docs/ReleaseNotes.rst | 71 +- clang/include/clang/AST/APValue.h | 2 +- clang/include/clang/AST/ASTNodeTraverser.h | 8 + clang/include/clang/AST/JSONNodeDumper.h | 4 + clang/include/clang/AST/ParentMapContext.h | 2 +- clang/include/clang/AST/RecursiveASTVisitor.h | 204 +-- clang/include/clang/AST/TextNodeDumper.h | 11 + clang/include/clang/Analysis/Analyses/Dominators.h | 4 +- clang/include/clang/Basic/BuiltinsAMDGPU.def | 8 +- clang/include/clang/Basic/BuiltinsPPC.def | 16 + clang/include/clang/Basic/BuiltinsWebAssembly.def | 4 - clang/include/clang/Basic/BuiltinsX86_64.def | 16 + clang/include/clang/Basic/DiagnosticSemaKinds.td | 5 + clang/include/clang/Basic/FixedPoint.h | 92 +- clang/include/clang/Driver/CC1Options.td | 4 - clang/include/clang/Driver/Options.td | 11 +- clang/include/clang/Sema/Sema.h | 7 + .../clang/StaticAnalyzer/Checkers/Checkers.td | 29 +- .../StaticAnalyzer/Core/BugReporter/BugReporter.h | 26 +- .../clang/StaticAnalyzer/Core/CheckerManager.h | 11 +- .../StaticAnalyzer/Core/CheckerRegistryData.h | 226 +++ .../StaticAnalyzer/Frontend/CheckerRegistry.h | 189 +-- clang/lib/ARCMigrate/TransProperties.cpp | 5 +- clang/lib/AST/APValue.cpp | 86 -- clang/lib/AST/ASTDumper.cpp | 16 + clang/lib/AST/ASTImporter.cpp | 78 +- clang/lib/AST/JSONNodeDumper.cpp | 15 +- clang/lib/AST/TextNodeDumper.cpp | 235 ++- clang/lib/AST/Type.cpp | 10 +- clang/lib/Analysis/UninitializedValues.cpp | 13 +- clang/lib/Basic/Targets/PPC.h | 4 + clang/lib/Basic/Targets/VE.h | 2 +- clang/lib/Basic/Targets/X86.cpp | 281 +--- clang/lib/Basic/Targets/X86.h | 23 +- clang/lib/CodeGen/CGBuiltin.cpp | 24 - clang/lib/CodeGen/CodeGenFunction.cpp | 36 +- clang/lib/CodeGen/CodeGenFunction.h | 1 + clang/lib/Driver/ToolChains/Clang.cpp | 14 +- clang/lib/Driver/ToolChains/Darwin.cpp | 4 + clang/lib/Format/FormatTokenLexer.cpp | 12 +- clang/lib/Format/FormatTokenLexer.h | 8 +- clang/lib/Format/TokenAnalyzer.cpp | 17 +- clang/lib/Frontend/CompilerInvocation.cpp | 4 +- clang/lib/Headers/CMakeLists.txt | 1 + clang/lib/Headers/altivec.h | 195 ++- clang/lib/Headers/amxintrin.h | 225 +++ clang/lib/Headers/cpuid.h | 3 + clang/lib/Headers/immintrin.h | 5 + clang/lib/Sema/SemaChecking.cpp | 63 + clang/lib/Sema/SemaCoroutine.cpp | 8 +- .../UninitializedObjectChecker.cpp | 13 +- clang/lib/StaticAnalyzer/Core/BugReporter.cpp | 58 +- clang/lib/StaticAnalyzer/Core/CMakeLists.txt | 1 + .../StaticAnalyzer/Core/CheckerRegistryData.cpp | 241 +++ clang/lib/StaticAnalyzer/Core/Environment.cpp | 12 +- .../StaticAnalyzer/Frontend/AnalyzerHelpFlags.cpp | 8 +- .../StaticAnalyzer/Frontend/CheckerRegistry.cpp | 389 +---- .../Frontend/CreateCheckerManager.cpp | 15 +- clang/lib/Tooling/Syntax/BuildTree.cpp | 22 +- clang/test/AST/alignas_maybe_odr_cleanup.cpp | 11 +- clang/test/AST/ast-dump-APValue-anon-union.cpp | 44 + clang/test/AST/ast-dump-APValue-arithmetic.cpp | 41 + clang/test/AST/ast-dump-APValue-array.cpp | 74 + clang/test/AST/ast-dump-APValue-struct.cpp | 105 ++ clang/test/AST/ast-dump-APValue-todo.cpp | 18 + clang/test/AST/ast-dump-APValue-union.cpp | 55 + clang/test/AST/ast-dump-APValue-vector.cpp | 35 + clang/test/AST/ast-dump-attr.cpp | 1 + clang/test/AST/ast-dump-color.cpp | 6 +- clang/test/AST/ast-dump-constant-expr.cpp | 15 +- clang/test/AST/ast-dump-decl.cpp | 2 + clang/test/AST/ast-dump-records.cpp | 10 +- clang/test/AST/ast-dump-stmt.cpp | 2 + clang/test/AST/pr43983.cpp | 7 +- clang/test/Analysis/checker-plugins.c | 3 +- .../std-c-library-functions-arg-constraints.c | 4 +- .../std-c-library-functions-arg-constraints.cpp | 2 +- clang/test/Analysis/weak-dependencies.c | 2 +- clang/test/CodeGen/AMX/amx.c | 32 + clang/test/CodeGen/AMX/amx_errors.c | 17 + clang/test/CodeGen/AMX/amx_inline_asm.c | 11 + .../CodeGen/aarch64-sve-intrinsics/acle_sve_acge.c | 5 + .../CodeGen/aarch64-sve-intrinsics/acle_sve_acgt.c | 5 + .../CodeGen/aarch64-sve-intrinsics/acle_sve_acle.c | 5 + .../CodeGen/aarch64-sve-intrinsics/acle_sve_aclt.c | 5 + .../aarch64-sve-intrinsics/acle_sve_cmpeq.c | 5 + .../aarch64-sve-intrinsics/acle_sve_cmpge.c | 5 + .../aarch64-sve-intrinsics/acle_sve_cmpgt.c | 5 + .../aarch64-sve-intrinsics/acle_sve_cmple.c | 5 + .../aarch64-sve-intrinsics/acle_sve_cmplt.c | 5 + .../aarch64-sve-intrinsics/acle_sve_cmpne.c | 5 + .../aarch64-sve-intrinsics/acle_sve_cmpuo.c | 5 + .../CodeGen/aarch64-sve-intrinsics/acle_sve_dup.c | 5 + .../CodeGen/aarch64-sve-intrinsics/acle_sve_dupq.c | 5 + .../aarch64-sve-intrinsics/acle_sve_index.c | 5 + .../aarch64-sve-intrinsics/acle_sve_ld1sb.c | 5 + .../aarch64-sve-intrinsics/acle_sve_ld1sh.c | 5 + .../aarch64-sve-intrinsics/acle_sve_ld1sw.c | 5 + .../aarch64-sve-intrinsics/acle_sve_ld1ub.c | 5 + .../aarch64-sve-intrinsics/acle_sve_ld1uh.c | 5 + .../aarch64-sve-intrinsics/acle_sve_ld1uw.c | 5 + .../aarch64-sve-intrinsics/acle_sve_ldff1sb.c | 5 + .../aarch64-sve-intrinsics/acle_sve_ldff1sh.c | 5 + .../aarch64-sve-intrinsics/acle_sve_ldff1sw.c | 5 + .../aarch64-sve-intrinsics/acle_sve_ldff1ub.c | 5 + .../aarch64-sve-intrinsics/acle_sve_ldff1uh.c | 5 + .../aarch64-sve-intrinsics/acle_sve_ldff1uw.c | 5 + .../aarch64-sve-intrinsics/acle_sve_ldnf1sb.c | 5 + .../aarch64-sve-intrinsics/acle_sve_ldnf1sh.c | 5 + .../aarch64-sve-intrinsics/acle_sve_ldnf1sw.c | 5 + .../aarch64-sve-intrinsics/acle_sve_ldnf1ub.c | 5 + .../aarch64-sve-intrinsics/acle_sve_ldnf1uh.c | 5 + .../aarch64-sve-intrinsics/acle_sve_ldnf1uw.c | 5 + .../aarch64-sve-intrinsics/acle_sve_pnext.c | 5 + .../aarch64-sve-intrinsics/acle_sve_ptrue.c | 5 + .../CodeGen/aarch64-sve-intrinsics/acle_sve_rev.c | 5 + .../aarch64-sve-intrinsics/acle_sve_setffr.c | 4 + .../CodeGen/aarch64-sve-intrinsics/acle_sve_trn1.c | 5 + .../CodeGen/aarch64-sve-intrinsics/acle_sve_trn2.c | 5 + .../aarch64-sve-intrinsics/acle_sve_undef.c | 5 + .../aarch64-sve-intrinsics/acle_sve_unpkhi.c | 5 + .../aarch64-sve-intrinsics/acle_sve_unpklo.c | 5 + .../CodeGen/aarch64-sve-intrinsics/acle_sve_uzp1.c | 5 + .../CodeGen/aarch64-sve-intrinsics/acle_sve_uzp2.c | 5 + .../aarch64-sve-intrinsics/acle_sve_whilele.c | 5 + .../aarch64-sve-intrinsics/acle_sve_whilelt.c | 5 + .../CodeGen/aarch64-sve-intrinsics/acle_sve_zip1.c | 5 + .../CodeGen/aarch64-sve-intrinsics/acle_sve_zip2.c | 5 + clang/test/CodeGen/align_value.cpp | 30 +- clang/test/CodeGen/alloc-align-attr.c | 44 +- .../assume-aligned-and-alloc-align-attributes.c | 8 +- clang/test/CodeGen/builtin-align-array.c | 32 +- clang/test/CodeGen/builtin-align.c | 24 +- clang/test/CodeGen/builtin-assume-aligned.c | 32 +- clang/test/CodeGen/builtins-ppc-p10vector.c | 194 ++- clang/test/CodeGen/builtins-wasm.c | 12 - ...-assumption-attribute-align_value-on-lvalue.cpp | 8 +- ...ssumption-attribute-align_value-on-paramvar.cpp | 2 +- ...-attribute-alloc_align-on-function-variable.cpp | 10 +- ...ssumption-attribute-alloc_align-on-function.cpp | 2 +- ...ibute-assume_aligned-on-function-two-params.cpp | 10 +- ...mption-attribute-assume_aligned-on-function.cpp | 2 +- ...uiltin_assume_aligned-three-params-variable.cpp | 10 +- ...umption-builtin_assume_aligned-three-params.cpp | 10 +- ...ssumption-builtin_assume_aligned-two-params.cpp | 8 +- .../CodeGen/catch-alignment-assumption-openmp.cpp | 8 +- clang/test/CodeGen/code-coverage.c | 2 +- clang/test/CodeGen/linetable-endscope.c | 4 +- .../CodeGen/non-power-of-2-alignment-assumptions.c | 13 +- clang/test/CodeGen/opt-record-MIR.c | 10 +- clang/test/CodeGen/opt-record.c | 12 +- clang/test/CodeGen/stack-clash-protection.c | 2 + clang/test/CodeGen/target-data.c | 4 + .../test/CodeGen/thinlto-distributed-cfi-devirt.ll | 2 +- clang/test/CodeGenCXX/PR20038.cpp | 4 +- .../CodeGenCXX/builtin-amdgcn-atomic-inc-dec.cpp | 40 +- .../debug-info-inheriting-constructor.cpp | 4 +- clang/test/CodeGenCXX/debug-info-inlined.cpp | 2 +- clang/test/CodeGenCXX/debug-info-lambda.cpp | 2 +- clang/test/CodeGenCXX/debug-info-line-if.cpp | 2 +- clang/test/CodeGenCXX/debug-info-member-call.cpp | 2 +- clang/test/CodeGenCXX/debug-info-nested-exprs.cpp | 8 +- clang/test/CodeGenCXX/debug-info-scope.cpp | 2 +- clang/test/CodeGenCXX/linetable-cleanup.cpp | 6 +- clang/test/CodeGenCXX/linetable-eh.cpp | 2 +- clang/test/CodeGenCXX/linetable-fnbegin.cpp | 2 +- clang/test/CodeGenCXX/lpad-linetable.cpp | 2 +- clang/test/CodeGenObjC/arc-linetable-autorelease.m | 4 +- clang/test/CodeGenObjC/arc-linetable.m | 2 +- clang/test/CodeGenOpenCL/convergent.cl | 4 +- .../enqueue-kernel-non-entry-block.cl | 2 +- clang/test/CodeGenOpenCL/func-call-dbg-loc.cl | 2 +- clang/test/Driver/cl-options.c | 9 - clang/test/Driver/codeview-column-info.c | 9 +- clang/test/Driver/darwin-sdk-vs-os-version.c | 8 +- clang/test/Driver/darwin-warning-options.c | 7 + clang/test/Driver/debug-options.c | 4 +- clang/test/Driver/fzero-initialized-in-bss.c | 8 + clang/test/Driver/x86-target-features.c | 15 + .../Frontend/optimization-remark-line-directive.c | 4 +- clang/test/Import/switch-stmt/test.cpp | 10 + clang/test/OpenMP/for_codegen.cpp | 2 +- clang/test/OpenMP/parallel_codegen.cpp | 2 +- clang/test/OpenMP/parallel_for_codegen.cpp | 2 +- clang/test/OpenMP/simd_codegen.cpp | 16 + clang/test/OpenMP/simd_metadata.c | 117 +- clang/test/OpenMP/target_defaultmap_codegen.cpp | 48 +- clang/test/OpenMP/target_map_codegen.cpp | 32 +- ..._teams_distribute_parallel_for_simd_codegen.cpp | 5 +- clang/test/Preprocessor/x86_amx_target_features.c | 35 + .../Sema/builtin-amdgcn-atomic-inc-dec-failure.cpp | 11 +- clang/test/Sema/invalid-bitwidth-expr.mm | 5 + .../coroutine_handle-addres-return-type.cpp | 75 + .../SemaCXX/warn-uninitialized-const-reference.cpp | 21 +- clang/test/SemaOpenCL/builtins-amdgcn-error.cl | 16 +- clang/test/Tooling/clang-check-ast-dump.cpp | 1 + clang/unittests/AST/ASTImporterTest.cpp | 50 + clang/unittests/AST/StructuralEquivalenceTest.cpp | 21 + .../unittests/ASTMatchers/ASTMatchersNodeTest.cpp | 7 +- .../StaticAnalyzer/RegisterCustomCheckersTest.cpp | 195 ++- .../Tooling/RecursiveASTVisitorTests/Callbacks.cpp | 936 ++---------- clang/utils/make-ast-dump-check.sh | 4 + .../sanitizer_symbolizer_posix_libcdep.cpp | 7 - .../Inputs/instrprof-gcov-__gcov_flush-multiple.c | 18 - .../instrprof-gcov-__gcov_flush-multiple.c.gcov | 23 - .../test/profile/Inputs/instrprof-gcov-execlp.c | 15 - .../profile/Inputs/instrprof-gcov-execlp.c.gcov | 23 - .../test/profile/Inputs/instrprof-gcov-execvp.c | 17 - .../profile/Inputs/instrprof-gcov-execvp.c.gcov | 25 - .../test/profile/Inputs/instrprof-gcov-fork.c | 15 - .../test/profile/Inputs/instrprof-gcov-fork.c.gcov | 23 - .../profile/Inputs/instrprof-shared-lib.c.gcov | 14 - .../instrprof-shared-lib_called-twice.c.gcov | 14 - .../Inputs/instrprof-shared-main-gcov-flush.c | 36 - ...rprof-shared-main-gcov-flush_no-writeout.c.gcov | 41 - ...shared-main-gcov-flush_shared-call-after.c.gcov | 41 - ...main-gcov-flush_shared-call-before-after.c.gcov | 41 - ...hared-main-gcov-flush_shared-call-before.c.gcov | 41 - compiler-rt/test/profile/Posix/gcov-destructor.c | 1 + compiler-rt/test/profile/Posix/gcov-execlp.c | 28 + compiler-rt/test/profile/Posix/gcov-fork.c | 24 + compiler-rt/test/profile/Posix/gcov-shared-flush.c | 113 ++ .../test/profile/Posix/instrprof-gcov-execlp.test | 10 - .../test/profile/Posix/instrprof-gcov-execvp.test | 10 - .../test/profile/Posix/instrprof-gcov-fork.test | 13 - .../profile/Posix/instrprof-shared-gcov-flush.test | 52 - .../test/profile/gcov-__gcov_flush-terminate.c | 23 +- compiler-rt/test/profile/gcov-dump-and-remove.c | 24 + .../instrprof-gcov-__gcov_flush-multiple.test | 10 - flang/include/flang/Lower/IO.h | 98 ++ flang/include/flang/Parser/dump-parse-tree.h | 2 + flang/include/flang/Parser/parse-tree.h | 16 +- flang/lib/Lower/CMakeLists.txt | 1 + flang/lib/Lower/IO.cpp | 1493 +++++++++++++++++++ flang/lib/Parser/openmp-parsers.cpp | 16 +- flang/lib/Parser/unparse.cpp | 18 +- flang/lib/Semantics/expression.cpp | 5 +- flang/lib/Semantics/resolve-names.cpp | 10 +- flang/runtime/file.cpp | 16 +- flang/runtime/file.h | 3 + flang/runtime/io-api.cpp | 83 +- flang/runtime/io-stmt.cpp | 99 +- flang/runtime/io-stmt.h | 22 +- flang/runtime/stop.cpp | 14 + flang/runtime/stop.h | 1 + flang/runtime/terminator.cpp | 7 +- flang/runtime/terminator.h | 3 +- flang/runtime/unit-map.cpp | 9 + flang/runtime/unit-map.h | 1 + flang/runtime/unit.cpp | 492 ++++--- flang/runtime/unit.h | 34 +- flang/test/Semantics/omp-clause-validity01.f90 | 4 + flang/test/Semantics/resolve93.f90 | 44 + flang/unittests/Runtime/CMakeLists.txt | 12 + flang/unittests/Runtime/external-hello.cpp | 30 +- flang/unittests/Runtime/external-io.cpp | 399 +++++ flang/unittests/Runtime/testing.cpp | 5 +- flang/unittests/Runtime/testing.h | 1 + libc/docs/clang_tidy_checks.rst | 86 ++ libc/docs/integration_test.rst | 19 + libcxx/benchmarks/algorithms.bench.cpp | 163 +- .../mutex_time_point.pass.cpp | 80 +- lld/ELF/Arch/ARM.cpp | 2 + lld/ELF/Relocations.cpp | 2 +- lld/ELF/SymbolTable.cpp | 2 +- lld/test/ELF/debug-dead-reloc-tls-arm.s | 3 +- lld/test/wasm/data-layout.ll | 37 +- lld/wasm/SyntheticSections.cpp | 4 + lld/wasm/SyntheticSections.h | 4 +- lld/wasm/Writer.cpp | 24 +- lldb/include/lldb/Utility/Scalar.h | 2 +- lldb/packages/Python/lldbsuite/test/lldbutil.py | 4 +- lldb/source/API/SBCommandInterpreter.cpp | 2 +- lldb/source/Breakpoint/BreakpointID.cpp | 2 +- lldb/source/Plugins/Language/ObjC/Cocoa.cpp | 2 +- .../SymbolFile/DWARF/DWARFASTParserClang.cpp | 112 +- .../Plugins/SymbolFile/DWARF/DWARFASTParserClang.h | 6 + lldb/source/Utility/Scalar.cpp | 38 - .../TestDataFormatterObjCNSDate.py | 9 + .../data-formatter/data-formatter-objc/main.m | 8 + .../limit-debug-info/TestLimitDebugInfo.py | 16 + .../API/functionalities/limit-debug-info/main.cpp | 3 + .../API/functionalities/limit-debug-info/one.cpp | 1 + .../API/functionalities/limit-debug-info/onetwo.h | 15 + .../API/functionalities/limit-debug-info/two.cpp | 1 + .../resize/TestIOHandlerResizeNoEditline.py | 2 +- .../test/API/iohandler/resize/input_file | 0 lldb/tools/debugserver/source/CMakeLists.txt | 2 +- lldb/unittests/Utility/ScalarTest.cpp | 2 +- llvm/.gitignore | 2 - llvm/docs/CommandGuide/FileCheck.rst | 4 +- llvm/include/llvm/ADT/Bitfields.h | 19 +- llvm/include/llvm/Analysis/DominanceFrontier.h | 2 +- llvm/include/llvm/Analysis/PostDominators.h | 4 +- llvm/include/llvm/BinaryFormat/Wasm.h | 5 +- .../include/llvm/CodeGen/GlobalISel/CallLowering.h | 2 + llvm/include/llvm/CodeGen/MachineDominators.h | 9 - llvm/include/llvm/CodeGen/MachinePostDominators.h | 4 - llvm/include/llvm/CodeGen/ModuloSchedule.h | 3 +- llvm/include/llvm/CodeGen/SelectionDAG.h | 3 +- llvm/include/llvm/CodeGen/TargetPassConfig.h | 4 +- llvm/include/llvm/DebugInfo/GSYM/InlineInfo.h | 2 +- .../llvm/Frontend/Directive/DirectiveBase.td | 20 +- llvm/include/llvm/Frontend/OpenMP/OMP.td | 1243 +++++++++++++--- llvm/include/llvm/Frontend/OpenMP/OMPConstants.h | 3 - llvm/include/llvm/Frontend/OpenMP/OMPKinds.def | 743 ---------- llvm/include/llvm/IR/Dominators.h | 2 +- llvm/include/llvm/IR/IRBuilder.h | 46 +- llvm/include/llvm/IR/InstrTypes.h | 25 +- llvm/include/llvm/IR/Instruction.h | 13 +- llvm/include/llvm/IR/Instructions.h | 134 +- llvm/include/llvm/IR/IntrinsicsPowerPC.td | 58 + llvm/include/llvm/IR/IntrinsicsWebAssembly.td | 14 - llvm/include/llvm/IR/IntrinsicsX86.td | 29 + llvm/include/llvm/InitializePasses.h | 1 + llvm/include/llvm/MC/MCAsmInfo.h | 6 - llvm/include/llvm/MC/MCContext.h | 4 + llvm/include/llvm/MC/MCExpr.h | 15 + llvm/include/llvm/MC/MCSectionXCOFF.h | 7 +- llvm/include/llvm/MC/MCStreamer.h | 10 + llvm/include/llvm/MC/MCSymbolXCOFF.h | 32 +- llvm/include/llvm/MC/MCXCOFFStreamer.h | 5 + llvm/include/llvm/Support/FormattedStream.h | 40 +- llvm/include/llvm/Support/GenericDomTree.h | 63 +- .../llvm/Support/GenericDomTreeConstruction.h | 33 +- llvm/include/llvm/Support/Path.h | 7 + llvm/include/llvm/Support/SwapByteOrder.h | 4 + llvm/include/llvm/Support/X86TargetParser.def | 17 +- llvm/include/llvm/Support/X86TargetParser.h | 5 + llvm/include/llvm/Transforms/IPO/Attributor.h | 8 + .../include/llvm/Transforms/Utils/CodeMoverUtils.h | 10 +- llvm/lib/Analysis/AssumeBundleQueries.cpp | 13 +- llvm/lib/Analysis/InstructionSimplify.cpp | 18 + llvm/lib/Analysis/LoopAccessAnalysis.cpp | 8 +- llvm/lib/AsmParser/LLParser.cpp | 13 +- llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 10 +- llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 3 +- llvm/lib/CodeGen/EarlyIfConversion.cpp | 2 +- llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp | 8 + llvm/lib/CodeGen/GlobalISel/InstructionSelect.cpp | 12 +- llvm/lib/CodeGen/InlineSpiller.cpp | 10 +- llvm/lib/CodeGen/MachineCSE.cpp | 8 +- llvm/lib/CodeGen/MachineLICM.cpp | 18 +- llvm/lib/CodeGen/MachineSink.cpp | 5 +- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 37 +- .../CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | 44 +- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 25 + .../CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 7 +- llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 85 +- llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 2 +- llvm/lib/CodeGen/TargetPassConfig.cpp | 2 +- llvm/lib/Frontend/OpenMP/OMPConstants.cpp | 11 - llvm/lib/IR/IRBuilder.cpp | 77 +- llvm/lib/IR/Instructions.cpp | 79 +- llvm/lib/IR/Verifier.cpp | 23 +- llvm/lib/MC/MCAsmInfoXCOFF.cpp | 7 +- llvm/lib/MC/MCAsmStreamer.cpp | 33 + llvm/lib/MC/MCContext.cpp | 68 +- llvm/lib/MC/MCExpr.cpp | 28 + llvm/lib/MC/MCStreamer.cpp | 6 + llvm/lib/MC/MCSymbolXCOFF.cpp | 6 + llvm/lib/MC/WasmObjectWriter.cpp | 19 +- llvm/lib/MC/XCOFFObjectWriter.cpp | 20 +- llvm/lib/Object/WasmObjectFile.cpp | 4 +- llvm/lib/ObjectYAML/WasmYAML.cpp | 1 + llvm/lib/Support/FormattedStream.cpp | 66 +- llvm/lib/Support/Unix/Path.inc | 61 +- llvm/lib/Support/Windows/Path.inc | 6 + llvm/lib/Support/X86TargetParser.cpp | 203 ++- .../Target/AArch64/AArch64ConditionalCompares.cpp | 2 +- .../Target/AArch64/AArch64ExpandPseudoInsts.cpp | 8 +- .../Target/AArch64/GISel/AArch64CallLowering.cpp | 11 +- .../lib/Target/AArch64/GISel/AArch64CallLowering.h | 2 + llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.cpp | 91 +- llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h | 3 +- llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp | 3 + llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp | 8 +- .../AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp | 5 +- llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 72 +- llvm/lib/Target/AMDGPU/SIISelLowering.h | 3 + llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h | 4 +- llvm/lib/Target/ARM/ARMInstrVFP.td | 27 +- llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp | 130 +- llvm/lib/Target/Mips/MipsOptimizePICCall.cpp | 3 +- .../PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp | 19 +- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp | 9 +- llvm/lib/Target/PowerPC/PPCFrameLowering.cpp | 265 +++- llvm/lib/Target/PowerPC/PPCFrameLowering.h | 2 + llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 116 +- llvm/lib/Target/PowerPC/PPCISelLowering.h | 9 +- llvm/lib/Target/PowerPC/PPCInstr64Bit.td | 3 + llvm/lib/Target/PowerPC/PPCInstrInfo.td | 3 + llvm/lib/Target/PowerPC/PPCInstrPrefix.td | 108 +- llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp | 40 +- llvm/lib/Target/VE/AsmParser/VEAsmParser.cpp | 219 ++- llvm/lib/Target/VE/VEISelLowering.cpp | 2 +- llvm/lib/Target/VE/VETargetMachine.cpp | 4 +- .../WebAssembly/WebAssemblyFixBrTableDefaults.cpp | 40 +- .../Target/WebAssembly/WebAssemblyISelLowering.cpp | 6 +- .../WebAssembly/WebAssemblyInstrBulkMemory.td | 30 +- .../Target/WebAssembly/WebAssemblyInstrMemory.td | 15 +- .../WebAssembly/WebAssemblySelectionDAGInfo.cpp | 16 +- llvm/lib/Target/X86/X86ISelDAGToDAG.cpp | 58 +- llvm/lib/Target/X86/X86ISelLowering.cpp | 180 ++- llvm/lib/Target/X86/X86ISelLowering.h | 2 +- llvm/lib/Target/X86/X86InstrAMX.td | 49 +- ...86SpeculativeExecutionSideEffectSuppression.cpp | 4 +- llvm/lib/Transforms/CFGuard/CFGuard.cpp | 11 +- llvm/lib/Transforms/IPO/GlobalOpt.cpp | 11 +- llvm/lib/Transforms/IPO/OpenMPOpt.cpp | 255 +++- .../Transforms/InstCombine/InstCombineCalls.cpp | 24 +- .../Transforms/InstCombine/InstCombineCompares.cpp | 59 +- .../Transforms/InstCombine/InstCombineInternal.h | 11 +- .../InstCombine/InstCombineMulDivRem.cpp | 7 +- .../Transforms/InstCombine/InstCombineSelect.cpp | 14 - .../InstCombine/InstructionCombining.cpp | 17 +- .../Transforms/Scalar/AlignmentFromAssumptions.cpp | 112 +- llvm/lib/Transforms/Scalar/ConstantHoisting.cpp | 2 +- .../lib/Transforms/Scalar/DeadStoreElimination.cpp | 2 +- llvm/lib/Transforms/Scalar/LoopDeletion.cpp | 26 +- llvm/lib/Transforms/Scalar/LoopFuse.cpp | 10 +- llvm/lib/Transforms/Scalar/NewGVN.cpp | 2 +- llvm/lib/Transforms/Scalar/Scalarizer.cpp | 119 +- llvm/lib/Transforms/Utils/AssumeBundleBuilder.cpp | 45 +- llvm/lib/Transforms/Utils/CodeMoverUtils.cpp | 20 +- llvm/lib/Transforms/Utils/InlineFunction.cpp | 16 +- llvm/lib/Transforms/Utils/LoopSimplify.cpp | 6 +- llvm/lib/Transforms/Utils/LoopUnroll.cpp | 2 +- llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp | 2 +- llvm/lib/Transforms/Utils/LoopUtils.cpp | 5 +- llvm/lib/Transforms/Utils/Utils.cpp | 1 + llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 155 +- llvm/test/Analysis/CostModel/AMDGPU/add-sub.ll | 2 +- llvm/test/Analysis/CostModel/AMDGPU/mul.ll | 2 +- llvm/test/Analysis/CostModel/ARM/cast.ll | 462 +++--- llvm/test/Analysis/CostModel/ARM/cast_ldst.ll | 782 +++++----- llvm/test/Analysis/CostModel/ARM/load_store.ll | 20 +- .../CodeGen/AArch64/GlobalISel/arm64-fallback.ll | 17 +- llvm/test/CodeGen/AArch64/arm64-neon-copy.ll | 45 +- .../CodeGen/AArch64/sve-callbyref-notailcall.ll | 5 +- .../AArch64/sve-calling-convention-byref.ll | 5 +- llvm/test/CodeGen/AArch64/sve-fcmp.ll | 5 +- .../AArch64/sve-gather-scatter-dag-combine.ll | 5 +- llvm/test/CodeGen/AArch64/sve-gep.ll | 5 +- llvm/test/CodeGen/AArch64/sve-int-arith-imm.ll | 5 +- ...rinsics-ff-gather-loads-32bit-scaled-offsets.ll | 5 +- ...nsics-ff-gather-loads-32bit-unscaled-offsets.ll | 5 +- ...trinsics-ff-gather-loads-64bit-scaled-offset.ll | 5 +- ...insics-ff-gather-loads-64bit-unscaled-offset.ll | 5 +- ...nsics-ff-gather-loads-vector-base-imm-offset.ll | 5 +- ...cs-ff-gather-loads-vector-base-scalar-offset.ll | 5 +- ...intrinsics-gather-loads-32bit-scaled-offsets.ll | 5 +- ...trinsics-gather-loads-32bit-unscaled-offsets.ll | 5 +- ...-intrinsics-gather-loads-64bit-scaled-offset.ll | 5 +- ...ntrinsics-gather-loads-64bit-unscaled-offset.ll | 5 +- ...trinsics-gather-loads-vector-base-imm-offset.ll | 5 +- ...nsics-gather-loads-vector-base-scalar-offset.ll | 5 +- .../AArch64/sve-intrinsics-int-arith-imm.ll | 5 +- .../sve-intrinsics-ld1-addressing-mode-reg-imm.ll | 5 +- .../sve-intrinsics-ld1-addressing-mode-reg-reg.ll | 5 +- llvm/test/CodeGen/AArch64/sve-intrinsics-ld1.ll | 5 +- ...sve-intrinsics-ld1ro-addressing-mode-reg-reg.ll | 5 +- .../CodeGen/AArch64/sve-intrinsics-loads-ff.ll | 5 +- .../CodeGen/AArch64/sve-intrinsics-loads-nf.ll | 5 +- .../CodeGen/AArch64/sve-pseudos-expand-undef.mir | 22 + llvm/test/CodeGen/AArch64/sve-split-load.ll | 55 + llvm/test/CodeGen/AArch64/sve-split-store.ll | 53 + llvm/test/CodeGen/AArch64/sve-trunc.ll | 5 +- llvm/test/CodeGen/AArch64/sve-vector-splat.ll | 5 +- .../AMDGPU/GlobalISel/dynamic-alloca-divergent.ll | 4 +- .../CodeGen/AMDGPU/GlobalISel/function-returns.ll | 33 + .../GlobalISel/irtranslator-amdgpu_kernel.ll | 64 +- .../AMDGPU/expand-scalar-carry-out-select-user.ll | 121 ++ llvm/test/CodeGen/AMDGPU/indirect-call.ll | 26 +- .../CodeGen/AMDGPU/undefined-subreg-liverange.ll | 74 +- llvm/test/CodeGen/ARM/cmov_fp16.ll | 89 +- llvm/test/CodeGen/ARM/fp16-args.ll | 4 +- llvm/test/CodeGen/ARM/fp16-bitcast.ll | 4 +- llvm/test/CodeGen/ARM/fp16-fullfp16.ll | 4 +- llvm/test/CodeGen/ARM/fp16-instructions.ll | 32 +- llvm/test/CodeGen/ARM/no-fpscr-liveness.ll | 4 +- llvm/test/CodeGen/ARM/vcvt.ll | 12 +- .../CodeGen/PowerPC/aix-xcoff-symbol-rename.ll | 161 ++ .../CodeGen/PowerPC/builtins-ppc-p10permute.ll | 150 ++ .../CodeGen/PowerPC/canonical-merge-shuffles.ll | 44 + llvm/test/CodeGen/PowerPC/p10-splatImm.ll | 18 + llvm/test/CodeGen/PowerPC/p10-splatImm32.ll | 120 ++ llvm/test/CodeGen/PowerPC/ppc64-P9-mod.ll | 30 +- llvm/test/CodeGen/PowerPC/stack-clash-prologue.ll | 474 ++++++ llvm/test/CodeGen/PowerPC/test_func_desc.ll | 1 + llvm/test/CodeGen/RISCV/callee-saved-fpr32s.ll | 1557 +++++++++++++++++--- llvm/test/CodeGen/RISCV/callee-saved-fpr64s.ll | 1032 +++++++++++-- llvm/test/CodeGen/RISCV/callee-saved-gprs.ll | 1093 ++++++++++++-- llvm/test/CodeGen/RISCV/fold-addi-loadstore.ll | 24 +- llvm/test/CodeGen/RISCV/fp128.ll | 64 +- llvm/test/CodeGen/RISCV/interrupt-attr-nocall.ll | 36 +- llvm/test/CodeGen/RISCV/wide-mem.ll | 3 +- .../Thumb2/LowOverheadLoops/mve-float-loops.ll | 50 +- llvm/test/CodeGen/Thumb2/mve-masked-store.ll | 66 +- llvm/test/CodeGen/Thumb2/mve-vcvt.ll | 28 +- llvm/test/CodeGen/Thumb2/mve-vcvt16.ll | 24 +- .../CodeGen/WebAssembly/bulk-memory-intrinsics.ll | 28 - llvm/test/CodeGen/WebAssembly/bulk-memory64.ll | 210 +++ llvm/test/CodeGen/WebAssembly/memory-addr64.ll | 27 + llvm/test/CodeGen/WebAssembly/switch.ll | 60 +- llvm/test/CodeGen/X86/AMX/amx-bf16-intrinsics.ll | 13 + llvm/test/CodeGen/X86/AMX/amx-int8-intrinsics.ll | 24 + llvm/test/CodeGen/X86/AMX/amx-tile-intrinsics.ll | 36 + llvm/test/CodeGen/X86/avx512-logic.ll | 32 + llvm/test/CodeGen/X86/avx512vl-logic.ll | 33 + llvm/test/CodeGen/X86/bitcast-setcc-512.ll | 6 +- llvm/test/CodeGen/X86/bitcast-vector-bool.ll | 2 +- llvm/test/CodeGen/X86/horizontal-reduce-add.ll | 408 +++++ llvm/test/CodeGen/X86/horizontal-reduce-fadd.ll | 352 +++++ llvm/test/CodeGen/X86/masked_expandload.ll | 2 +- llvm/test/CodeGen/X86/masked_store_trunc.ll | 4 +- llvm/test/CodeGen/X86/masked_store_trunc_ssat.ll | 8 +- llvm/test/CodeGen/X86/masked_store_trunc_usat.ll | 8 +- llvm/test/CodeGen/X86/min-legal-vector-width.ll | 8 +- llvm/test/CodeGen/X86/movmsk-cmp.ll | 12 +- llvm/test/CodeGen/X86/pr46585.ll | 35 + .../test/CodeGen/X86/prefer-avx256-mask-shuffle.ll | 13 +- llvm/test/CodeGen/X86/psubus.ll | 2 +- llvm/test/CodeGen/X86/shuffle-vs-trunc-256.ll | 9 +- llvm/test/CodeGen/X86/sqrt-fastmath.ll | 119 +- llvm/test/CodeGen/X86/vector-compare-results.ll | 12 +- llvm/test/CodeGen/X86/vector-fshl-128.ll | 4 +- llvm/test/CodeGen/X86/vector-fshl-256.ll | 4 +- llvm/test/CodeGen/X86/vector-fshr-128.ll | 6 +- llvm/test/CodeGen/X86/vector-fshr-256.ll | 6 +- llvm/test/CodeGen/X86/vector-pack-128.ll | 326 ++++ llvm/test/CodeGen/X86/vector-pack-256.ll | 410 ++++++ llvm/test/CodeGen/X86/vector-pack-512.ll | 271 ++++ llvm/test/CodeGen/X86/vector-reduce-and-bool.ll | 1 - llvm/test/CodeGen/X86/vector-reduce-or-bool.ll | 3 +- llvm/test/CodeGen/X86/vector-reduce-xor-bool.ll | 2 +- llvm/test/CodeGen/X86/vector-rotate-256.ll | 6 +- llvm/test/CodeGen/X86/vector-shuffle-v48.ll | 19 +- llvm/test/CodeGen/X86/vector-trunc-packus.ll | 8 +- llvm/test/CodeGen/X86/vector-trunc-ssat.ll | 8 +- llvm/test/CodeGen/X86/vector-trunc-usat.ll | 8 +- llvm/test/CodeGen/X86/vector-trunc.ll | 4 +- llvm/test/CodeGen/X86/vselect-packss.ll | 134 +- llvm/test/CodeGen/X86/vselect-pcmp.ll | 748 +++++++--- llvm/test/CodeGen/X86/win64-byval.ll | 28 + llvm/test/CodeGen/X86/zero-initialized-in-bss.ll | 16 + llvm/test/DebugInfo/X86/packed_bitfields.ll | 8 +- llvm/test/MC/ARM/lsl-zero.s | 6 +- llvm/test/MC/VE/sym-br.s | 10 + llvm/test/MC/VE/symbols.s | 8 + llvm/test/MC/WebAssembly/bulk-memory-encodings.s | 1 + llvm/test/MC/WebAssembly/wasm64.s | 1 + ...ove-multiple-use-of-args-in-same-instruction.py | 13 + ...tiple-use-of-global-vars-in-same-instruction.py | 13 + ...ove-multiple-use-of-args-in-same-instruction.ll | 17 + ...tiple-use-of-global-vars-in-same-instruction.ll | 24 + llvm/test/Reduce/remove-operand-bundles.ll | 41 + llvm/test/TableGen/directive1.td | 18 +- llvm/test/TableGen/directive2.td | 21 +- llvm/test/ThinLTO/X86/cfi-devirt.ll | 4 +- .../Transforms/AlignmentFromAssumptions/simple.ll | 62 +- .../AlignmentFromAssumptions/simple32.ll | 114 +- llvm/test/Transforms/Inline/align.ll | 15 +- llvm/test/Transforms/InstCombine/assume.ll | 1 - .../canonicalize-selects-icmp-condition-bittest.ll | 24 +- llvm/test/Transforms/InstCombine/icmp-mul-zext.ll | 42 +- llvm/test/Transforms/InstCombine/logical-select.ll | 28 +- llvm/test/Transforms/InstCombine/mul.ll | 117 ++ llvm/test/Transforms/InstCombine/phi.ll | 4 +- .../InstCombine/select-with-bitwise-ops.ll | 146 +- llvm/test/Transforms/InstCombine/select.ll | 41 +- llvm/test/Transforms/InstCombine/shift.ll | 240 +-- llvm/test/Transforms/InstSimplify/cmp_ext.ll | 86 +- llvm/test/Transforms/LoopDeletion/basic-remark.ll | 37 + .../Transforms/LoopDeletion/unreachable-loops.ll | 25 +- .../LoopUnroll/runtime-loop-multiple-exits.ll | 88 +- .../Transforms/LoopVectorize/ARM/pointer_iv.ll | 972 ------------ .../LoopVectorize/ARM/prefer-tail-loop-folding.ll | 8 +- llvm/test/Transforms/LoopVectorize/X86/optsize.ll | 45 +- .../LoopVectorize/X86/tail_loop_folding.ll | 187 +-- llvm/test/Transforms/LoopVectorize/optsize.ll | 69 + .../LoopVectorize/pr39417-optsize-scevchecks.ll | 56 +- .../test/Transforms/LoopVectorize/runtime-check.ll | 4 +- llvm/test/Transforms/OpenMP/icv_tracking.ll | 24 +- llvm/test/Transforms/PGOProfile/chr.ll | 238 +-- .../inlining-alignment-assumptions.ll | 16 +- llvm/test/Transforms/SCCP/metadata.ll | 88 ++ llvm/test/Transforms/Scalarizer/basic.ll | 19 +- .../Scalarizer/constant-extractelement.ll | 15 +- .../Scalarizer/constant-insertelement.ll | 15 +- llvm/test/Transforms/Scalarizer/crash-bug.ll | 30 +- .../Transforms/Scalarizer/phi-unreachable-pred.ll | 10 +- .../Scalarizer/variable-extractelement.ll | 80 +- .../Scalarizer/variable-insertelement.ll | 102 +- .../Transforms/SimplifyCFG/merge-cond-stores.ll | 14 +- llvm/test/Transforms/Util/assume-builder.ll | 77 +- llvm/test/Transforms/Util/assume-simplify.ll | 1 + llvm/test/Verifier/assume-bundles.ll | 16 +- .../llvm-objcopy/ELF/add-symbol-new-symtab.test | 50 + .../MachO/install-name-tool-add-rpath.test | 7 + llvm/test/tools/llvm-readobj/ELF/addrsig.test | 2 +- .../llvm-readobj/ELF/broken-dynamic-reloc.test | 61 + .../tools/llvm-readobj/ELF/call-graph-profile.test | 63 + llvm/test/tools/llvm-readobj/ELF/hash-symbols.test | 128 ++ .../tools/llvm-readobj/ELF/linker-options.test | 13 +- llvm/test/tools/llvm-readobj/ELF/mips-got.test | 1007 +++++++------ llvm/test/tools/llvm-readobj/ELF/mips-plt.test | 184 ++- llvm/tools/llvm-objcopy/CopyConfig.cpp | 37 +- llvm/tools/llvm-objcopy/CopyConfig.h | 4 +- llvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp | 6 + llvm/tools/llvm-objcopy/ELF/Object.cpp | 49 +- llvm/tools/llvm-objcopy/ELF/Object.h | 1 + llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp | 192 +-- llvm/tools/llvm-readobj/ELFDumper.cpp | 384 +++-- llvm/tools/llvm-reduce/CMakeLists.txt | 9 +- llvm/tools/llvm-reduce/DeltaManager.h | 4 +- llvm/tools/llvm-reduce/deltas/ReduceArguments.cpp | 9 +- llvm/tools/llvm-reduce/deltas/ReduceGlobalVars.cpp | 9 +- .../llvm-reduce/deltas/ReduceOperandBundles.cpp | 161 ++ .../llvm-reduce/deltas/ReduceOperandBundles.h | 20 + llvm/tools/llvm-shlib/CMakeLists.txt | 16 +- llvm/unittests/ADT/BitFieldsTest.cpp | 12 + llvm/unittests/Analysis/AliasAnalysisTest.cpp | 9 +- .../unittests/Analysis/AssumeBundleQueriesTest.cpp | 38 - llvm/unittests/IR/DominatorTreeTest.cpp | 2 +- llvm/unittests/Support/Path.cpp | 42 + .../Support/formatted_raw_ostream_test.cpp | 139 ++ llvm/unittests/Target/ARM/MachineInstrTest.cpp | 114 +- .../Transforms/Utils/CodeMoverUtilsTest.cpp | 40 +- llvm/utils/TableGen/DirectiveEmitter.cpp | 100 +- llvm/utils/gn/build/BUILD.gn | 4 + llvm/utils/gn/build/toolchain/BUILD.gn | 49 +- .../gn/secondary/clang-tools-extra/clangd/BUILD.gn | 1 + .../clang-tools-extra/clangd/unittests/BUILD.gn | 1 + llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn | 1 + .../clang/lib/StaticAnalyzer/Core/BUILD.gn | 1 + .../gn/secondary/llvm/tools/llvm-reduce/BUILD.gn | 1 + llvm/utils/lit/lit/llvm/config.py | 6 +- llvm/utils/lit/tests/lit.cfg | 2 +- llvm/utils/lit/tests/shtest-format-argv0.py | 2 +- mlir/docs/LangRef.md | 2 +- mlir/docs/OpDefinitions.md | 12 +- mlir/docs/Quantization.md | 4 +- mlir/docs/Rationale/Rationale.md | 2 +- mlir/include/mlir-c/Core.h | 2 +- mlir/include/mlir/Analysis/AffineAnalysis.h | 12 +- mlir/include/mlir/Analysis/AffineStructures.h | 7 +- mlir/include/mlir/Analysis/LoopAnalysis.h | 10 +- mlir/include/mlir/Analysis/NestedMatcher.h | 2 +- mlir/include/mlir/Analysis/Utils.h | 8 +- mlir/include/mlir/Dialect/AVX512/AVX512.td | 4 +- mlir/include/mlir/Dialect/Affine/IR/AffineOps.h | 8 +- mlir/include/mlir/Dialect/Affine/IR/AffineOps.td | 3 +- mlir/include/mlir/Dialect/GPU/GPUBase.td | 2 +- mlir/include/mlir/Dialect/GPU/GPUOps.td | 3 +- mlir/include/mlir/Dialect/GPU/ParallelLoopMapper.h | 2 +- mlir/include/mlir/Dialect/Linalg/EDSC/Builders.h | 8 +- .../mlir/Dialect/Linalg/IR/LinalgStructuredOps.td | 8 +- mlir/include/mlir/Dialect/Linalg/IR/LinalgTraits.h | 12 +- mlir/include/mlir/Dialect/SCF/SCFOps.td | 3 +- mlir/include/mlir/Dialect/SPIRV/SPIRVBase.td | 15 +- mlir/include/mlir/Dialect/SPIRV/SPIRVLowering.h | 8 +- mlir/include/mlir/Dialect/SPIRV/SPIRVMatrixOps.td | 6 +- mlir/include/mlir/Dialect/SPIRV/SPIRVModule.h | 29 + .../mlir/Dialect/SPIRV/SPIRVStructureOps.td | 4 +- mlir/include/mlir/Dialect/SPIRV/SPIRVTypes.h | 2 +- mlir/include/mlir/Dialect/SPIRV/Serialization.h | 8 +- mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td | 2 +- .../mlir/Dialect/StandardOps/EDSC/Builders.h | 2 +- mlir/include/mlir/Dialect/StandardOps/IR/Ops.h | 7 +- mlir/include/mlir/Dialect/StandardOps/IR/Ops.td | 13 +- mlir/include/mlir/Dialect/Vector/VectorOps.h | 3 +- mlir/include/mlir/Dialect/Vector/VectorOps.td | 36 +- .../mlir/Dialect/Vector/VectorTransformPatterns.td | 2 +- .../include/mlir/Dialect/Vector/VectorTransforms.h | 118 +- mlir/include/mlir/Dialect/Vector/VectorUtils.h | 6 +- mlir/include/mlir/IR/Attributes.h | 5 +- mlir/include/mlir/IR/Diagnostics.h | 2 +- mlir/include/mlir/IR/Module.h | 39 +- mlir/include/mlir/IR/OpBase.td | 31 +- mlir/include/mlir/IR/OpDefinition.h | 10 + mlir/include/mlir/IR/OwningOpRefBase.h | 64 + mlir/include/mlir/IR/StandardTypes.h | 4 +- mlir/include/mlir/Interfaces/CMakeLists.txt | 1 + .../mlir/Interfaces/VectorUnrollInterface.h | 26 + .../mlir/Interfaces/VectorUnrollInterface.td | 45 + mlir/include/mlir/Parser.h | 4 +- mlir/include/mlir/Pass/PassOptions.h | 4 +- mlir/include/mlir/Reducer/Tester.h | 59 + mlir/include/mlir/TableGen/Operator.h | 6 +- mlir/include/mlir/TableGen/Pattern.h | 4 +- mlir/include/mlir/Transforms/DialectConversion.h | 3 +- mlir/include/mlir/Transforms/LoopFusionUtils.h | 13 +- mlir/include/mlir/Transforms/Utils.h | 2 +- mlir/lib/Analysis/AffineAnalysis.cpp | 28 +- mlir/lib/Analysis/AffineStructures.cpp | 46 +- mlir/lib/Analysis/LoopAnalysis.cpp | 11 +- mlir/lib/Analysis/NestedMatcher.cpp | 4 +- mlir/lib/Analysis/Utils.cpp | 20 +- mlir/lib/CMakeLists.txt | 3 +- .../AVX512ToLLVM/ConvertAVX512ToLLVM.cpp | 4 +- .../Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp | 2 +- .../GPUToROCDL/LowerGpuOpsToROCDLOps.cpp | 2 +- mlir/lib/Conversion/LinalgToLLVM/LinalgToLLVM.cpp | 2 +- .../lib/Conversion/LinalgToSPIRV/LinalgToSPIRV.cpp | 6 +- .../LinalgToStandard/LinalgToStandard.cpp | 4 +- mlir/lib/Conversion/SCFToGPU/SCFToGPU.cpp | 6 +- .../Conversion/StandardToLLVM/StandardToLLVM.cpp | 2 +- .../StandardToSPIRV/ConvertStandardToSPIRV.cpp | 2 +- .../VectorToLLVM/ConvertVectorToLLVM.cpp | 6 +- mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp | 39 +- mlir/lib/Dialect/Affine/IR/AffineOps.cpp | 19 +- mlir/lib/Dialect/Affine/IR/AffineValueMap.cpp | 2 +- .../Affine/Transforms/AffineDataCopyGeneration.cpp | 6 +- .../Transforms/AffineLoopInvariantCodeMotion.cpp | 8 +- mlir/lib/Dialect/Affine/Transforms/LoopTiling.cpp | 6 +- .../Dialect/Affine/Transforms/SuperVectorize.cpp | 44 +- mlir/lib/Dialect/GPU/IR/GPUDialect.cpp | 2 +- .../lib/Dialect/GPU/Transforms/KernelOutlining.cpp | 2 +- .../Dialect/GPU/Transforms/ParallelLoopMapper.cpp | 2 +- mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp | 2 +- mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp | 2 +- mlir/lib/Dialect/LLVMIR/IR/ROCDLDialect.cpp | 2 +- .../Dialect/Linalg/Analysis/DependenceAnalysis.cpp | 2 +- mlir/lib/Dialect/Linalg/EDSC/Builders.cpp | 4 +- mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | 12 +- mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp | 6 +- mlir/lib/Dialect/Linalg/Transforms/Loops.cpp | 33 +- mlir/lib/Dialect/Linalg/Transforms/Promotion.cpp | 2 +- mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp | 4 +- .../Dialect/Linalg/Transforms/Vectorization.cpp | 2 +- mlir/lib/Dialect/Linalg/Utils/Utils.cpp | 2 +- mlir/lib/Dialect/Quant/Utils/FakeQuantSupport.cpp | 2 +- mlir/lib/Dialect/Quant/Utils/QuantizeUtils.cpp | 2 +- mlir/lib/Dialect/Quant/Utils/UniformSupport.cpp | 2 +- mlir/lib/Dialect/SCF/SCF.cpp | 10 - mlir/lib/Dialect/SDBM/SDBM.cpp | 4 +- mlir/lib/Dialect/SDBM/SDBMExpr.cpp | 2 +- mlir/lib/Dialect/SPIRV/SPIRVDialect.cpp | 10 +- mlir/lib/Dialect/SPIRV/SPIRVLowering.cpp | 16 +- mlir/lib/Dialect/SPIRV/SPIRVOps.cpp | 24 +- mlir/lib/Dialect/SPIRV/SPIRVTypes.cpp | 2 +- .../Dialect/SPIRV/Serialization/Deserializer.cpp | 27 +- .../lib/Dialect/SPIRV/Serialization/Serializer.cpp | 14 +- .../SPIRV/Serialization/TranslateRegistration.cpp | 9 +- .../SPIRV/Transforms/LowerABIAttributesPass.cpp | 10 +- .../lib/Dialect/SPIRV/Transforms/UpdateVCEPass.cpp | 2 +- mlir/lib/Dialect/StandardOps/CMakeLists.txt | 1 + mlir/lib/Dialect/StandardOps/IR/Ops.cpp | 2 +- mlir/lib/Dialect/Vector/CMakeLists.txt | 1 + mlir/lib/Dialect/Vector/VectorOps.cpp | 26 +- mlir/lib/Dialect/Vector/VectorTransforms.cpp | 92 +- mlir/lib/Dialect/Vector/VectorUtils.cpp | 4 +- mlir/lib/ExecutionEngine/ExecutionEngine.cpp | 2 +- mlir/lib/IR/AffineExpr.cpp | 6 +- mlir/lib/IR/AffineMap.cpp | 4 +- mlir/lib/IR/AsmPrinter.cpp | 6 +- mlir/lib/IR/AttributeDetail.h | 2 +- mlir/lib/IR/Module.cpp | 5 - mlir/lib/IR/Operation.cpp | 18 +- mlir/lib/IR/StandardTypes.cpp | 6 +- mlir/lib/IR/Visitors.cpp | 4 +- mlir/lib/Interfaces/CMakeLists.txt | 2 + mlir/lib/Interfaces/VectorUnrollInterface.cpp | 18 + mlir/lib/Parser/AttributeParser.cpp | 2 +- mlir/lib/Parser/DialectSymbolParser.cpp | 2 +- mlir/lib/Parser/Parser.cpp | 2 +- mlir/lib/Pass/PassRegistry.cpp | 6 +- mlir/lib/Reducer/CMakeLists.txt | 7 + mlir/lib/Reducer/Tester.cpp | 48 + mlir/lib/TableGen/OpClass.cpp | 2 +- mlir/lib/TableGen/Predicate.cpp | 2 +- mlir/lib/Target/LLVMIR/DebugTranslation.cpp | 4 +- mlir/lib/Target/LLVMIR/DebugTranslation.h | 2 +- mlir/lib/Target/LLVMIR/ModuleTranslation.cpp | 2 +- mlir/lib/Transforms/CSE.cpp | 2 +- mlir/lib/Transforms/DialectConversion.cpp | 4 +- mlir/lib/Transforms/Inliner.cpp | 2 +- mlir/lib/Transforms/LoopFusion.cpp | 51 +- mlir/lib/Transforms/MemRefDataFlowOpt.cpp | 8 +- mlir/lib/Transforms/PipelineDataTransfer.cpp | 12 +- .../Utils/GreedyPatternRewriteDriver.cpp | 2 +- mlir/lib/Transforms/Utils/LoopFusionUtils.cpp | 10 +- mlir/lib/Transforms/Utils/LoopUtils.cpp | 24 +- mlir/lib/Transforms/Utils/Utils.cpp | 6 +- mlir/test/CMakeLists.txt | 1 + mlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir | 4 +- mlir/test/Conversion/GPUToSPIRV/if.mlir | 2 +- .../Conversion/VectorToSCF/vector-to-loops.mlir | 17 + mlir/test/Dialect/Affine/invalid.mlir | 29 + mlir/test/Dialect/Linalg/affine.mlir | 24 + mlir/test/Dialect/Linalg/roundtrip.mlir | 2 +- mlir/test/Dialect/SCF/invalid.mlir | 2 +- .../test/Dialect/SPIRV/Serialization/constant.mlir | 2 +- mlir/test/Dialect/SPIRV/canonicalize.mlir | 2 +- mlir/test/Dialect/SPIRV/structure-ops.mlir | 2 +- mlir/test/Dialect/SPIRV/types.mlir | 2 +- .../Dialect/Vector/vector-contract-transforms.mlir | 44 + .../Dialect/Vector/vector-flat-transforms.mlir | 7 +- mlir/test/Dialect/Vector/vector-transforms.mlir | 3 +- mlir/test/IR/invalid-affinemap.mlir | 2 +- mlir/test/IR/invalid-module-op.mlir | 2 +- mlir/test/IR/invalid.mlir | 2 +- mlir/test/Transforms/loop-fusion.mlir | 6 +- mlir/test/Transforms/memref-dependence-check.mlir | 4 +- .../TestVectorTransformPatterns.td | 2 +- mlir/test/lib/Dialect/Test/TestOps.td | 40 + mlir/test/lib/Dialect/Test/TestPatterns.cpp | 2 +- mlir/test/lib/Transforms/TestInlining.cpp | 2 +- mlir/test/lib/Transforms/TestMemRefBoundCheck.cpp | 2 +- .../lib/Transforms/TestMemRefDependenceCheck.cpp | 4 +- mlir/test/lib/Transforms/TestVectorTransforms.cpp | 18 + mlir/test/mlir-reduce/test.bat | 4 + mlir/test/mlir-reduce/test.sh | 6 + mlir/test/mlir-reduce/testcase-linux.mlir | 13 + mlir/test/mlir-reduce/testcase-windows.mlir | 13 + mlir/test/mlir-tblgen/op-decl.td | 10 +- mlir/test/mlir-tblgen/op-format.mlir | 20 + mlir/tools/CMakeLists.txt | 5 +- mlir/tools/mlir-reduce/CMakeLists.txt | 41 + mlir/tools/mlir-reduce/mlir-reduce.cpp | 97 ++ mlir/tools/mlir-rocm-runner/mlir-rocm-runner.cpp | 2 +- mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp | 43 +- mlir/tools/mlir-tblgen/OpDocGen.cpp | 2 +- mlir/tools/mlir-tblgen/OpFormatGen.cpp | 80 +- mlir/tools/mlir-tblgen/RewriterGen.cpp | 16 +- mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp | 2 +- mlir/tools/mlir-vulkan-runner/VulkanRuntime.cpp | 4 +- .../Dialect/SPIRV/DeserializationTest.cpp | 31 +- mlir/utils/spirv/gen_spirv_dialect.py | 10 +- .../deviceRTLs/amdgcn/src/hip_atomics.h | 9 +- .../deviceRTLs/amdgcn/src/target_impl.h | 14 +- openmp/libomptarget/plugins/cuda/src/rtl.cpp | 42 +- .../libomptarget/test/offloading/dynamic_module.c | 8 +- .../test/offloading/dynamic_module_load.c | 8 +- openmp/runtime/src/exports_so.txt | 2 + openmp/runtime/src/kmp_ftn_os.h | 22 + openmp/runtime/src/kmp_gsupport.cpp | 49 + openmp/runtime/src/kmp_taskdeps.cpp | 10 +- openmp/runtime/test/env/kmp_set_dispatch_buf.c | 16 +- openmp/runtime/test/lit.cfg | 1 - openmp/runtime/test/ompt/callback.h | 31 +- .../ompt/synchronization/ordered_dependences.c | 26 +- openmp/runtime/test/ompt/tasks/dependences.c | 28 +- .../{dependences.c => dependences_mutexinoutset.c} | 10 +- .../runtime/test/ompt/tasks/task_early_fulfill.c | 4 +- openmp/runtime/test/ompt/tasks/task_late_fulfill.c | 4 +- openmp/runtime/test/ompt/worksharing/for/runtime.c | 2 + .../test/ompt/worksharing/for/runtime_serialized.c | 2 + .../test/ompt/worksharing/for/runtime_split.c | 3 + openmp/runtime/test/tasking/omp_detach_taskwait.c | 4 +- .../runtime/test/tasking/omp_task_red_taskloop.c | 7 + .../test/worksharing/for/bug_set_schedule_0.c | 5 + .../test/worksharing/for/kmp_set_dispatch_buf.c | 1 + .../worksharing/for/omp_for_schedule_runtime.c | 5 + .../worksharing/for/omp_nonmonotonic_dynamic1.c | 4 + .../custom_data_storage/custom_data_storage.c | 12 +- openmp/tools/multiplex/tests/print/print.c | 12 +- polly/test/Isl/CodeGen/MemAccess/generate-all.ll | 9 +- polly/test/ScopInfo/multidim_srem.ll | 5 +- 907 files changed, 25976 insertions(+), 11020 deletions(-) create mode 100644 clang-tools-extra/clangd/ConfigProvider.cpp create mode 100644 clang-tools-extra/clangd/unittests/ConfigProviderTests.cpp create mode 100644 clang-tools-extra/docs/clang-tidy/checks/llvm-else-after-return.rst create mode 100644 clang-tools-extra/test/clang-tidy/checkers/bugprone-unused-raii [...] create mode 100644 clang/include/clang/StaticAnalyzer/Core/CheckerRegistryData.h create mode 100644 clang/lib/Headers/amxintrin.h create mode 100644 clang/lib/StaticAnalyzer/Core/CheckerRegistryData.cpp create mode 100644 clang/test/AST/ast-dump-APValue-anon-union.cpp create mode 100644 clang/test/AST/ast-dump-APValue-arithmetic.cpp create mode 100644 clang/test/AST/ast-dump-APValue-array.cpp create mode 100644 clang/test/AST/ast-dump-APValue-struct.cpp create mode 100644 clang/test/AST/ast-dump-APValue-todo.cpp create mode 100644 clang/test/AST/ast-dump-APValue-union.cpp create mode 100644 clang/test/AST/ast-dump-APValue-vector.cpp create mode 100644 clang/test/CodeGen/AMX/amx.c create mode 100644 clang/test/CodeGen/AMX/amx_errors.c create mode 100644 clang/test/CodeGen/AMX/amx_inline_asm.c create mode 100644 clang/test/Driver/darwin-warning-options.c create mode 100644 clang/test/Driver/fzero-initialized-in-bss.c create mode 100644 clang/test/Preprocessor/x86_amx_target_features.c create mode 100644 clang/test/SemaCXX/coroutine_handle-addres-return-type.cpp delete mode 100644 compiler-rt/test/profile/Inputs/instrprof-gcov-__gcov_flush-multiple.c delete mode 100644 compiler-rt/test/profile/Inputs/instrprof-gcov-__gcov_flush-mul [...] delete mode 100644 compiler-rt/test/profile/Inputs/instrprof-gcov-execlp.c delete mode 100644 compiler-rt/test/profile/Inputs/instrprof-gcov-execlp.c.gcov delete mode 100644 compiler-rt/test/profile/Inputs/instrprof-gcov-execvp.c delete mode 100644 compiler-rt/test/profile/Inputs/instrprof-gcov-execvp.c.gcov delete mode 100644 compiler-rt/test/profile/Inputs/instrprof-gcov-fork.c delete mode 100644 compiler-rt/test/profile/Inputs/instrprof-gcov-fork.c.gcov delete mode 100644 compiler-rt/test/profile/Inputs/instrprof-shared-lib.c.gcov delete mode 100644 compiler-rt/test/profile/Inputs/instrprof-shared-lib_called-twi [...] delete mode 100644 compiler-rt/test/profile/Inputs/instrprof-shared-main-gcov-flush.c delete mode 100644 compiler-rt/test/profile/Inputs/instrprof-shared-main-gcov-flus [...] delete mode 100644 compiler-rt/test/profile/Inputs/instrprof-shared-main-gcov-flus [...] delete mode 100644 compiler-rt/test/profile/Inputs/instrprof-shared-main-gcov-flus [...] delete mode 100644 compiler-rt/test/profile/Inputs/instrprof-shared-main-gcov-flus [...] create mode 100644 compiler-rt/test/profile/Posix/gcov-execlp.c create mode 100644 compiler-rt/test/profile/Posix/gcov-fork.c create mode 100644 compiler-rt/test/profile/Posix/gcov-shared-flush.c delete mode 100644 compiler-rt/test/profile/Posix/instrprof-gcov-execlp.test delete mode 100644 compiler-rt/test/profile/Posix/instrprof-gcov-execvp.test delete mode 100644 compiler-rt/test/profile/Posix/instrprof-gcov-fork.test delete mode 100644 compiler-rt/test/profile/Posix/instrprof-shared-gcov-flush.test create mode 100644 compiler-rt/test/profile/gcov-dump-and-remove.c delete mode 100644 compiler-rt/test/profile/instrprof-gcov-__gcov_flush-multiple.test create mode 100644 flang/include/flang/Lower/IO.h create mode 100644 flang/lib/Lower/IO.cpp create mode 100644 flang/test/Semantics/resolve93.f90 create mode 100644 flang/unittests/Runtime/external-io.cpp create mode 100644 libc/docs/clang_tidy_checks.rst create mode 100644 libc/docs/integration_test.rst copy clang-tools-extra/clangd/test/Inputs/background-index/sub_dir/compile_flags.t [...] create mode 100644 llvm/test/CodeGen/AArch64/sve-pseudos-expand-undef.mir create mode 100644 llvm/test/CodeGen/AArch64/sve-split-load.ll create mode 100644 llvm/test/CodeGen/AArch64/sve-split-store.ll create mode 100644 llvm/test/CodeGen/AMDGPU/expand-scalar-carry-out-select-user.ll create mode 100644 llvm/test/CodeGen/PowerPC/aix-xcoff-symbol-rename.ll create mode 100644 llvm/test/CodeGen/PowerPC/p10-splatImm32.ll create mode 100644 llvm/test/CodeGen/PowerPC/stack-clash-prologue.ll delete mode 100644 llvm/test/CodeGen/WebAssembly/bulk-memory-intrinsics.ll create mode 100644 llvm/test/CodeGen/WebAssembly/bulk-memory64.ll create mode 100644 llvm/test/CodeGen/WebAssembly/memory-addr64.ll create mode 100644 llvm/test/CodeGen/X86/AMX/amx-bf16-intrinsics.ll create mode 100644 llvm/test/CodeGen/X86/AMX/amx-int8-intrinsics.ll create mode 100644 llvm/test/CodeGen/X86/AMX/amx-tile-intrinsics.ll create mode 100644 llvm/test/CodeGen/X86/horizontal-reduce-add.ll create mode 100644 llvm/test/CodeGen/X86/horizontal-reduce-fadd.ll create mode 100644 llvm/test/CodeGen/X86/pr46585.ll create mode 100644 llvm/test/CodeGen/X86/vector-pack-128.ll create mode 100644 llvm/test/CodeGen/X86/vector-pack-256.ll create mode 100644 llvm/test/CodeGen/X86/vector-pack-512.ll create mode 100644 llvm/test/CodeGen/X86/zero-initialized-in-bss.ll create mode 100644 llvm/test/MC/VE/sym-br.s create mode 100644 llvm/test/Reduce/Inputs/remove-multiple-use-of-args-in-same-ins [...] create mode 100644 llvm/test/Reduce/Inputs/remove-multiple-use-of-global-vars-in-s [...] create mode 100644 llvm/test/Reduce/remove-multiple-use-of-args-in-same-instruction.ll create mode 100644 llvm/test/Reduce/remove-multiple-use-of-global-vars-in-same-ins [...] create mode 100644 llvm/test/Reduce/remove-operand-bundles.ll create mode 100644 llvm/test/Transforms/LoopDeletion/basic-remark.ll delete mode 100644 llvm/test/Transforms/LoopVectorize/ARM/pointer_iv.ll create mode 100644 llvm/test/Transforms/SCCP/metadata.ll create mode 100644 llvm/test/tools/llvm-objcopy/ELF/add-symbol-new-symtab.test create mode 100644 llvm/tools/llvm-reduce/deltas/ReduceOperandBundles.cpp create mode 100644 llvm/tools/llvm-reduce/deltas/ReduceOperandBundles.h create mode 100644 mlir/include/mlir/Dialect/SPIRV/SPIRVModule.h create mode 100644 mlir/include/mlir/IR/OwningOpRefBase.h create mode 100644 mlir/include/mlir/Interfaces/VectorUnrollInterface.h create mode 100644 mlir/include/mlir/Interfaces/VectorUnrollInterface.td create mode 100644 mlir/include/mlir/Reducer/Tester.h create mode 100644 mlir/lib/Interfaces/VectorUnrollInterface.cpp create mode 100644 mlir/lib/Reducer/CMakeLists.txt create mode 100644 mlir/lib/Reducer/Tester.cpp create mode 100644 mlir/test/mlir-reduce/test.bat create mode 100755 mlir/test/mlir-reduce/test.sh create mode 100644 mlir/test/mlir-reduce/testcase-linux.mlir create mode 100644 mlir/test/mlir-reduce/testcase-windows.mlir create mode 100644 mlir/tools/mlir-reduce/CMakeLists.txt create mode 100644 mlir/tools/mlir-reduce/mlir-reduce.cpp copy openmp/runtime/test/ompt/tasks/{dependences.c => dependences_mutexinoutset.c} (93%)