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-arm-spec2k6-Os_LTO in repository toolchain/ci/llvm-project.
from 7051aeef7a1e [ELF] Rename BaseCommand to SectionCommand. NFC adds 654c89d85a51 [AMDGPU] Make vector superclasses allocatable adds 259cd6f89377 [llvm] Use range-based for loops (NFC) adds c2f0de06c959 tsan: check stack in atexit4.cpp test adds 9ea3bd5a1cce tsan: add test for __cxa_atexit adds 3f87788de110 tsan: add a test for on_exit adds a1dc97e47231 tsan: remember and print function that installed at_exit c [...] adds c47108c04146 [mlir][Vector] Minor formatting fixes in Vector.md adds 8e8658b19c05 [clang][AST] Check context of record in structural equivalence. adds 8d07ba817c98 [mlir][linalg] Simplify the hoist padding tests. adds 86137fb72293 [CodeGen] Add scalable vector support for lowering of llvm [...] adds bad897778638 [clang] Change ordering of PreableCallbacks to make sure P [...] adds 40e7d4cd3b6f [ARM] Add some vctp from setcc tests. NFC adds d026f2f7c688 [clang] Fix crash on broken parameter declarators adds d8f3cdfed03f [libcxx] Implement three-way comparison for std::reverse_iterator adds 94038c570fbc [lldb] Fix 'memory write' to not allow specifying values w [...] adds 2778f9a9f6d8 [DAG] SimplifyDemandedVectorElts - attempt to handle ADD(x [...] adds c76d6dd19264 [ARM] Generate VCTP from SETCC adds eafbaca97795 [AArch64][SVE] Generate ASRD instructions for power of 2 s [...] adds d8a35387881b [clang][deps] NFC: Remove else after early return adds 12eafd944e0f [clang][deps] NFC: Clean up wording (ignored vs minimized) adds e20391fc5d6a [LoopVectorize] When tail-folding, don't always predicate [...] adds 4af45f10cccb [GlobalISel] Fold or of shifts to funnel shift. adds 8967d044fc26 [AMDGPU] Add SIMemoryLegalizer comments to clarify bit usage adds 632acec73776 [libunwind][ARM] Handle end of stack during unwind adds 842b6861c01c Defines new PDLInterp operations needed for multi-root mat [...] adds a3b099b68c0c [Docs] Removed /Zd flag still mentioned in documentation adds 08d45e6f4da0 [AArch64][SVEIntrinsicOpts] Fix: predicated SVE mul/fmul a [...] adds 3eb1647af036 Introduced iterative bytecode execution. adds 6df7cc7f47d2 Implementation of the root ordering algorithm adds a76ee58f3cbc Multi-root PDL matching using upward traversals. adds d35f11909499 Added line numbers to the debug output of PDL bytecode. adds 97e504cff956 [clang][deps] NFC: Extract function adds 0e099a64be70 [tsan] Relax atexit5.cpp a bit more so it's not as depende [...] adds 1b0312d28097 [PDL] fix unused variable warning in Release builds adds 8521850f20db Provide a definition for OperationPosition::kDown adds cd0ca5a0eaa1 [clangd] Record information about non self-contained heade [...] adds b62b21b98019 [mlir][linalg][bufferize][NFC] InsertSliceOp no-copy detec [...] adds b927aa69bf2f [SCEV] Turn check in createSimpleAffineAddRec to assertion. (NFC) adds 7f05ff8be481 [Bug 49018][lldb] Fix incorrect help text for 'memory writ [...] adds 6263982172b8 [SLP][NFC]Add a test for gathered instructions in loop, NFC. adds 30238c3676d3 [mlir][OpenMP] Add support for SIMD modifier adds f824bb0e36fc [pstl] Fix incorrect usage of std::invoke_result adds fc0aacf324b1 [SLP]Improve analysis/emission of vector operands for alte [...] adds 34cc210aa8af [clangd] IncludeCleaner: Attribute symbols from non self-c [...] adds 0df522969a7a Revert "Reland "[lldb] Remove non address bits when lookin [...] adds 7dc9a03cfd78 [libc++] Add missing __format__ attributes adds f18f9ce3665e [libc++] Properly handle errors happening during Lit confi [...] adds e714394ab8f0 [LLVM][llvm-cov] Inclusive language: rename option -name-w [...] adds f074bbb04a61 [MLIR] Simplex::pivot: also update the redundant rows when [...] adds 562356d6e3b5 [Target] Use range-based for loops (NFC) adds 7b59fcb7de22 [libc] Make string entrypoints mutualy exclusive. adds 715d2dc126ee [llvm-cov][NFC] Add missing character to fix docs buildbot break. adds ad34ce94d5a0 [MLIR] Simplex: fix a bug when rolling back a Simplex with [...] adds d0f927121ece [mlir][Standard] Support 0-D vectors in `SplatOp` adds 7e65fc9a6009 [mlir][Vector] Support 0-D vectors in `BroadcastOp` adds 5c454033dd62 [libc++] Trigger rebuild of the Docker image so we get a n [...] adds 344eee6f384c [MLIR] Allow `Idempotent` trait to be applied to binary ops. adds fcee33bd5a35 [DAG] Pull out repeated isLittleEndian() calls. NFC. adds 09401dfcf1db [ELF] Rename fetch to extract adds e4e4da86aff5 [MLIR] Prevent creation of buggy affine map after lineariz [...] adds c2280b55173c [MLIR] Avoid creation of buggy affine maps when incorrect [...] adds 3b4dd68de5b4 [ELF][PPC64] Make --power10-stubs/--no-power10-stubs prope [...] adds bee8dcda1f01 [SCEV] Fix and validate ValueExprMap/ExprValueMap consistency adds bfa91f38a998 [DAG] Restore dropped condition adds 803cec026800 [mlir] Fix a warning adds 45a8caf1cdf6 [flang] Fix reversed comparison in RESHAPE() runtime adds a68af62b422d [InstSimplify] baseline tests for icmp of lshr/udiv fold (NFC) adds 719354a57191 Revert "[SCEV] Fix and validate ValueExprMap/ExprValueMap [...] adds 30029e7407c8 [compiler-rt][CMake] Support powerpc32 on Linux adds 06f1d63cb16c [compiler-rt][CMake] Support powerpcspe build adds 53b00b821582 [InstSimplify] Fold X {lshr,udiv} C <u X --> true for nonz [...] adds 8ae815cb19a0 [sanitizer] Switch StackStore to 8 MiB blocks adds f1ba48d50800 [ELF] Simplify Symbol::extract. NFC adds 56c8ad237aa4 [libcxx][NFC] Add tests for associative containers key_com [...] adds 6fa8f7beb192 [ELF][test] Test that .o definition does not inherit .so S [...] adds a19e16352610 Fixed broken build under GCC 5.4. adds 387927bbaf96 [Target] Use range-based for loops (NFC) adds b0c742152489 [RISCV] Emit DWARF location expression for RVV stack objects. adds 8ebb3eac02a9 [test] Use -passes syntax when specifying pipeline in some [...] adds 407600604b59 [test] Use -passes in lit tests for the UpdateTestChecks tool adds 00cf717f51d7 [test] Use -passes syntax in Feature/OperandBundles lit tests adds da66263b6e50 [ARM] implement support for ALU/LDR PC-relative group relocations adds 2b160e95c89f Reland [SCEV] Fix and validate ValueExprMap/ExprValueMap c [...] adds 9f374a74c2aa [NVPTX][AsmPrinter] Avoid removing globals before calling [...] adds 25dad1064bf1 [DSE] Optimize defining access of defs while walking upwards. adds 1b2d58ba90cd [ARM] Extra testing for v2i1 types. NFC adds c2550e342732 [SCEV] Simplify invalidation after BE count calculation (NFCI) adds f492a414bad7 [SCEV] Simplify forgetSymbolicName() (NFCI) adds 904328932699 [DwarfCompileUnit] Set parent DIE right after creating a l [...] adds 7ba64ab05a17 [PowerPC] Regenerate ppc64-P9-vabsd.ll tests adds 7d5d063c7745 [ARM] Fold away unnecessary CSET/CMPZ adds ff649e080210 [Target] Use range-based for loops (NFC) adds 5c64d8ef8cc0 [ARM] CSINC/CSINV patterns from CMOV adds 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 [...] adds ce22b7f17b6a [NPM] Fix LoopNestPasses in -print-pipeline-passes adds f6ae8e8cc7f4 [fir] Add fir reduction builder adds 3666cd0216b8 [Coroutines] Make suspend_always in test noexcept (NFC) adds 46fd7fd7b342 [Flang] Replace notifyMatchFailure with TODO hard failures adds bdcc5aadf5aa [libc] Add _64 element to aarch64 adds 7de410440d46 [DSE] Allow DSE to optimize MemorySSA by default. adds 3a6c4f307bd0 [mlir] Add a helper for TiledLoopOp to get an operand tied [...] adds ec15b7307f54 Add 'LLVM_DEFAULT_TARGET_TRIPLE' to the documented list of [...] adds 67704801c679 [SCEV] Track backedge taken count users (NFCI) adds 84b978da3b80 [LoopUnrollRuntime] Remove unnecessary pointer BECount che [...] adds ec97e1206abd [OpenMP][IRBuilder] Fix createSections adds 2fd0ea960c8a [mlir][linalg][bufferize] CallOps do not bufferize to memo [...] adds 0c047a8e1332 [Sema] check PseudoObject when rebuilding CXXOperatorCallE [...] adds 388bfc540860 [ARM] Fix some identing in ARMAsmPrinter::emitInstruction, NFC adds 6a5e29d13f8e [BuildLibCalls] Add argmemonly, writeonly, nounwind to mem [...] adds a4fbae268f67 Revert "[Sema] check PseudoObject when rebuilding CXXOpera [...] adds 597884226094 Fix clang-format bug when handling conflict markers. adds 6d41de380f22 [ARM] Teach getIntImmCostInst about the cost of saturating [...] adds e3b2f0226bc0 [clang][ARM] PACBTI-M frontend support adds 639b85ea0ba2 [IR] Assert on getPointerElementType() on opaque pointer (NFC) adds ab2611d0998c [clang][ARM] emit PACBTI-M feature defines adds c12c7a84b03b [ARM] add common parts for PACBTI-M support in the backend adds 8ee55ab6c06e [IR] Remove deprecated GetElementPtrInst constructors adds 89eb85ac6eab [IRBuilder] Remove deprecated methods adds d688b3162800 Fix segfault in clang-format. adds b430782be34b [ARM] emit PACBTI-M build attributes adds 0e98659ea119 [ARM] Strengthen fpclamptosat.ll triple to attempt to fix [...] adds 9981dd142f18 [DAG] Apply clang-format to visitMSTORE + visitMLOAD. NFC. adds 0eb1efb92c30 [DAGCombiner] When combining REM ensure optimized div node [...] adds 1e1a8be21fce [LICM] Support opaque pointers in scalar promotion adds 4f7d397b6dbf [X86] Add some basic fptosi/fptoui saturate vector tests adds 5b4746f94aed [clang][ARM] removing branch protection error cmdline test adds 810b2849181f Fixed a memory leak in the PDLToPDLInterp RootOrderingTest. adds ecb9d8e4e3c4 [LICM] Hoist LOAD without sinking the STORE adds 72f9f066df17 Revert "[LICM] Hoist LOAD without sinking the STORE" adds f5f28d5b0ce7 [ARM] Implement BTI placement pass for PACBTI-M adds dee85a4ffaad [gn build] Port f5f28d5b0ce7 adds 0428d44d4cfa [Dexter] Add DexDeclareAddress command and address function adds 8d25da78aad9 [libcxx][test][NFC] Extend get_allocator() testing for containers adds 4dcfae6a003a Fix a violated precondition in clang-format. adds 9a3b357e2b85 [gn build] (manually) port 94d5f2afbef0 adds 3f643f166494 [clang-cl] Set _MSVC_LANG to 202002L with /std:c++20 adds a9d1d00b865a [VE] Make VE official adds f0eef1d21203 [Dexter] Fix address_printing test by requiring lldb adds c6bd63803f62 [BasicAA] Add strncpy libfunc tests. adds 524ad6babb8e [BasicAA] Add memset_chk libfunc tests. adds e28174cf5648 [SLP][NFC]Add a test for inserting into constant undef vec [...] adds 003c9c7457d0 Revert "[Flang] Replace notifyMatchFailure with TODO hard [...] adds e44298a8f8af [LV] Move code from vectorizeMemoryInstruction to recipe's [...] adds 13e66c070bdb Revert "[ARM] Teach getIntImmCostInst about the cost of sa [...] adds 9fce961d2f47 [mlir][linalg] Disable tensor-matmul test under asan adds 9687c1317414 [Verifier] Make matrix intrinsic verification compatible w [...] adds ddce6e05612d [SLP]Improve vectorization of cmp instructions sequences. adds fd9069ffce2d [AArch64][SVE] Duplicate FP_EXTEND/FP_TRUNC -> LOAD/STORE [...] adds cc30fbf2425c [SLP]Introduce isUndefVector function to check for undef vectors. adds 415e821a5089 [PowerPC][AIX] Add toc-data support for 64-bit AIX small c [...] adds b254c2e2c4aa [libc++] Fix `uniform_int_distribution` for 128-bit result type adds afc9e7517ada [SLP]Improve cost model for the shuffled extracts. adds 444013d324fe [VE][NFC] Use POSIX-compatible stream redirection adds 1bd01defff8a [VE] Remove switch with only default case statement to fix [...] adds 19d34f6e95fe [X86] combinePMULH - recognise 'cheap' trunctions via PACK [...] adds 058c312a449f [OpenMP][FIX] SPMDzation guarding needs to account for all [...] adds c537a943342b [mlir][Vector] Thread 0-d vectors through vector.transfer ops adds 0e9979affe29 [libc++][format][1/6] Reduce binary size. adds 7512a9280a41 [llvm][stlextras] Add const methods to concat_range and en [...] adds ca6bd9cd4320 [mlir][ods] AttrOrTypeGen uses Class adds 09859113ed23 Revert "tsan: new runtime (v3)" adds 617ad14060dc [SelectionDAG] Add pattern to haveNoCommonBitsSet adds 6dd0bfad0d3c [Clang][VE] Fix toolchain test when -DCLANG_DEFAULT_LINKER [...] adds c6fa4c481a3f [AArch64] Fix unused variable warning with NDEBUG, NFC adds fa1c077b41ae [runtimes] Remove support for GCC-style 32 bit multilib builds adds dc1244dc4e76 [runtimes] Move WARNING to FATAL_ERROR for folks using FOO [...] adds 6eeda06c1d22 [Clang] Fix nesting of discarded and immediate contexts. adds b6f3c8de6acf [ASan] Fixed include order. adds 435d44bf8ab3 [VE][NFC] Fix use-after-free in VEInstrInfo adds ecaad4a87611 [mlir][ods][nfc] fix gcc-5 build adds 3ee685f98abf [NFC][Clang] Fix some comments in clang adds da7e3fc9abed Revert "[lldb] Temporarily skip TestTsanBasic on Darwin" adds aea6b9dceeb6 [Support] replace check with assert in known bits of mul c [...] adds c0b40b96aff5 Disable issues / pull requests via templates in preparatio [...] adds 7e06474f3cde [Clang] Remove bogus "REQUIRES arm-registered-target" from [...] adds 71668a936781 [mlir][ods][nfc] fixing test cases adds b1bc627e7e99 Revert "[sanitizer] Add delta compression stack depot" adds 44bc97c83444 [flang] Adjust names in Semantics that imply too much (NFC) adds 2f6beb7b0e9e [RISCV] Add inline expansion for vector ftrunc/fceil/ffloor. adds 9e647806f3f4 [InstrProf][NFC] Refactor ProfileDataMap usage adds 7da4ee6f23dd [libcxx][NFC] Make sequence containers slightly more SFINA [...] adds a0b50c56d152 [libc++] [test] C++03-friendly MAKE_STRING macro. adds b4a13e4c9835 [libc++] [test] C++14/17-friendly `TEST_IS_CONSTANT_EVALUA [...] adds 0efd9a03fa64 [libc++] [test] Refactor string_view comparison tests for [...] adds 8d1759c404c7 [GlobalOpt] Simplify CleanupConstantGlobalUsers() adds 844a8d3cecb4 Fix false positives in `fuchsia-trailing-return` check inv [...] adds 5fe151f98f02 [DSE] Add libcall tests for functions only available on Darwin. adds 66071f440c31 [TLI checker] Update for post-commit review comments adds 641906da8de2 AMDGPU/GlobalISel: Fix constant bus restriction errors for med3 adds a0efb1750065 [libcxx][modularisation] modularises <numeric> header adds bab21a46283f [gn build] Port a0efb1750065 adds ad88a37ceadb [TLI] Add memset_pattern4, memset_pattern8 lib functions. adds 20f8733d4b8d [Analyzer][solver] Simplification: Do a fixpoint iteration [...] adds 3f6dbf1a75b2 [flang] Don't close stderr in runtime (fixes STOP output) adds afe43e071309 [mlir] Remove extractVectorTypeFromShapedValue adds 86f48fbb1c31 [NFC][sanitizer] constexpr in sanitizer_dense_map_info adds 6146e4cf89db [libc++] Make __wrap_iter constexpr adds e599aa80c085 [sanitizer] Implement MprotectReadOnly and MprotectNoAccess adds 8c6b24899e51 [libcxx][test][NFC] Various tests for std::vector adds 7cc2493daaf5 profi - a flow-based profile inference algorithm: Part I ( [...] adds 1b7150c8f89a [gn build] Port 7cc2493daaf5 adds 512534bc16d2 [Cloning] Clone metadata on function declarations adds 7cbb6e9a8f6f [llvm-reduce] Assert that the number of chunks does not ch [...] adds 6703fe25b7c2 [TSan][Darwin] Mark test unsupported adds 170783f991fa [llvm] [Support] Add HTTP Client Support library. adds ab112c2964a2 [gn build] Port 170783f991fa adds 987a21522f2c [clang-tidy] Use `hasCanonicalType()` matcher in `bugprone [...] adds 8f329cee4237 [lldb] Split TestCxxChar8_t adds 863b117411d8 [TSan][Darwin] Prevent inlining of functions in tests adds f9d585d0dd57 Revert "[sanitizer] Add compress_stack_depot flag" adds 54e21df973e1 [unroll] Fix a functional change in an NFC patch adds 27c9e8b45b25 Revert "[VE] Make VE official" adds 4479138de8e6 [mlir][linalg][bufferize] Bufferization of tensor.insert adds 3dfa76b695f8 [tests] Precommit tests for writeonly argument attribute i [...] adds 8176768b46b7 [lldb] Fix DYLD_INSERT_LIBRARIES on AS adds ae234a7545db [NFC][sanitizer] Fix "not used" warning in test adds c16b13ebf977 [libc++] Implement P1989R2: range constructor for string_view adds 399b7de0ea34 [AMDGPU] Add a regclass flag for scalar registers adds 86eb57b728c8 [mlir][drr] Simple heuristic to reduce chance of accidenta [...] new b0ac68ccb729 [ELF] Prevent internalizing used comdat symbol
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: .github/ISSUE_TEMPLATE.md | 14 + .github/ISSUE_TEMPLATE/config.yml | 1 + .github/ISSUE_TEMPLATE/do-not-file-an-issue.md | 14 + .github/PULL_REQUEST_TEMPLATE.md | 3 + clang-tools-extra/clang-doc/ClangDoc.h | 2 +- .../clang-tidy/ClangTidyDiagnosticConsumer.cpp | 10 +- .../clang-tidy/altera/StructPackAlignCheck.cpp | 4 + .../clang-tidy/bugprone/UnusedRaiiCheck.cpp | 7 +- .../NarrowingConversionsCheck.cpp | 51 +- .../VirtualClassDestructorCheck.cpp | 11 +- .../clang-tidy/fuchsia/TrailingReturnCheck.cpp | 13 +- .../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 + clang-tools-extra/clangd/CodeComplete.cpp | 3 +- clang-tools-extra/clangd/Headers.cpp | 26 +- clang-tools-extra/clangd/Headers.h | 13 +- clang-tools-extra/clangd/IncludeCleaner.cpp | 50 +- clang-tools-extra/clangd/IncludeCleaner.h | 1 + clang-tools-extra/clangd/ParsedAST.cpp | 3 +- clang-tools-extra/clangd/Preamble.cpp | 8 +- clang-tools-extra/clangd/SourceCode.cpp | 53 + clang-tools-extra/clangd/SourceCode.h | 6 + .../clangd/include-mapping/gen_std.py | 6 +- clang-tools-extra/clangd/index/SymbolCollector.cpp | 51 +- .../clangd/unittests/HeadersTests.cpp | 36 +- .../clangd/unittests/IncludeCleanerTests.cpp | 77 +- .../clangd/unittests/PreambleTests.cpp | 3 +- clang-tools-extra/docs/ReleaseNotes.rst | 8 +- ...era-struct-pack-align-invalid-decl-no-crash.cpp | 6 + .../clang-tidy/checkers/bugprone-unused-raii.cpp | 22 + ...eguidelines-narrowing-conversions-bitfields.cpp | 203 + .../cppcoreguidelines-virtual-class-destructor.cpp | 50 + .../checkers/fuchsia-trailing-return.cpp | 32 +- .../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/UsersManual.rst | 1 - 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 +- clang/include/clang/Analysis/CFG.h | 2 +- .../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/DiagnosticDriverKinds.td | 2 + clang/include/clang/Basic/DiagnosticGroups.td | 10 +- clang/include/clang/Basic/DiagnosticIDs.h | 2 +- clang/include/clang/Basic/DiagnosticSemaKinds.td | 42 +- clang/include/clang/Driver/Options.td | 20 +- clang/include/clang/Frontend/PrecompiledPreamble.h | 4 +- clang/include/clang/Sema/Sema.h | 29 +- .../DependencyScanningFilesystem.h | 16 +- clang/lib/AST/ASTContext.cpp | 9 + clang/lib/AST/ASTStructuralEquivalence.cpp | 42 + 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/AArch64.cpp | 4 +- clang/lib/Basic/Targets/ARM.cpp | 32 + clang/lib/Basic/Targets/ARM.h | 3 + clang/lib/Basic/Targets/OSTargets.cpp | 10 +- clang/lib/Basic/Targets/X86.cpp | 10 +- clang/lib/CodeGen/CGAtomic.cpp | 14 + clang/lib/CodeGen/CodeGenModule.cpp | 132 +- clang/lib/CodeGen/CodeGenModule.h | 1 + clang/lib/CodeGen/TargetInfo.cpp | 22 +- clang/lib/Driver/ToolChains/Arch/AArch64.cpp | 15 +- clang/lib/Driver/ToolChains/Clang.cpp | 88 +- clang/lib/Driver/ToolChains/Linux.cpp | 3 + clang/lib/Driver/ToolChains/PS4CPU.h | 1 + clang/lib/Format/ContinuationIndenter.cpp | 12 +- clang/lib/Format/FormatTokenLexer.cpp | 2 + clang/lib/Format/TokenAnnotator.cpp | 8 +- clang/lib/Format/UnwrappedLineParser.cpp | 27 +- clang/lib/Frontend/PrecompiledPreamble.cpp | 5 +- clang/lib/Parse/ParseDecl.cpp | 14 +- clang/lib/Sema/AnalysisBasedWarnings.cpp | 2 +- clang/lib/Sema/SemaChecking.cpp | 23 +- clang/lib/Sema/SemaDecl.cpp | 118 +- clang/lib/Sema/SemaDeclAttr.cpp | 161 +- clang/lib/Sema/SemaExpr.cpp | 15 + clang/lib/Sema/SemaExprCXX.cpp | 5 +- clang/lib/Sema/SemaStmt.cpp | 9 +- .../StaticAnalyzer/Core/RangeConstraintManager.cpp | 39 +- .../lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp | 32 +- .../StaticAnalyzer/Frontend/AnalysisConsumer.cpp | 26 +- .../DependencyScanningFilesystem.cpp | 59 +- .../DependencyScanningWorker.cpp | 21 +- .../svalbuilder-simplify-compound-svals.cpp | 76 + clang/test/Analysis/taint-tester.c | 7 +- .../aarch64-sve-intrinsics/acle_sve_bfmmla.c | 2 +- .../acle_sve_create2-bfloat.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_create2.c | 2 +- .../acle_sve_create3-bfloat.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_create3.c | 2 +- .../acle_sve_create4-bfloat.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_create4.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_cvt-bfloat.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_cvtnt.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_get2-bfloat.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_get3-bfloat.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_get4-bfloat.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_ld1ro-bfloat.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_ld1ro.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_ld1rq-bfloat.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_ld2-bfloat.c | 2 +- .../CodeGen/aarch64-sve-intrinsics/acle_sve_ld2.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_ld3-bfloat.c | 2 +- .../CodeGen/aarch64-sve-intrinsics/acle_sve_ld3.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_ld4-bfloat.c | 2 +- .../CodeGen/aarch64-sve-intrinsics/acle_sve_ld4.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_ldff1-bfloat.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_ldnf1-bfloat.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_ldnt1-bfloat.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_matmul_fp32.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_matmul_fp64.c | 2 +- .../CodeGen/aarch64-sve-intrinsics/acle_sve_mmla.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_rev-bfloat.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_set2-bfloat.c | 2 +- .../CodeGen/aarch64-sve-intrinsics/acle_sve_set2.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_set3-bfloat.c | 2 +- .../CodeGen/aarch64-sve-intrinsics/acle_sve_set3.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_set4-bfloat.c | 2 +- .../CodeGen/aarch64-sve-intrinsics/acle_sve_set4.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_st2-bfloat.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_st3-bfloat.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_st4-bfloat.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_stnt1-bfloat.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_trn1-bfloat.c | 2 +- .../acle_sve_trn1-fp64-bfloat.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_trn1-fp64.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_trn2-bfloat.c | 2 +- .../acle_sve_trn2-fp64-bfloat.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_trn2-fp64.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_undef-bfloat.c | 2 +- .../acle_sve_undef2-bfloat.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_undef2.c | 2 +- .../acle_sve_undef3-bfloat.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_undef3.c | 2 +- .../acle_sve_undef4-bfloat.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_undef4.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_uzp1-bfloat.c | 2 +- .../acle_sve_uzp1-fp64-bfloat.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_uzp1-fp64.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_uzp2-bfloat.c | 2 +- .../acle_sve_uzp2-fp64-bfloat.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_uzp2-fp64.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_zip1-bfloat.c | 2 +- .../acle_sve_zip1-fp64-bfloat.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_zip1-fp64.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_zip2-bfloat.c | 2 +- .../acle_sve_zip2-fp64-bfloat.c | 2 +- .../aarch64-sve-intrinsics/acle_sve_zip2-fp64.c | 2 +- .../negative/acle_sve_asrd.c | 2 +- .../negative/acle_sve_cadd.c | 2 +- .../negative/acle_sve_cmla.c | 2 +- .../aarch64-sve-intrinsics/negative/acle_sve_dot.c | 2 +- .../aarch64-sve-intrinsics/negative/acle_sve_ext.c | 2 +- .../negative/acle_sve_get2.c | 2 +- .../negative/acle_sve_get3.c | 2 +- .../negative/acle_sve_get4.c | 2 +- .../aarch64-sve-intrinsics/negative/acle_sve_mla.c | 2 +- .../aarch64-sve-intrinsics/negative/acle_sve_mul.c | 2 +- .../negative/acle_sve_prfb.c | 2 +- .../negative/acle_sve_prfd.c | 2 +- .../negative/acle_sve_prfh.c | 2 +- .../negative/acle_sve_prfw.c | 2 +- .../negative/acle_sve_qdecb.c | 2 +- .../negative/acle_sve_qdecd.c | 2 +- .../negative/acle_sve_qdech.c | 2 +- .../negative/acle_sve_qdecw.c | 2 +- .../negative/acle_sve_qincb.c | 2 +- .../negative/acle_sve_qincd.c | 2 +- .../negative/acle_sve_qinch.c | 2 +- .../negative/acle_sve_qincw.c | 2 +- .../negative/acle_sve_set2.c | 2 +- .../negative/acle_sve_set3.c | 2 +- .../negative/acle_sve_set4.c | 2 +- .../negative/acle_sve_tmad.c | 2 +- .../aarch64-sve-intrinsics/negative/big_endian.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_adalp.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_addp.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_aesd.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_aese.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_aesimc.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_aesmc.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_cadd.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_cdot.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_cmla.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_cvtlt.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_cvtnt.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_cvtx.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_cvtxnt.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_histcnt.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_histseg.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_ldnt1.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_ldnt1sb.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_ldnt1sh.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_ldnt1sw.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_ldnt1ub.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_ldnt1uh.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_ldnt1uw.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_logb.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_match.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_maxnmp.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_maxp.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_minnmp.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_minp.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_mla.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_mls.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_movlb.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_movlt.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_mul.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_nmatch.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_qabs.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_qcadd.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_qneg.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_qrdcmlah.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_qrshrnb.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_qrshrnt.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_qrshrunb.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_qrshrunt.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_qshlu.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_qshrnb.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_qshrnt.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_qshrunb.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_qshrunt.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_qxtnb.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_qxtnt.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_qxtunb.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_qxtunt.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_rax1.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_recpe.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_rshr.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_rshrnb.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_rshrnt.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_rsqrte.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_rsra.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_shllb.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_shllt.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_shrnb.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_shrnt.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_sli.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_sm4e.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_sm4ekey.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_sra.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_sri.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_stnt1.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_stnt1b.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_stnt1h.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_stnt1w.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_tbl2.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_tbx.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_whilege.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_whilegt.c | 2 +- .../acle_sve2_whilerw-bfloat.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_whilerw.c | 2 +- .../acle_sve2_whilewr-bfloat.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_whilewr.c | 2 +- .../aarch64-sve2-intrinsics/acle_sve2_xar.c | 2 +- .../negative/acle_sve2_cadd.c | 2 +- .../negative/acle_sve2_cdot.c | 2 +- .../negative/acle_sve2_cmla.c | 2 +- .../negative/acle_sve2_mla.c | 2 +- .../negative/acle_sve2_mlalb.c | 2 +- .../negative/acle_sve2_mlalt.c | 2 +- .../negative/acle_sve2_mls.c | 2 +- .../negative/acle_sve2_mlslb.c | 2 +- .../negative/acle_sve2_mlslt.c | 2 +- .../negative/acle_sve2_mul.c | 2 +- .../negative/acle_sve2_mullb.c | 2 +- .../negative/acle_sve2_mullt.c | 2 +- .../negative/acle_sve2_qcadd.c | 2 +- .../negative/acle_sve2_qdmlalb.c | 2 +- .../negative/acle_sve2_qdmlalt.c | 2 +- .../negative/acle_sve2_qdmlslb.c | 2 +- .../negative/acle_sve2_qdmlslt.c | 2 +- .../negative/acle_sve2_qdmulh.c | 2 +- .../negative/acle_sve2_qdmullb.c | 2 +- .../negative/acle_sve2_qdmullt.c | 2 +- .../negative/acle_sve2_qrdcmlah.c | 2 +- .../negative/acle_sve2_qrdmlah.c | 2 +- .../negative/acle_sve2_qrdmlsh.c | 2 +- .../negative/acle_sve2_qrdmulh.c | 2 +- .../negative/acle_sve2_qrshrnb.c | 2 +- .../negative/acle_sve2_qrshrnt.c | 2 +- .../negative/acle_sve2_qrshrunb.c | 2 +- .../negative/acle_sve2_qrshrunt.c | 2 +- .../negative/acle_sve2_qshlu.c | 2 +- .../negative/acle_sve2_qshrnb.c | 2 +- .../negative/acle_sve2_qshrnt.c | 2 +- .../negative/acle_sve2_qshrunb.c | 2 +- .../negative/acle_sve2_qshrunt.c | 2 +- .../negative/acle_sve2_rshr.c | 2 +- .../negative/acle_sve2_rshrnb.c | 2 +- .../negative/acle_sve2_rshrnt.c | 2 +- .../negative/acle_sve2_rsra.c | 2 +- .../negative/acle_sve2_shllb.c | 2 +- .../negative/acle_sve2_shllt.c | 2 +- .../negative/acle_sve2_shrnb.c | 2 +- .../negative/acle_sve2_shrnt.c | 2 +- .../negative/acle_sve2_sli.c | 2 +- .../negative/acle_sve2_sra.c | 2 +- .../negative/acle_sve2_sri.c | 2 +- .../negative/acle_sve2_xar.c | 2 +- clang/test/CodeGen/arm-branch-protection-attr-1.c | 42 + clang/test/CodeGen/arm-branch-protection-attr-2.c | 33 + clang/test/CodeGen/arm_neon_intrinsics.c | 216 +- .../CodeGen/attr-arm-sve-vector-bits-codegen.c | 2 +- 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/CodeGenCoroutines/Inputs/coroutine.h | 6 +- clang/test/Driver/aarch64-security-options.c | 3 +- clang/test/Driver/aarch64-target-as-march.s | 9 + clang/test/Driver/arm-security-options.c | 59 + 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 + clang/test/Driver/ve-toolchain.c | 7 +- clang/test/Driver/ve-toolchain.cpp | 7 +- ...pragma-attribute-supported-attributes-list.test | 1 + clang/test/OpenMP/cancel_codegen.cpp | 64 +- clang/test/Parser/cxx-keyword-identifiers.cpp | 4 + clang/test/Preprocessor/arm-target-features.c | 19 + clang/test/Preprocessor/init.c | 1 + clang/test/Preprocessor/macro-reserved.c | 2 +- clang/test/Preprocessor/macro-reserved.cpp | 2 +- clang/test/Preprocessor/predefined-win-macros.c | 4 +- .../test/Sema/aarch64-branch-protection-attr-err.c | 29 + clang/test/Sema/arm-branch-protection-attr-err.c | 33 + clang/test/Sema/attr-cpuspecific.c | 3 +- clang/test/Sema/attr-target-clones.c | 88 + clang/test/Sema/branch-protection-attr-err.c | 22 - 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/cxx2b-consteval-if.cpp | 3 +- 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/AST/StructuralEquivalenceTest.cpp | 122 + clang/unittests/Driver/SanitizerArgsTest.cpp | 8 +- clang/unittests/Format/FormatTest.cpp | 36 +- clang/unittests/Format/FormatTestComments.cpp | 12 + clang/unittests/Interpreter/InterpreterTest.cpp | 2 +- clang/unittests/Tooling/DependencyScannerTest.cpp | 6 +- .../cmake/Modules/AllSupportedArchDefs.cmake | 2 +- compiler-rt/cmake/base-config-ix.cmake | 4 +- compiler-rt/cmake/builtin-config-ix.cmake | 2 +- compiler-rt/include/CMakeLists.txt | 1 + compiler-rt/include/profile/MemProfData.inc | 61 + compiler-rt/lib/asan/tests/asan_noinst_test.cpp | 15 +- compiler-rt/lib/builtins/CMakeLists.txt | 2 + 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 + .../sanitizer_common/sanitizer_dense_map_info.h | 140 +- .../lib/sanitizer_common/sanitizer_fuchsia.cpp | 9 + .../lib/sanitizer_common/sanitizer_leb128.h | 87 + .../lib/sanitizer_common/sanitizer_stack_store.cpp | 185 +- .../lib/sanitizer_common/sanitizer_stack_store.h | 92 +- .../lib/sanitizer_common/sanitizer_stackdepot.cpp | 16 +- .../sanitizer_common/sanitizer_thread_registry.h | 2 - compiler-rt/lib/sanitizer_common/sanitizer_win.cpp | 5 + .../lib/sanitizer_common/tests/CMakeLists.txt | 1 + .../tests/sanitizer_common_test.cpp | 19 + .../tests/sanitizer_leb128_test.cpp | 83 + .../tests/sanitizer_stack_store_test.cpp | 107 +- compiler-rt/lib/tsan/CMakeLists.txt | 1 + compiler-rt/lib/tsan/check_analyze.sh | 12 +- compiler-rt/lib/tsan/go/build.bat | 1 - compiler-rt/lib/tsan/go/buildgo.sh | 1 - compiler-rt/lib/tsan/go/tsan_go.cpp | 2 +- compiler-rt/lib/tsan/rtl/tsan_defs.h | 23 +- compiler-rt/lib/tsan/rtl/tsan_dense_alloc.h | 9 - compiler-rt/lib/tsan/rtl/tsan_flags.cpp | 6 + compiler-rt/lib/tsan/rtl/tsan_flags.inc | 10 +- .../lib/tsan/rtl/tsan_interceptors_posix.cpp | 41 +- compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cpp | 87 +- compiler-rt/lib/tsan/rtl/tsan_interface_java.cpp | 4 +- compiler-rt/lib/tsan/rtl/tsan_mman.cpp | 32 +- compiler-rt/lib/tsan/rtl/tsan_mman.h | 2 - compiler-rt/lib/tsan/rtl/tsan_mutexset.cpp | 54 +- compiler-rt/lib/tsan/rtl/tsan_mutexset.h | 11 +- compiler-rt/lib/tsan/rtl/tsan_platform.h | 173 +- compiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp | 48 +- compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp | 152 +- compiler-rt/lib/tsan/rtl/tsan_platform_posix.cpp | 16 +- compiler-rt/lib/tsan/rtl/tsan_platform_windows.cpp | 3 + compiler-rt/lib/tsan/rtl/tsan_rtl.cpp | 626 +-- compiler-rt/lib/tsan/rtl/tsan_rtl.h | 325 +- compiler-rt/lib/tsan/rtl/tsan_rtl_access.cpp | 860 ++- compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp | 642 ++- compiler-rt/lib/tsan/rtl/tsan_rtl_proc.cpp | 1 + compiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp | 367 +- compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cpp | 191 +- compiler-rt/lib/tsan/rtl/tsan_shadow.h | 315 +- compiler-rt/lib/tsan/rtl/tsan_sync.cpp | 82 +- compiler-rt/lib/tsan/rtl/tsan_sync.h | 48 +- compiler-rt/lib/tsan/rtl/tsan_trace.h | 73 +- .../lib/tsan/rtl/tsan_update_shadow_word.inc | 59 + .../lib/tsan/tests/unit/tsan_flags_test.cpp | 4 +- .../lib/tsan/tests/unit/tsan_shadow_test.cpp | 92 +- .../lib/tsan/tests/unit/tsan_stack_test.cpp | 4 +- compiler-rt/lib/tsan/tests/unit/tsan_sync_test.cpp | 17 +- .../lib/tsan/tests/unit/tsan_trace_test.cpp | 175 +- .../hwasan/TestCases/Linux/decorate-proc-maps.c | 2 +- compiler-rt/test/hwasan/TestCases/lto.c | 3 +- compiler-rt/test/tsan/atexit4.cpp | 7 + compiler-rt/test/tsan/atexit5.cpp | 27 + compiler-rt/test/tsan/bench_threads.cpp | 5 + compiler-rt/test/tsan/free_race2.c | 2 +- compiler-rt/test/tsan/memcmp_race.cpp | 2 +- compiler-rt/test/tsan/memcpy_race.cpp | 10 +- compiler-rt/test/tsan/mutexset7.cpp | 6 +- compiler-rt/test/tsan/on_exit.cpp | 36 + ...st.cppp => alignment-assumption-ignorelist.cpp} | 0 .../debuginfo-tests/dexter/Commands.md | 56 + .../dexter/dex/command/ParseCommand.py | 38 +- .../dex/command/commands/DexDeclareAddress.py | 58 + .../dex/command/commands/DexExpectWatchBase.py | 70 +- .../dexter/dex/heuristic/Heuristic.py | 30 + .../commands/penalty/missing_dex_address.cpp | 20 + .../dex_declare_address/address_after_ref.cpp | 17 + .../dex_declare_address/address_hit_count.cpp | 20 + .../dex_declare_address/expression_address.cpp | 18 + .../dex_declare_address/identical_address.cpp | 18 + .../dex_declare_address/multiple_address.cpp | 24 + .../perfect/dex_declare_address/offset_address.cpp | 18 + .../dex_declare_address/self_comparison.cpp | 18 + .../subtools/test/address_printing.cpp | 51 + .../subtools/test/err_duplicate_address.cpp | 16 + .../subtools/test/err_undeclared_addr.cpp | 16 + flang/include/flang/Evaluate/tools.h | 6 +- flang/include/flang/Optimizer/Builder/FIRBuilder.h | 27 +- .../flang/Optimizer/Builder/Runtime/Assign.h | 32 + .../flang/Optimizer/Builder/Runtime/RTBuilder.h | 430 ++ .../flang/Optimizer/Builder/Runtime/Reduction.h | 155 + .../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/include/flang/Semantics/symbol.h | 8 +- flang/include/flang/Semantics/type.h | 69 +- flang/lib/Evaluate/characteristics.cpp | 12 +- flang/lib/Evaluate/check-expression.cpp | 7 +- flang/lib/Evaluate/intrinsics.cpp | 83 +- flang/lib/Evaluate/shape.cpp | 2 +- flang/lib/Evaluate/tools.cpp | 43 +- flang/lib/Lower/ConvertType.cpp | 4 +- flang/lib/Optimizer/Builder/CMakeLists.txt | 3 + flang/lib/Optimizer/Builder/FIRBuilder.cpp | 118 +- flang/lib/Optimizer/Builder/Runtime/Assign.cpp | 26 + flang/lib/Optimizer/Builder/Runtime/Reduction.cpp | 928 ++++ .../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-call.cpp | 21 +- flang/lib/Semantics/check-declarations.cpp | 52 +- flang/lib/Semantics/check-do-forall.cpp | 2 +- flang/lib/Semantics/data-to-inits.cpp | 31 +- flang/lib/Semantics/mod-file.cpp | 14 +- flang/lib/Semantics/resolve-names-utils.cpp | 2 +- flang/lib/Semantics/resolve-names.cpp | 2 +- flang/lib/Semantics/tools.cpp | 9 +- flang/lib/Semantics/type.cpp | 12 +- flang/runtime/CMakeLists.txt | 1 + flang/runtime/connection.h | 3 +- flang/runtime/file.cpp | 52 +- flang/runtime/file.h | 11 +- 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 | 3 +- 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 + .../Optimizer/Builder/Runtime/ReductionTest.cpp | 327 ++ .../Builder/Runtime/RuntimeCallTestBase.h | 121 + .../Builder/Runtime/TransformationalTest.cpp | 129 + flang/unittests/Optimizer/CMakeLists.txt | 3 + 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 | 69 +- libc/src/string/bcmp.cpp | 12 +- libc/src/string/memmove.cpp | 9 +- libc/src/string/memory_utils/CMakeLists.txt | 28 + .../src/string/memory_utils/bcmp_implementations.h | 61 + libc/src/string/memory_utils/elements_aarch64.h | 2 + libc/src/string/mempcpy.cpp | 9 +- libc/src/string/stpncpy.cpp | 4 +- libc/src/string/strcpy.cpp | 17 +- libc/src/string/strdup.cpp | 8 +- libc/src/string/strndup.cpp | 11 +- libc/test/src/string/bcmp_test.cpp | 6 +- libcxx/CMakeLists.txt | 16 +- 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/cmake/caches/Generic-32bits.cmake | 1 - libcxx/docs/BuildingLibcxx.rst | 6 - libcxx/docs/ReleaseNotes.rst | 20 + libcxx/docs/Status/Cxx20Papers.csv | 2 +- libcxx/docs/Status/Cxx2bPapers.csv | 2 +- libcxx/docs/Status/SpaceshipProjects.csv | 15 +- libcxx/include/CMakeLists.txt | 13 + libcxx/include/__bsd_locale_fallbacks.h | 6 +- libcxx/include/__config | 35 +- libcxx/include/__iterator/reverse_iterator.h | 12 + libcxx/include/__iterator/wrap_iter.h | 86 +- libcxx/include/__memory/allocator_traits.h | 8 - libcxx/include/__numeric/accumulate.h | 52 + libcxx/include/__numeric/adjacent_difference.h | 72 + libcxx/include/__numeric/exclusive_scan.h | 53 + libcxx/include/__numeric/gcd_lcm.h | 96 + libcxx/include/__numeric/inclusive_scan.h | 60 + libcxx/include/__numeric/inner_product.h | 53 + libcxx/include/__numeric/iota.h | 32 + libcxx/include/__numeric/midpoint.h | 85 + libcxx/include/__numeric/partial_sum.h | 70 + libcxx/include/__numeric/reduce.h | 47 + .../include/__numeric/transform_exclusive_scan.h | 49 + .../include/__numeric/transform_inclusive_scan.h | 58 + libcxx/include/__numeric/transform_reduce.h | 54 + libcxx/include/__random/log2.h | 37 +- libcxx/include/__random/uniform_int_distribution.h | 9 +- libcxx/include/deque | 59 +- libcxx/include/filesystem | 2 +- libcxx/include/format | 127 +- libcxx/include/forward_list | 29 +- libcxx/include/list | 50 +- libcxx/include/module.modulemap | 16 + libcxx/include/numeric | 489 +- libcxx/include/string_view | 59 +- libcxx/include/type_traits | 4 +- libcxx/include/vector | 62 +- libcxx/include/version | 4 +- libcxx/src/filesystem/filesystem_common.h | 10 +- libcxx/test/CMakeLists.txt | 5 - .../numeric/accumulate.module.verify.cpp | 15 + .../numeric/adjacent_difference.module.verify.cpp | 15 + .../numeric/exclusive_scan.module.verify.cpp | 15 + .../numeric/gcd_lcm.module.verify.cpp | 15 + .../numeric/inclusive_scan.module.verify.cpp | 15 + .../numeric/inner_product.module.verify.cpp | 15 + .../detail.headers/numeric/iota.module.verify.cpp | 15 + .../numeric/midpoint.module.verify.cpp | 15 + .../numeric/partial_sum.module.verify.cpp | 15 + .../numeric/reduce.module.verify.cpp | 15 + .../transform_exclusive_scan.module.verify.cpp | 15 + .../transform_inclusive_scan.module.verify.cpp | 15 + .../numeric/transform_reduce.module.verify.cpp | 15 + .../directory_entry.mods/last_write_time.pass.cpp | 3 - .../locale_dependent.compile.pass.cpp | 3 +- libcxx/test/libcxx/selftest/dsl/dsl.sh.py | 13 +- ...202_notify_from_pthread_created_thread.pass.cpp | 3 - .../thread.thread.this/sleep_for.pass.cpp | 3 - .../thread.thread.this/sleep_for.signals.pass.cpp | 3 - .../associative/map/get_allocator.pass.cpp | 37 + .../associative/map/map.cons/compare.pass.cpp | 2 - .../map/map.observers/key_comp.pass.cpp | 30 + .../map/map.observers/value_comp.pass.cpp | 30 + .../map/map.value_compare/invoke.pass.cpp | 47 + .../map/map.value_compare/types.pass.cpp | 30 + .../associative/multimap/get_allocator.pass.cpp | 37 + .../multimap/multimap.cons/compare.pass.cpp | 2 - .../multimap/multimap.observers/key_comp.pass.cpp | 30 + .../multimap.observers/value_comp.pass.cpp | 30 + .../multimap.value_compare/invoke.pass.cpp | 47 + .../multimap/multimap.value_compare/types.pass.cpp | 30 + .../associative/multiset/get_allocator.pass.cpp | 33 + .../multiset/multiset.cons/compare.pass.cpp | 6 +- .../multiset/multiset.observers/comp.pass.cpp | 33 + .../associative/set/get_allocator.pass.cpp | 33 + .../associative/set/set.cons/compare.pass.cpp | 6 +- .../associative/set/set.observers/comp.pass.cpp | 33 + .../deque/deque.cons/default_noexcept.pass.cpp | 1 + .../deque/deque.cons/dtor_noexcept.pass.cpp | 1 + .../deque/deque.cons/move_assign_noexcept.pass.cpp | 1 + .../deque/deque.cons/move_noexcept.pass.cpp | 1 + .../deque/deque.special/swap_noexcept.pass.cpp | 2 + .../sequences/deque/get_allocator.pass.cpp | 34 + .../forwardlist.cons/default_noexcept.pass.cpp | 1 + .../forwardlist.cons/dtor_noexcept.pass.cpp | 1 + .../forwardlist.cons/move_assign_noexcept.pass.cpp | 1 + .../forwardlist.cons/move_noexcept.pass.cpp | 1 + .../forwardlist.spec/swap_noexcept.pass.cpp | 2 + .../sequences/forwardlist/get_allocator.pass.cpp | 34 + .../sequences/list/get_allocator.pass.cpp | 34 + .../list/list.cons/default_noexcept.pass.cpp | 1 + .../list/list.cons/dtor_noexcept.pass.cpp | 1 + .../list/list.cons/move_assign_noexcept.pass.cpp | 1 + .../list/list.cons/move_noexcept.pass.cpp | 1 + .../list/list.special/swap_noexcept.pass.cpp | 2 + .../sequences/vector.bool/get_allocator.pass.cpp | 34 + .../containers/sequences/vector/access.pass.cpp | 153 +- .../sequences/vector/get_allocator.pass.cpp | 34 + .../sequences/vector/reverse_iterators.pass.cpp | 77 + .../vector/vector.capacity/reserve.pass.cpp | 33 + .../vector/vector.cons/assign_copy.pass.cpp | 39 + .../vector/vector.cons/default_noexcept.pass.cpp | 1 + .../vector/vector.cons/dtor_noexcept.pass.cpp | 1 + .../vector.cons/move_assign_noexcept.pass.cpp | 3 + .../vector/vector.cons/move_noexcept.pass.cpp | 1 + .../vector/vector.modifiers/emplace_extra.pass.cpp | 13 + .../vector.modifiers/insert_iter_lvalue.pass.cpp | 120 + .../vector.modifiers/insert_iter_value.pass.cpp | 98 - .../vector/vector.special/swap_noexcept.pass.cpp | 2 + .../unord/unord.map/get_allocator.pass.cpp | 38 + .../unord/unord.multimap/get_allocator.pass.cpp | 38 + .../unord/unord.multiset/get_allocator.pass.cpp | 36 + .../unord/unord.set/get_allocator.pass.cpp | 36 + .../fs.op.funcs/fs.op.copy_file/copy_file.pass.cpp | 3 - .../fs.op.last_write_time/last_write_time.pass.cpp | 3 - .../reverse.iter.cmp/three-way.pass.cpp | 100 + .../support.limits.general/format.version.pass.cpp | 10 +- .../version.version.pass.cpp | 10 +- .../rand.dist.uni.int/int128.pass.cpp | 86 + .../string.view.comparison/equal.pass.cpp | 116 + .../string.view.comparison/greater.pass.cpp | 116 + .../string.view.comparison/greater_equal.pass.cpp | 116 + .../string.view.comparison/less.pass.cpp | 116 + .../string.view.comparison/less_equal.pass.cpp | 116 + .../string.view.comparison/not_equal.pass.cpp | 116 + .../opeq.string_view.pointer.pass.cpp | 70 - .../opeq.string_view.string.pass.cpp | 53 - .../opeq.string_view.string_view.pass.cpp | 63 - .../opge.string_view.pointer.pass.cpp | 73 - .../opge.string_view.string.pass.cpp | 53 - .../opge.string_view.string_view.pass.cpp | 66 - .../opgt.string_view.pointer.pass.cpp | 73 - .../opgt.string_view.string.pass.cpp | 53 - .../opgt.string_view.string_view.pass.cpp | 66 - .../ople.string_view.pointer.pass.cpp | 73 - .../ople.string_view.string.pass.cpp | 53 - .../ople.string_view.string_view.pass.cpp | 66 - .../oplt.string_view.pointer.pass.cpp | 73 - .../oplt.string_view.string.pass.cpp | 53 - .../oplt.string_view.string_view.pass.cpp | 66 - .../opne.string_view.pointer.pass.cpp | 71 - .../opne.string_view.string.pass.cpp | 53 - .../opne.string_view.string_view.pass.cpp | 63 - .../string.view.cons/from_range.pass.cpp | 199 + .../iterator_sentinel.pass.cpp} | 0 .../string.view/string.view.deduct/range.pass.cpp | 56 + .../thread/futures/futures.async/async.pass.cpp | 3 - .../futures/futures.shared_future/wait.pass.cpp | 3 - .../futures.shared_future/wait_for.pass.cpp | 3 - .../futures.shared_future/wait_until.pass.cpp | 3 - .../futures/futures.unique_future/wait.pass.cpp | 3 - .../futures.unique_future/wait_for.pass.cpp | 3 - .../futures.unique_future/wait_until.pass.cpp | 3 - .../test/std/thread/thread.barrier/arrive.pass.cpp | 3 - .../thread/thread.barrier/arrive_and_drop.pass.cpp | 3 - .../thread/thread.barrier/arrive_and_wait.pass.cpp | 3 - .../std/thread/thread.barrier/completion.pass.cpp | 3 - .../notify_all_at_thread_exit.pass.cpp | 3 - .../thread.condition.condvar/notify_all.pass.cpp | 3 - .../thread.condition.condvar/wait_for.pass.cpp | 3 - .../wait_for_pred.pass.cpp | 3 - .../thread.condition.condvar/wait_until.pass.cpp | 3 - .../wait_until_pred.pass.cpp | 3 - .../notify_one.pass.cpp | 3 - .../thread.condition.condvarany/wait_for.pass.cpp | 3 - .../wait_for_pred.pass.cpp | 3 - .../wait_until.pass.cpp | 3 - .../wait_until_pred.pass.cpp | 3 - .../thread/thread.latch/arrive_and_wait.pass.cpp | 3 - .../std/thread/thread.latch/count_down.pass.cpp | 3 - .../thread.lock.shared.cons/mutex.pass.cpp | 3 - .../mutex_duration.pass.cpp | 3 - .../mutex_time_point.pass.cpp | 3 - .../mutex_try_to_lock.pass.cpp | 3 - .../thread.lock.shared.locking/lock.pass.cpp | 3 - .../try_lock_until.pass.cpp | 3 - .../thread.lock.unique.cons/mutex.pass.cpp | 3 - .../mutex_duration.pass.cpp | 3 - .../mutex_time_point.pass.cpp | 3 - .../mutex_try_to_lock.pass.cpp | 3 - .../thread.lock.unique.locking/lock.pass.cpp | 3 - .../try_lock_until.pass.cpp | 3 - .../thread.mutex.class/lock.pass.cpp | 3 - .../thread.mutex.class/try_lock.pass.cpp | 3 - .../thread.mutex.recursive/lock.pass.cpp | 3 - .../thread.mutex.recursive/try_lock.pass.cpp | 3 - .../thread.shared_mutex.class/lock.pass.cpp | 3 - .../thread.shared_mutex.class/lock_shared.pass.cpp | 3 - .../thread.shared_mutex.class/try_lock.pass.cpp | 3 - .../try_lock_shared.pass.cpp | 3 - .../thread.sharedtimedmutex.class/lock.pass.cpp | 3 - .../lock_shared.pass.cpp | 3 - .../try_lock.pass.cpp | 3 - .../try_lock_for.pass.cpp | 3 - .../try_lock_shared.pass.cpp | 3 - .../try_lock_shared_for.pass.cpp | 3 - .../try_lock_shared_until.pass.cpp | 3 - .../try_lock_until.pass.cpp | 3 - .../try_lock_until_deadlock_bug.pass.cpp | 3 - .../thread.timedmutex.class/lock.pass.cpp | 3 - .../thread.timedmutex.class/try_lock.pass.cpp | 3 - .../thread.timedmutex.class/try_lock_for.pass.cpp | 3 - .../try_lock_until.pass.cpp | 3 - .../thread.timedmutex.recursive/lock.pass.cpp | 3 - .../thread.timedmutex.recursive/try_lock.pass.cpp | 3 - .../try_lock_for.pass.cpp | 3 - .../try_lock_until.pass.cpp | 3 - .../std/thread/thread.semaphore/acquire.pass.cpp | 3 - .../std/thread/thread.semaphore/binary.pass.cpp | 3 - .../std/thread/thread.semaphore/release.pass.cpp | 3 - .../std/thread/thread.semaphore/timed.pass.cpp | 3 - .../thread/thread.semaphore/try_acquire.pass.cpp | 3 - .../thread.thread.this/sleep_until.pass.cpp | 3 - .../format.arg.store/make_format_args.sh.cpp | 1 + .../format.args/types.compile.pass.cpp | 21 - .../format/format.functions/format_tests.h | 20 + .../format.functions/locale-specific_form.pass.cpp | 34 +- .../format.functions/vformat.locale.pass.cpp | 12 +- .../format/format.functions/vformat.pass.cpp | 11 +- .../format.functions/vformat_to.locale.pass.cpp | 36 +- .../format/format.functions/vformat_to.pass.cpp | 35 +- .../time/time.clock/time.clock.file/now.pass.cpp | 3 - .../time.clock.file/to_from_sys.pass.cpp | 3 - .../time/time.clock/time.clock.hires/now.pass.cpp | 3 - .../time/time.clock/time.clock.steady/now.pass.cpp | 3 - .../time.clock.system/from_time_t.pass.cpp | 3 - .../time/time.clock/time.clock.system/now.pass.cpp | 3 - .../time.clock.system/to_time_t.pass.cpp | 3 - libcxx/test/support/allocators.h | 49 + libcxx/test/support/make_string.h | 111 +- libcxx/test/support/test_macros.h | 6 +- libcxx/utils/ci/Dockerfile | 2 +- libcxx/utils/ci/buildkite-pipeline.yml | 15 - libcxx/utils/ci/run-buildbot | 7 - .../generate_feature_test_macro_components.py | 2 +- libcxx/utils/libcxx/test/dsl.py | 58 +- libcxx/utils/libcxx/test/params.py | 8 - libcxxabi/CMakeLists.txt | 17 +- libcxxabi/src/cxa_personality.cpp | 9 +- libcxxabi/test/CMakeLists.txt | 5 - libcxxabi/test/forced_unwind3.pass.cpp | 79 + libcxxabi/test/test_exception_storage.pass.cpp | 3 - libunwind/CMakeLists.txt | 18 +- libunwind/docs/BuildingLibunwind.rst | 6 - libunwind/src/Unwind-EHABI.cpp | 29 +- libunwind/test/CMakeLists.txt | 5 - libunwind/test/remember_state_leak.pass.sh.s | 3 - lld/ELF/Arch/ARM.cpp | 202 +- lld/ELF/Config.h | 2 +- lld/ELF/Driver.cpp | 41 +- lld/ELF/InputFiles.cpp | 43 +- lld/ELF/InputFiles.h | 28 +- lld/ELF/InputSection.cpp | 4 +- lld/ELF/InputSection.h | 16 +- lld/ELF/LTO.cpp | 2 +- lld/ELF/LinkerScript.cpp | 81 +- lld/ELF/LinkerScript.h | 4 - lld/ELF/MapFile.cpp | 59 +- lld/ELF/MapFile.h | 3 +- lld/ELF/Options.td | 30 +- lld/ELF/OutputSections.cpp | 1 - lld/ELF/OutputSections.h | 1 - lld/ELF/Relocations.cpp | 52 +- lld/ELF/SymbolTable.cpp | 2 +- lld/ELF/Symbols.cpp | 41 +- lld/ELF/Symbols.h | 6 +- lld/ELF/SyntheticSections.cpp | 2 +- lld/ELF/Thunks.cpp | 64 +- lld/ELF/Writer.cpp | 113 +- lld/MachO/Symbols.h | 7 +- lld/docs/ReleaseNotes.rst | 2 + lld/docs/ld.lld.1 | 18 +- lld/test/ELF/arm-adr-err-long.s | 57 + lld/test/ELF/arm-adr-err.s | 6 + lld/test/ELF/arm-adr-long.s | 111 +- lld/test/ELF/arm-adr.s | 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/lto/comdat-mixed-archive.test | 74 + lld/test/ELF/oformat-binary.s | 7 +- lld/test/ELF/ppc64-pcrel-call-to-toc.s | 4 +- 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/ELF/print-archive-stats.s | 4 +- lld/test/ELF/protected-shared.s | 64 +- lld/test/MachO/weak-import.s | 30 +- lldb/bindings/python/python-wrapper.swig | 194 +- lldb/bindings/python/python.swig | 1 + lldb/include/lldb/Interpreter/OptionGroupFormat.h | 9 +- lldb/include/lldb/Symbol/ObjectFile.h | 28 +- lldb/include/lldb/Symbol/Symtab.h | 9 +- lldb/include/lldb/Target/Platform.h | 4 - lldb/include/lldb/Target/Process.h | 38 +- .../Python/lldbsuite/test/builders/darwin.py | 12 +- lldb/packages/Python/lldbsuite/test/decorators.py | 18 +- .../Python/lldbsuite/test/gdbclientutils.py | 41 +- lldb/source/Commands/CommandObjectMemory.cpp | 17 +- lldb/source/Core/Module.cpp | 11 +- lldb/source/Interpreter/CommandObject.cpp | 3 + lldb/source/Interpreter/OptionGroupFormat.cpp | 40 +- .../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 + .../Process/Windows/Common/ProcessWindows.cpp | 4 +- .../Process/Windows/Common/ProcessWindows.h | 6 +- .../Plugins/Process/elf-core/ProcessElfCore.cpp | 4 +- .../Plugins/Process/elf-core/ProcessElfCore.h | 8 +- .../Process/gdb-remote/ProcessGDBRemote.cpp | 4 +- .../Plugins/Process/gdb-remote/ProcessGDBRemote.h | 6 +- .../Plugins/Process/mach-core/ProcessMachCore.cpp | 4 +- .../Plugins/Process/mach-core/ProcessMachCore.h | 8 +- .../Plugins/Process/minidump/ProcessMinidump.cpp | 6 +- .../Plugins/Process/minidump/ProcessMinidump.h | 6 +- .../Plugins/Process/scripted/ScriptedProcess.cpp | 4 +- .../Plugins/Process/scripted/ScriptedProcess.h | 6 +- .../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 +- lldb/source/Target/Process.cpp | 7 - lldb/test/API/commands/help/TestHelp.py | 18 + .../dont_allow_jit => memory/write}/Makefile | 0 .../API/commands/memory/write/TestMemoryWrite.py | 83 + lldb/test/API/commands/memory/write/file.txt | 1 + lldb/test/API/commands/memory/write/main.c | 7 + .../functionalities/tsan/basic/TestTsanBasic.py | 1 + .../functionalities/ubsan/basic/TestUbsanBasic.py | 1 + lldb/test/API/lang/cpp/char8_t/TestCxxChar8_t.py | 16 +- .../TestAArch64LinuxTaggedMemoryRegion.py | 42 - .../API/linux/aarch64/tagged_memory_region/main.c | 17 - lldb/test/API/lit.cfg.py | 4 +- .../aarch64/tagged_memory_region => 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/docs/CMake.rst | 6 + llvm/docs/CommandGuide/llvm-cov.rst | 9 +- llvm/docs/ReleaseNotes.rst | 4 +- llvm/include/llvm/ADT/APInt.h | 4 +- llvm/include/llvm/ADT/SCCIterator.h | 133 + llvm/include/llvm/ADT/STLExtras.h | 31 +- llvm/include/llvm/Analysis/ScalarEvolution.h | 29 +- llvm/include/llvm/Analysis/TargetLibraryInfo.def | 6 + llvm/include/llvm/CodeGen/CommandFlags.h | 5 + .../llvm/CodeGen/GlobalISel/CombinerHelper.h | 49 + .../llvm/CodeGen/GlobalISel/MIPatternMatch.h | 42 + llvm/include/llvm/CodeGen/GlobalISel/Utils.h | 12 + llvm/include/llvm/CodeGen/TargetInstrInfo.h | 6 + llvm/include/llvm/CodeGen/TargetLowering.h | 65 +- llvm/include/llvm/Frontend/OpenMP/OMPConstants.h | 4 + llvm/include/llvm/IR/IRBuilder.h | 125 - llvm/include/llvm/IR/Instructions.h | 18 - llvm/include/llvm/IR/IntrinsicsPowerPC.td | 4 + llvm/include/llvm/IR/Type.h | 2 + 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/AArch64TargetParser.h | 9 - llvm/include/llvm/Support/ARMAttributeParser.h | 4 + llvm/include/llvm/Support/ARMBuildAttributes.h | 24 +- llvm/include/llvm/Support/ARMTargetParser.def | 1 + llvm/include/llvm/Support/ARMTargetParser.h | 2 +- llvm/include/llvm/Support/GenericDomTree.h | 16 +- llvm/include/llvm/Support/HTTPClient.h | 113 + llvm/include/llvm/Support/TargetParser.h | 12 + llvm/include/llvm/Target/GlobalISel/Combine.td | 96 +- .../llvm/Transforms/IPO/ProfiledCallGraph.h | 104 +- .../llvm/Transforms/Utils/SampleProfileInference.h | 284 + .../Transforms/Utils/SampleProfileLoaderBaseImpl.h | 162 +- llvm/lib/Analysis/InstructionSimplify.cpp | 160 +- llvm/lib/Analysis/RegionPass.cpp | 3 + llvm/lib/Analysis/ScalarEvolution.cpp | 349 +- llvm/lib/Analysis/TargetLibraryInfo.cpp | 18 +- llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp | 9 +- llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | 134 +- llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | 8 +- 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 | 616 ++- llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp | 12 +- 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/MachineOutliner.cpp | 17 +- llvm/lib/CodeGen/MachinePipeliner.cpp | 24 +- llvm/lib/CodeGen/MachineVerifier.cpp | 24 +- llvm/lib/CodeGen/ModuloSchedule.cpp | 6 +- llvm/lib/CodeGen/RegAllocFast.cpp | 9 +- llvm/lib/CodeGen/RegAllocGreedy.cpp | 119 +- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 131 +- llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp | 9 +- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 7 +- .../CodeGen/SelectionDAG/ResourcePriorityQueue.cpp | 4 +- .../CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp | 4 +- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 17 +- .../CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 33 +- llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 56 +- llvm/lib/CodeGen/StackSlotColoring.cpp | 6 +- llvm/lib/CodeGen/TargetInstrInfo.cpp | 21 +- llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | 34 +- llvm/lib/Demangle/DLangDemangle.cpp | 253 +- llvm/lib/ExecutionEngine/ExecutionEngine.cpp | 3 +- .../ExecutionEngine/JITLink/ELFLinkGraphBuilder.h | 40 +- .../ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp | 2 +- llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp | 2 + llvm/lib/IR/DIBuilder.cpp | 15 +- llvm/lib/IR/Verifier.cpp | 27 +- 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/AArch64TargetParser.cpp | 50 +- llvm/lib/Support/ARMAttributeParser.cpp | 26 + llvm/lib/Support/ARMBuildAttrs.cpp | 4 + llvm/lib/Support/CMakeLists.txt | 1 + llvm/lib/Support/CommandLine.cpp | 16 +- llvm/lib/Support/HTTPClient.cpp | 97 + llvm/lib/Support/KnownBits.cpp | 9 +- llvm/lib/Support/TargetParser.cpp | 48 + llvm/lib/TableGen/TGLexer.cpp | 8 +- llvm/lib/Target/AArch64/AArch64CondBrTuning.cpp | 9 +- .../Target/AArch64/AArch64ExpandPseudoInsts.cpp | 10 +- llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | 224 +- llvm/lib/Target/AArch64/AArch64ISelLowering.h | 6 + llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td | 11 +- .../Target/AArch64/AArch64TargetTransformInfo.cpp | 9 +- .../AArch64/GISel/AArch64InstructionSelector.cpp | 57 +- llvm/lib/Target/AMDGPU/AMDGPUCombine.td | 11 +- llvm/lib/Target/AMDGPU/AMDGPUInstructions.td | 6 - .../Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp | 46 + llvm/lib/Target/AMDGPU/AMDGPURegBankCombiner.cpp | 22 +- llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp | 12 +- llvm/lib/Target/AMDGPU/CaymanInstructions.td | 2 - llvm/lib/Target/AMDGPU/EvergreenInstructions.td | 1 - llvm/lib/Target/AMDGPU/GCNRegPressure.cpp | 10 +- llvm/lib/Target/AMDGPU/R600ISelLowering.cpp | 5 +- llvm/lib/Target/AMDGPU/R600Instructions.td | 1 - llvm/lib/Target/AMDGPU/R600MachineScheduler.cpp | 4 +- llvm/lib/Target/AMDGPU/SIDefines.h | 3 +- llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp | 10 +- llvm/lib/Target/AMDGPU/SIFoldOperands.cpp | 12 +- llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 57 +- llvm/lib/Target/AMDGPU/SIISelLowering.h | 7 + llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | 67 +- llvm/lib/Target/AMDGPU/SIInstructions.td | 4 - llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp | 2 +- llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp | 38 +- llvm/lib/Target/AMDGPU/SIPeepholeSDWA.cpp | 2 +- llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp | 155 +- llvm/lib/Target/AMDGPU/SIRegisterInfo.h | 29 +- llvm/lib/Target/AMDGPU/SIRegisterInfo.td | 135 +- llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp | 16 +- llvm/lib/Target/ARC/ARCMCInstLower.cpp | 3 +- llvm/lib/Target/ARM/ARM.h | 2 + llvm/lib/Target/ARM/ARM.td | 4 + llvm/lib/Target/ARM/ARMAsmPrinter.cpp | 48 +- llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp | 102 +- llvm/lib/Target/ARM/ARMBaseInstrInfo.h | 2 + llvm/lib/Target/ARM/ARMBranchTargets.cpp | 135 + llvm/lib/Target/ARM/ARMConstantIslandPass.cpp | 84 +- llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp | 24 +- llvm/lib/Target/ARM/ARMISelLowering.cpp | 137 +- llvm/lib/Target/ARM/ARMISelLowering.h | 2 + llvm/lib/Target/ARM/ARMInstrThumb2.td | 104 + llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp | 12 +- llvm/lib/Target/ARM/ARMMachineFunctionInfo.cpp | 57 +- llvm/lib/Target/ARM/ARMMachineFunctionInfo.h | 25 + 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/ARMTargetMachine.cpp | 2 + llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 17 +- llvm/lib/Target/ARM/CMakeLists.txt | 1 + .../Target/ARM/Disassembler/ARMDisassembler.cpp | 67 +- .../Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp | 5 + llvm/lib/Target/ARM/Thumb2InstrInfo.cpp | 2 +- llvm/lib/Target/ARM/Thumb2SizeReduction.cpp | 12 +- llvm/lib/Target/BPF/BPFMCInstLower.cpp | 4 +- llvm/lib/Target/Hexagon/BitTracker.cpp | 3 +- llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp | 18 +- llvm/lib/Target/Hexagon/HexagonCopyToCombine.cpp | 14 +- llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp | 6 +- llvm/lib/Target/Hexagon/HexagonGenInsert.cpp | 9 +- llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp | 6 +- llvm/lib/Target/Hexagon/HexagonISelLowering.cpp | 3 +- llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp | 7 +- llvm/lib/Target/Hexagon/HexagonMCInstLower.cpp | 3 +- llvm/lib/Target/Hexagon/HexagonSubtarget.cpp | 3 +- llvm/lib/Target/Lanai/LanaiDelaySlotFiller.cpp | 3 +- llvm/lib/Target/Lanai/LanaiInstrInfo.cpp | 3 +- llvm/lib/Target/Lanai/LanaiMCInstLower.cpp | 4 +- llvm/lib/Target/MSP430/MSP430MCInstLower.cpp | 4 +- llvm/lib/Target/Mips/MipsAsmPrinter.cpp | 5 +- llvm/lib/Target/Mips/MipsConstantIslandPass.cpp | 24 +- llvm/lib/Target/Mips/MipsMCInstLower.cpp | 3 +- llvm/lib/Target/Mips/MipsSEISelLowering.cpp | 4 +- llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp | 54 +- llvm/lib/Target/NVPTX/NVPTXAsmPrinter.h | 5 + llvm/lib/Target/PowerPC/P10InstrResources.td | 3 +- llvm/lib/Target/PowerPC/P9InstrResources.td | 2 +- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp | 11 +- llvm/lib/Target/PowerPC/PPCCTRLoops.cpp | 3 +- llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp | 68 +- llvm/lib/Target/PowerPC/PPCInstr64Bit.td | 12 + llvm/lib/Target/PowerPC/PPCInstrInfo.cpp | 3 +- llvm/lib/Target/PowerPC/PPCInstrVSX.td | 5 + llvm/lib/Target/PowerPC/PPCMCInstLower.cpp | 4 +- .../Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp | 8 + llvm/lib/Target/RISCV/RISCVFrameLowering.cpp | 8 +- llvm/lib/Target/RISCV/RISCVISelLowering.cpp | 137 +- llvm/lib/Target/RISCV/RISCVISelLowering.h | 2 + llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp | 28 + llvm/lib/Target/RISCV/RISCVRegisterInfo.h | 3 + llvm/lib/Target/RISCV/RISCVRegisterInfo.td | 2 + llvm/lib/Target/RISCV/RISCVSystemOperands.td | 2 +- llvm/lib/Target/Sparc/DelaySlotFiller.cpp | 3 +- llvm/lib/Target/Sparc/SparcMCInstLower.cpp | 3 +- llvm/lib/Target/SystemZ/SystemZElimCompare.cpp | 3 +- llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp | 4 +- llvm/lib/Target/SystemZ/SystemZMCInstLower.cpp | 4 +- llvm/lib/Target/VE/MCTargetDesc/VEInstPrinter.cpp | 11 +- llvm/lib/Target/VE/VEInstrInfo.cpp | 2 +- llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp | 4 +- llvm/lib/Target/X86/X86DomainReassignment.cpp | 4 +- llvm/lib/Target/X86/X86DynAllocaExpander.cpp | 8 +- llvm/lib/Target/X86/X86ExpandPseudo.cpp | 4 +- llvm/lib/Target/X86/X86FixupLEAs.cpp | 7 +- llvm/lib/Target/X86/X86FloatingPoint.cpp | 7 +- llvm/lib/Target/X86/X86FrameLowering.cpp | 44 +- llvm/lib/Target/X86/X86FrameLowering.h | 17 +- llvm/lib/Target/X86/X86ISelLowering.cpp | 116 +- llvm/lib/Target/X86/X86InstrInfo.cpp | 7 +- llvm/lib/Target/X86/X86RegisterBanks.td | 2 +- llvm/lib/Target/X86/X86TargetTransformInfo.cpp | 21 +- llvm/lib/Target/XCore/XCoreMCInstLower.cpp | 3 +- llvm/lib/Transforms/IPO/GlobalOpt.cpp | 132 +- llvm/lib/Transforms/IPO/OpenMPOpt.cpp | 37 +- llvm/lib/Transforms/IPO/SampleProfile.cpp | 41 +- .../Transforms/InstCombine/InstCombineAndOrXor.cpp | 59 +- .../Transforms/InstCombine/InstCombineCasts.cpp | 2 +- .../Transforms/InstCombine/InstCombineCompares.cpp | 66 +- .../Transforms/Instrumentation/InstrProfiling.cpp | 25 +- llvm/lib/Transforms/ObjCARC/DependencyAnalysis.cpp | 4 +- .../Scalar/CorrelatedValuePropagation.cpp | 17 +- .../lib/Transforms/Scalar/DeadStoreElimination.cpp | 57 +- llvm/lib/Transforms/Scalar/LICM.cpp | 24 +- 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/BuildLibCalls.cpp | 6 +- llvm/lib/Transforms/Utils/CMakeLists.txt | 1 + llvm/lib/Transforms/Utils/CloneModule.cpp | 12 +- llvm/lib/Transforms/Utils/Local.cpp | 33 +- llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp | 6 +- .../Transforms/Utils/SampleProfileInference.cpp | 461 ++ .../Utils/SampleProfileLoaderBaseUtil.cpp | 4 + .../Transforms/Utils/ScalarEvolutionExpander.cpp | 68 +- llvm/lib/Transforms/Utils/SimplifyCFG.cpp | 32 +- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 837 ++- llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 426 +- llvm/test/Analysis/BasicAA/libfuncs.ll | 82 + .../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 +- .../X86/interleaved-store-accesses-with-gaps.ll | 204 - .../CostModel/X86/masked-interleaved-load-i16.ll | 205 + .../CostModel/X86/masked-interleaved-store-i16.ll | 204 + .../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 + .../ScalarEvolution/becount-invalidation.ll | 76 + .../CodeGen/AArch64/GlobalISel/select-binop.mir | 26 + .../AArch64/GlobalISel/select-scalar-shift-imm.mir | 44 + llvm/test/CodeGen/AArch64/active_lane_mask.ll | 429 ++ .../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 | 152 +- .../CodeGen/AArch64/sve-fixed-length-sdiv-pow2.ll | 389 ++ llvm/test/CodeGen/AArch64/sve-sdiv-pow2.ll | 90 + llvm/test/CodeGen/AArch64/sve-srem-combine-loop.ll | 19 + .../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 | 169 + .../test/CodeGen/AMDGPU/GlobalISel/combine-rot.mir | 157 + llvm/test/CodeGen/AMDGPU/GlobalISel/combine-rsq.ll | 50 + .../test/CodeGen/AMDGPU/GlobalISel/combine-rsq.mir | 42 + .../AMDGPU/GlobalISel/irtranslator-inline-asm.ll | 2 +- .../AMDGPU/GlobalISel/regbankcombiner-smed3.mir | 234 +- .../AMDGPU/GlobalISel/regbankcombiner-umed3.mir | 234 +- llvm/test/CodeGen/AMDGPU/GlobalISel/smed3.ll | 81 + llvm/test/CodeGen/AMDGPU/GlobalISel/umed3.ll | 81 + .../AMDGPU/extend-phi-subrange-not-in-parent.mir | 11 +- llvm/test/CodeGen/AMDGPU/inline-asm.i128.ll | 24 +- llvm/test/CodeGen/AMDGPU/load-constant-f32.ll | 2 +- .../AMDGPU/memory-legalizer-flat-nontemporal.ll | 8 +- .../AMDGPU/memory-legalizer-global-nontemporal.ll | 8 +- .../AMDGPU/memory-legalizer-private-nontemporal.ll | 8 +- ...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/O3-pipeline.ll | 1 + llvm/test/CodeGen/ARM/build-attributes-encoding.s | 51 +- llvm/test/CodeGen/ARM/build-attributes.ll | 3 + .../CodeGen/ARM/crash-on-pow2-shufflevector.ll | 8 +- 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/pacbti-module-attrs.ll | 21 + 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/basic-toc-data-extern.ll | 9 +- .../PowerPC/basic-toc-data-local-linkage.ll | 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/PowerPC/more-dq-form-prepare.ll | 533 +- llvm/test/CodeGen/PowerPC/ppc64-P9-vabsd.ll | 1690 ++++-- llvm/test/CodeGen/PowerPC/toc-data.ll | 129 +- llvm/test/CodeGen/RISCV/fpclamptosat.ll | 4314 +++++++++++++++ llvm/test/CodeGen/RISCV/fpclamptosat_vec.ll | 4272 +++++++++++++++ llvm/test/CodeGen/RISCV/half-intrinsics.ll | 914 ++++ .../CodeGen/RISCV/rvv/debug-info-rvv-dbg-value.mir | 143 + llvm/test/CodeGen/RISCV/rvv/fceil-sdnode.ll | 350 ++ llvm/test/CodeGen/RISCV/rvv/ffloor-sdnode.ll | 350 ++ llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp.ll | 228 + llvm/test/CodeGen/RISCV/rvv/ftrunc-sdnode.ll | 275 + 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/active_lane_mask.ll | 150 +- .../bti-const-island-multiple-jump-tables.mir | 311 ++ llvm/test/CodeGen/Thumb2/bti-const-island.mir | 168 + llvm/test/CodeGen/Thumb2/bti-entry-blocks.ll | 22 + llvm/test/CodeGen/Thumb2/bti-indirect-branches.ll | 135 + llvm/test/CodeGen/Thumb2/bti-jump-table.mir | 120 + llvm/test/CodeGen/Thumb2/bti-outliner-1.ll | 101 + llvm/test/CodeGen/Thumb2/bti-outliner-2.ll | 82 + llvm/test/CodeGen/Thumb2/bti-outliner-cost-1.ll | 67 + llvm/test/CodeGen/Thumb2/bti-outliner-cost-2.ll | 51 + llvm/test/CodeGen/Thumb2/mve-ctlz.ll | 16 +- llvm/test/CodeGen/Thumb2/mve-cttz.ll | 40 +- llvm/test/CodeGen/Thumb2/mve-fmas.ll | 662 +-- llvm/test/CodeGen/Thumb2/mve-fmath.ll | 86 +- llvm/test/CodeGen/Thumb2/mve-fpclamptosat_vec.ll | 1592 ++---- llvm/test/CodeGen/Thumb2/mve-laneinterleaving.ll | 148 +- llvm/test/CodeGen/Thumb2/mve-masked-ldst.ll | 464 +- llvm/test/CodeGen/Thumb2/mve-masked-load.ll | 116 +- llvm/test/CodeGen/Thumb2/mve-masked-store.ll | 368 +- llvm/test/CodeGen/Thumb2/mve-minmax.ll | 64 +- llvm/test/CodeGen/Thumb2/mve-pred-and.ll | 40 +- llvm/test/CodeGen/Thumb2/mve-pred-ext.ll | 201 +- llvm/test/CodeGen/Thumb2/mve-pred-not.ll | 16 +- llvm/test/CodeGen/Thumb2/mve-pred-or.ll | 32 +- llvm/test/CodeGen/Thumb2/mve-pred-shuffle.ll | 213 + llvm/test/CodeGen/Thumb2/mve-pred-spill.ll | 57 + llvm/test/CodeGen/Thumb2/mve-pred-vselect.ll | 60 +- llvm/test/CodeGen/Thumb2/mve-pred-xor.ll | 32 +- llvm/test/CodeGen/Thumb2/mve-satmul-loops.ll | 128 +- llvm/test/CodeGen/Thumb2/mve-vcmp.ll | 89 +- llvm/test/CodeGen/Thumb2/mve-vcmpf.ll | 1498 ++--- llvm/test/CodeGen/Thumb2/mve-vcmpfr.ll | 2884 +++------- llvm/test/CodeGen/Thumb2/mve-vcmpfz.ll | 2884 +++------- llvm/test/CodeGen/Thumb2/mve-vcmpr.ll | 124 +- llvm/test/CodeGen/Thumb2/mve-vcmpz.ll | 32 +- llvm/test/CodeGen/Thumb2/mve-vctp.ll | 177 + llvm/test/CodeGen/Thumb2/mve-vecreduce-addpred.ll | 112 +- llvm/test/CodeGen/Thumb2/mve-vecreduce-mlapred.ll | 156 +- llvm/test/CodeGen/Thumb2/mve-vmaxv-vminv-scalar.ll | 72 +- llvm/test/CodeGen/Thumb2/mve-vmovimm.ll | 88 + llvm/test/CodeGen/Thumb2/mve-vpsel.ll | 42 + llvm/test/CodeGen/Thumb2/mve-vqdmulh.ll | 21 +- llvm/test/CodeGen/Thumb2/mve-vqmovn.ll | 152 +- llvm/test/CodeGen/Thumb2/mve-vqshrn.ll | 152 +- llvm/test/CodeGen/VE/Vector/vp_ashr.ll | 2 +- llvm/test/CodeGen/VE/Vector/vp_lshr.ll | 2 +- llvm/test/CodeGen/VE/Vector/vp_mul.ll | 2 +- llvm/test/CodeGen/VE/Vector/vp_or.ll | 2 +- llvm/test/CodeGen/VE/Vector/vp_sdiv.ll | 2 +- llvm/test/CodeGen/VE/Vector/vp_shl.ll | 2 +- llvm/test/CodeGen/VE/Vector/vp_srem.ll | 2 +- llvm/test/CodeGen/VE/Vector/vp_sub.ll | 2 +- llvm/test/CodeGen/VE/Vector/vp_udiv.ll | 2 +- llvm/test/CodeGen/VE/Vector/vp_urem.ll | 2 +- llvm/test/CodeGen/VE/Vector/vp_xor.ll | 2 +- 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/fptosi-sat-vector-128.ll | 1316 +++++ llvm/test/CodeGen/X86/fptoui-sat-vector-128.ll | 1336 +++++ 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 | 92 +- llvm/test/CodeGen/X86/pmulh.ll | 359 +- 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/rotate_vec.ll | 6 +- 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 | 117 + 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/Feature/OperandBundles/adce.ll | 2 +- .../Feature/OperandBundles/basic-aa-argmemonly.ll | 2 +- llvm/test/Feature/OperandBundles/dse.ll | 2 +- llvm/test/Feature/OperandBundles/early-cse.ll | 2 +- llvm/test/MC/ARM/armv8.1m-pacbti-error.s | 40 + llvm/test/MC/ARM/armv8.1m-pacbti.s | 134 + llvm/test/MC/ARM/directive-eabi_attribute.s | 25 + 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/debugcounter-predicateinfo.ll | 2 +- llvm/test/Other/new-pm-print-pipeline.ll | 4 + .../ConstantMerge/2002-09-23-CPR-Update.ll | 2 +- .../2003-10-28-MergeExternalConstants.ll | 2 +- .../ConstantMerge/2011-01-15-EitherOrder.ll | 2 +- llvm/test/Transforms/ConstantMerge/align.ll | 2 +- llvm/test/Transforms/ConstantMerge/dont-merge.ll | 2 +- llvm/test/Transforms/ConstantMerge/merge-dbg.ll | 2 +- llvm/test/Transforms/ConstantMerge/unnamed-addr.ll | 2 +- .../Transforms/ConstraintElimination/add-nuw.ll | 2 +- llvm/test/Transforms/ConstraintElimination/add.ll | 2 +- llvm/test/Transforms/ConstraintElimination/and.ll | 2 +- .../Transforms/ConstraintElimination/assumes.ll | 2 +- .../decompose-with-temporary-indices.ll | 2 +- llvm/test/Transforms/ConstraintElimination/dom.ll | 1 - .../ConstraintElimination/empty-constraint.ll | 2 +- llvm/test/Transforms/ConstraintElimination/eq.ll | 2 +- .../ConstraintElimination/gep-arithmetic.ll | 2 +- .../geps-inbounds-precondition.ll | 2 +- .../geps-pointers-to-arrays.ll | 2 +- .../geps-pointers-to-structs.ll | 2 +- .../geps-precondition-overflow-check.ll | 2 +- llvm/test/Transforms/ConstraintElimination/geps.ll | 2 +- llvm/test/Transforms/ConstraintElimination/i128.ll | 2 +- .../ConstraintElimination/large-system-growth.ll | 2 +- .../loops-bottom-tested-base.ll | 2 +- .../loops-bottom-tested-pointer-cmps.ll | 2 +- .../loops-header-tested-base.ll | 2 +- .../loops-header-tested-pointer-cmps.ll | 2 +- .../loops-header-tested-pointer-iv.ll | 2 +- .../test/Transforms/ConstraintElimination/loops.ll | 2 +- .../mixed-signed-unsigned-predicates.ll | 2 +- .../test/Transforms/ConstraintElimination/mixed.ll | 2 +- llvm/test/Transforms/ConstraintElimination/ne.ll | 2 +- llvm/test/Transforms/ConstraintElimination/or.ll | 2 +- .../ConstraintElimination/pointercast.ll | 2 +- llvm/test/Transforms/ConstraintElimination/sge.ll | 2 +- .../Transforms/ConstraintElimination/sub-nuw.ll | 2 +- llvm/test/Transforms/ConstraintElimination/sub.ll | 2 +- llvm/test/Transforms/ConstraintElimination/uge.ll | 2 +- .../Transforms/ConstraintElimination/ugt-ule.ll | 2 +- llvm/test/Transforms/ConstraintElimination/ule.ll | 2 +- .../ConstraintElimination/vector-compares.ll | 2 +- .../ConstraintElimination/wrapping-math.ll | 2 +- llvm/test/Transforms/ConstraintElimination/zext.ll | 2 +- .../CorrelatedValuePropagation/2010-09-02-Trunc.ll | 2 +- .../Transforms/CorrelatedValuePropagation/abs.ll | 2 +- .../Transforms/CorrelatedValuePropagation/add.ll | 2 +- .../CorrelatedValuePropagation/alloca.ll | 2 +- .../Transforms/CorrelatedValuePropagation/and.ll | 2 +- .../Transforms/CorrelatedValuePropagation/ashr.ll | 41 +- .../Transforms/CorrelatedValuePropagation/basic.ll | 2 +- .../CorrelatedValuePropagation/conflict.ll | 2 +- .../Transforms/CorrelatedValuePropagation/crash.ll | 2 +- .../Transforms/CorrelatedValuePropagation/deopt.ll | 2 +- .../CorrelatedValuePropagation/guards.ll | 2 +- .../Transforms/CorrelatedValuePropagation/icmp.ll | 1 - .../merge-range-and-undef.ll | 2 +- .../CorrelatedValuePropagation/min-max.ll | 2 +- .../CorrelatedValuePropagation/minmaxabs.ll | 2 +- .../Transforms/CorrelatedValuePropagation/mul.ll | 2 +- .../CorrelatedValuePropagation/non-null.ll | 2 +- .../overflow_predicate.ll | 2 +- .../CorrelatedValuePropagation/overflows.ll | 4 +- .../CorrelatedValuePropagation/phi-common-val.ll | 3 +- .../CorrelatedValuePropagation/pointer.ll | 2 +- .../CorrelatedValuePropagation/pr35807.ll | 2 +- .../CorrelatedValuePropagation/profmd.ll | 2 +- .../Transforms/CorrelatedValuePropagation/range.ll | 2 +- .../Transforms/CorrelatedValuePropagation/sdiv.ll | 2 +- .../CorrelatedValuePropagation/select.ll | 2 +- .../Transforms/CorrelatedValuePropagation/sext.ll | 4 +- .../Transforms/CorrelatedValuePropagation/shl.ll | 2 +- .../Transforms/CorrelatedValuePropagation/srem.ll | 2 +- .../Transforms/CorrelatedValuePropagation/sub.ll | 2 +- .../Transforms/CorrelatedValuePropagation/udiv.ll | 4 +- .../Transforms/CorrelatedValuePropagation/urem.ll | 2 +- .../DeadStoreElimination/libcalls-darwin.ll | 122 + .../Transforms/DeadStoreElimination/libcalls.ll | 37 + .../stores-of-existing-values.ll | 72 +- llvm/test/Transforms/FunctionAttrs/writeonly.ll | 76 + .../Transforms/GlobalDCE/2002-07-17-CastRef.ll | 2 +- .../Transforms/GlobalDCE/2002-07-17-ConstantRef.ll | 2 +- .../Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll | 2 +- .../GlobalDCE/2002-08-17-WorkListTest.ll | 2 +- .../Transforms/GlobalDCE/2002-09-12-Redeletion.ll | 2 +- .../GlobalDCE/2003-07-01-SelfReference.ll | 2 +- .../GlobalDCE/2003-10-09-PreserveWeakGlobals.ll | 2 +- .../Transforms/GlobalDCE/2009-01-05-DeadAliases.ll | 2 +- .../GlobalDCE/2009-02-17-AliasUsesAliasee.ll | 2 +- .../Transforms/GlobalDCE/call-with-ptrtoint.ll | 2 +- llvm/test/Transforms/GlobalDCE/comdats.ll | 2 +- .../Transforms/GlobalDCE/externally_available.ll | 2 +- llvm/test/Transforms/GlobalDCE/global-ifunc.ll | 2 +- llvm/test/Transforms/GlobalDCE/global_ctors.ll | 2 +- llvm/test/Transforms/GlobalDCE/indirectbr.ll | 2 +- .../GlobalDCE/virtual-functions-base-call.ll | 2 +- .../virtual-functions-base-pointer-call.ll | 2 +- .../GlobalDCE/virtual-functions-derived-call.ll | 2 +- .../virtual-functions-derived-pointer-call.ll | 2 +- .../GlobalDCE/virtual-functions-novfe.ll | 2 +- .../virtual-functions-relative-pointers-bad.ll | 2 +- .../virtual-functions-relative-pointers.ll | 2 +- .../virtual-functions-visibility-post-lto.ll | 2 +- .../virtual-functions-visibility-pre-lto.ll | 2 +- .../test/Transforms/GlobalDCE/virtual-functions.ll | 2 +- llvm/test/Transforms/GlobalDCE/vtable-rtti.ll | 2 +- .../GlobalOpt/2005-06-15-LocalizeConstExprCrash.ll | 2 +- llvm/test/Transforms/GlobalOpt/2005-09-27-Crash.ll | 2 +- .../GlobalOpt/2006-07-07-InlineAsmCrash.ll | 2 +- .../GlobalOpt/2006-11-01-ShrinkGlobalPhiCrash.ll | 2 +- llvm/test/Transforms/GlobalOpt/2007-04-05-Crash.ll | 2 +- llvm/test/Transforms/GlobalOpt/2007-05-13-Crash.ll | 2 +- .../GlobalOpt/2007-06-04-PackedStruct.ll | 2 +- .../GlobalOpt/2007-11-09-GEP-GEP-Crash.ll | 2 +- llvm/test/Transforms/GlobalOpt/2008-01-03-Crash.ll | 2 +- .../GlobalOpt/2008-01-13-OutOfRangeSROA.ll | 2 +- .../GlobalOpt/2008-01-29-VolatileGlobal.ll | 2 +- .../GlobalOpt/2008-04-26-SROA-Global-Align.ll | 2 +- .../Transforms/GlobalOpt/2008-07-17-addrspace.ll | 2 +- .../GlobalOpt/2008-12-16-HeapSRACrash-2.ll | 2 +- .../GlobalOpt/2008-12-16-HeapSRACrash.ll | 2 +- .../Transforms/GlobalOpt/2009-01-13-phi-user.ll | 2 +- .../GlobalOpt/2009-02-15-ResolveAlias.ll | 2 +- llvm/test/Transforms/GlobalOpt/2009-03-05-dbg.ll | 2 +- .../Transforms/GlobalOpt/2009-03-06-Anonymous.ll | 2 +- .../GlobalOpt/2009-03-07-PromotePtrToBool.ll | 2 +- .../2009-11-16-BrokenPerformHeapAllocSRoA.ll | 2 +- .../2009-11-16-MallocSingleStoreToGlobalVar.ll | 2 +- .../GlobalOpt/2010-02-25-MallocPromote.ll | 2 +- .../Transforms/GlobalOpt/2010-02-26-MallocSROA.ll | 2 +- .../Transforms/GlobalOpt/2010-10-19-WeakOdr.ll | 2 +- .../GlobalOpt/2011-04-09-EmptyGlobalCtors.ll | 2 +- .../GlobalOpt/2012-05-11-blockaddress.ll | 2 +- .../GlobalOpt/2021-08-02-CastStoreOnceP2I.ll | 2 +- .../2021-08-03-StoreOnceLoadMultiCasts.ll | 2 +- llvm/test/Transforms/GlobalOpt/GSROA-section.ll | 2 +- .../GlobalOpt/MallocSROA-section-no-null-opt.ll | 2 +- .../Transforms/GlobalOpt/MallocSROA-section.ll | 2 +- .../GlobalOpt/PowerPC/coldcc_coldsites.ll | 4 +- llvm/test/Transforms/GlobalOpt/SROA-section.ll | 2 +- .../GlobalOpt/address_space_initializer.ll | 6 +- llvm/test/Transforms/GlobalOpt/alias-resolve.ll | 2 +- .../GlobalOpt/alias-used-address-space.ll | 2 +- .../Transforms/GlobalOpt/alias-used-section.ll | 2 +- llvm/test/Transforms/GlobalOpt/alias-used.ll | 2 +- .../Transforms/GlobalOpt/amdgcn-ctor-alloca.ll | 2 +- llvm/test/Transforms/GlobalOpt/array-elem-refs.ll | 2 +- llvm/test/Transforms/GlobalOpt/assume.ll | 2 +- llvm/test/Transforms/GlobalOpt/atexit.ll | 2 +- llvm/test/Transforms/GlobalOpt/atomic.ll | 4 +- .../GlobalOpt/available_externally_global_ctors.ll | 2 +- llvm/test/Transforms/GlobalOpt/basictest.ll | 2 +- llvm/test/Transforms/GlobalOpt/blockaddress.ll | 2 +- .../GlobalOpt/cleanup-pointer-root-users.ll | 2 +- .../Transforms/GlobalOpt/coldcc_stress_test.ll | 4 +- llvm/test/Transforms/GlobalOpt/compiler-used.ll | 2 +- .../GlobalOpt/const-return-status-atomic.ll | 5 +- .../Transforms/GlobalOpt/const-return-status.ll | 2 +- .../GlobalOpt/constantfold-initializers.ll | 2 +- llvm/test/Transforms/GlobalOpt/crash-2.ll | 2 +- llvm/test/Transforms/GlobalOpt/crash.ll | 2 +- .../GlobalOpt/ctor-list-opt-constexpr.ll | 2 +- .../Transforms/GlobalOpt/ctor-list-opt-inbounds.ll | 2 +- llvm/test/Transforms/GlobalOpt/ctor-list-opt.ll | 2 +- .../test/Transforms/GlobalOpt/dead-store-status.ll | 2 +- llvm/test/Transforms/GlobalOpt/deaddeclaration.ll | 2 +- llvm/test/Transforms/GlobalOpt/deadfunction.ll | 2 +- llvm/test/Transforms/GlobalOpt/deadglobal-2.ll | 2 +- .../GlobalOpt/deadglobal-diarglist-use.ll | 2 +- llvm/test/Transforms/GlobalOpt/deadglobal.ll | 2 +- .../Transforms/GlobalOpt/evaluate-bitcast-2.ll | 2 +- .../Transforms/GlobalOpt/evaluate-bitcast-3.ll | 2 +- .../Transforms/GlobalOpt/evaluate-bitcast-4.ll | 2 +- .../GlobalOpt/externally-initialized-aggregate.ll | 2 +- .../GlobalOpt/externally-initialized-global-ctr.ll | 2 +- .../Transforms/GlobalOpt/externally-initialized.ll | 2 +- llvm/test/Transforms/GlobalOpt/fastcc.ll | 2 +- llvm/test/Transforms/GlobalOpt/global-demotion.ll | 2 +- llvm/test/Transforms/GlobalOpt/globalsra-align.ll | 2 +- .../Transforms/GlobalOpt/globalsra-multigep.ll | 2 +- .../test/Transforms/GlobalOpt/globalsra-partial.ll | 2 +- .../GlobalOpt/globalsra-unknown-index.ll | 2 +- llvm/test/Transforms/GlobalOpt/globalsra.ll | 2 +- .../Transforms/GlobalOpt/heap-sra-1-no-null-opt.ll | 2 +- llvm/test/Transforms/GlobalOpt/heap-sra-1.ll | 2 +- .../Transforms/GlobalOpt/heap-sra-2-no-null-opt.ll | 2 +- llvm/test/Transforms/GlobalOpt/heap-sra-2.ll | 2 +- .../GlobalOpt/heap-sra-phi-no-null-opt.ll | 2 +- llvm/test/Transforms/GlobalOpt/heap-sra-phi.ll | 2 +- llvm/test/Transforms/GlobalOpt/int_sideeffect.ll | 2 +- .../Transforms/GlobalOpt/integer-bool-dwarf.ll | 2 +- .../Transforms/GlobalOpt/invariant-nodatalayout.ll | 2 +- llvm/test/Transforms/GlobalOpt/invariant.group.ll | 2 +- llvm/test/Transforms/GlobalOpt/invariant.ll | 2 +- llvm/test/Transforms/GlobalOpt/invoke.ll | 2 +- llvm/test/Transforms/GlobalOpt/iterate.ll | 2 +- llvm/test/Transforms/GlobalOpt/large-int-crash.ll | 2 +- .../GlobalOpt/load-store-global-no-null-opt.ll | 2 +- .../test/Transforms/GlobalOpt/load-store-global.ll | 2 +- .../GlobalOpt/localize-constexpr-debuginfo.ll | 2 +- .../Transforms/GlobalOpt/localize-constexpr.ll | 2 +- .../GlobalOpt/malloc-promote-1-no-null-opt.ll | 2 +- llvm/test/Transforms/GlobalOpt/malloc-promote-1.ll | 2 +- .../GlobalOpt/malloc-promote-2-no-null-opt.ll | 2 +- llvm/test/Transforms/GlobalOpt/malloc-promote-2.ll | 2 +- llvm/test/Transforms/GlobalOpt/malloc-promote-3.ll | 2 +- llvm/test/Transforms/GlobalOpt/malloc-promote-4.ll | 2 +- llvm/test/Transforms/GlobalOpt/memcpy.ll | 2 +- llvm/test/Transforms/GlobalOpt/memset-null.ll | 2 +- llvm/test/Transforms/GlobalOpt/memset.ll | 2 +- llvm/test/Transforms/GlobalOpt/metadata.ll | 2 +- llvm/test/Transforms/GlobalOpt/musttail_cc.ll | 2 +- llvm/test/Transforms/GlobalOpt/naked_functions.ll | 2 +- llvm/test/Transforms/GlobalOpt/new-promote.ll | 2 +- .../GlobalOpt/null-check-global-value.ll | 2 +- .../GlobalOpt/null-check-is-use-pr35760.ll | 2 +- .../GlobalOpt/null-check-not-use-pr35760.ll | 2 +- llvm/test/Transforms/GlobalOpt/phi-select.ll | 2 +- llvm/test/Transforms/GlobalOpt/pr21191.ll | 2 +- llvm/test/Transforms/GlobalOpt/pr33686.ll | 2 +- llvm/test/Transforms/GlobalOpt/preallocated.ll | 2 +- llvm/test/Transforms/GlobalOpt/preserve-comdats.ll | 2 +- .../Transforms/GlobalOpt/shrink-address-to-bool.ll | 2 +- .../GlobalOpt/shrink-global-to-bool-check-debug.ll | 2 +- .../Transforms/GlobalOpt/static-const-bitcast.ll | 2 +- .../Transforms/GlobalOpt/store-struct-element.ll | 2 +- .../GlobalOpt/storepointer-compare-no-null-opt.ll | 2 +- .../Transforms/GlobalOpt/storepointer-compare.ll | 2 +- .../GlobalOpt/storepointer-no-null-opt.ll | 2 +- llvm/test/Transforms/GlobalOpt/storepointer.ll | 2 +- llvm/test/Transforms/GlobalOpt/tls.ll | 4 +- llvm/test/Transforms/GlobalOpt/trivialstore.ll | 2 +- llvm/test/Transforms/GlobalOpt/undef-init.ll | 2 +- llvm/test/Transforms/GlobalOpt/unnamed-addr.ll | 2 +- .../GlobalOpt/zeroinitializer-gep-load.ll | 2 +- .../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 | 4 + .../AArch64/sve-intrinsic-fmul-idempotency.ll | 3 +- .../AArch64/sve-intrinsic-mul-idempotency.ll | 3 +- 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/compare.ll | 194 + llvm/test/Transforms/InstSimplify/or.ll | 250 +- .../Transforms/JumpThreading/domtree-updates.ll | 111 + .../Transforms/LICM/scalar-promote-memmodel.ll | 25 +- .../Transforms/LICM/scalar-promote-opaque-ptrs.ll | 603 ++ llvm/test/Transforms/LICM/scalar-promote.ll | 412 +- llvm/test/Transforms/LoopPredication/basic.ll | 2 +- .../LoopStrengthReduce/X86/nested-ptr-addrec.ll | 61 + .../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 +- .../AArch64/tail-fold-uniform-memops.ll | 64 +- .../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 +- .../spmdization_guarding_two_reaching_kernels.ll | 295 + .../PhaseOrdering/X86/vector-reductions-logical.ll | 33 +- .../PhaseOrdering/X86/vector-reductions.ll | 25 +- .../loop-rotation-vs-common-code-hoisting.ll | 44 +- .../Transforms/SCCP/2002-05-02-MissSecondInst.ll | 2 +- .../SCCP/2002-05-20-MissedIncomingValue.ll | 2 +- .../SCCP/2002-08-30-GetElementPtrTest.ll | 2 +- .../Transforms/SCCP/2003-08-26-InvokeHandling.ll | 2 +- llvm/test/Transforms/SCCP/2004-11-16-DeadInvoke.ll | 2 +- .../Transforms/SCCP/2004-12-10-UndefBranchBug.ll | 2 +- .../Transforms/SCCP/2006-10-23-IPSCCP-Crash.ll | 2 +- llvm/test/Transforms/SCCP/2006-12-04-PackedType.ll | 2 +- llvm/test/Transforms/SCCP/2006-12-19-UndefBug.ll | 2 +- .../test/Transforms/SCCP/2007-05-16-InvokeCrash.ll | 2 +- .../Transforms/SCCP/2008-01-27-UndefCorrelate.ll | 2 +- .../SCCP/2008-04-22-multiple-ret-sccp.ll | 2 +- .../Transforms/SCCP/2008-05-23-UndefCallFold.ll | 2 +- llvm/test/Transforms/SCCP/2008-06-09-WeakProp.ll | 2 +- .../Transforms/SCCP/2009-01-14-IPSCCP-Invoke.ll | 4 +- .../SCCP/2009-05-27-VectorOperandZero.ll | 2 +- llvm/test/Transforms/SCCP/2009-09-24-byval-ptr.ll | 2 +- llvm/test/Transforms/SCCP/PR16052.ll | 2 +- llvm/test/Transforms/SCCP/PR26044.ll | 2 +- llvm/test/Transforms/SCCP/PR43857.ll | 2 +- llvm/test/Transforms/SCCP/apfloat-basictest.ll | 2 +- llvm/test/Transforms/SCCP/apint-array.ll | 2 +- llvm/test/Transforms/SCCP/apint-basictest.ll | 2 +- llvm/test/Transforms/SCCP/apint-basictest2.ll | 4 +- llvm/test/Transforms/SCCP/apint-basictest3.ll | 4 +- llvm/test/Transforms/SCCP/apint-basictest4.ll | 6 +- llvm/test/Transforms/SCCP/apint-bigarray.ll | 2 +- llvm/test/Transforms/SCCP/apint-bigint.ll | 2 +- llvm/test/Transforms/SCCP/apint-bigint2.ll | 2 +- llvm/test/Transforms/SCCP/apint-ipsccp1.ll | 2 +- llvm/test/Transforms/SCCP/apint-ipsccp2.ll | 2 +- llvm/test/Transforms/SCCP/apint-ipsccp3.ll | 2 +- llvm/test/Transforms/SCCP/apint-ipsccp4.ll | 6 +- llvm/test/Transforms/SCCP/apint-load.ll | 4 +- llvm/test/Transforms/SCCP/apint-phi.ll | 2 +- llvm/test/Transforms/SCCP/apint-select.ll | 2 +- llvm/test/Transforms/SCCP/apint-xor.ll | 2 +- llvm/test/Transforms/SCCP/arg-count-mismatch.ll | 2 +- llvm/test/Transforms/SCCP/arg-type-mismatch.ll | 2 +- llvm/test/Transforms/SCCP/assume.ll | 2 +- llvm/test/Transforms/SCCP/atomic-load-store.ll | 2 +- llvm/test/Transforms/SCCP/atomic.ll | 2 +- llvm/test/Transforms/SCCP/binaryops-constexprs.ll | 2 +- .../SCCP/binaryops-range-special-cases.ll | 2 +- llvm/test/Transforms/SCCP/bitcast.ll | 2 +- llvm/test/Transforms/SCCP/clang-arc-rv.ll | 2 +- llvm/test/Transforms/SCCP/comdat-ipo.ll | 2 +- llvm/test/Transforms/SCCP/conditions-iter-order.ll | 2 +- .../SCCP/conditions-ranges-with-undef.ll | 2 +- llvm/test/Transforms/SCCP/conditions-ranges.ll | 2 +- llvm/test/Transforms/SCCP/constant-range-struct.ll | 2 +- llvm/test/Transforms/SCCP/constant-struct.ll | 2 +- llvm/test/Transforms/SCCP/crash.ll | 2 +- llvm/test/Transforms/SCCP/deadarg.ll | 2 +- llvm/test/Transforms/SCCP/definite-initializer.ll | 2 +- llvm/test/Transforms/SCCP/domtree-update.ll | 2 +- llvm/test/Transforms/SCCP/dont-zap-return.ll | 2 +- .../Transforms/SCCP/float-nan-simplification.ll | 2 +- llvm/test/Transforms/SCCP/float-phis.ll | 2 +- llvm/test/Transforms/SCCP/fp-bc-icmp-const-fold.ll | 2 +- .../test/Transforms/SCCP/global-alias-constprop.ll | 1 - llvm/test/Transforms/SCCP/global.ll | 1 - llvm/test/Transforms/SCCP/indirectbr.ll | 2 +- llvm/test/Transforms/SCCP/int-phis.ll | 2 +- llvm/test/Transforms/SCCP/intrinsics.ll | 2 +- llvm/test/Transforms/SCCP/ip-add-range-to-call.ll | 2 +- llvm/test/Transforms/SCCP/ip-constant-ranges.ll | 2 +- llvm/test/Transforms/SCCP/ip-ranges-binaryops.ll | 2 +- llvm/test/Transforms/SCCP/ip-ranges-casts.ll | 2 +- llvm/test/Transforms/SCCP/ip-ranges-phis.ll | 2 +- llvm/test/Transforms/SCCP/ip-ranges-select.ll | 2 +- llvm/test/Transforms/SCCP/ip-ranges-sext.ll | 2 +- llvm/test/Transforms/SCCP/ipsccp-addr-taken.ll | 2 +- llvm/test/Transforms/SCCP/ipsccp-basic.ll | 4 +- .../SCCP/ipsccp-branch-unresolved-undef.ll | 2 +- llvm/test/Transforms/SCCP/ipsccp-clear-returned.ll | 2 +- llvm/test/Transforms/SCCP/ipsccp-cycles.ll | 2 +- .../Transforms/SCCP/ipsccp-phi-one-pred-dead.ll | 2 +- llvm/test/Transforms/SCCP/ipsccp-predinfo-order.ll | 2 +- llvm/test/Transforms/SCCP/ipsccp-range-crashes.ll | 2 +- .../SCCP/ipsccp-ssa-copy-nested-conds.ll | 1 - llvm/test/Transforms/SCCP/ipscp-drop-argmemonly.ll | 2 +- llvm/test/Transforms/SCCP/latticeval-invalidate.ll | 2 +- llvm/test/Transforms/SCCP/load-store-range.ll | 2 +- llvm/test/Transforms/SCCP/loadtest.ll | 6 +- llvm/test/Transforms/SCCP/loadtest2.ll | 2 +- llvm/test/Transforms/SCCP/logical-nuke.ll | 2 +- llvm/test/Transforms/SCCP/metadata.ll | 2 +- llvm/test/Transforms/SCCP/multiple_callbacks.ll | 2 +- llvm/test/Transforms/SCCP/musttail-call.ll | 2 +- llvm/test/Transforms/SCCP/naked-return.ll | 2 +- llvm/test/Transforms/SCCP/openmp_parallel_for.ll | 2 +- llvm/test/Transforms/SCCP/overdefined-div.ll | 2 +- llvm/test/Transforms/SCCP/overdefined-ext.ll | 2 +- llvm/test/Transforms/SCCP/phi-cycle.ll | 2 +- llvm/test/Transforms/SCCP/phis.ll | 2 +- llvm/test/Transforms/SCCP/pr27712.ll | 2 +- llvm/test/Transforms/SCCP/pr35357.ll | 2 +- .../test/Transforms/SCCP/pr45185-range-predinfo.ll | 2 +- .../SCCP/pr49582-iterator-invalidation.ll | 2 +- llvm/test/Transforms/SCCP/pr52253.ll | 2 +- llvm/test/Transforms/SCCP/predicateinfo-cond.ll | 2 +- llvm/test/Transforms/SCCP/preserve-analysis.ll | 11 - llvm/test/Transforms/SCCP/pthreads.ll | 2 +- llvm/test/Transforms/SCCP/range-and-ip.ll | 2 +- llvm/test/Transforms/SCCP/range-and.ll | 2 +- llvm/test/Transforms/SCCP/ranges-sext.ll | 2 +- llvm/test/Transforms/SCCP/remove-call-inst.ll | 2 +- ...e-dereferenceable-ptr-with-undereferenceable.ll | 2 +- .../Transforms/SCCP/resolvedundefsin-tracked-fn.ll | 2 +- llvm/test/Transforms/SCCP/return-argument.ll | 2 +- llvm/test/Transforms/SCCP/return-constants.ll | 2 +- llvm/test/Transforms/SCCP/return-zapped.ll | 2 +- llvm/test/Transforms/SCCP/retvalue-undef.ll | 2 +- llvm/test/Transforms/SCCP/sccptest.ll | 2 +- llvm/test/Transforms/SCCP/select.ll | 2 +- ...lve-after-each-resolving-undefs-for-function.ll | 2 +- .../Transforms/SCCP/struct-arg-resolve-undefs.ll | 2 +- .../Transforms/SCCP/switch-constantfold-crash.ll | 1 - llvm/test/Transforms/SCCP/switch-multiple-undef.ll | 2 +- .../SCCP/switch-undef-constantfoldterminator.ll | 2 +- llvm/test/Transforms/SCCP/switch.ll | 2 +- llvm/test/Transforms/SCCP/thread_local_acs.ll | 2 +- llvm/test/Transforms/SCCP/ub-shift.ll | 2 +- llvm/test/Transforms/SCCP/ubsan_overflow.ll | 2 +- llvm/test/Transforms/SCCP/undef-resolve.ll | 2 +- .../Transforms/SCCP/user-with-multiple-uses.ll | 2 +- llvm/test/Transforms/SCCP/vector-bitcast.ll | 2 +- llvm/test/Transforms/SCCP/widening.ll | 4 +- .../AArch64/transpose-inseltpoison.ll | 54 +- .../Transforms/SLPVectorizer/AArch64/transpose.ll | 54 +- .../X86/alternate-int-inseltpoison.ll | 24 +- .../Transforms/SLPVectorizer/X86/alternate-int.ll | 24 +- .../SLPVectorizer/X86/cmp_commute-inseltpoison.ll | 19 +- .../Transforms/SLPVectorizer/X86/cmp_commute.ll | 19 +- .../SLPVectorizer/X86/gather-move-out-of-loop.ll | 43 + .../X86/insert-element-build-vector-const-undef.ll | 36 + .../insert-element-build-vector-inseltpoison.ll | 20 +- .../X86/insert-element-build-vector.ll | 20 +- .../SLPVectorizer/X86/load-merge-inseltpoison.ll | 10 +- .../Transforms/SLPVectorizer/X86/load-merge.ll | 10 +- .../SLPVectorizer/X86/reduction-logical.ll | 93 +- .../SLPVectorizer/X86/remark_alternate.ll | 10 +- .../X86/vec_list_bias-inseltpoison.ll | 35 +- .../Transforms/SLPVectorizer/X86/vec_list_bias.ll | 35 +- .../Inputs/profile-context-order-scc.prof | 43 + .../SampleProfile/Inputs/profile-inference.prof | 23 + .../SampleProfile/profile-context-order.ll | 12 + .../Transforms/SampleProfile/profile-inference.ll | 245 + .../2010-06-26-MultipleReturnValues.ll | 2 +- llvm/test/Transforms/TailCallElim/EraseBB.ll | 2 +- .../Transforms/TailCallElim/accum_recursion.ll | 1 - llvm/test/Transforms/TailCallElim/ackermann.ll | 2 +- llvm/test/Transforms/TailCallElim/basic.ll | 2 +- llvm/test/Transforms/TailCallElim/debugloc.ll | 2 +- llvm/test/Transforms/TailCallElim/deopt-bundle.ll | 2 +- .../Transforms/TailCallElim/dont_reorder_load.ll | 2 +- llvm/test/Transforms/TailCallElim/dup_tail.ll | 2 +- llvm/test/Transforms/TailCallElim/inf-recursion.ll | 2 +- llvm/test/Transforms/TailCallElim/notail.ll | 2 +- llvm/test/Transforms/TailCallElim/reorder_load.ll | 2 +- llvm/test/Transforms/TailCallElim/setjmp.ll | 2 +- .../TailCallElim/tre-byval-parameter-2.ll | 2 +- .../Transforms/TailCallElim/tre-byval-parameter.ll | 2 +- .../Transforms/TailCallElim/tre-multiple-exits.ll | 2 +- .../TailCallElim/tre-noncapturing-alloca-calls.ll | 2 +- .../Util/PredicateInfo/branch-on-same-cond.ll | 2 +- .../test/Transforms/Util/PredicateInfo/condprop.ll | 2 +- llvm/test/Transforms/Util/PredicateInfo/diamond.ll | 2 +- llvm/test/Transforms/Util/PredicateInfo/edge.ll | 2 +- .../test/Transforms/Util/PredicateInfo/ordering.ll | 2 +- llvm/test/Transforms/Util/PredicateInfo/pr33456.ll | 2 +- llvm/test/Transforms/Util/PredicateInfo/pr33457.ll | 2 +- .../Transforms/Util/PredicateInfo/testandor.ll | 2 +- .../Transforms/Util/PredicateInfo/unnamed-types.ll | 2 +- .../Transforms/Util/PredicateInfo/unreachable.ll | 2 +- .../test/Verifier/matrix-intrinsics-opaque-ptrs.ll | 138 + .../update_test_checks/Inputs/basic.ll | 2 +- .../update_test_checks/Inputs/basic.ll.expected | 2 +- .../Inputs/basic.ll.funcsig.expected | 2 +- .../update_test_checks/Inputs/check_attrs.ll | 6 +- .../Inputs/check_attrs.ll.funcattrs.expected | 6 +- .../Inputs/check_attrs.ll.plain.expected | 6 +- .../update_test_checks/Inputs/function_name.ll | 2 +- .../Inputs/function_name.ll.expected | 2 +- .../update_test_checks/Inputs/generated_funcs.ll | 2 +- .../Inputs/generated_funcs.ll.generated.expected | 2 +- .../generated_funcs.ll.generated.globals.expected | 2 +- .../Inputs/generated_funcs.ll.nogenerated.expected | 2 +- ...generated_funcs.ll.nogenerated.globals.expected | 2 +- .../update_test_checks/Inputs/pre-process.ll | 8 +- .../Inputs/pre-process.ll.expected | 8 +- .../Inputs/sometimes_deleted_function.ll | 4 +- .../Inputs/sometimes_deleted_function.ll.expected | 4 +- llvm/test/tools/llvm-cov/Inputs/allowlist1.txt | 4 + llvm/test/tools/llvm-cov/Inputs/allowlist2.txt | 2 + .../llvm-cov/Inputs/name_allowlist.covmapping | Bin 0 -> 384 bytes llvm/test/tools/llvm-cov/Inputs/name_allowlist.cpp | 18 + ..._whitelist.proftext => name_allowlist.proftext} | 0 llvm/test/tools/llvm-cov/name_allowlist.test | 21 + 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-tli-checker/Inputs/ps4-tli-check.right.so | Bin 20344 -> 0 bytes .../llvm-tli-checker/Inputs/ps4-tli-check.wrong.so | Bin 20376 -> 0 bytes llvm/test/tools/llvm-tli-checker/ps4-tli-check.s | 291 - .../test/tools/llvm-tli-checker/ps4-tli-check.yaml | 1004 ++++ llvm/tools/llvm-cov/CodeCoverage.cpp | 42 +- llvm/tools/llvm-cov/CoverageFilters.cpp | 7 + llvm/tools/llvm-cov/CoverageFilters.h | 14 +- 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/llvm-reduce/deltas/Delta.cpp | 39 +- llvm/tools/llvm-tli-checker/llvm-tli-checker.cpp | 71 +- llvm/tools/obj2yaml/macho2yaml.cpp | 10 + llvm/unittests/ADT/APIntTest.cpp | 3 + llvm/unittests/Analysis/TargetLibraryInfoTest.cpp | 8 +- .../CodeGen/GlobalISel/PatternMatchTest.cpp | 61 + llvm/unittests/CodeGen/InstrRefLDVTest.cpp | 53 +- llvm/unittests/Demangle/DLangDemangleTest.cpp | 16 +- llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp | 32 + llvm/unittests/IR/IRBuilderTest.cpp | 67 + llvm/unittests/Support/CMakeLists.txt | 1 + llvm/unittests/Support/HTTPClient.cpp | 88 + llvm/unittests/Transforms/Utils/CloningTest.cpp | 13 +- llvm/utils/gn/secondary/clang/test/BUILD.gn | 1 + .../compiler-rt/lib/sanitizer_common/BUILD.gn | 1 + llvm/utils/gn/secondary/libcxx/include/BUILD.gn | 13 + .../gn/secondary/llvm/lib/ProfileData/BUILD.gn | 1 + llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn | 1 + .../gn/secondary/llvm/lib/Target/ARM/BUILD.gn | 1 + .../secondary/llvm/lib/Transforms/Utils/BUILD.gn | 1 + .../gn/secondary/llvm/unittests/Support/BUILD.gn | 1 + mlir/cmake/modules/AddMLIR.cmake | 4 +- mlir/docs/Dialects/Vector.md | 29 +- 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/IR/ArithmeticOps.td | 4 +- .../mlir/Dialect/Arithmetic/Transforms/Passes.h | 10 +- .../mlir/Dialect/Bufferization/CMakeLists.txt | 1 + .../Dialect/Bufferization/Transforms/Bufferize.h | 58 + .../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 +- .../BufferizableOpInterface.td | 9 + .../ComprehensiveBufferize/TensorInterfaceImpl.h | 7 + mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td | 6 + 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 +- mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td | 5 +- mlir/include/mlir/Dialect/PDL/IR/PDLOps.td | 45 +- .../mlir/Dialect/PDLInterp/IR/PDLInterpOps.td | 137 + .../Dialect/SparseTensor/IR/SparseTensorOps.td | 25 +- .../mlir/Dialect/SparseTensor/Utils/Merger.h | 18 +- mlir/include/mlir/Dialect/StandardOps/IR/Ops.td | 15 +- .../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/Dialect/Vector/VectorOps.td | 141 +- mlir/include/mlir/IR/AffineMap.h | 17 + mlir/include/mlir/IR/BuiltinTypes.h | 19 + mlir/include/mlir/IR/OpBase.td | 2 +- mlir/include/mlir/IR/OpDefinition.h | 8 +- mlir/include/mlir/IR/PatternMatch.h | 8 + mlir/include/mlir/InitAllPasses.h | 2 + mlir/include/mlir/Interfaces/VectorInterfaces.td | 28 +- mlir/include/mlir/Support/IndentedOstream.h | 26 +- mlir/include/mlir/TableGen/AttrOrTypeDef.h | 154 +- mlir/include/mlir/TableGen/Class.h | 657 ++- mlir/include/mlir/TableGen/CodeGenHelpers.h | 15 +- mlir/include/mlir/TableGen/Format.h | 5 +- mlir/include/mlir/Transforms/Bufferize.h | 63 - mlir/include/mlir/Transforms/Passes.h | 8 - mlir/include/mlir/Transforms/Passes.td | 93 - mlir/lib/Analysis/Presburger/Simplex.cpp | 7 +- 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/PDLToPDLInterp/CMakeLists.txt | 1 + .../Conversion/PDLToPDLInterp/PDLToPDLInterp.cpp | 254 +- mlir/lib/Conversion/PDLToPDLInterp/Predicate.cpp | 5 + mlir/lib/Conversion/PDLToPDLInterp/Predicate.h | 62 +- .../Conversion/PDLToPDLInterp/PredicateTree.cpp | 362 +- mlir/lib/Conversion/PDLToPDLInterp/PredicateTree.h | 8 +- .../lib/Conversion/PDLToPDLInterp/RootOrdering.cpp | 229 + mlir/lib/Conversion/PDLToPDLInterp/RootOrdering.h | 137 + mlir/lib/Conversion/SCFToOpenMP/SCFToOpenMP.cpp | 2 +- .../Conversion/StandardToLLVM/StandardToLLVM.cpp | 14 +- mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp | 32 +- mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp | 14 +- .../VectorToLLVM/ConvertVectorToLLVM.cpp | 31 +- .../lib/Conversion/VectorToROCDL/VectorToROCDL.cpp | 4 + mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp | 8 + mlir/lib/Dialect/Arithmetic/IR/ArithmeticOps.cpp | 6 - .../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 | 676 +++ .../Dialect/Bufferization/Transforms/Bufferize.cpp | 131 + .../Bufferization/Transforms/CMakeLists.txt | 15 + .../Dialect/Bufferization/Transforms/PassDetail.h | 31 + mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp | 8 +- .../ComprehensiveBufferize.cpp | 10 +- .../ComprehensiveBufferize/ModuleBufferization.cpp | 8 - .../ComprehensiveBufferize/SCFInterfaceImpl.cpp | 11 + .../ComprehensiveBufferize/TensorInterfaceImpl.cpp | 91 +- .../ComprehensiveBufferize/VectorInterfaceImpl.cpp | 3 +- mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | 27 +- mlir/lib/Dialect/Linalg/Transforms/Bufferize.cpp | 8 +- .../Transforms/ComprehensiveBufferizePass.cpp | 3 + .../Linalg/Transforms/ElementwiseOpFusion.cpp | 11 +- .../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 +- .../Dialect/Linalg/Transforms/Vectorization.cpp | 109 +- .../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 +- .../Dialect/MemRef/Transforms/FoldSubViewOps.cpp | 31 +- mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp | 61 +- mlir/lib/Dialect/PDL/IR/PDL.cpp | 166 +- mlir/lib/Dialect/PDLInterp/IR/PDLInterp.cpp | 79 + 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/Dialect/Vector/VectorDropLeadUnitDim.cpp | 24 +- mlir/lib/Dialect/Vector/VectorOps.cpp | 258 +- ...VectorTransferPermutationMapRewritePatterns.cpp | 30 +- mlir/lib/Dialect/Vector/VectorTransforms.cpp | 128 +- mlir/lib/IR/AffineMap.cpp | 15 - mlir/lib/IR/BuiltinTypes.cpp | 35 +- mlir/lib/IR/MLIRContext.cpp | 25 + mlir/lib/IR/Operation.cpp | 10 +- mlir/lib/IR/PatternMatch.cpp | 23 + mlir/lib/Interfaces/VectorInterfaces.cpp | 2 +- mlir/lib/Rewrite/ByteCode.cpp | 453 +- mlir/lib/Rewrite/ByteCode.h | 16 + mlir/lib/Support/IndentedOstream.cpp | 23 +- mlir/lib/TableGen/AttrOrTypeDef.cpp | 14 +- mlir/lib/TableGen/Class.cpp | 368 +- mlir/lib/TableGen/Format.cpp | 7 +- .../Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp | 2 +- .../Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp | 13 +- mlir/lib/Target/LLVMIR/ModuleTranslation.cpp | 4 +- mlir/lib/Transforms/BufferDeallocation.cpp | 681 --- mlir/lib/Transforms/Bufferize.cpp | 126 - 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 + .../PDLToPDLInterp/pdl-to-pdl-interp-matcher.mlir | 167 +- .../StandardToLLVM/standard-to-llvm.mlir | 15 + .../Conversion/TosaToLinalg/tosa-to-linalg.mlir | 22 +- .../Conversion/VectorToLLVM/vector-to-llvm.mlir | 121 +- .../test/Conversion/VectorToSCF/vector-to-scf.mlir | 31 +- .../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 | 32 +- .../Linalg/comprehensive-module-bufferize.mlir | 12 + .../test/Dialect/Linalg/decompose-convolution.mlir | 2 +- mlir/test/Dialect/Linalg/hoist-padding.mlir | 423 ++ mlir/test/Dialect/Linalg/interchange.mlir | 4 +- mlir/test/Dialect/Linalg/pad-and-hoist.mlir | 599 -- mlir/test/Dialect/Linalg/pad.mlir | 22 + .../Linalg/reshape_linearization_fusion.mlir | 28 + mlir/test/Dialect/Linalg/roundtrip.mlir | 2 +- mlir/test/Dialect/Linalg/vectorization.mlir | 25 +- mlir/test/Dialect/MemRef/canonicalize.mlir | 24 +- mlir/test/Dialect/MemRef/invalid.mlir | 318 +- mlir/test/Dialect/MemRef/ops.mlir | 14 +- mlir/test/Dialect/OpenMP/ops.mlir | 2 +- mlir/test/Dialect/PDL/invalid.mlir | 61 +- mlir/test/Dialect/PDL/ops.mlir | 30 + mlir/test/Dialect/PDLInterp/ops.mlir | 43 + .../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/Dialect/Vector/invalid.mlir | 12 - mlir/test/Dialect/Vector/ops.mlir | 32 +- .../vector-transfer-to-vector-load-store.mlir | 12 +- mlir/test/IR/core-ops.mlir | 50 - mlir/test/IR/invalid-ops.mlir | 342 -- .../Dialect/Linalg/CPU/test-tensor-matmul.mlir | 1 + .../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/Vector/CPU/test-0-d-vectors.mlir | 38 + mlir/test/Rewrite/pdl-bytecode.mlir | 271 + .../LLVMIR/openmp-llvm-bad-schedule-modifier.mlir | 49 + mlir/test/Target/LLVMIR/openmp-llvm.mlir | 96 +- .../Dialect/Linalg/TestLinalgCodegenStrategy.cpp | 20 +- .../lib/Dialect/Linalg/TestLinalgTransforms.cpp | 12 - mlir/test/lib/Dialect/Test/TestOps.td | 7 + mlir/test/mlir-tblgen/attr-or-type-format.td | 12 +- mlir/test/mlir-tblgen/attrdefs.td | 53 +- .../mlir-tblgen/default-type-attr-print-parser.td | 4 +- mlir/test/mlir-tblgen/trait.mlir | 8 + mlir/test/mlir-tblgen/typedefs.td | 16 +- 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/AttrOrTypeDefGen.cpp | 1391 ++--- mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp | 196 +- mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.h | 7 +- mlir/tools/mlir-tblgen/CMakeLists.txt | 1 + mlir/tools/mlir-tblgen/LLVMIRConversionGen.cpp | 9 +- mlir/tools/mlir-tblgen/OpClass.cpp | 34 + mlir/tools/mlir-tblgen/OpClass.h | 49 + mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp | 137 +- mlir/tools/mlir-tblgen/OpDocGen.cpp | 8 +- mlir/tools/mlir-tblgen/OpFormatGen.cpp | 1 + mlir/tools/mlir-tblgen/RewriterGen.cpp | 14 +- mlir/unittests/Analysis/Presburger/SimplexTest.cpp | 43 +- mlir/unittests/CMakeLists.txt | 1 + mlir/unittests/Conversion/CMakeLists.txt | 1 + .../Conversion/PDLToPDLInterp/CMakeLists.txt | 8 + .../Conversion/PDLToPDLInterp/RootOrderingTest.cpp | 112 + mlir/unittests/Dialect/CMakeLists.txt | 1 + .../Dialect/Utils/StructuredOpsUtilsTest.cpp | 13 - mlir/unittests/Support/IndentedOstreamTest.cpp | 2 +- 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 +- pstl/include/pstl/internal/utils.h | 8 +- utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 77 +- 2214 files changed, 108588 insertions(+), 33509 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/do-not-file-an-issue.md create mode 100644 .github/PULL_REQUEST_TEMPLATE.md 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/arm-branch-protection-attr-1.c create mode 100644 clang/test/CodeGen/arm-branch-protection-attr-2.c create mode 100644 clang/test/CodeGen/attr-target-clones.c create mode 100644 clang/test/CodeGenCXX/attr-target-clones.cpp create mode 100644 clang/test/Driver/arm-security-options.c 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/aarch64-branch-protection-attr-err.c create mode 100644 clang/test/Sema/arm-branch-protection-attr-err.c create mode 100644 clang/test/Sema/attr-target-clones.c delete mode 100644 clang/test/Sema/branch-protection-attr-err.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/lib/tsan/rtl/tsan_update_shadow_word.inc create mode 100644 compiler-rt/test/tsan/atexit5.cpp create mode 100644 compiler-rt/test/tsan/on_exit.cpp rename compiler-rt/test/ubsan/TestCases/Pointer/{alignment-assumption-ignorelist.c [...] create mode 100644 cross-project-tests/debuginfo-tests/dexter/dex/command/commands [...] create mode 100644 cross-project-tests/debuginfo-tests/dexter/feature_tests/comman [...] create mode 100644 cross-project-tests/debuginfo-tests/dexter/feature_tests/comman [...] create mode 100644 cross-project-tests/debuginfo-tests/dexter/feature_tests/comman [...] create mode 100644 cross-project-tests/debuginfo-tests/dexter/feature_tests/comman [...] create mode 100644 cross-project-tests/debuginfo-tests/dexter/feature_tests/comman [...] create mode 100644 cross-project-tests/debuginfo-tests/dexter/feature_tests/comman [...] create mode 100644 cross-project-tests/debuginfo-tests/dexter/feature_tests/comman [...] create mode 100644 cross-project-tests/debuginfo-tests/dexter/feature_tests/comman [...] create mode 100644 cross-project-tests/debuginfo-tests/dexter/feature_tests/subtoo [...] create mode 100644 cross-project-tests/debuginfo-tests/dexter/feature_tests/subtoo [...] create mode 100644 cross-project-tests/debuginfo-tests/dexter/feature_tests/subtoo [...] 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/Reduction.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/Reduction.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/ReductionTest.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 delete mode 100644 libcxx/cmake/caches/Generic-32bits.cmake create mode 100644 libcxx/include/__numeric/accumulate.h create mode 100644 libcxx/include/__numeric/adjacent_difference.h create mode 100644 libcxx/include/__numeric/exclusive_scan.h create mode 100644 libcxx/include/__numeric/gcd_lcm.h create mode 100644 libcxx/include/__numeric/inclusive_scan.h create mode 100644 libcxx/include/__numeric/inner_product.h create mode 100644 libcxx/include/__numeric/iota.h create mode 100644 libcxx/include/__numeric/midpoint.h create mode 100644 libcxx/include/__numeric/partial_sum.h create mode 100644 libcxx/include/__numeric/reduce.h create mode 100644 libcxx/include/__numeric/transform_exclusive_scan.h create mode 100644 libcxx/include/__numeric/transform_inclusive_scan.h create mode 100644 libcxx/include/__numeric/transform_reduce.h create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/numeric/accumulat [...] create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/numeric/adjacent_ [...] create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/numeric/exclusive [...] create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/numeric/gcd_lcm.m [...] create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/numeric/inclusive [...] create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/numeric/inner_pro [...] create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/numeric/iota.modu [...] create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/numeric/midpoint. [...] create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/numeric/partial_s [...] create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/numeric/reduce.mo [...] create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform [...] create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform [...] create mode 100644 libcxx/test/libcxx/diagnostics/detail.headers/numeric/transform [...] create mode 100644 libcxx/test/std/containers/associative/map/get_allocator.pass.cpp create mode 100644 libcxx/test/std/containers/associative/map/map.observers/key_co [...] create mode 100644 libcxx/test/std/containers/associative/map/map.observers/value_ [...] create mode 100644 libcxx/test/std/containers/associative/map/map.value_compare/in [...] create mode 100644 libcxx/test/std/containers/associative/map/map.value_compare/ty [...] create mode 100644 libcxx/test/std/containers/associative/multimap/get_allocator.pass.cpp create mode 100644 libcxx/test/std/containers/associative/multimap/multimap.observ [...] create mode 100644 libcxx/test/std/containers/associative/multimap/multimap.observ [...] create mode 100644 libcxx/test/std/containers/associative/multimap/multimap.value_ [...] create mode 100644 libcxx/test/std/containers/associative/multimap/multimap.value_ [...] create mode 100644 libcxx/test/std/containers/associative/multiset/get_allocator.pass.cpp create mode 100644 libcxx/test/std/containers/associative/multiset/multiset.observ [...] create mode 100644 libcxx/test/std/containers/associative/set/get_allocator.pass.cpp create mode 100644 libcxx/test/std/containers/associative/set/set.observers/comp.pass.cpp create mode 100644 libcxx/test/std/containers/sequences/deque/get_allocator.pass.cpp create mode 100644 libcxx/test/std/containers/sequences/forwardlist/get_allocator. [...] create mode 100644 libcxx/test/std/containers/sequences/list/get_allocator.pass.cpp create mode 100644 libcxx/test/std/containers/sequences/vector.bool/get_allocator. [...] create mode 100644 libcxx/test/std/containers/sequences/vector/get_allocator.pass.cpp create mode 100644 libcxx/test/std/containers/sequences/vector/reverse_iterators.pass.cpp create mode 100644 libcxx/test/std/containers/sequences/vector/vector.modifiers/in [...] delete mode 100644 libcxx/test/std/containers/sequences/vector/vector.modifiers/in [...] create mode 100644 libcxx/test/std/containers/unord/unord.map/get_allocator.pass.cpp create mode 100644 libcxx/test/std/containers/unord/unord.multimap/get_allocator.pass.cpp create mode 100644 libcxx/test/std/containers/unord/unord.multiset/get_allocator.pass.cpp create mode 100644 libcxx/test/std/containers/unord/unord.set/get_allocator.pass.cpp create mode 100644 libcxx/test/std/iterators/predef.iterators/reverse.iterators/re [...] create mode 100644 libcxx/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist. [...] create mode 100644 libcxx/test/std/strings/string.view/string.view.comparison/equa [...] create mode 100644 libcxx/test/std/strings/string.view/string.view.comparison/grea [...] create mode 100644 libcxx/test/std/strings/string.view/string.view.comparison/grea [...] create mode 100644 libcxx/test/std/strings/string.view/string.view.comparison/less [...] create mode 100644 libcxx/test/std/strings/string.view/string.view.comparison/less [...] create mode 100644 libcxx/test/std/strings/string.view/string.view.comparison/not_ [...] delete mode 100644 libcxx/test/std/strings/string.view/string.view.comparison/opeq [...] delete mode 100644 libcxx/test/std/strings/string.view/string.view.comparison/opeq [...] delete mode 100644 libcxx/test/std/strings/string.view/string.view.comparison/opeq [...] delete mode 100644 libcxx/test/std/strings/string.view/string.view.comparison/opge [...] delete mode 100644 libcxx/test/std/strings/string.view/string.view.comparison/opge [...] delete mode 100644 libcxx/test/std/strings/string.view/string.view.comparison/opge [...] delete mode 100644 libcxx/test/std/strings/string.view/string.view.comparison/opgt [...] delete mode 100644 libcxx/test/std/strings/string.view/string.view.comparison/opgt [...] delete mode 100644 libcxx/test/std/strings/string.view/string.view.comparison/opgt [...] delete mode 100644 libcxx/test/std/strings/string.view/string.view.comparison/ople [...] delete mode 100644 libcxx/test/std/strings/string.view/string.view.comparison/ople [...] delete mode 100644 libcxx/test/std/strings/string.view/string.view.comparison/ople [...] delete mode 100644 libcxx/test/std/strings/string.view/string.view.comparison/oplt [...] delete mode 100644 libcxx/test/std/strings/string.view/string.view.comparison/oplt [...] delete mode 100644 libcxx/test/std/strings/string.view/string.view.comparison/oplt [...] delete mode 100644 libcxx/test/std/strings/string.view/string.view.comparison/opne [...] delete mode 100644 libcxx/test/std/strings/string.view/string.view.comparison/opne [...] delete mode 100644 libcxx/test/std/strings/string.view/string.view.comparison/opne [...] create mode 100644 libcxx/test/std/strings/string.view/string.view.cons/from_range [...] rename libcxx/test/std/strings/string.view/{string.view.cons/deduct.pass.cpp => st [...] create mode 100644 libcxx/test/std/strings/string.view/string.view.deduct/range.pass.cpp create mode 100644 libcxxabi/test/forced_unwind3.pass.cpp create mode 100644 lld/test/ELF/arm-adr-err-long.s create mode 100644 lld/test/ELF/lto/comdat-mixed-archive.test 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/dont_allow_jit => memory/write}/Makefile (100%) create mode 100644 lldb/test/API/commands/memory/write/TestMemoryWrite.py create mode 100644 lldb/test/API/commands/memory/write/file.txt create mode 100644 lldb/test/API/commands/memory/write/main.c delete mode 100644 lldb/test/API/linux/aarch64/tagged_memory_region/TestAArch64Lin [...] delete mode 100644 lldb/test/API/linux/aarch64/tagged_memory_region/main.c rename lldb/test/API/{linux/aarch64/tagged_memory_region => 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/include/llvm/Support/HTTPClient.h create mode 100644 llvm/include/llvm/Transforms/Utils/SampleProfileInference.h create mode 100644 llvm/lib/ProfileData/RawMemProfReader.cpp create mode 100644 llvm/lib/Support/HTTPClient.cpp create mode 100644 llvm/lib/Target/ARM/ARMBranchTargets.cpp create mode 100644 llvm/lib/Transforms/Utils/SampleProfileInference.cpp delete mode 100644 llvm/test/Analysis/CostModel/X86/interleaved-store-accesses-wit [...] create mode 100644 llvm/test/Analysis/CostModel/X86/masked-interleaved-load-i16.ll create mode 100644 llvm/test/Analysis/CostModel/X86/masked-interleaved-store-i16.ll create mode 100644 llvm/test/Analysis/ScalarEvolution/addrec-computed-during-addre [...] create mode 100644 llvm/test/Analysis/ScalarEvolution/becount-invalidation.ll create mode 100644 llvm/test/CodeGen/AArch64/active_lane_mask.ll 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/AArch64/sve-fixed-length-sdiv-pow2.ll create mode 100644 llvm/test/CodeGen/AArch64/sve-sdiv-pow2.ll create mode 100644 llvm/test/CodeGen/AArch64/sve-srem-combine-loop.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-fsh.mir create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/combine-rot.mir 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/ARM/pacbti-module-attrs.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/debug-info-rvv-dbg-value.mir create mode 100644 llvm/test/CodeGen/RISCV/rvv/fceil-sdnode.ll create mode 100644 llvm/test/CodeGen/RISCV/rvv/ffloor-sdnode.ll create mode 100644 llvm/test/CodeGen/RISCV/rvv/ftrunc-sdnode.ll create mode 100644 llvm/test/CodeGen/RISCV/rvv/no-reserved-frame.ll create mode 100644 llvm/test/CodeGen/Thumb2/bti-const-island-multiple-jump-tables.mir create mode 100644 llvm/test/CodeGen/Thumb2/bti-const-island.mir create mode 100644 llvm/test/CodeGen/Thumb2/bti-entry-blocks.ll create mode 100644 llvm/test/CodeGen/Thumb2/bti-indirect-branches.ll create mode 100644 llvm/test/CodeGen/Thumb2/bti-jump-table.mir create mode 100644 llvm/test/CodeGen/Thumb2/bti-outliner-1.ll create mode 100644 llvm/test/CodeGen/Thumb2/bti-outliner-2.ll create mode 100644 llvm/test/CodeGen/Thumb2/bti-outliner-cost-1.ll create mode 100644 llvm/test/CodeGen/Thumb2/bti-outliner-cost-2.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/fptosi-sat-vector-128.ll create mode 100644 llvm/test/CodeGen/X86/fptoui-sat-vector-128.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/DeadStoreElimination/libcalls-darwin.ll 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/LICM/scalar-promote-opaque-ptrs.ll create mode 100644 llvm/test/Transforms/LoopStrengthReduce/X86/nested-ptr-addrec.ll create mode 100644 llvm/test/Transforms/OpenMP/spmdization_guarding_two_reaching_k [...] create mode 100644 llvm/test/Transforms/SLPVectorizer/X86/gather-move-out-of-loop.ll create mode 100644 llvm/test/Transforms/SLPVectorizer/X86/insert-element-build-vec [...] create mode 100644 llvm/test/Transforms/SampleProfile/Inputs/profile-context-order [...] create mode 100644 llvm/test/Transforms/SampleProfile/Inputs/profile-inference.prof create mode 100644 llvm/test/Transforms/SampleProfile/profile-inference.ll create mode 100644 llvm/test/Verifier/matrix-intrinsics-opaque-ptrs.ll create mode 100644 llvm/test/tools/llvm-cov/Inputs/allowlist1.txt create mode 100644 llvm/test/tools/llvm-cov/Inputs/allowlist2.txt create mode 100644 llvm/test/tools/llvm-cov/Inputs/name_allowlist.covmapping create mode 100644 llvm/test/tools/llvm-cov/Inputs/name_allowlist.cpp copy llvm/test/tools/llvm-cov/Inputs/{name_whitelist.proftext => name_allowlist.pr [...] create mode 100644 llvm/test/tools/llvm-cov/name_allowlist.test 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 delete mode 100644 llvm/test/tools/llvm-tli-checker/Inputs/ps4-tli-check.right.so delete mode 100644 llvm/test/tools/llvm-tli-checker/Inputs/ps4-tli-check.wrong.so delete mode 100644 llvm/test/tools/llvm-tli-checker/ps4-tli-check.s create mode 100644 llvm/test/tools/llvm-tli-checker/ps4-tli-check.yaml create mode 100644 llvm/unittests/Support/HTTPClient.cpp create mode 100644 mlir/include/mlir/Conversion/BufferizationToMemRef/Bufferizatio [...] create mode 100644 mlir/include/mlir/Dialect/Bufferization/Transforms/Bufferize.h 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 delete mode 100644 mlir/include/mlir/Transforms/Bufferize.h create mode 100644 mlir/lib/Conversion/BufferizationToMemRef/BufferizationToMemRef.cpp create mode 100644 mlir/lib/Conversion/BufferizationToMemRef/CMakeLists.txt create mode 100644 mlir/lib/Conversion/PDLToPDLInterp/RootOrdering.cpp create mode 100644 mlir/lib/Conversion/PDLToPDLInterp/RootOrdering.h create mode 100644 mlir/lib/Dialect/Bufferization/Transforms/BufferDeallocation.cpp create mode 100644 mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp create mode 100644 mlir/lib/Dialect/Bufferization/Transforms/CMakeLists.txt create mode 100644 mlir/lib/Dialect/Bufferization/Transforms/PassDetail.h delete mode 100644 mlir/lib/Transforms/BufferDeallocation.cpp delete mode 100644 mlir/lib/Transforms/Bufferize.cpp 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/Dialect/Linalg/hoist-padding.mlir delete mode 100644 mlir/test/Dialect/Linalg/pad-and-hoist.mlir 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/Target/LLVMIR/openmp-llvm-bad-schedule-modifier.mlir 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 create mode 100644 mlir/tools/mlir-tblgen/OpClass.cpp create mode 100644 mlir/tools/mlir-tblgen/OpClass.h create mode 100644 mlir/unittests/Conversion/CMakeLists.txt create mode 100644 mlir/unittests/Conversion/PDLToPDLInterp/CMakeLists.txt create mode 100644 mlir/unittests/Conversion/PDLToPDLInterp/RootOrderingTest.cpp