This is an automated email from the git hooks/post-receive script.
tcwg-buildslave pushed a change to branch linaro-local/ci/tcwg_bmk_llvm_apm/llvm-master-aarch64-spec2k6-Os in repository toolchain/ci/llvm-project.
from 2afd16fe725f [mlir] Enable MLIRDialectUtilsTests adds cc2794abeab5 [sanitizer] Switch StackStore from pointers to 32bit IDs adds a9f837bbf0ec NFC: Simplify sve-widen-phi.ll by unrolling once. adds 28a4deab921d [LV] Fix incorrectly marking a pointer indvar as 'scalar'. adds 168bc7ce7e2e [sanitizer] Remove storeIds and use padding of StackDepotNode adds 01631ffcfca7 [libc++][format] Adds formatting benchmarks. adds 7b75110fac97 [SCEV] Turn validity check in getExistingSCEV into assert (NFC). adds 730dccb98622 [libc++] Remove support for Clang 9 and older. adds cb68fc814af6 [libc++] Add myself to the credits. adds 97755ab1c67f [InstCombine] reduce code duplication; NFC adds f55d1eb3746a [InstCombine] use decomposeBitTestICmp to make icmp (trunc [...] adds 04b5c00952c3 [ARM] Add testing for various fptosi.sat patterns. NFC adds 8874ada906f6 [clang] Fix -Wreturn-type false positive in @try statements adds c73fc74ce0f8 [llvm] Use range-based for loops (NFC) adds 3495090b9bfd [LV] Move code from widenGEP to VPWidenGEPRecipe (NFC). adds 6c1c2313d1b7 [ELF] Simplify assignFileOffsets. NFC adds f9a4d9aa0309 [ELF] -z separate-*: Use max-page-size instead of common-p [...] adds 3608e18a946e [DSE] Use MapVector for IOLs adds df08b2fe8b35 [AArch64] Avoid crashing on invalid -Wa,-march= values adds f5a9bfdf8f4a [mlir] NFC - Move invalid.mlir tests to the proper dialects adds cecc6893a086 [ELF] Simplify assignFileOffsets adds d060cc1f9808 [ELF] Fix out-of-bounds write in memset(&Out::first, ...) adds 25c7ec4fc622 [ELF] Simplify OutputSection::sectionIndex assignment. NFC adds 7ea662e2dda0 [ELF] Replace one make_unique from r316378 with a stack ob [...] adds b3163c1cdde0 [Driver] Support PowerPC SPE musl dynamic linker name ld-m [...] adds 85e50c10807f [ELF] Inline InputSection::getOffset into callers and remo [...] adds e80a0b353c31 [ELF] Remove unneeded getOutputSectionVA. NFC adds 5233ad17e77e Compilation Database: Point Bazel users to a solution adds 1164c4b37583 [ELF] Simplify/remove LinkerScript::output and advance. NFC adds ace1d0ad3dc4 [mlir][python] Normalize asm-printing IR behavior. adds fd7d40640d26 [llvm] Use range-based for loops (NFC) adds 6488bd1d5171 test: add a lit configuration for Windows subdirectory adds b5f1fa3e5c15 [ELF][test] --oformat binary: Check that SIZEOF_HEADERS==0 adds 11291326cd98 [ELF] Support --oformat= beside Separate --oformat adds 01eb91fa86a0 [AIX] Disable empty.ll test using unsupported split dwarf adds 89c0f4553ea6 [ELF] Simplify/remove LinkerScript::switchTo. NFC adds e652f3f04a25 [ELF] Simplify some ctx->outSec with sec. NFC adds 286c11165e24 [ELF] Decrease InputSectionBase::entsize to uint32_t adds 4aac00a71db3 [analyzer][doc] Add user documenation for taint analysis adds 99a2d940dd77 [ELF] Speed up/simplify removeUnusedSyntheticSections. NFC adds 4709bacf18b4 [ELF] Avoid std::stable_partition which may allocate memory. NFC adds 9d1938fd1441 [flang] Return true in IsSymplyContiguous for allocatables adds a31f4bdfe821 [CodeGen][SVE] Use whilelo instruction when lowering @llvm [...] adds 0685e83534ef Fix cppcoreguidelines-virtual-base-class-destructor in macros adds 0540485436c4 [libtooling][clang-tidy] Fix crashing on rendering invalid [...] adds e1d0673aeeec [clang-tidy] Fix crashing altera-struct-pack-align on inva [...] adds a8120a771143 [clang-tidy] Ignore narrowing conversions in case of bitfields adds 1b3cd35ade5d [fir] Add base for runtime builder unittests adds fd71159f6468 [LV] Move code from widenInstruction to VPWidenRecipe. (NFC) adds 18452d1f1247 [fir] Add fir transformational intrinsic builder adds 51e2c8c9bf96 [fir] Add assignment runtime API builder adds af37d4b6fee8 [analyzer][NFC] Refactor AnalysisConsumer::getModeForDecl() adds 2e7202b0082f [fir] Add data flow optimization pass adds cffe3a084f87 [X86][Costmodel] Now that `getReplicationShuffleCost()` is [...] adds 61808066325f [AArch64][SVE] Mark fixed-type FP extending/truncating loa [...] adds 297fb66484c7 Use a deterministic order when updating the DominatorTree adds d96f92ff16ed fix typos in comments adds 5e96553608a1 [NFC][X86][LV][Costmodel] Add most basic test for masked i [...] adds 90010c2e1d60 Don't consider 'LinkageSpec' when calculating DeclContext [...] adds 84364bdaabfc [CodeGen][AArch64] Bail out in performConcatVectorsCombine [...] adds 814aabae3775 [clang-format] regressed default behavior for operator par [...] adds fc53eb69c26c Reapply 'Implement target_clones multiversioning' adds 95f34e318c46 [mlir][memref] Fix bug in verification of memref.collapse_shape adds a7363067e69a [X86] Add vector test coverage for or with no common bits tests adds 7319d11586c4 [AMDGPU] Fix "must generated" typo in docs adds 65d9dc7f1f4a [AMDGPU] Fix list indentation in docs adds 881840fc268e [AMDGPU][GlobalISel] Transform (fadd (fmul x, y), z) -> (f [...] adds 895113621653 [AMDGPU][GlobalISel] Transform (fadd (fpext (fmul x, y)), [...] adds f7322925365c [AMDGPU][GlobalISel] Transform (fadd (fma x, y, (fmul u, v [...] adds e5e49a08f116 [AMDGPU][GlobalISel] Transform (fadd (fma x, y, (fpext (fm [...] adds a7821692708c [AMDGPU][GlobalISel] Transform (fsub (fmul x, y), z) -> (f [...] adds 5fe7fcd28e5e [AMDGPU][GlobalISel] Transform (fsub (fneg (fmul, x, y)), [...] adds 37c2a2201d68 [AMDGPU][GlobalISel] Transform (fsub (fpext (fmul x, y)), [...] adds 0dd570ff56c5 [AMDGPU][GlobalISel] Transform (fsub (fpext (fneg (fmul x, [...] adds 7e73c2a66a8b [X86][Costmodel] `getInterleavedMemoryOpCostAVX512()`: mas [...] adds 1cc3b135aa61 [fir] Get rid of the global option in FIRBuilder adds 2022e2fcd05c [HWASan] Disable LTO test on aarch64. adds 77dd579827f2 [SCEV] Remove incorrect assert adds c572eb1ad9d8 [InstCombine] Fold (~A | B) ^ A --> ~(A & B) adds f240e528cea2 [llvm] Use range-based for loops (NFC) adds 8d474f1d1575 [mlir] Handle an edge case when folding reshapes with mult [...] adds 34d02fada287 [LLDB][NativePDB] fix find-functions.cpp failure on windows bots adds 23dc88622630 [NFC][AIX]Disable unsupported hip test on AIX adds a8278a747ddf [libc++] Fix incorrect REQUIRES on a locale-dependent test adds 6c27d389c8a0 OpenMP: Start calling setTargetAttributes for generated kernels adds fe270ab061fa [LLDB][NativePDB] fix find-functions.cpp failure on window [...] adds df0560ca0018 [HIP] Add atomic load, atomic store and atomic cmpxchng_we [...] adds 3c32c568844c [NFC][clang]Increase the number of driver diagnostics adds 5c6b9e1622b1 [InstCombine] (~(a | b) & c) | ~(c | (a ^ b)) -> ~((a | b) [...] adds 142044a0b52f [InstCombine] add tests for or with mul operand; NFC adds eee035235ebd [LICM] Regenerate test checks (NFC) adds 52668355f481 [mlir][sparse] some leftover cleanup from migration to buf [...] adds 25eb7fa01d7e Revert "OpenMP: Start calling setTargetAttributes for gene [...] adds 32815bc907c4 [DebugInfo][InstrRef][NFC] Test changes: DBG_VALUE to DBG_ [...] adds 4f215bfa6ee5 Update unit test API usage (NFC) adds 935abeaace12 OpenMP: Correctly query location for amdgpu-arch adds 410d276400a9 [DAG] Add tests for fpsti.sat for various architectures. NFC adds 9cf31b8d39d6 [DebugInfo][InstrRef] Preserve properties of restored variables adds 99f8b795cc03 [InstCombine] try to fold 'or' into 'mul' operand adds 1ce51a5f355f [ELF] --cref: If -Map is specified, print to the map file adds 829b62adf5db [unroll] Split full exact and full bound unroll costing [NFC] adds a20987adf4f8 [DebugInfo][InstrRef] Add indirection from dbg.declare in [...] adds a655e0f991ba [unroll] Reduce scope of UnrollFactor variable in computeU [...] adds f50207c015df [unroll] Use early return in shouldPartialUnroll [nfc] adds fc9dae420c0c [DebugInfo][InstrRef][NFC] "Final" x86 test cleanup adds 8906a0fe64ab [SCEVExpander] Drop poison generating flags when reusing i [...] adds 45ecfed6c636 [CVP] Remove ashr of -1 or 0 adds 0eee844539e4 [DebugInfo][InstrRef] Terminate overlapping variable fragments adds c7aa358798e6 [clang-tidy] Fix pr48613: "llvm-header-guard uses a reserv [...] adds 3ab150f6e44b [openmp][devicertl] Add a missing loader_uninitialized attribute adds 6f99e1aa58e3 [lldb][NFC] Format lldb/include/lldb/Symbol/Type.h adds e8b8304d76cc [NFC][Regalloc] Split canEvictInterference into hint and general adds e63c799a767b [Demangle] Add support for D simple single qualified names adds 6e08abdc256b [Demangle] Add support for multiple identifiers in D quali [...] adds b779f02a1cb7 [Demangle] Add support for D anonymous symbols adds 53dfa5254683 Tests for D112754 adds 87ba99c263af X86: Fold masked-merge when and-not is not available adds 7d4da4e1ab7f [mlir][sparse] generalize sparse tensor output implementation adds bd4c6a476fd0 Add missing header adds 2e5c47eda14a Revert "[lldb][NFC] Format lldb/include/lldb/Symbol/Type.h" adds 25a7e4b9f7c6 [sanitizer] Add Leb128 encoding/decoding adds fde937748b7d [NFC] Header comment in X86RegisterBanks.td referred to Aarch64 adds 4ae2222e143b [RISCV] Add a test case to show the bug in RISCVFrameLowering. adds 9a8856653717 [RISCV] Fix a bug in RISCVFrameLowering. adds a06d35275635 [NFC][sanitizer] Track progress of populating the block adds b121d23a9cea [RISCV] Promote f16 log/pow/exp/sin/cos/etc. to f32 libcalls. adds f1d8345a2ab3 [TwoAddressInstructionPass] Create register mapping for re [...] adds 5297cbf04532 [AMDGPU] Enable copy between VGPR and AGPR classes during [...] adds 0150645bf5ae [DebugInfo] Do not replace existing nodes from DICompileUnit adds a6e7d024a9eb [mlir][python] Add pyi stub files to enable auto completion. adds bdc3183742f1 [mlir][python] Implement more SymbolTable methods. adds a88bb5b9fee5 [mlir][python] Audit and fix a lot of the Python pyi stubs. adds 42c15c7edf17 [X86][clang] Enable floating-point type for -mno-x87 optio [...] adds 5047e3a3ba92 [ELF] Move GOT/PLT relocation code closer. NFC adds 5bbe50148f3b [clang-tidy] Warn on functional C-style casts adds 89453ed6f205 [ARM] create new pseudo t2LDRLIT_ga_pcrel for stack guards adds 8cd782487fe6 [X86][LoopVectorize] "Fix" `X86TTIImpl::getAddressComputat [...] adds c2e08aba1afd [llvm-profgen] Compute and show profile density adds 7ba70d32736a [PR52549][clang-cl] Predefine _MSVC_EXECUTION_CHARACTER_SET adds 29d4230d6b52 [RISCV] Decode vtype with reserved fields to raw immediate adds 5188f55d32a9 [ELF] Move ObjFile<ELFT>::{getLocalSymbols,getGlobalSymbol [...] adds 0d0371f58ff0 [mlir][OpDSL] Fix OpDSL tests after https://reviews.llvm.o [...] adds f89bb3c012b4 [mlir] Move bufferization-related passes to `bufferization [...] adds 3356d8837e46 [clangd] Make std symbol generation script python3 friendly adds ae1ea0bead75 [mlir] Decompose Bufferization Clone operation into Memref [...] adds 5cff77c23f43 [clang][ARM] PACBTI-M assembly support adds 5d602120c3a3 [AMDGPU] Update docs for nontemporal store adds bc5dbb0baee3 [GlobalISel] Add matchers for constant splat. adds 9a14adeae000 [lldb] Remove 'extern "C"' from the lldb-swig-python interface adds f02c5f347831 [Analyzer][solver] Do not remove the simplified symbol fro [...] adds 0a17896fe6fd [Analyzer][Core] Make SValBuilder to better simplify svals [...] adds dab776dd0fb4 [LV] Move code from widenSelectInstruction to VPWidenSelec [...] adds a48e05030bbd [DebugInfo][InstrRef] "final final" test cleanups for x86 tests adds de21f346913c [libc] Add memmove benchmarks adds af059dfef5a7 [libc] Add a reasonably optimized version for bcmp adds a34f24689945 [libc++][ABI BREAK] Do not use the C++03 emulation for std [...] adds 52ff3b009388 [DAG] Create fptosi.sat from clamped fptosi adds 8dda516b8325 [DebugInfo][InstrRef] Avoid dropping fragment info during [...] adds 14c4051122bf [AMDGPU][NFC] Remove unused defvar in AMDGPUInstructions.td. adds 7093c8101033 [DebugInfo][InstrRef][X86] Instrument expanded DYN_ALLOCAs adds f910aa910555 [mlir] Fix BufferizationToMemRef build. adds 97db64082eb0 [mlir] Add bazel build for BufferizationToMemRef. adds 651122fc4ac9 [DebugInfo][InstrRef] Pre-land on-by-default-for-x86 changes adds 47f759309eea [fir] Add array value copy pass adds ee0c75eba31b [gn build] (semimanually) port 25a7e4b9f7c6 adds a6e673643c44 [lldb] Inline Platform::LoadCachedExecutable into its (sin [...] adds 1408684957bb [lldb] Introduce PlatformQemuUser adds 9a86eb560248 [X86] Add mulh test coverage for extension to illegal type adds 3c045070882f [DebugInfo] Turn instruction referencing on by default for x86 adds 6f4dd1b2dca8 [BuildLibCalls] Add memset_chk test. adds 41d59a36459e [DSE] Add memset_chk tests. adds 0c1b18f0f3e5 Test commit adds a87782c34d66 Revert "[DAG] Create fptosi.sat from clamped fptosi" adds 6e2aecd759dc [clang][dataflow] Add base types for building dataflow analyses adds c01c62c76c60 [MC][ELF] Fix accepting abbreviated form with Type change adds cf3422d3df5b [fir] Add fir reduction builder adds 74cbd71072de [lld-macho] Mark dylib symbols coming from -weak_framework [...] adds 914e72d40014 [mlir][linalg] Run CSE after every CodegenStrategy transfo [...] adds 7986a5f23ebb [OpenMP] Add RTL function to externalization RAII adds 1ae7342a7dd4 [mlir][linalg] Fix windows build issue in hoist padding. adds 9e8a71caf02a [DAG] Create fptosi.sat from clamped fptosi adds 7f7103cd06b0 [mlir][linalg] Use top down traversal for padding. adds 3e32f827e264 [clang][dataflow] Fix broken build in ClangStaticAnalyzer adds 316e627c2b98 [mlir][linalg] Support the empty anchor op string when padding. adds c9ad356266f3 [DSE] Use optimized access if available for redundant stor [...] adds 1e8286467036 Use VersionTuple for parsing versions in Triple. This make [...] adds 98dbcff19cfe [mlir][linalg] Adapt the decompose patterns to use a filte [...] adds c8f2139eb0de [mlir][linalg] Add decompose to CodegenStrategy. adds eb97c89cacb8 [fir] Remove unused fct recordTypeCanBeMemCopied adds 3cc21ee6b966 Revert "[fir] Add fir reduction builder" adds ca57b80cd676 Code quality: Combine V_RSQ adds 455a2b824d77 Fix file extension of alignment-assumption-ignorelist.cppp test adds c41b318423c4 [LV] Remove unneeded cast to Operator [NFC] adds fd1d8e45f488 [clang][dataflow] Make header parse adds b8e03be88dc8 [PS4][DWARF] Explicitly set default DWARF version to 4 adds bf317f66989c [CSSPGO] Sorting nodes in a cycle of profiled call graph. adds 5e3200f3ce5a [JITLink][ELF] Add support for reading extended table adds c737d4d20321 [JITLink][ELF] Don't skip sections of size 0 adds 37d72991c136 [SCEV] Track and invalidate ValuesAtScopes users adds a356dae74c87 [RegionPass] Added check for -filter-print-funcs option to [...] adds 40d5eeac6cd8 Revert "Use VersionTuple for parsing versions in Triple. T [...] adds fc57cfad3c1e [SLP][NFC]Move static function to make it visible in membe [...] adds 746e632dafbe [InstSimplify] add tests for 'or' logic folds; NFC adds 1fdb0f6ffdff [InstSimplify] add tests for 'or' with logic ops; NFC adds 8dec0b23da11 [InstSimplify] refactor 'or' logic folds; NFC adds 33f8c1168f39 [InstSimplify] adjust tests for 'or' of logic ops; NFC adds 7a7c059d8675 [InstSimplify] reduce code duplication for 'or' logic fold; NFC adds dce6c434ead3 [SLP]Improve isFixedVectorShuffle and its use. adds c0b33a65f21c Typo fix adds 8bc593cbbb1a [flang] Address TODO from previous changes to IsSaved() adds 7cca33b40f77 [memprof] Extend llvm-profdata to display MemProf profile [...] adds 299cec3c51a9 [gn build] Port 7cca33b40f77 adds 8c3641d03ec0 [ELF] Change -z unknown from error to warning adds 6076c1dc1ca1 [InstSimplify] make 'or' test names more descriptive; NFC adds c49ef1448d17 [InstSimplify] reduce code duplication for 'or' logic folds; NFC adds 4b30076f16fc [InstSimplify] add logic fold for 'or' adds 0a302f666737 [lldb] Search PrivateFrameworks when using an internal SDK adds 4fa9e435209e [lldb] Fix indentation in builders/darwin.py adds ad45df91ad6a [ELF][PPC64] Remove unneeded PPC64PCRelLongBranchThunk adds a2ce97cc3f99 [memprof] Fix unit test build after refactoring shared header. adds 155f5a6dac62 [libc][clang-tidy] fix namespace check for externals adds 2e114e3fda4f fix inverted logic for HideUnrelatedOptions adds 13bdb7ab4a7a [mlir][tosa] Add tosa.conv2d as fully_connected canonicalization adds 1cf11df59128 [memprof] Disable pedantic warnings, suppress variadic mac [...] adds c379911a94c1 [NFC][Clang]Inclusive language: Replace uses of whitelist [...] adds f5ad6fa279cc [clang][docs] Inclusive language: remove use of sanity che [...] adds c9f9be0381d1 [SCEV] Verify integrity of ValuesAtScopes and users (NFC) adds 86d5dc9afc9b [memprof] Disallow memprof profile reader tests on non-x86 archs. adds 18308e171b5b AArch64 GIsel: legalize lshr operands, even if it is poison adds 311dd55c9eb9 [mlir][MemRef] Fix SubViewOp canonicalization when a subse [...] adds a08b750ce9df [mlir][tensor] InsertSliceOp verification. adds 5f2e8f579697 [lldb] Mark TestTsanBasic and TestUbsanBasic as "no debug [...] adds c47135949779 [lldb] Fix TypeError: argument of type 'NoneType' is not iterable adds 196204c72c68 [flang] Fix usage & catch errors for MAX/MIN with keyword= [...] adds d1326a3b1005 [lldb] Fix broken skipUnlessUndefinedBehaviorSanitizer decorator adds 3ad0c6b75ea5 [clang-repl][NFC] Fix calling convention mismatch in test adds cbd445e4a331 [flang] Re-fold bounds expressions in DATA implied DO loops adds 0e85232fa39d [mlir][sparse] refine simply dynamic sparse tensor outputs adds 80cdf0db67e2 [flang] Correct INQUIRE(POSITION= & PAD=) adds 7e6df41f655e [NFC] Refactor symbol table parsing. adds 9e3e1aad3161 [InstCombine] Allow fake vector insert folding to bit-logi [...] adds aeeacbd989fc [NFC][sanitizer] Fail test quickly adds 63f417ef3996 [ADT] Remove 0-width Asserts in APInt.getZExtValue adds 77ff6f7df869 [flang] Define & implement a lowering support API IsContig [...] adds 618f8dc5e5b5 [OpenMP][libomp][doc] Add environment variables documentation adds 858eb8fc11e2 [TSan][Darwin] Avoid crashes due to interpreting non-zero [...] adds 0850655da69a Big-endian version of vpermxor adds a503cb00d105 [NFC][regalloc] Factor accesses to ExtraRegInfo adds 9b704d31b54a [Clang] Add option to disable -mconstructor-aliases with - [...] adds 73863648892e Revert "[MLIR] Update Vector To LLVM conversion to be awar [...] adds 1ee6f7add1ca [flang] Rearrange prototype & code placement of IsCoarray() adds fe0508dc9d42 [mlir][sparse] fix typos in integration tests adds 5e2358c781b8 [runtimes][openmp] Change to not treat ARCH-unknown-linux- [...] adds 41a681ce096d [FS-AFDO][llvm-profgen] Generate profile with FS-AFDO disc [...] adds b83a4222b1ab [ObjectYAML/obj2yaml/yaml2obj][MachO] Support indirect sym [...] adds f15a8545672a [llvm-profgen] Truncate the context with zero probe ID adds 61e353e0b623 [mlir][sparse] added sparse out element wise mult integrat [...] adds 7c1d77798346 [NFC][sanitizer] Add entry point for compression adds 520f641877cd [test] Avoid dumping .o in source tree (expand-pseudos.ll) adds 47f230ba2c8f Add toggling for -fnew-infallible/-fno-new-infallible adds 7d18267cfef7 [libcxx][doc] Document recent spaceship projects progress adds d8f9eaad89fa [RISCV] Teach RISCVTargetLowering::shouldSinkOperands to h [...] adds bf18253b0ee5 [sanitizer] Add compress_stack_depot flag adds 62fea88bc588 [mlir] Update accessors prefixed form (NFC) adds 65a3de91ab3e [X86] Pre-commit tests to show the problem of SQRT when `R [...] adds 92a8dc0735cf [lldb] Temporarily skip TestTsanBasic on Darwin adds 3a4d373ec2ba [memprof] Align each rawprofile section to 8b. adds 1d8f2957591c [sanitizer] Add delta compression stack depot adds 15826eb43746 [Legalizer] Avoid expansion to BR_CC if illegal adds 4b553297ef3e [clang-offload-bundler] Reuse original file extension for [...] adds bc38673e4de5 [mlir] Make sure linearizeCollapsedDims doesn't drop input [...] adds 9a844c2a9b5c Revert "[mlir] Make sure linearizeCollapsedDims doesn't dr [...] adds 69a8a7cf2dc4 [mlir] Make sure linearizeCollapsedDims doesn't drop input [...] new ce22b7f17b6a [NPM] Fix LoopNestPasses in -print-pipeline-passes
The 1 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: clang-tools-extra/clang-doc/ClangDoc.h | 2 +- .../clang-tidy/ClangTidyDiagnosticConsumer.cpp | 10 +- .../clang-tidy/altera/StructPackAlignCheck.cpp | 4 + .../NarrowingConversionsCheck.cpp | 51 +- .../VirtualClassDestructorCheck.cpp | 11 +- .../clang-tidy/google/AvoidCStyleCastsCheck.cpp | 49 +- .../clang-tidy/llvmlibc/CalleeNamespaceCheck.cpp | 12 + clang-tools-extra/clang-tidy/utils/HeaderGuard.cpp | 11 +- clang-tools-extra/clang-tidy/utils/HeaderGuard.h | 3 + .../clangd/include-mapping/gen_std.py | 6 +- clang-tools-extra/docs/ReleaseNotes.rst | 5 +- ...era-struct-pack-align-invalid-decl-no-crash.cpp | 6 + ...eguidelines-narrowing-conversions-bitfields.cpp | 203 + .../cppcoreguidelines-virtual-class-destructor.cpp | 50 + .../checkers/google-readability-casting.cpp | 54 +- .../checkers/llvmlibc-callee-namespace.cpp | 6 + .../infrastructure/export-diagnostics.cpp | 23 + .../clang-tidy/ClangTidyDiagnosticConsumerTest.cpp | 45 + .../unittests/clang-tidy/LLVMModuleTest.cpp | 10 + clang/docs/ClangCommandLineReference.rst | 4 +- clang/docs/JSONCompilationDatabase.rst | 6 + clang/docs/ThreadSafetyAnalysis.rst | 4 +- clang/docs/analyzer/checkers.rst | 30 +- clang/docs/analyzer/user-docs.rst | 1 + .../user-docs/TaintAnalysisConfiguration.rst | 170 + clang/include/clang/AST/Decl.h | 7 +- clang/include/clang/AST/Expr.h | 8 +- .../Analysis/FlowSensitive/DataflowAnalysis.h | 134 + .../Analysis/FlowSensitive/DataflowEnvironment.h | 27 + .../clang/Analysis/FlowSensitive/DataflowLattice.h | 29 + .../FlowSensitive/TypeErasedDataflowAnalysis.h | 95 + clang/include/clang/Basic/Attr.td | 34 + clang/include/clang/Basic/AttrDocs.td | 34 + clang/include/clang/Basic/Builtins.def | 5 +- clang/include/clang/Basic/BuiltinsPPC.def | 1 + clang/include/clang/Basic/DiagnosticGroups.td | 7 +- clang/include/clang/Basic/DiagnosticIDs.h | 2 +- clang/include/clang/Basic/DiagnosticSemaKinds.td | 39 +- clang/include/clang/Driver/Options.td | 20 +- clang/include/clang/Sema/Sema.h | 4 + clang/lib/AST/ASTContext.cpp | 9 + clang/lib/AST/Decl.cpp | 6 + clang/lib/AST/DeclBase.cpp | 2 +- clang/lib/AST/Expr.cpp | 3 + clang/lib/AST/StmtPrinter.cpp | 3 +- clang/lib/Analysis/CMakeLists.txt | 1 + clang/lib/Analysis/FlowSensitive/CMakeLists.txt | 7 + .../FlowSensitive/TypeErasedDataflowAnalysis.cpp | 35 + clang/lib/Basic/Targets/OSTargets.cpp | 8 + clang/lib/Basic/Targets/X86.cpp | 10 +- clang/lib/CodeGen/CGAtomic.cpp | 14 + clang/lib/CodeGen/CodeGenModule.cpp | 103 +- clang/lib/CodeGen/CodeGenModule.h | 1 + clang/lib/Driver/ToolChains/Arch/AArch64.cpp | 15 +- clang/lib/Driver/ToolChains/Clang.cpp | 5 +- clang/lib/Driver/ToolChains/Linux.cpp | 3 + clang/lib/Driver/ToolChains/PS4CPU.h | 1 + clang/lib/Format/TokenAnnotator.cpp | 8 +- clang/lib/Sema/AnalysisBasedWarnings.cpp | 2 +- clang/lib/Sema/SemaChecking.cpp | 14 +- clang/lib/Sema/SemaDecl.cpp | 118 +- clang/lib/Sema/SemaDeclAttr.cpp | 143 +- .../StaticAnalyzer/Core/RangeConstraintManager.cpp | 54 +- .../lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp | 32 +- .../StaticAnalyzer/Frontend/AnalysisConsumer.cpp | 26 +- .../expr-inspection-printState-eq-classes.c | 4 +- .../svalbuilder-simplify-compound-svals.cpp | 76 + .../symbol-simplification-disequality-info.cpp | 57 +- ...ymbol-simplification-fixpoint-one-iteration.cpp | 17 +- ...mbol-simplification-fixpoint-two-iterations.cpp | 25 +- clang/test/Analysis/taint-tester.c | 7 +- clang/test/CodeGen/attr-target-clones.c | 126 + clang/test/CodeGen/builtins-ppc-crypto.c | 56 + clang/test/CodeGenCUDA/atomic-ops.cu | 106 +- clang/test/CodeGenCXX/attr-target-clones.cpp | 116 + clang/test/CodeGenCXX/constructor-alias.cpp | 4 +- clang/test/CodeGenCXX/new-infallible.cpp | 9 + clang/test/Driver/aarch64-target-as-march.s | 9 + clang/test/Driver/armv8.1m.main.c | 4 + clang/test/Driver/debug-var-experimental-switch.c | 2 - clang/test/Driver/fat-archive-unbundle-ext.c | 21 + clang/test/Driver/hip-version.hip | 1 + clang/test/Driver/linux-ld.c | 4 + clang/test/Driver/new-infallible.cpp | 5 + ...pragma-attribute-supported-attributes-list.test | 1 + clang/test/Preprocessor/init.c | 1 + clang/test/Preprocessor/macro-reserved.c | 2 +- clang/test/Preprocessor/macro-reserved.cpp | 2 +- clang/test/Sema/attr-cpuspecific.c | 3 +- clang/test/Sema/attr-target-clones.c | 88 + clang/test/Sema/conversion.c | 2 +- clang/test/Sema/x86-no-x87.cpp | 22 +- clang/test/SemaCUDA/atomic-ops.cu | 86 + clang/test/SemaCXX/attr-target-clones.cpp | 11 + clang/test/SemaCXX/lookup-through-linkage.cpp | 33 + clang/test/SemaCXX/reinterpret-cast.cpp | 2 +- clang/test/SemaObjC/return-noreturn.m | 13 + clang/test/SemaObjC/warn-retain-cycle.m | 2 +- .../clang-offload-bundler/ClangOffloadBundler.cpp | 10 +- clang/unittests/Driver/SanitizerArgsTest.cpp | 8 +- clang/unittests/Format/FormatTest.cpp | 22 +- clang/unittests/Interpreter/InterpreterTest.cpp | 2 +- compiler-rt/include/CMakeLists.txt | 1 + compiler-rt/include/profile/MemProfData.inc | 61 + compiler-rt/lib/memprof/CMakeLists.txt | 1 + compiler-rt/lib/memprof/memprof_rawprofile.cpp | 69 +- compiler-rt/lib/memprof/memprof_rawprofile.h | 11 +- compiler-rt/lib/memprof/tests/CMakeLists.txt | 8 +- compiler-rt/lib/memprof/tests/rawprofile.cpp | 17 +- compiler-rt/lib/sanitizer_common/CMakeLists.txt | 1 + .../lib/sanitizer_common/sanitizer_flags.inc | 2 + .../lib/sanitizer_common/sanitizer_leb128.h | 87 + .../lib/sanitizer_common/sanitizer_stack_store.cpp | 207 +- .../lib/sanitizer_common/sanitizer_stack_store.h | 55 +- .../lib/sanitizer_common/sanitizer_stackdepot.cpp | 29 +- .../lib/sanitizer_common/tests/CMakeLists.txt | 1 + .../tests/sanitizer_leb128_test.cpp | 83 + .../tests/sanitizer_stack_store_test.cpp | 127 +- compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp | 143 +- compiler-rt/test/hwasan/TestCases/lto.c | 3 +- .../TestCases/compress_stack_depot.cpp | 37 + ...st.cppp => alignment-assumption-ignorelist.cpp} | 0 flang/include/flang/Evaluate/tools.h | 4 +- flang/include/flang/Optimizer/Builder/FIRBuilder.h | 27 +- .../flang/Optimizer/Builder/Runtime/Assign.h | 32 + .../flang/Optimizer/Builder/Runtime/RTBuilder.h | 429 ++ .../Optimizer/Builder/Runtime/Transformational.h | 63 + .../flang/Optimizer/Dialect/FIROpsSupport.h | 1 + flang/include/flang/Optimizer/Dialect/FIRTypes.td | 12 + flang/include/flang/Optimizer/Transforms/Factory.h | 94 + flang/include/flang/Optimizer/Transforms/Passes.h | 2 + flang/include/flang/Optimizer/Transforms/Passes.td | 32 + flang/include/flang/Runtime/reduction.h | 5 +- flang/include/flang/Runtime/support.h | 26 + flang/include/flang/Runtime/transformational.h | 5 +- flang/lib/Evaluate/check-expression.cpp | 9 +- flang/lib/Evaluate/intrinsics.cpp | 83 +- flang/lib/Evaluate/tools.cpp | 29 +- flang/lib/Optimizer/Builder/CMakeLists.txt | 2 + flang/lib/Optimizer/Builder/FIRBuilder.cpp | 118 +- flang/lib/Optimizer/Builder/Runtime/Assign.cpp | 26 + .../Optimizer/Builder/Runtime/Transformational.cpp | 176 + flang/lib/Optimizer/Dialect/FIROps.cpp | 10 +- flang/lib/Optimizer/Transforms/ArrayValueCopy.cpp | 820 +++ flang/lib/Optimizer/Transforms/CMakeLists.txt | 4 + .../lib/Optimizer/Transforms/MemRefDataFlowOpt.cpp | 130 + flang/lib/Semantics/check-allocate.cpp | 2 +- flang/lib/Semantics/check-declarations.cpp | 10 +- flang/lib/Semantics/check-do-forall.cpp | 2 +- flang/lib/Semantics/data-to-inits.cpp | 31 +- flang/lib/Semantics/resolve-names.cpp | 2 +- flang/lib/Semantics/tools.cpp | 9 +- flang/runtime/CMakeLists.txt | 1 + flang/runtime/connection.h | 3 +- flang/runtime/file.cpp | 21 +- flang/runtime/file.h | 10 +- flang/runtime/io-stmt.cpp | 128 +- flang/runtime/reduction.cpp | 1 + flang/runtime/support.cpp | 20 + flang/runtime/terminator.h | 1 - flang/runtime/transformational.cpp | 1 + flang/runtime/unit.cpp | 2 +- flang/runtime/unit.h | 2 + flang/test/Evaluate/folding01.f90 | 2 +- flang/test/Evaluate/folding09.f90 | 4 +- flang/test/Fir/array-value-copy.fir | 535 ++ flang/test/Fir/invalid.fir | 10 + flang/test/Fir/memref-data-flow.fir | 79 + flang/test/Semantics/call23.f90 | 10 + .../unittests/Optimizer/Builder/FIRBuilderTest.cpp | 4 +- .../Optimizer/Builder/Runtime/AssignTest.cpp | 21 + .../Builder/Runtime/RuntimeCallTestBase.h | 118 + .../Builder/Runtime/TransformationalTest.cpp | 129 + flang/unittests/Optimizer/CMakeLists.txt | 2 + libc/benchmarks/CMakeLists.txt | 8 +- libc/benchmarks/LibcDefaultImplementations.cpp | 7 + libc/benchmarks/LibcFunctionPrototypes.h | 6 + libc/benchmarks/LibcMemoryBenchmark.cpp | 3 + libc/benchmarks/LibcMemoryBenchmark.h | 18 + libc/benchmarks/LibcMemoryBenchmarkMain.cpp | 4 + libc/benchmarks/LibcMemoryGoogleBenchmarkMain.cpp | 6 + libc/benchmarks/automemcpy/lib/CodeGen.cpp | 6 + libc/docs/clang_tidy_checks.rst | 8 + .../__support/FPUtil/NearestIntegerOperations.h | 2 +- libc/src/__support/str_to_float.h | 20 +- libc/src/__support/str_to_integer.h | 8 +- libc/src/math/generic/math_utils.h | 2 +- libc/src/string/CMakeLists.txt | 51 +- libc/src/string/bcmp.cpp | 12 +- libc/src/string/memory_utils/CMakeLists.txt | 4 + .../src/string/memory_utils/bcmp_implementations.h | 61 + libc/src/string/strdup.cpp | 2 +- libc/src/string/strndup.cpp | 2 +- libc/test/src/string/bcmp_test.cpp | 6 +- libcxx/CREDITS.TXT | 4 + libcxx/benchmarks/format.bench.cpp | 36 + libcxx/benchmarks/format_to.bench.cpp | 107 + libcxx/benchmarks/format_to_n.bench.cpp | 107 + libcxx/benchmarks/formatted_size.bench.cpp | 36 + libcxx/docs/ReleaseNotes.rst | 11 + libcxx/docs/Status/SpaceshipProjects.csv | 15 +- libcxx/include/__config | 21 +- libcxx/include/type_traits | 4 +- .../locale_dependent.compile.pass.cpp | 3 +- lld/ELF/Driver.cpp | 11 +- lld/ELF/InputFiles.cpp | 10 - lld/ELF/InputFiles.h | 12 +- lld/ELF/InputSection.cpp | 4 +- lld/ELF/InputSection.h | 16 +- lld/ELF/LinkerScript.cpp | 81 +- lld/ELF/LinkerScript.h | 4 - lld/ELF/MapFile.cpp | 55 +- lld/ELF/MapFile.h | 3 +- lld/ELF/Options.td | 7 +- lld/ELF/OutputSections.cpp | 1 - lld/ELF/OutputSections.h | 1 - lld/ELF/Relocations.cpp | 52 +- lld/ELF/Thunks.cpp | 58 +- lld/ELF/Writer.cpp | 113 +- lld/MachO/Symbols.h | 7 +- lld/docs/ReleaseNotes.rst | 2 + lld/docs/ld.lld.1 | 4 +- lld/test/ELF/cref.s | 17 +- lld/test/ELF/driver.test | 12 +- lld/test/ELF/fill-trap-ppc.s | 34 +- lld/test/ELF/fill-trap.s | 10 +- lld/test/ELF/oformat-binary.s | 7 +- lld/test/ELF/ppc64-pcrel-cross-link.s | 4 +- lld/test/ELF/ppc64-pcrel-long-branch-error.s | 3 +- lld/test/ELF/ppc64-pcrel-long-branch.s | 2 +- lld/test/MachO/weak-import.s | 30 +- lldb/bindings/python/python-wrapper.swig | 194 +- lldb/bindings/python/python.swig | 1 + lldb/include/lldb/Symbol/ObjectFile.h | 28 +- lldb/include/lldb/Symbol/Symtab.h | 9 +- lldb/include/lldb/Target/Platform.h | 4 - .../Python/lldbsuite/test/builders/darwin.py | 12 +- lldb/packages/Python/lldbsuite/test/decorators.py | 18 +- .../Python/lldbsuite/test/gdbclientutils.py | 41 +- lldb/source/Core/Module.cpp | 11 +- .../ObjectFile/Breakpad/ObjectFileBreakpad.cpp | 7 +- .../ObjectFile/Breakpad/ObjectFileBreakpad.h | 2 +- .../Plugins/ObjectFile/ELF/ObjectFileELF.cpp | 244 +- lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h | 11 +- .../Plugins/ObjectFile/JIT/ObjectFileJIT.cpp | 21 +- lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.h | 2 +- .../Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp | 83 +- .../Plugins/ObjectFile/Mach-O/ObjectFileMachO.h | 2 +- lldb/source/Plugins/ObjectFile/PDB/ObjectFilePDB.h | 2 +- .../Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp | 238 +- .../Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h | 2 +- .../Plugins/ObjectFile/wasm/ObjectFileWasm.cpp | 2 +- .../Plugins/ObjectFile/wasm/ObjectFileWasm.h | 2 +- lldb/source/Plugins/Platform/CMakeLists.txt | 1 + .../Plugins/Platform/QemuUser/CMakeLists.txt | 20 + .../Plugins/Platform/QemuUser/PlatformQemuUser.cpp | 148 + .../Plugins/Platform/QemuUser/PlatformQemuUser.h | 57 + .../QemuUser/PlatformQemuUserProperties.td | 12 + .../Plugins/Process/minidump/ProcessMinidump.cpp | 2 +- .../ScriptInterpreter/Python/SWIGPythonBridge.h | 152 +- .../Python/ScriptInterpreterPython.cpp | 176 +- .../SymbolFile/Breakpad/SymbolFileBreakpad.cpp | 3 +- .../Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp | 7 + .../Plugins/SymbolFile/PDB/SymbolFilePDB.cpp | 1 - lldb/source/Symbol/ObjectFile.cpp | 38 +- lldb/source/Symbol/Symtab.cpp | 9 +- lldb/source/Target/Platform.cpp | 24 +- .../functionalities/tsan/basic/TestTsanBasic.py | 2 + .../functionalities/ubsan/basic/TestUbsanBasic.py | 1 + .../dollar-in-variable => qemu}/Makefile | 0 lldb/test/API/qemu/TestQemuLaunch.py | 83 + lldb/test/API/qemu/main.c | 3 + lldb/test/API/qemu/qemu.py | 37 + lldb/test/Shell/Process/Windows/lit.local.cfg | 2 + .../Shell/SymbolFile/NativePDB/find-functions.cpp | 10 +- .../Platform/PlatformAppleSimulatorTest.cpp | 5 +- .../ScriptInterpreter/Python/PythonTestSuite.cpp | 174 +- llvm/docs/AMDGPUUsage.rst | 50 +- llvm/include/llvm/ADT/APInt.h | 4 +- llvm/include/llvm/ADT/SCCIterator.h | 133 + llvm/include/llvm/Analysis/ScalarEvolution.h | 5 + llvm/include/llvm/CodeGen/CommandFlags.h | 5 + .../llvm/CodeGen/GlobalISel/CombinerHelper.h | 48 + .../llvm/CodeGen/GlobalISel/MIPatternMatch.h | 42 + llvm/include/llvm/CodeGen/GlobalISel/Utils.h | 12 + llvm/include/llvm/CodeGen/TargetLowering.h | 65 +- llvm/include/llvm/IR/IntrinsicsPowerPC.td | 4 + llvm/include/llvm/ObjectYAML/MachOYAML.h | 1 + llvm/include/llvm/ProfileData/MemProfData.inc | 61 + llvm/include/llvm/ProfileData/RawMemProfReader.h | 43 + llvm/include/llvm/Support/ARMTargetParser.def | 1 + llvm/include/llvm/Support/ARMTargetParser.h | 2 +- llvm/include/llvm/Support/GenericDomTree.h | 16 +- llvm/include/llvm/Target/GlobalISel/Combine.td | 86 +- .../llvm/Transforms/IPO/ProfiledCallGraph.h | 104 +- llvm/lib/Analysis/InstructionSimplify.cpp | 123 +- llvm/lib/Analysis/RegionPass.cpp | 3 + llvm/lib/Analysis/ScalarEvolution.cpp | 72 +- llvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp | 4 +- llvm/lib/CodeGen/BranchFolding.cpp | 4 +- llvm/lib/CodeGen/CommandFlags.cpp | 15 +- llvm/lib/CodeGen/CriticalAntiDepBreaker.cpp | 9 +- llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp | 590 +- llvm/lib/CodeGen/GlobalISel/Utils.cpp | 18 +- llvm/lib/CodeGen/GlobalMerge.cpp | 6 +- llvm/lib/CodeGen/IndirectBrExpandPass.cpp | 10 +- llvm/lib/CodeGen/InlineSpiller.cpp | 4 +- llvm/lib/CodeGen/LatencyPriorityQueue.cpp | 6 +- .../CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | 23 +- .../CodeGen/LiveDebugValues/InstrRefBasedImpl.h | 53 +- llvm/lib/CodeGen/MachinePipeliner.cpp | 24 +- llvm/lib/CodeGen/MachineVerifier.cpp | 6 +- llvm/lib/CodeGen/ModuloSchedule.cpp | 3 +- llvm/lib/CodeGen/RegAllocFast.cpp | 9 +- llvm/lib/CodeGen/RegAllocGreedy.cpp | 119 +- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 113 +- llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp | 9 +- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 7 +- .../CodeGen/SelectionDAG/ResourcePriorityQueue.cpp | 4 +- .../CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp | 4 +- .../CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 10 +- llvm/lib/CodeGen/StackSlotColoring.cpp | 3 +- llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | 28 +- llvm/lib/Demangle/DLangDemangle.cpp | 253 +- llvm/lib/ExecutionEngine/ExecutionEngine.cpp | 3 +- .../ExecutionEngine/JITLink/ELFLinkGraphBuilder.h | 40 +- .../ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp | 2 +- llvm/lib/IR/DIBuilder.cpp | 15 +- llvm/lib/MC/MCParser/ELFAsmParser.cpp | 8 +- llvm/lib/Object/ELFObjectFile.cpp | 4 +- llvm/lib/ObjectYAML/COFFEmitter.cpp | 32 +- llvm/lib/ObjectYAML/MachOEmitter.cpp | 13 + llvm/lib/ObjectYAML/MachOYAML.cpp | 1 + llvm/lib/Passes/StandardInstrumentations.cpp | 4 +- llvm/lib/ProfileData/CMakeLists.txt | 1 + llvm/lib/ProfileData/InstrProf.cpp | 11 +- llvm/lib/ProfileData/RawMemProfReader.cpp | 121 + llvm/lib/Support/CommandLine.cpp | 16 +- llvm/lib/TableGen/TGLexer.cpp | 8 +- llvm/lib/Target/AArch64/AArch64CondBrTuning.cpp | 5 +- llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | 98 +- llvm/lib/Target/AArch64/AArch64ISelLowering.h | 4 + .../AArch64/GISel/AArch64InstructionSelector.cpp | 54 +- llvm/lib/Target/AMDGPU/AMDGPUCombine.td | 11 +- llvm/lib/Target/AMDGPU/AMDGPUInstructions.td | 6 - .../Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp | 46 + llvm/lib/Target/AMDGPU/CaymanInstructions.td | 2 - llvm/lib/Target/AMDGPU/EvergreenInstructions.td | 1 - llvm/lib/Target/AMDGPU/R600Instructions.td | 1 - llvm/lib/Target/AMDGPU/R600MachineScheduler.cpp | 4 +- llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 40 + llvm/lib/Target/AMDGPU/SIISelLowering.h | 7 + llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | 26 +- llvm/lib/Target/AMDGPU/SIInstructions.td | 4 - llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp | 74 +- llvm/lib/Target/AMDGPU/SIRegisterInfo.h | 4 + llvm/lib/Target/ARM/ARM.td | 4 + llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp | 22 +- llvm/lib/Target/ARM/ARMConstantIslandPass.cpp | 12 +- llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp | 8 +- llvm/lib/Target/ARM/ARMISelLowering.cpp | 20 + llvm/lib/Target/ARM/ARMISelLowering.h | 2 + llvm/lib/Target/ARM/ARMInstrThumb2.td | 95 + llvm/lib/Target/ARM/ARMPredicates.td | 2 + llvm/lib/Target/ARM/ARMRegisterInfo.td | 10 + llvm/lib/Target/ARM/ARMSubtarget.h | 3 + llvm/lib/Target/ARM/ARMSystemRegister.td | 18 + llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 17 +- .../Target/ARM/Disassembler/ARMDisassembler.cpp | 67 +- llvm/lib/Target/ARM/Thumb2InstrInfo.cpp | 2 +- llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp | 18 +- llvm/lib/Target/Hexagon/HexagonCopyToCombine.cpp | 9 +- llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp | 6 +- llvm/lib/Target/Hexagon/HexagonISelLowering.cpp | 3 +- llvm/lib/Target/Mips/MipsConstantIslandPass.cpp | 18 +- llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp | 32 +- llvm/lib/Target/PowerPC/PPCInstrVSX.td | 5 + .../Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp | 8 + llvm/lib/Target/RISCV/RISCVFrameLowering.cpp | 8 +- llvm/lib/Target/RISCV/RISCVISelLowering.cpp | 65 +- llvm/lib/Target/RISCV/RISCVISelLowering.h | 2 + llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp | 4 +- llvm/lib/Target/X86/X86DynAllocaExpander.cpp | 8 +- llvm/lib/Target/X86/X86ExpandPseudo.cpp | 4 +- llvm/lib/Target/X86/X86FrameLowering.cpp | 44 +- llvm/lib/Target/X86/X86FrameLowering.h | 17 +- llvm/lib/Target/X86/X86ISelLowering.cpp | 60 +- llvm/lib/Target/X86/X86RegisterBanks.td | 2 +- llvm/lib/Target/X86/X86TargetTransformInfo.cpp | 21 +- llvm/lib/Transforms/IPO/OpenMPOpt.cpp | 1 + llvm/lib/Transforms/IPO/SampleProfile.cpp | 11 +- .../Transforms/InstCombine/InstCombineAndOrXor.cpp | 59 +- .../Transforms/InstCombine/InstCombineCasts.cpp | 2 +- .../Transforms/InstCombine/InstCombineCompares.cpp | 66 +- llvm/lib/Transforms/ObjCARC/DependencyAnalysis.cpp | 4 +- .../Scalar/CorrelatedValuePropagation.cpp | 17 +- .../lib/Transforms/Scalar/DeadStoreElimination.cpp | 11 +- llvm/lib/Transforms/Scalar/LoopPassManager.cpp | 14 +- llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp | 151 +- llvm/lib/Transforms/Scalar/Reassociate.cpp | 7 +- llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | 71 +- llvm/lib/Transforms/Utils/Local.cpp | 33 +- .../Transforms/Utils/ScalarEvolutionExpander.cpp | 68 +- llvm/lib/Transforms/Utils/SimplifyCFG.cpp | 32 +- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 564 +- llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 143 +- .../CostModel/X86/gather-i16-with-i8-index.ll | 32 +- .../CostModel/X86/gather-i32-with-i8-index.ll | 10 +- .../CostModel/X86/gather-i64-with-i8-index.ll | 10 +- .../CostModel/X86/gather-i8-with-i8-index.ll | 32 +- .../CostModel/X86/interleaved-load-i16-stride-5.ll | 10 +- .../CostModel/X86/masked-interleaved-load-i16.ll | 205 + ...ith-gaps.ll => masked-interleaved-store-i16.ll} | 40 +- .../X86/masked-scatter-i32-with-i8-index.ll | 4 +- .../X86/masked-scatter-i64-with-i8-index.ll | 4 +- .../CostModel/X86/scatter-i16-with-i8-index.ll | 32 +- .../CostModel/X86/scatter-i32-with-i8-index.ll | 20 +- .../CostModel/X86/scatter-i64-with-i8-index.ll | 20 +- .../CostModel/X86/scatter-i8-with-i8-index.ll | 32 +- .../addrec-computed-during-addrec-calculation.ll | 67 + .../CodeGen/AArch64/GlobalISel/select-binop.mir | 26 + .../AArch64/GlobalISel/select-scalar-shift-imm.mir | 44 + llvm/test/CodeGen/AArch64/active_lane_mask.ll | 214 +- .../AArch64/concat_vector-truncate-combine.ll | 20 + llvm/test/CodeGen/AArch64/fpclamptosat.ll | 1137 ++++ llvm/test/CodeGen/AArch64/fpclamptosat_vec.ll | 1589 ++++++ .../AArch64/sve-fixed-length-fp-extend-trunc.ll | 100 +- .../AMDGPU/GlobalISel/combine-fma-add-ext-fma.ll | 499 ++ .../AMDGPU/GlobalISel/combine-fma-add-ext-mul.ll | 159 + .../AMDGPU/GlobalISel/combine-fma-add-fma-mul.ll | 726 +++ .../combine-fma-add-mul-post-legalize.mir | 2556 +++++++++ .../combine-fma-add-mul-pre-legalize.mir | 2532 +++++++++ .../AMDGPU/GlobalISel/combine-fma-add-mul.ll | 1025 ++++ .../AMDGPU/GlobalISel/combine-fma-sub-ext-mul.ll | 123 + .../GlobalISel/combine-fma-sub-ext-neg-mul.ll | 265 + .../AMDGPU/GlobalISel/combine-fma-sub-mul.ll | 760 +++ .../AMDGPU/GlobalISel/combine-fma-sub-neg-mul.ll | 394 ++ .../test/CodeGen/AMDGPU/GlobalISel/combine-fsh.mir | 27 + .../test/CodeGen/AMDGPU/GlobalISel/combine-rot.mir | 26 + llvm/test/CodeGen/AMDGPU/GlobalISel/combine-rsq.ll | 50 + .../test/CodeGen/AMDGPU/GlobalISel/combine-rsq.mir | 42 + .../AMDGPU/extend-phi-subrange-not-in-parent.mir | 11 +- llvm/test/CodeGen/AMDGPU/load-constant-f32.ll | 2 +- ...partial-regcopy-and-spill-missed-at-regalloc.ll | 62 + llvm/test/CodeGen/AMDGPU/spill-agpr.ll | 126 +- .../test/CodeGen/AMDGPU/spill-vector-superclass.ll | 23 + llvm/test/CodeGen/AMDGPU/spill-vgpr-to-agpr.ll | 80 +- .../vector-spill-restore-to-other-vector-type.mir | 224 + llvm/test/CodeGen/ARM/expand-pseudos.ll | 32 + llvm/test/CodeGen/ARM/fpclamptosat.ll | 5732 ++++++++++++++++++++ llvm/test/CodeGen/ARM/fpclamptosat_vec.ll | 5088 +++++++++++++++++ .../hoist-and-by-const-from-lshr-in-eqcmp-zero.ll | 48 +- .../hoist-and-by-const-from-shl-in-eqcmp-zero.ll | 24 +- llvm/test/CodeGen/ARM/ssat.ll | 106 +- llvm/test/CodeGen/ARM/usat.ll | 51 +- llvm/test/CodeGen/MIR/X86/diexpr-win32.mir | 2 +- llvm/test/CodeGen/PowerPC/common-chain.ll | 46 +- llvm/test/CodeGen/PowerPC/crypto_bifs_be.ll | 165 + llvm/test/CodeGen/PowerPC/f128-branch-cond.ll | 314 ++ llvm/test/CodeGen/RISCV/fpclamptosat.ll | 4314 +++++++++++++++ llvm/test/CodeGen/RISCV/fpclamptosat_vec.ll | 4272 +++++++++++++++ llvm/test/CodeGen/RISCV/half-intrinsics.ll | 914 ++++ llvm/test/CodeGen/RISCV/rvv/no-reserved-frame.ll | 83 + llvm/test/CodeGen/RISCV/rvv/sink-splat-operands.ll | 516 ++ llvm/test/CodeGen/SystemZ/int-div-01.ll | 3 +- llvm/test/CodeGen/SystemZ/int-div-03.ll | 6 +- llvm/test/CodeGen/SystemZ/int-div-04.ll | 6 +- llvm/test/CodeGen/SystemZ/int-mul-08.ll | 3 +- llvm/test/CodeGen/Thumb/high-reg-clobber.mir | 4 +- .../test/CodeGen/Thumb/srem-seteq-illegal-types.ll | 4 +- llvm/test/CodeGen/Thumb2/mve-fpclamptosat_vec.ll | 301 +- llvm/test/CodeGen/WebAssembly/fpclamptosat.ll | 1650 ++++++ llvm/test/CodeGen/WebAssembly/fpclamptosat_vec.ll | 3404 ++++++++++++ llvm/test/CodeGen/X86/2010-05-26-DotDebugLoc.ll | 9 +- .../test/CodeGen/X86/64-bit-shift-by-32-minus-y.ll | 3 +- .../CodeGen/X86/8bit_cmov_of_trunc_promotion.ll | 37 +- llvm/test/CodeGen/X86/atomic-unordered.ll | 9 +- .../CodeGen/X86/avx512-shuffles/partial_permute.ll | 32 +- llvm/test/CodeGen/X86/avx512fp16-intrinsics.ll | 14 + llvm/test/CodeGen/X86/avx512fp16vl-intrinsics.ll | 12 + llvm/test/CodeGen/X86/bitreverse.ll | 24 +- llvm/test/CodeGen/X86/bmi2.ll | 8 +- llvm/test/CodeGen/X86/bypass-slow-division-32.ll | 10 +- llvm/test/CodeGen/X86/combine-bitselect.ll | 13 +- llvm/test/CodeGen/X86/combine-sdiv.ll | 275 +- llvm/test/CodeGen/X86/ctpop-combine.ll | 10 +- llvm/test/CodeGen/X86/divide-by-constant.ll | 7 +- .../X86/fast-regalloc-live-out-debug-values.mir | 2 +- llvm/test/CodeGen/X86/fold-masked-merge.ll | 293 + llvm/test/CodeGen/X86/fpclamptosat.ll | 1245 +++++ llvm/test/CodeGen/X86/fpclamptosat_vec.ll | 3473 ++++++++++++ llvm/test/CodeGen/X86/haddsub-3.ll | 12 +- llvm/test/CodeGen/X86/haddsub-shuf.ll | 4 +- llvm/test/CodeGen/X86/haddsub.ll | 84 +- llvm/test/CodeGen/X86/horizontal-reduce-fadd.ll | 69 +- llvm/test/CodeGen/X86/horizontal-sum.ll | 83 +- llvm/test/CodeGen/X86/lzcnt-cmp.ll | 14 +- llvm/test/CodeGen/X86/nontemporal-loads.ll | 8 +- ...ower-of-two-or-zero-when-comparing-with-zero.ll | 8 +- llvm/test/CodeGen/X86/or-lea.ll | 64 +- llvm/test/CodeGen/X86/pmulh.ll | 95 +- llvm/test/CodeGen/X86/popcnt.ll | 218 +- llvm/test/CodeGen/X86/pull-binop-through-shift.ll | 28 +- llvm/test/CodeGen/X86/rem.ll | 19 +- llvm/test/CodeGen/X86/sat-add.ll | 11 +- llvm/test/CodeGen/X86/sdiv_fix_sat.ll | 129 +- llvm/test/CodeGen/X86/setcc-combine.ll | 9 +- llvm/test/CodeGen/X86/shift-combine.ll | 14 +- llvm/test/CodeGen/X86/shl-crash-on-legalize.ll | 7 +- llvm/test/CodeGen/X86/slow-pmulld.ll | 132 +- llvm/test/CodeGen/X86/smul_fix.ll | 80 +- llvm/test/CodeGen/X86/smul_fix_sat.ll | 229 +- llvm/test/CodeGen/X86/sqrt-fastmath.ll | 65 + llvm/test/CodeGen/X86/srem-seteq-vec-nonsplat.ll | 112 +- llvm/test/CodeGen/X86/sse3-avx-addsub-2.ll | 5 +- llvm/test/CodeGen/X86/uadd_sat.ll | 11 +- llvm/test/CodeGen/X86/uadd_sat_vec.ll | 313 +- llvm/test/CodeGen/X86/umul-with-overflow.ll | 5 +- llvm/test/CodeGen/X86/umul_fix.ll | 36 +- llvm/test/CodeGen/X86/umul_fix_sat.ll | 17 +- .../X86/unfold-masked-merge-scalar-variablemask.ll | 54 +- .../X86/unfold-masked-merge-vector-variablemask.ll | 2985 +++++----- llvm/test/CodeGen/X86/urem-seteq-vec-nonsplat.ll | 176 +- llvm/test/CodeGen/X86/vec-strict-cmp-128.ll | 208 +- llvm/test/CodeGen/X86/vec_ctbits.ll | 130 +- llvm/test/CodeGen/X86/vec_no-common-bits.ll | 161 + llvm/test/CodeGen/X86/vec_umulo.ll | 38 +- llvm/test/CodeGen/X86/vector-bitreverse.ll | 84 +- llvm/test/CodeGen/X86/vector-ext-logic.ll | 64 +- llvm/test/CodeGen/X86/vector-fshl-128.ll | 191 +- llvm/test/CodeGen/X86/vector-fshr-128.ll | 212 +- llvm/test/CodeGen/X86/vector-idiv-sdiv-128.ll | 63 +- llvm/test/CodeGen/X86/vector-lzcnt-128.ll | 704 +-- llvm/test/CodeGen/X86/vector-lzcnt-sub128.ll | 61 +- llvm/test/CodeGen/X86/vector-narrow-binop.ll | 6 +- llvm/test/CodeGen/X86/vector-popcnt-128-ult-ugt.ll | 1486 +++-- llvm/test/CodeGen/X86/vector-popcnt-128.ll | 111 +- llvm/test/CodeGen/X86/vector-reduce-fadd-fast.ll | 72 +- llvm/test/CodeGen/X86/vector-reduce-fmul-fast.ll | 72 +- llvm/test/CodeGen/X86/vector-shift-ashr-128.ll | 46 +- llvm/test/CodeGen/X86/vector-shift-ashr-sub128.ll | 92 +- llvm/test/CodeGen/X86/vector-shift-lshr-128.ll | 46 +- llvm/test/CodeGen/X86/vector-shift-lshr-sub128.ll | 92 +- .../X86/vector-shuffle-combining-avx512bw.ll | 12 +- .../X86/vector-shuffle-combining-avx512bwvl.ll | 12 +- .../X86/vector-shuffle-combining-avx512f.ll | 84 +- .../X86/vector-shuffle-combining-avx512vbmi.ll | 12 +- llvm/test/CodeGen/X86/vector-trunc-packus.ll | 339 +- llvm/test/CodeGen/X86/vector-trunc-ssat.ll | 516 +- llvm/test/CodeGen/X86/vector-trunc-usat.ll | 96 +- llvm/test/CodeGen/X86/vector-tzcnt-128.ll | 108 +- llvm/test/CodeGen/X86/vselect-packss.ll | 15 +- llvm/test/DebugInfo/COFF/fp-stack.ll | 4 +- llvm/test/DebugInfo/COFF/fpo-shrink-wrap.ll | 6 +- llvm/test/DebugInfo/COFF/fpo-stack-protect.ll | 4 +- llvm/test/DebugInfo/COFF/types-array-advanced.ll | 4 +- llvm/test/DebugInfo/Generic/empty.ll | 1 + .../DebugInfo/MIR/InstrRef/out-of-scope-blocks.mir | 151 + .../InstrRef/restore-clobber-with-indirectness.mir | 80 + .../MIR/X86/entry-value-of-modified-param.mir | 4 +- .../MIR/X86/kill-entry-value-after-diamond-bbs.mir | 2 +- .../MIR/X86/live-debug-values-fragments.mir | 16 +- .../MIR/X86/live-debug-values-restore.mir | 2 +- llvm/test/DebugInfo/X86/dbg-addr-dse.ll | 2 +- llvm/test/DebugInfo/X86/instr-ref-dbg-declare.ll | 112 + .../DebugInfo/X86/instr-ref-dyn-alloca-win32.ll | 123 + llvm/test/DebugInfo/X86/instr-ref-dyn-alloca.ll | 110 + llvm/test/DebugInfo/X86/instr-ref-flag.ll | 46 + llvm/test/DebugInfo/X86/live-debug-values.ll | 7 +- llvm/test/DebugInfo/X86/pr34545.ll | 35 +- llvm/test/DebugInfo/X86/pr40427.ll | 29 +- llvm/test/DebugInfo/X86/sdag-dangling-dbgvalue.ll | 45 +- llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-1.ll | 31 +- llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-2.ll | 57 +- llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-3.ll | 43 +- llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-4.ll | 33 +- llvm/test/DebugInfo/X86/sdag-dbgvalue-ssareg.ll | 12 +- llvm/test/DebugInfo/X86/sdag-ir-salvage.ll | 14 +- llvm/test/DebugInfo/X86/sdag-salvage-add.ll | 29 +- llvm/test/DebugInfo/X86/sdag-split-arg.ll | 2 +- llvm/test/DebugInfo/X86/sdag-transfer-dbgvalue.ll | 13 +- llvm/test/DebugInfo/X86/sdagsplit-1.ll | 6 +- .../JITLink/X86/ELF_empty_section.s | 12 + llvm/test/ExecutionEngine/JITLink/X86/ELF_shndex.s | 105 + llvm/test/MC/ARM/armv8.1m-pacbti-error.s | 40 + llvm/test/MC/ARM/armv8.1m-pacbti.s | 134 + llvm/test/MC/ARM/implicit-it-generation-v8.s | 9 + llvm/test/MC/Disassembler/ARM/armv8.1m-pacbti.txt | 137 + llvm/test/MC/ELF/section-omitted-attributes.s | 5 + llvm/test/MC/RISCV/rvv/vsetvl-invalid.s | 40 + llvm/test/ObjectYAML/MachO/dsymtab.yaml | 259 + llvm/test/Other/new-pm-print-pipeline.ll | 4 + .../Transforms/CorrelatedValuePropagation/ashr.ll | 37 + .../Transforms/DeadStoreElimination/libcalls.ll | 37 + .../stores-of-existing-values.ll | 72 +- .../IRCE/non-loop-invariant-rhs-instr.ll | 2 +- .../Transforms/IndVarSimplify/ashr-expansion.ll | 16 +- llvm/test/Transforms/IndVarSimplify/bbi-63564.ll | 58 + .../IndVarSimplify/lftr-address-space-pointers.ll | 4 +- llvm/test/Transforms/IndVarSimplify/lftr-reuse.ll | 9 +- llvm/test/Transforms/IndVarSimplify/pr24783.ll | 2 +- .../promote-iv-to-eliminate-casts.ll | 2 +- .../test/Transforms/InferFunctionAttrs/annotate.ll | 5 +- llvm/test/Transforms/InstCombine/and-compare.ll | 16 +- llvm/test/Transforms/InstCombine/and-xor-or.ll | 77 +- .../InstCombine/bitcast-inselt-bitcast.ll | 23 + llvm/test/Transforms/InstCombine/compare-signs.ll | 7 +- llvm/test/Transforms/InstCombine/getelementptr.ll | 12 +- llvm/test/Transforms/InstCombine/icmp-trunc.ll | 16 +- llvm/test/Transforms/InstCombine/or.ll | 90 + .../test/Transforms/InstCombine/select-icmp-and.ll | 12 +- .../InstCombine/select-with-bitwise-ops.ll | 52 +- .../InstCombine/signed-truncation-check.ll | 16 +- llvm/test/Transforms/InstCombine/xor.ll | 26 +- llvm/test/Transforms/InstSimplify/AndOrXor.ll | 176 +- llvm/test/Transforms/InstSimplify/or.ll | 250 +- .../Transforms/JumpThreading/domtree-updates.ll | 111 + .../Transforms/LICM/scalar-promote-memmodel.ll | 25 +- llvm/test/Transforms/LICM/scalar-promote.ll | 412 +- llvm/test/Transforms/LoopPredication/basic.ll | 2 +- .../LoopUnroll/runtime-loop-multiple-exits.ll | 43 +- .../LoopVectorize/AArch64/predication_costs.ll | 2 +- .../LoopVectorize/AArch64/sve-widen-gep.ll | 128 +- .../LoopVectorize/AArch64/sve-widen-phi.ll | 97 +- .../Transforms/LoopVectorize/X86/gather_scatter.ll | 85 +- .../x86-interleaved-store-accesses-with-gaps.ll | 52 +- .../LoopVectorize/consecutive-ptr-uniforms.ll | 22 +- .../Transforms/LoopVectorize/pointer-induction.ll | 112 +- .../loop-rotation-vs-common-code-hoisting.ll | 44 +- .../X86/alternate-int-inseltpoison.ll | 24 +- .../Transforms/SLPVectorizer/X86/alternate-int.ll | 24 +- .../Inputs/profile-context-order-scc.prof | 43 + .../SampleProfile/profile-context-order.ll | 12 + llvm/test/tools/llvm-locstats/locstats.ll | 6 +- .../llvm-objcopy/ELF/Inputs/ihex-elf-sections.yaml | 2 +- .../tools/llvm-profdata/Inputs/basic.memprofraw | Bin 0 -> 1016 bytes .../tools/llvm-profdata/Inputs/multi.memprofraw | Bin 0 -> 1728 bytes llvm/test/tools/llvm-profdata/memprof-basic.test | 42 + llvm/test/tools/llvm-profdata/memprof-multi.test | 50 + .../tools/llvm-profdata/text-format-errors.test | 2 +- .../llvm-profgen/Inputs/fs-discriminator.perfbin | Bin 0 -> 22384 bytes .../llvm-profgen/Inputs/fs-discriminator.raw.prof | 76 + .../Inputs/profile-density-cs.raw.prof | 154 + .../llvm-profgen/Inputs/profile-density.raw.prof | 29 + llvm/test/tools/llvm-profgen/fs-discriminator.test | 139 + llvm/test/tools/llvm-profgen/profile-density.test | 64 + llvm/tools/llvm-profdata/llvm-profdata.cpp | 24 +- llvm/tools/llvm-profgen/CSPreInliner.cpp | 9 +- llvm/tools/llvm-profgen/PerfReader.cpp | 2 + llvm/tools/llvm-profgen/ProfileGenerator.cpp | 92 +- llvm/tools/llvm-profgen/ProfileGenerator.h | 42 +- llvm/tools/llvm-profgen/ProfiledBinary.cpp | 25 +- llvm/tools/llvm-profgen/ProfiledBinary.h | 30 +- llvm/tools/obj2yaml/macho2yaml.cpp | 10 + llvm/unittests/ADT/APIntTest.cpp | 3 + .../CodeGen/GlobalISel/PatternMatchTest.cpp | 61 + llvm/unittests/CodeGen/InstrRefLDVTest.cpp | 53 +- llvm/unittests/Demangle/DLangDemangleTest.cpp | 16 +- llvm/unittests/IR/IRBuilderTest.cpp | 67 + .../compiler-rt/lib/sanitizer_common/BUILD.gn | 1 + .../gn/secondary/llvm/lib/ProfileData/BUILD.gn | 1 + mlir/include/mlir-c/IR.h | 20 + .../BufferizationToMemRef/BufferizationToMemRef.h | 26 + mlir/include/mlir/Conversion/Passes.h | 1 + mlir/include/mlir/Conversion/Passes.td | 11 + .../mlir/Dialect/Arithmetic/Transforms/Passes.h | 10 +- .../mlir/Dialect/Bufferization/CMakeLists.txt | 1 + .../Bufferization}/Transforms/Bufferize.h | 17 +- .../Bufferization/Transforms/CMakeLists.txt | 6 + .../mlir/Dialect/Bufferization/Transforms/Passes.h | 32 + .../Dialect/Bufferization/Transforms/Passes.td | 107 + mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td | 16 +- .../mlir/Dialect/LLVMIR/LLVMOpsInterfaces.td | 2 +- mlir/include/mlir/Dialect/Linalg/Passes.h | 7 +- mlir/include/mlir/Dialect/Linalg/Passes.td | 3 +- .../Dialect/Linalg/Transforms/CodegenStrategy.h | 24 +- .../mlir/Dialect/Linalg/Transforms/Transforms.h | 26 +- .../Dialect/SparseTensor/IR/SparseTensorOps.td | 25 +- .../mlir/Dialect/SparseTensor/Utils/Merger.h | 18 +- mlir/include/mlir/Dialect/StandardOps/IR/Ops.td | 12 +- .../mlir/Dialect/StandardOps/Transforms/Passes.h | 12 +- .../include/mlir/Dialect/StandardOps/Utils/Utils.h | 2 + mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td | 76 +- .../mlir/Dialect/Tensor/Transforms/Passes.h | 9 +- mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td | 2 + mlir/include/mlir/Dialect/Utils/StaticValueUtils.h | 14 +- mlir/include/mlir/IR/BuiltinTypes.h | 19 + mlir/include/mlir/InitAllPasses.h | 2 + mlir/include/mlir/Transforms/Passes.h | 8 - mlir/include/mlir/Transforms/Passes.td | 93 - mlir/lib/Bindings/Python/ExecutionEngineModule.cpp | 3 +- mlir/lib/Bindings/Python/IRAffine.cpp | 145 +- mlir/lib/Bindings/Python/IRAttributes.cpp | 2 +- mlir/lib/Bindings/Python/IRCore.cpp | 229 +- mlir/lib/Bindings/Python/IRModule.h | 55 +- mlir/lib/Bindings/Python/IRTypes.cpp | 6 +- mlir/lib/Bindings/Python/MainModule.cpp | 20 +- mlir/lib/Bindings/Python/Pass.cpp | 3 +- mlir/lib/CAPI/IR/IR.cpp | 26 + .../ArithmeticToSPIRV/ArithmeticToSPIRV.cpp | 6 +- .../BufferizationToMemRef.cpp | 91 + .../BufferizationToMemRef/CMakeLists.txt | 14 + mlir/lib/Conversion/CMakeLists.txt | 1 + mlir/lib/Conversion/MathToLLVM/MathToLLVM.cpp | 12 +- mlir/lib/Conversion/MathToSPIRV/MathToSPIRV.cpp | 2 +- mlir/lib/Conversion/SCFToOpenMP/SCFToOpenMP.cpp | 2 +- mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp | 32 +- .../VectorToLLVM/ConvertVectorToLLVM.cpp | 31 +- .../Dialect/Arithmetic/Transforms/Bufferize.cpp | 8 +- .../Dialect/Arithmetic/Transforms/CMakeLists.txt | 1 + .../Dialect/Arithmetic/Transforms/ExpandOps.cpp | 7 +- mlir/lib/Dialect/Bufferization/CMakeLists.txt | 1 + .../Transforms/BufferDeallocation.cpp | 9 +- .../Bufferization}/Transforms/Bufferize.cpp | 31 +- .../Bufferization/Transforms/CMakeLists.txt | 15 + .../Bufferization}/Transforms/PassDetail.h | 22 +- mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp | 8 +- mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | 27 +- mlir/lib/Dialect/Linalg/Transforms/Bufferize.cpp | 8 +- .../Linalg/Transforms/ElementwiseOpFusion.cpp | 10 +- .../lib/Dialect/Linalg/Transforms/HoistPadding.cpp | 8 +- .../Linalg/Transforms/LinalgStrategyPasses.cpp | 44 +- mlir/lib/Dialect/Linalg/Transforms/Promotion.cpp | 1 + mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp | 62 +- .../Math/Transforms/AlgebraicSimplification.cpp | 6 +- mlir/lib/Dialect/Math/Transforms/ExpandTanh.cpp | 6 +- .../Math/Transforms/PolynomialApproximation.cpp | 67 +- mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp | 173 +- mlir/lib/Dialect/SCF/Transforms/Bufferize.cpp | 6 +- mlir/lib/Dialect/SCF/Transforms/CMakeLists.txt | 1 + mlir/lib/Dialect/Shape/Transforms/Bufferize.cpp | 6 +- mlir/lib/Dialect/Shape/Transforms/CMakeLists.txt | 1 + .../SparseTensor/Transforms/Sparsification.cpp | 63 +- mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp | 30 +- .../Dialect/StandardOps/Transforms/Bufferize.cpp | 9 +- .../Dialect/StandardOps/Transforms/CMakeLists.txt | 1 + .../Dialect/StandardOps/Transforms/ExpandOps.cpp | 3 +- .../StandardOps/Transforms/FuncBufferize.cpp | 4 +- .../Transforms/TensorConstantBufferize.cpp | 9 +- mlir/lib/Dialect/Tensor/IR/TensorOps.cpp | 134 +- mlir/lib/Dialect/Tensor/Transforms/Bufferize.cpp | 9 +- mlir/lib/Dialect/Tensor/Transforms/CMakeLists.txt | 1 + mlir/lib/Dialect/Tosa/IR/TosaOps.cpp | 94 + mlir/lib/Dialect/Utils/ReshapeOpsUtils.cpp | 2 + mlir/lib/Dialect/Utils/StaticValueUtils.cpp | 18 +- mlir/lib/IR/BuiltinTypes.cpp | 35 +- .../Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp | 2 +- mlir/lib/Target/LLVMIR/ModuleTranslation.cpp | 4 +- mlir/lib/Transforms/CMakeLists.txt | 2 - mlir/lib/Transforms/PassDetail.h | 4 + mlir/python/CMakeLists.txt | 6 + mlir/python/mlir/_mlir_libs/_mlir/__init__.pyi | 12 + mlir/python/mlir/_mlir_libs/_mlir/ir.pyi | 926 ++++ mlir/python/mlir/_mlir_libs/_mlir/passmanager.pyi | 25 + .../mlir/_mlir_libs/_mlirExecutionEngine.pyi | 23 + .../bufferization-to-memref.mlir | 38 + .../Conversion/TosaToLinalg/tosa-to-linalg.mlir | 22 +- .../Conversion/VectorToLLVM/vector-to-llvm.mlir | 80 - .../Transforms/buffer-deallocation.mlir | 0 .../Transforms/finalizing-bufferize.mlir | 0 mlir/test/Dialect/Linalg/canonicalize.mlir | 14 + mlir/test/Dialect/Linalg/codegen-strategy.mlir | 25 +- .../comprehensive-module-bufferize-analysis.mlir | 10 +- .../test/Dialect/Linalg/decompose-convolution.mlir | 2 +- mlir/test/Dialect/Linalg/interchange.mlir | 4 +- mlir/test/Dialect/Linalg/pad.mlir | 22 + .../Linalg/reshape_linearization_fusion.mlir | 28 + mlir/test/Dialect/Linalg/roundtrip.mlir | 2 +- mlir/test/Dialect/MemRef/canonicalize.mlir | 24 +- mlir/test/Dialect/MemRef/invalid.mlir | 318 +- mlir/test/Dialect/MemRef/ops.mlir | 14 +- .../Dialect/SCF/for-loop-canonicalization.mlir | 11 +- mlir/test/Dialect/SparseTensor/sparse_out.mlir | 254 +- mlir/test/Dialect/Tensor/canonicalize.mlir | 31 +- mlir/test/Dialect/Tensor/invalid.mlir | 84 + mlir/test/Dialect/Tensor/ops.mlir | 57 + mlir/test/Dialect/Tosa/canonicalize.mlir | 44 +- mlir/test/IR/core-ops.mlir | 50 - mlir/test/IR/invalid-ops.mlir | 342 -- .../SparseTensor/CPU/sparse_out_mult_elt.mlir | 82 + .../SparseTensor/CPU/sparse_out_reduction.mlir | 98 + .../SparseTensor/CPU/sparse_out_simple.mlir | 2 +- .../SparseTensor/CPU/sparse_vector_ops.mlir | 2 +- .../Dialect/Linalg/TestLinalgCodegenStrategy.cpp | 20 +- .../lib/Dialect/Linalg/TestLinalgTransforms.cpp | 12 - mlir/test/python/dialects/builtin.py | 29 +- .../dialects/linalg/opdsl/emit_convolution.py | 58 + .../python/dialects/linalg/opdsl/emit_matmul.py | 176 + .../test/python/dialects/linalg/opdsl/emit_misc.py | 93 + .../python/dialects/linalg/opdsl/emit_pooling.py | 154 + .../linalg/opdsl/emit_structured_generic.py | 408 -- mlir/test/python/dialects/linalg/ops.py | 43 - mlir/test/python/dialects/shape.py | 3 +- mlir/test/python/dialects/std.py | 9 +- mlir/test/python/ir/module.py | 35 +- mlir/test/python/ir/operation.py | 118 +- mlir/test/python/ir/symbol_table.py | 156 + mlir/tools/mlir-tblgen/LLVMIRConversionGen.cpp | 9 +- openmp/docs/design/Runtimes.rst | 627 +++ openmp/libomptarget/DeviceRTL/src/Debug.cpp | 1 + openmp/libomptarget/plugins/amdgpu/CMakeLists.txt | 23 +- openmp/runtime/cmake/LibompCheckFortranFlag.cmake | 4 +- openmp/runtime/cmake/LibompCheckLinkerFlag.cmake | 4 +- utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 77 +- 804 files changed, 70807 insertions(+), 12152 deletions(-) create mode 100644 clang-tools-extra/test/clang-tidy/checkers/altera-struct-pack-a [...] create mode 100644 clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-na [...] create mode 100644 clang/docs/analyzer/user-docs/TaintAnalysisConfiguration.rst create mode 100644 clang/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h create mode 100644 clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h create mode 100644 clang/include/clang/Analysis/FlowSensitive/DataflowLattice.h create mode 100644 clang/include/clang/Analysis/FlowSensitive/TypeErasedDataflowAn [...] create mode 100644 clang/lib/Analysis/FlowSensitive/CMakeLists.txt create mode 100644 clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp create mode 100644 clang/test/Analysis/svalbuilder-simplify-compound-svals.cpp create mode 100644 clang/test/CodeGen/attr-target-clones.c create mode 100644 clang/test/CodeGenCXX/attr-target-clones.cpp delete mode 100644 clang/test/Driver/debug-var-experimental-switch.c create mode 100644 clang/test/Driver/fat-archive-unbundle-ext.c create mode 100644 clang/test/Driver/new-infallible.cpp create mode 100644 clang/test/Sema/attr-target-clones.c create mode 100644 clang/test/SemaCUDA/atomic-ops.cu create mode 100644 clang/test/SemaCXX/attr-target-clones.cpp create mode 100644 clang/test/SemaCXX/lookup-through-linkage.cpp create mode 100644 clang/test/SemaObjC/return-noreturn.m create mode 100644 compiler-rt/include/profile/MemProfData.inc create mode 100644 compiler-rt/lib/sanitizer_common/sanitizer_leb128.h create mode 100644 compiler-rt/lib/sanitizer_common/tests/sanitizer_leb128_test.cpp create mode 100644 compiler-rt/test/sanitizer_common/TestCases/compress_stack_depot.cpp rename compiler-rt/test/ubsan/TestCases/Pointer/{alignment-assumption-ignorelist.c [...] create mode 100644 flang/include/flang/Optimizer/Builder/Runtime/Assign.h create mode 100644 flang/include/flang/Optimizer/Builder/Runtime/RTBuilder.h create mode 100644 flang/include/flang/Optimizer/Builder/Runtime/Transformational.h create mode 100644 flang/include/flang/Optimizer/Transforms/Factory.h create mode 100644 flang/include/flang/Runtime/support.h create mode 100644 flang/lib/Optimizer/Builder/Runtime/Assign.cpp create mode 100644 flang/lib/Optimizer/Builder/Runtime/Transformational.cpp create mode 100644 flang/lib/Optimizer/Transforms/ArrayValueCopy.cpp create mode 100644 flang/lib/Optimizer/Transforms/MemRefDataFlowOpt.cpp create mode 100644 flang/runtime/support.cpp create mode 100644 flang/test/Fir/array-value-copy.fir create mode 100644 flang/test/Fir/memref-data-flow.fir create mode 100644 flang/test/Semantics/call23.f90 create mode 100644 flang/unittests/Optimizer/Builder/Runtime/AssignTest.cpp create mode 100644 flang/unittests/Optimizer/Builder/Runtime/RuntimeCallTestBase.h create mode 100644 flang/unittests/Optimizer/Builder/Runtime/TransformationalTest.cpp create mode 100644 libc/src/string/memory_utils/bcmp_implementations.h create mode 100644 libcxx/benchmarks/format.bench.cpp create mode 100644 libcxx/benchmarks/format_to.bench.cpp create mode 100644 libcxx/benchmarks/format_to_n.bench.cpp create mode 100644 libcxx/benchmarks/formatted_size.bench.cpp create mode 100644 lldb/source/Plugins/Platform/QemuUser/CMakeLists.txt create mode 100644 lldb/source/Plugins/Platform/QemuUser/PlatformQemuUser.cpp create mode 100644 lldb/source/Plugins/Platform/QemuUser/PlatformQemuUser.h create mode 100644 lldb/source/Plugins/Platform/QemuUser/PlatformQemuUserProperties.td copy lldb/test/API/{commands/expression/dollar-in-variable => qemu}/Makefile (100%) create mode 100644 lldb/test/API/qemu/TestQemuLaunch.py create mode 100644 lldb/test/API/qemu/main.c create mode 100755 lldb/test/API/qemu/qemu.py create mode 100644 lldb/test/Shell/Process/Windows/lit.local.cfg create mode 100644 llvm/include/llvm/ProfileData/MemProfData.inc create mode 100644 llvm/include/llvm/ProfileData/RawMemProfReader.h create mode 100644 llvm/lib/ProfileData/RawMemProfReader.cpp create mode 100644 llvm/test/Analysis/CostModel/X86/masked-interleaved-load-i16.ll rename llvm/test/Analysis/CostModel/X86/{interleaved-store-accesses-with-gaps.ll = [...] create mode 100644 llvm/test/Analysis/ScalarEvolution/addrec-computed-during-addre [...] create mode 100644 llvm/test/CodeGen/AArch64/fpclamptosat.ll create mode 100644 llvm/test/CodeGen/AArch64/fpclamptosat_vec.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-add-ext-fma.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-add-ext-mul.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-add-fma-mul.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-add-mul-post-le [...] create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-add-mul-pre-leg [...] create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-add-mul.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-sub-ext-mul.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-sub-ext-neg-mul.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-sub-mul.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-sub-neg-mul.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/combine-rsq.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/combine-rsq.mir create mode 100644 llvm/test/CodeGen/AMDGPU/partial-regcopy-and-spill-missed-at-re [...] create mode 100644 llvm/test/CodeGen/AMDGPU/spill-vector-superclass.ll create mode 100644 llvm/test/CodeGen/AMDGPU/vector-spill-restore-to-other-vector-type.mir create mode 100644 llvm/test/CodeGen/ARM/expand-pseudos.ll create mode 100644 llvm/test/CodeGen/ARM/fpclamptosat.ll create mode 100644 llvm/test/CodeGen/ARM/fpclamptosat_vec.ll create mode 100644 llvm/test/CodeGen/PowerPC/crypto_bifs_be.ll create mode 100644 llvm/test/CodeGen/PowerPC/f128-branch-cond.ll create mode 100644 llvm/test/CodeGen/RISCV/fpclamptosat.ll create mode 100644 llvm/test/CodeGen/RISCV/fpclamptosat_vec.ll create mode 100644 llvm/test/CodeGen/RISCV/rvv/no-reserved-frame.ll create mode 100644 llvm/test/CodeGen/WebAssembly/fpclamptosat.ll create mode 100644 llvm/test/CodeGen/WebAssembly/fpclamptosat_vec.ll create mode 100644 llvm/test/CodeGen/X86/fold-masked-merge.ll create mode 100644 llvm/test/CodeGen/X86/fpclamptosat.ll create mode 100644 llvm/test/CodeGen/X86/fpclamptosat_vec.ll create mode 100644 llvm/test/CodeGen/X86/vec_no-common-bits.ll create mode 100644 llvm/test/DebugInfo/MIR/InstrRef/out-of-scope-blocks.mir create mode 100644 llvm/test/DebugInfo/MIR/InstrRef/restore-clobber-with-indirectness.mir create mode 100644 llvm/test/DebugInfo/X86/instr-ref-dbg-declare.ll create mode 100644 llvm/test/DebugInfo/X86/instr-ref-dyn-alloca-win32.ll create mode 100644 llvm/test/DebugInfo/X86/instr-ref-dyn-alloca.ll create mode 100644 llvm/test/DebugInfo/X86/instr-ref-flag.ll create mode 100644 llvm/test/ExecutionEngine/JITLink/X86/ELF_empty_section.s create mode 100644 llvm/test/ExecutionEngine/JITLink/X86/ELF_shndex.s create mode 100644 llvm/test/MC/ARM/armv8.1m-pacbti-error.s create mode 100644 llvm/test/MC/ARM/armv8.1m-pacbti.s create mode 100644 llvm/test/MC/ARM/implicit-it-generation-v8.s create mode 100644 llvm/test/MC/Disassembler/ARM/armv8.1m-pacbti.txt create mode 100644 llvm/test/MC/RISCV/rvv/vsetvl-invalid.s create mode 100644 llvm/test/ObjectYAML/MachO/dsymtab.yaml create mode 100644 llvm/test/Transforms/IndVarSimplify/bbi-63564.ll create mode 100644 llvm/test/Transforms/JumpThreading/domtree-updates.ll create mode 100644 llvm/test/Transforms/SampleProfile/Inputs/profile-context-order [...] create mode 100644 llvm/test/tools/llvm-profdata/Inputs/basic.memprofraw create mode 100644 llvm/test/tools/llvm-profdata/Inputs/multi.memprofraw create mode 100644 llvm/test/tools/llvm-profdata/memprof-basic.test create mode 100644 llvm/test/tools/llvm-profdata/memprof-multi.test create mode 100755 llvm/test/tools/llvm-profgen/Inputs/fs-discriminator.perfbin create mode 100644 llvm/test/tools/llvm-profgen/Inputs/fs-discriminator.raw.prof create mode 100644 llvm/test/tools/llvm-profgen/Inputs/profile-density-cs.raw.prof create mode 100644 llvm/test/tools/llvm-profgen/Inputs/profile-density.raw.prof create mode 100644 llvm/test/tools/llvm-profgen/fs-discriminator.test create mode 100644 llvm/test/tools/llvm-profgen/profile-density.test create mode 100644 mlir/include/mlir/Conversion/BufferizationToMemRef/Bufferizatio [...] rename mlir/include/mlir/{ => Dialect/Bufferization}/Transforms/Bufferize.h (85%) create mode 100644 mlir/include/mlir/Dialect/Bufferization/Transforms/CMakeLists.txt create mode 100644 mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.h create mode 100644 mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.td create mode 100644 mlir/lib/Conversion/BufferizationToMemRef/BufferizationToMemRef.cpp create mode 100644 mlir/lib/Conversion/BufferizationToMemRef/CMakeLists.txt rename mlir/lib/{ => Dialect/Bufferization}/Transforms/BufferDeallocation.cpp (99%) rename mlir/lib/{ => Dialect/Bufferization}/Transforms/Bufferize.cpp (81%) create mode 100644 mlir/lib/Dialect/Bufferization/Transforms/CMakeLists.txt copy mlir/lib/{ => Dialect/Bufferization}/Transforms/PassDetail.h (51%) create mode 100644 mlir/python/mlir/_mlir_libs/_mlir/__init__.pyi create mode 100644 mlir/python/mlir/_mlir_libs/_mlir/ir.pyi create mode 100644 mlir/python/mlir/_mlir_libs/_mlir/passmanager.pyi create mode 100644 mlir/python/mlir/_mlir_libs/_mlirExecutionEngine.pyi create mode 100644 mlir/test/Conversion/BufferizationToMemRef/bufferization-to-mem [...] rename mlir/test/{ => Dialect/Bufferization}/Transforms/buffer-deallocation.mlir (100%) rename mlir/test/{ => Dialect/Bufferization}/Transforms/finalizing-bufferize.mlir (100%) create mode 100644 mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_out_mult_ [...] create mode 100644 mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_out_reduc [...] create mode 100644 mlir/test/python/dialects/linalg/opdsl/emit_convolution.py create mode 100644 mlir/test/python/dialects/linalg/opdsl/emit_matmul.py create mode 100644 mlir/test/python/dialects/linalg/opdsl/emit_misc.py create mode 100644 mlir/test/python/dialects/linalg/opdsl/emit_pooling.py delete mode 100644 mlir/test/python/dialects/linalg/opdsl/emit_structured_generic.py create mode 100644 mlir/test/python/ir/symbol_table.py