This is an automated email from the git hooks/post-receive script.
tcwg-buildslave pushed a change to branch linaro-local/ci/tcwg_kernel/llvm-master-aarch64-mainline-allnoconfig in repository toolchain/ci/llvm-project.
from df18e37541a2 Reapply [SimplifyCFG] Make FoldCondBranchOnPHI more amenab [...] adds 19a6dd33eeb2 [libc] Add the implementation of the GNU extension functio [...] adds 5c6a14649843 [C++20][Modules][Driver][HU 1/N] Initial handling for -xc+ [...] adds 993b166debd1 Reapply [SimplifyCFG] Handle branch on same condition in p [...] adds 561af89fed10 [AMDGPU] Use a wrapper multiclass for buffer atomic intrin [...] adds a74e5a89b9e2 [mlir] Move isGuaranteedCollapsible to CollapseShapeOp (NFC). adds 091c2f953dd6 [AArch64] Add some splat of load cost model tests. NFC adds abc17a675197 [mlir][Arithmetic] Use matchPattern to simplify code. adds e69c21f75b23 [InstCombine] Add test for atomic load from constant global (NFC) adds 2186a4aea0e3 [flang] Make the plugin API independent of the driver internals adds 9b32886e7e70 [mlir][Arithmetic] Use common constant fold function in Re [...] adds d820acdde198 [mlir][bufferize][NFC] Use custom walk instead of GreedyPa [...] adds 85eb8b7244b6 [IndVars] Add test for crash exposed by D114650. adds 70777d967fb7 [mlir][bufferize][NFC] Move FuncOp bufferization to Buffer [...] adds bd1d87e3d180 [mlir][bufferization][NFC] Remove layout post processing step adds 2b252c159f53 [InstCombine] Add commuted or of icmp test (NFC) adds 3e1d2c352c1f [InstCombine] Fix or of commuted foldable predicates adds e07a7fd5c0ef [mlir][bufferization] Move ModuleBufferization to bufferiz [...] adds ba46ae7bd853 [InstCombine] Merge foldAndOfICmps() and foldOrOfICmps() (NFCI) adds b09ba4262076 Bug 51277: [DWARF] DW_AT_alignment incorrect when attribut [...] adds de07cde67b5d [AArch64] Emit .cfi_negate_ra_state for PAC-auth instructions. adds 494505f39fec [mlir][bufferize][NFC] Move SCF test cases to SCF dialect adds 8dbc6b560055 Revert "[randstruct] Check final randomized layout ordering" adds 864752cfeba4 [AST] QualifiedTemplateName::getTemplateDecl cleanup. adds ad12f468a355 [SLP][AArch64][NFC] Add test for a follow-up patch that fi [...] adds e1afae0311b6 [AArch64][SVE] Add some logical operation DestructiveBinar [...] adds f69328049e9e [cc1as] Add support for emitting the build version load co [...] adds fc760c026058 [mlir][vector] Fold cancelling vector.shape_cast(vector.br [...] adds 4c4ff004a270 [C++20][Modules][Driver][HU 2/N] Add fmodule-header, fmodu [...] adds 9c00e3d49e34 [lld/win] Mention in release notes that /winsysroot: curre [...] adds 074abdcc60fa [InstCombine] Add tests for and of icmp ne zero and icmp u [...] adds 3c382ed71f15 [AArch64][SVE] Remove BIC from logical operation Destructi [...] adds 237c4bada957 InstCombine: Add tests to show or-and scenarios which can [...] adds 3f9ebc0cc824 [doc] [cmake] Fix a typo in examples for the cmake directo [...] adds 7ba702644bac [SLP][AArch64] Implement lookahead operand reordering scor [...] adds 369ef9bf6056 [InstCombine] Extract code for or of icmp eq zero and icmp [...] adds 40bc9112c079 GlobalISel: Relax handling of G_ASSERT_* with source regis [...] adds 794a0bb54748 AMDGPU: Directly implement computeKnownBits for workitem i [...] adds de1e3c649fdf [InstCombine] Fix typo in test (NFC) adds 9c122537cd71 MIR: Serialize FunctionContextIdx in MachineFrameInfo adds f7db8b7a9c64 llvm-reduce: Fix variable name typo adds a6d1a76a07eb [StatepointLowering] Add test for cross-BB gc.relocate lowering adds 7052a0ad689b Revert "[SLP][AArch64] Implement lookahead operand reorder [...] adds b0b19fae81f8 [mlir][bufferize][NFC] Rewrite op filter logic adds 34e724346408 [DAG] Fold freeze(bitcast(x)) -> bitcast(freeze(x)) adds 2efccf5166f4 [clangd][NFC] Reduce memory usage while building dex adds ffe13960b579 [InstCombine] Fold (A & 2^C1) + A => A & (2^C1 - 1) iff bi [...] adds d6dab38ae48a [mlir][bufferize][NFC] Add function boundary bufferization [...] adds c9e7eec7bc41 [clang-format][NFC] Use isComment() in setCommentLineLevels() adds 2b0fedc2ddd1 [RISCV] Print human-readable VTYPE/SEW/LMUL in MIR adds 98db7ea26287 [RISCV][NFC] Adjust some formatting in VL patterns adds e9a902c7f755 Revert "Revert "Revert "[clang][pp] adds '#pragma include_ [...] adds 225b91e6cbba Fix crash getting name of a template decl adds 79c1991010bd [llvm-objcopy][NFC] refactor restoreStatOnFile out of llvm [...] adds 1fa0bb8a8075 [SimpleLoopUnswitch] Add test where all conds are guarante [...] adds 67609cdf09b0 [NFC] Cosmetic changes to OpenACC.cpp. adds 2d8cf26d0870 [lld-macho] Fix crash on invalid framework tbd adds 0278dee1e577 [Hexagon] Generate TargetConstant in SelectAnyInt adds 5dd99f71aa73 [RISCV] transform MI to W variant to remove sext.w adds 2518d4f6d854 [nfc][msan] Add D123875 into release notes adds 6f28fd0bf7f8 [mlir][vector] Fold 1-element reduction into extract or arith ops adds 9bae20b52822 [mlir] Add shape.func adds 907ed12d950f [libc++] Change vector<bool>::const_iterator::reference to [...] adds 3e8560f890bb [MLIR] Add option to print users of an operation as commen [...] adds 34b676eb60ca [sanitizer] Use canonical syscalls everywhere adds a45764f2f9cf [git-clang-format] Add some examples to the help text adds c94a02e0e223 [git-clang-format] Change run line from python to python3 adds ee285faed2e8 [mlir] Do not bubble up extract slice when it is rank-reducing. adds bf8f9b35c10a [flang] Fix regression from generic fix adds cbbc66290044 [flang][runtime] Ignore leading spaces even in BZ mode adds e6382d23fcc8 [lld-macho][nfc] Simplify unwind section lookup adds c242e10c74d2 [lld-macho] Fix ICF crash when comparing symbol relocs adds 839f0abdaaa6 [flang][runtime] Accept "." as REAL input adds 0ecbb683a2fa TableGen/GlobalISel: Make address space/align predicates c [...] adds b341c440102d [SimpleLoopUnswitch] Check if freeze is needed for partial [...] adds fd1464604367 [LLDB] Applying clang-tidy modernize-use-override over LLDB adds ce3bb82e4503 [LICM] Add test for writeonly fn with noalias call. adds baebe12ad0d6 [Bazel] Make mlir/test:TestShapeDialect depend on mlir:Fun [...] adds 04fb81674ed7 [CUDA][HIP] Externalize kernels with internal linkage adds ff1374785f82 [libc] Add Printf FormatSection Matcher adds 40a8bd635b08 [mlir] use side effects in the Transform dialect adds 4466672861ff [CMake] Update ARM32 list for CRT config-ix adds ef6614e4a231 [libc] Fix PrintfMatcher Cmake Rule adds ada8973fbaeb [SLP][NFC] Pre-commit test showing deficiency in current r [...] adds 1cddcfdc3c68 Fix CollapsedLayoutMap for dim size 1 case adds 20a9fb953e46 [Clang][OpenMP] Fix the issue that temp cubin files are no [...] adds bab3d3778de1 [mlir][LLVM] Fix crash when using opaque pointers in funct [...] adds 8ed2bd1e7465 [mlir][LLVM] Fix `DataLayoutTypeInterface` for opqaue poin [...] adds 6fa1d12b3ca7 ProcessImplicitDefs: Use required properties instead of is [...] adds debfb96be62b llvm-reduce: Fix cloning unset maxCallFrameSize adds 4b4437c084e2 [asan] Enable detect_stack_use_after_return=1 by default adds 91ccd8248c85 [Clang][OpenMP] libompd: get libomp hwloc includedir by ta [...] adds 8a880db51929 [libomptarget] Make omp_target_is_present checks storage i [...] adds 4e971efad4c2 Recommit "[SLP][AArch64] Implement lookahead operand reord [...] adds 4683a2effa72 [llvm][misexpect] Avoid division by 0 when using sample profiling adds f1dbf8e4ada7 [flang][runtime] Fix edge-case FP input bugs adds b862bcbf4455 [ELF] Move SymbolUnion assertions to source file adds 1af25a986069 [ELF] Fix wrapping symbols produced during LTO codegen adds b985b6e3c15a [clang-tidy] Ignore macros defined within declarations adds 2a04f5c455c8 [ELF] Drop unused original symbol after wrapping if not defined adds 4604db9493ff [ASTStructuralEquivalence] Add support for comparing ObjCC [...] adds c02abb68cd88 [flang][runtime] Enforce some limits on kP scale factors adds aac6e25f7d3c [flang][runtime] Signal record read overrun when PAD='NO' adds 3469cb14e231 Revert "[compiler-rt][Darwin] Add arm64 to simulator platforms" adds 62b78a063ab1 [nfc][asan][windows] Fix test after D124057 adds 9c8e93c1b51e [nfc][asan][android] Fix test after D124057 adds 089b6efefc3d [Index] Remove reference to `UnresolvedUsingIfExists` adds a7f9f2fea506 [fixup] Handle enum constant `Lang_OBJC` introduced in 4604db94. adds 9f2272ff51b1 [lld-macho] Allow dead_strip to work with exported private [...] adds a680c212cb21 Revert "Revert "[compiler-rt][Darwin] Add arm64 to simulat [...] adds edf7bed87b77 [SLP][NFC] Outline lookahead heuristics into a separate he [...] adds ff25f694731f [test] Don't rely on default of detect_stack_use_after_return adds 72e00c45a4e7 [asan] Don't enable detect_stack_use_after_return on Windows adds 588df1985cca Revert "[nfc][asan][windows] Fix test after D124057" adds 013efeec3445 [lld-macho] Remove stray debug printf adds 3a978b7b88b8 [RISCV][test] Rename prefix and remove unused text (NFC) adds 3b578ae9088c [Driver] Call hasFlag instead of hasArg adds b99cf5f25a64 [ASan][test] Fix mismatched-new-delete in asan test unalig [...] adds a050033582ac [test] Don't rely on default of detect_stack_use_after_return adds 7ee30a0e24a1 [NFC][LAA] Match-up type sizes for possible extensions, ba [...] adds dd6350d93788 Revert "[test] Don't rely on default of detect_stack_use_a [...] adds 9b8a04313f0e [test] Don't rely on default of detect_stack_use_after_return adds a48300aee570 [clang][OpenMP][DebugInfo] Debug support for TLS variables [...] adds f3ebf828dc54 [mlir] Generate Dialect constructors in .cpp instead of .h adds eda6f907d258 [mlir][NFC] Shift a bunch of dialect includes from the .h [...] adds 5996306c24ba [C++20][Modules][Driver][HU 3/N] Handle foo.h with -fmodul [...] adds 940a3f6b3d1d [mlir][bufferize][NFC] Clean up test cases adds 48b8edac1c18 [mlir][bufferize][NFC] Remove old references to Comprehens [...] adds d43c083ab692 [SCEV] Use getConstant to construct SCEV for ConstantInt (NFC). adds b2a885a290be [SCCP] Add initial tests for freeze. adds e0f7db779eb5 [SimpleLoopUnswitch] Use SLU version of memoryssa-threshol [...] adds 76b57f49a23e [IndVarSimplify] Replace legacy loop-unswitch with SimpleL [...] adds de8a65f787cc [NFC] Sync code for upstreaming. adds 9dc9b21488ee [C++20][Modules][Driver][HU 4/N] Add fdirectives-only mode [...] adds 38822b98fa3b Revert "[clang] Adding Platform/Architecture Specific Reso [...] adds 8634aa250397 [BOLT][CMAKE] Simplify Clang/LLD identification adds 7a98d8351b27 [libc++] Fixes concepts overload resolution. adds 3530c35c6609 [OpenMP] Use CUDA's non-RDC mode when LTO has whole progra [...] adds 5114db933dbf [analyzer] Clean checker options from bool to DefaultBool (NFC) adds 6c8612fe6f2b [Bazel] Make mlir:BufferizationDialect depend on mlir:Arit [...] adds bbbc49f780e0 [Bazel] Add more mlir dependencies after D124298 adds 4681f6111e65 [hwasan][test] Change -hwasan to -passes=hwasan adds 807e418413a0 [Concepts] Fix overload resolution bug with constrained ca [...] adds d59cf901cbae [mlir][sparse] Expose SpareTensor passes as enums instead [...] adds f6af446b6625 Revert "[Concepts] Fix overload resolution bug with constr [...] adds a0636b5855f5 Revert "Revert "[Concepts] Fix overload resolution bug wit [...] adds cfc2c5905ec1 Revert "Revert "Revert "[Concepts] Fix overload resolution [...] adds d1b73f3412b3 Reverting accidental git-revert commits. adds 2d80889b2a9e Reverting accidental git-revert commits. adds afa20aff6ef0 Reverting accidental git-revert commits. adds 4620032ee304 Revert "[mlir][sparse] Expose SpareTensor passes as enums [...] adds c0022b4bb12d [InlineCost] Set LastCallToStaticBonus in ML inlining models. adds 3254f46884d3 [lld/mac] For catalyst outputs, tolerate implicitly linkin [...] adds fc655a0a96df [OCaml][DebugInfo] Add bindings for parameter and auto var [...] adds ae76eb32a598 [NFC][Clang][Pragma] Remove unused variables adds 7a21a0525a69 [RISCV] Add sched to pseudo function call instructions adds 3566bbe62f2e [analyzer] Add option for AddrSpace in core.NullDereference check adds 2fc67af487aa [InstCombine] Add test for fold fcmp-of-copysign. nfc adds b3df14b6c987 [runtimes] [CMake] Unify variable names adds 49aeeafda3b5 llvm-reduce: Don't delete triple/datalayout adds 3f0f20366622 run-clang-tidy: Fix infinite loop on windows adds 6243b90ead7a [flang] Do not create arith.extui with same from/to type adds ac5f7be6a868 Move test/.gitattributes to clang-tools-extra/test adds c261f78d05de [clang-format] Refactor determineStarAmpUsage NFC adds d13f5023891c [libcxx] random_device, use arc4random() on FreeBSD, NetBS [...] adds 5805cfb90127 [InstCombine] Complete folding of fneg-of-fabs adds a5c52ff0d472 [OpenMP][IRBuilder] Handle unexcuted EXPECT_FALSE adds e33867a43410 Fix an issue in comment. NFC adds 34312f1f0c4f [mlir][LLVM] Support opaque pointers in data layout entries adds fca52e82185a [flang] fix LBOUND lowering with KIND and no DIM arguments adds c2a849019343 [mlir][Bazel] Add missing dependencies. adds cd81ecba2cbb [MemorySSA] Generate check lines for test. adds 8ac447adc882 [Test] Add test for PR55072 adds 9a7339c997a0 [runtimes] [CMake] Rename a cmake variable missed in b3df1 [...] adds 0a5db8912c50 [MemorySSA] Use -simple-loop-unswitch instead of -loop-uns [...] adds 4c807f2f579f [mlir][vector] insert `alloca`s outside of loops adds 0cd5cd19af0e [Serialization] write expr dependence bits as a single integer adds ab17873ee696 [Test] Simplify test for PR55072 adds 04f78947e4b9 [InstCombine] Add tests for X + Y - 1 u< X (NFC) adds 042dc3c46d73 [libc++] add zip_view and views::zip for C++23 adds 12a27169535a [mlir][LLVM] Support opaque pointers in `llvm.mlir.addressof` adds ea8cbd5c58da [gn build] Port 042dc3c46d73 adds b00fd352777d [LangRef] Limit readnone,read/writeonly to memory visible [...] adds 606a000d1a13 [LoopInstSimplify] Ignore users in unreachable blocks. PR55072 adds e38b1f7d09a4 [InstCombine] Add additional tests for X + Y + C u< X (NFC) adds 2bec8d6d59a1 [InstCombine] Fold X + Y + C u< X adds 010acc52a83a [lld/mac] Revert libcompiler_rt.dylib version check change adds ee509258947c [InstCombine] Fold (X != 0) & (Y u>= X) adds 7ddf39bc1d75 [X86][AVX] Add shuffle test case for Issue #55066 adds 2fee8dd621bb [SimpleLoopUnswitch] Run LICM for nested unswitching tests. adds 97a32d3e43fe [flang][driver] Add support for generating executables adds c712bf3ce41f [X86][AMX] Add test case for D124378. adds d1762fc454c0 [AMDGPU] Use d16 flag for image.sample instructions adds e8945110d238 [InstCombine] Remove redundant unsigned underflow fold (NFCI) adds 00f0c805ff7c [Frontend] shrink in-memory PCH buffers to fit adds fda4305e5378 [DebugInfo][InstrRef] Add a size operand to DBG_PHI adds 36ba89b5b342 Revert "[sanitizer] Use canonical syscalls everywhere" adds 13815e8cbf8d Revert "[DebugInfo][InstrRef] Add a size operand to DBG_PHI" adds 6b257af82261 [libc++] Fix C++03 with the unstable ABI enabled adds 6a6cc5542b61 [SimpleLoopUnswitch] Enable freezing of conditions by default. adds 5ad07ac400da [Libomptarget] Use entry name for global info adds 5db925023169 Reapply D124184, [DebugInfo][InstrRef] Add a size operand [...] adds 37b4782e3e53 [clang][dataflow] Fix `Environment::join`'s handling of fl [...] adds c6afbdb5d2a0 Revert "[AMDGPU] Use d16 flag for image.sample instructions" adds 1c65c734c93f Clear temporary file in test, buildbot appears to be reusi [...] adds 07513605b223 CODE_OWNERS: update information for builtins adds 9f631cf7c650 [AMDGPU] Regenerate lit test pattern (NFC). adds 16d87efc2ab5 [AMDGPU] Lit test pre-commit changes (NFC) adds e8305c0b8f49 [X86] combineX86ShuffleChain - don't fold to truncate(conc [...] adds ffe03ff75c26 [RISCV] Fix incorrect policy implement for unmasked vslide [...] adds 149d3e436532 [flang] Disambiguate F(X)=Y case where F is a function ret [...] adds 72904a990c4d [flang] Avoid global name conflict when BIND(C,NAME=) is used adds c47bcf9af6fc [demangler][NFC] OperatorInfo table unit test adds 6f73bd781305 [test] Remove legacy PM pipeline test adds 9727c77d58ac [NFC] Rename Instrinsic to Intrinsic adds 4051cac256d9 [libc++][NFC] Use brace-init instead of parens to workarou [...] adds 39e23bb059d1 [LegacyPM] Remove HWAsanSanitizerLegacyPass adds bf0d61369027 [libcxx] Disable long double -> int128 test with msan adds 1159984802e7 [CostModel] Add fptoi_sat costmodel tests. NFC adds 40f1af476010 [RISCV] Add isCommutable to ADD/ADDW/MUL/AND/OR/XOR/MIN/MAX/CLMUL adds ef7439bdf923 [Basic] SourceManager docs: macro expansion SLocs aren't a [...] adds 950c95cfdd75 [coroutines] Get an IntegerType from the value instead of [...] adds 6bcdde2334bd [flang][runtime] Fix KIND=16 real/complex component I/O adds 408bb9a375ac Add a regression test to guard the 0 hot-caller threshold [...] adds e59e580116b0 [BOLT] Refactor DataAggregator::printLBRHeatMap. adds 87468e85fcdc compile commands header to source heuristic lower-cases fi [...] adds 4e5dee2f30dd [mlir][ods] Add tablegen field for concise printing of Bit [...] adds a266a2100012 [mlir][ods] Extend the EnumAttr tablegen class to support [...] adds c4caa90b1523 [mlir][tblgen] Generate builders with inferred return type [...] adds b8f5cf9d2c56 [flang] Accept "INFINITY" as real input adds 6035649d4c76 [Serialization] Remove dead TYPE_FUNCTION_PROTO abbreviation. NFC adds 88b9e46fb54c [SLP] Steer for the best chance in tryToVectorize() when r [...] adds d3efa577f549 [lit] Keep stdout/stderr when using GoogleTest format adds f65e76d16df7 [flang] Add semantic checks for intrinsic function REDUCE() adds 5c90ecae2db1 [PS5] Driver test for analyzer defaults adds 2c272a4e8f9d [flang][runtime] Fix total MAXLOC/MINLOC for non-integer data adds c98d9502fc6b [libunwind] Fix build warnings in Unwind-EHABI.cpp. NFC. adds 7164c5f051a9 [libunwind] [CMake] Remove leftover no-op cmake variable s [...] adds d35f7f254f6a [mlir] Allow data flow analysis of non-control flow branch [...] adds 0386213352ec [clang][NFC] Inclusive language: remove use of Whitelist i [...] adds 7714e0317520 RegAllocGreedy: Allow last chance recolor to retry overlap [...] adds b3e8e43789d2 [compiler-rt][NFC] Inclusive language: remove use of sanit [...] adds 6631907ad20f [InstCombine] use isKnownNonNegative to reduce code duplic [...] adds 6c8cb219f5d4 [InstCombine] add tests for icmp with extended operands; NFC adds 993054c1c960 Change NVPTX/f16x2-instructions.ll to use unix EOL. NFC adds 76d1f5eaa87b [NVPTX] Support float <-> 2 x half bitcasts adds 09e75d3f0996 [libcxx][NFC] Inclusive language: remove use of sanity check adds 0c99575df4a9 [libc++] Avoid lifetime UB in __thread_local_data() adds 8fbf9acc8c67 Add missing comparison operators to SmallVector adds 987cd7c3ed75 Revert "Reapply D124184, [DebugInfo][InstrRef] Add a size [...] adds e6f44a3cd273 Add PointerType analysis for DirectX backend adds 1f31795cb389 [NFC] Cleanup code to get back in synch for upstreaming. adds 827ff1e576f7 [LLDB][NativePDB] Fix incorrect file index of inlinees int [...] adds 494d86d45be0 [RISCV] Pre-commit test for D122769. NFC adds e07c092b8529 [lldb] Update online help text (consistency, typo) adds 2d014b72ccb5 [test][clangd] Use StringRef instead of std::string adds 31456ff19197 [gn build] Kind of port e6f44a3cd273 (DirectXTests) adds db92019ab97b [libunwind] Update the test configuration files to support [...] adds 8e4cd7295cb5 [CMake] Update cache file for Win to ARM Linux cross toolc [...] adds e83543f8c2ef Don't replace Undef with null value for Constants Differen [...] adds 3143840f216c NFC. Add missing DXILPointerTyID case adds 5cbf516cb79f Refactor protected virtual functions from SymbolFile into [...] adds b1fa5ac3ba34 [mlgo] Factor out TensorSpec adds b0d119b58364 [gn build] Port b1fa5ac3ba34 adds 059f39d2f445 [trace][intel pt] Support events adds 998014830549 [RISCV][SelectionDAG] Support VP_ADD/VP_MUL/VP_SUB mask op [...] adds 35e60f5de180 [NFC][trace] simplify the instruction dumper new eb2c30b8b357 Provide the complete response and reporting Code of Conduc [...] new 170a90314490 Intrinsic for checking floating point class new be744da01f9d [analyzer] Fix ValistChecker false-positive involving symb [...] new a83f4b9cda57 [libc++] Remove <functional> includes new f3ad7ea03a8d [X86][AMX] Report error when shapes are not pre-defined. new e161d36ceafc [libc][Obvious] Add deps of fopencookie_test only if it is [...] new 3f5287125a6f [libc] Add stdio entrypoints to aarch64 fullbuild.
The 7 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: bolt/CMakeLists.txt | 41 +- bolt/lib/Profile/DataAggregator.cpp | 22 +- .../clang-tidy/modernize/MacroToEnumCheck.cpp | 57 +- .../clang-tidy/modernize/MacroToEnumCheck.h | 7 + .../clang-tidy/tool/run-clang-tidy.py | 9 +- clang-tools-extra/clangd/Selection.cpp | 1 + clang-tools-extra/clangd/index/dex/Dex.cpp | 40 +- .../clangd/unittests/TUSchedulerTests.cpp | 8 +- clang-tools-extra/pseudo/lib/Lex.cpp | 1 + {test => clang-tools-extra/test}/.gitattributes | 0 .../checkers/modernize-macro-to-enum.cpp | 88 +- clang/cmake/caches/CrossWinToARMLinux.cmake | 4 - clang/docs/AddressSanitizer.rst | 10 +- clang/docs/ClangCommandLineReference.rst | 8 + clang/docs/ReleaseNotes.rst | 8 + clang/docs/analyzer/checkers.rst | 15 +- clang/include/clang/AST/Decl.h | 3 + clang/include/clang/AST/TemplateName.h | 7 - clang/include/clang/Basic/DiagnosticLexKinds.td | 6 - clang/include/clang/Basic/SourceManager.h | 35 +- clang/include/clang/Basic/riscv_vector.td | 3 +- clang/include/clang/Driver/Driver.h | 23 + clang/include/clang/Driver/Options.td | 26 +- clang/include/clang/Driver/ToolChain.h | 4 + clang/include/clang/Driver/Types.def | 7 +- clang/include/clang/Lex/HeaderSearch.h | 15 - clang/include/clang/Lex/Lexer.h | 3 +- clang/include/clang/Lex/Preprocessor.h | 6 +- clang/include/clang/Lex/PreprocessorLexer.h | 19 +- clang/include/clang/Sema/Sema.h | 6 +- clang/include/clang/Serialization/ASTWriter.h | 5 - .../clang/StaticAnalyzer/Checkers/Checkers.td | 7 + clang/include/clang/StaticAnalyzer/Core/Checker.h | 12 - clang/include/clang/Testing/CommandLineArgs.h | 1 + clang/lib/AST/ASTContext.cpp | 4 +- clang/lib/AST/ASTImporter.cpp | 6 +- clang/lib/AST/ASTStructuralEquivalence.cpp | 141 +- clang/lib/AST/ItaniumMangle.cpp | 3 - clang/lib/AST/Randstruct.cpp | 4 +- clang/lib/AST/TemplateName.cpp | 7 +- clang/lib/AST/TypePrinter.cpp | 3 +- .../Analysis/FlowSensitive/DataflowEnvironment.cpp | 59 +- clang/lib/Analysis/RetainSummaryManager.cpp | 2 +- clang/lib/Basic/SourceManager.cpp | 22 +- clang/lib/CodeGen/CGBuiltin.cpp | 2 +- clang/lib/CodeGen/CGDebugInfo.cpp | 6 +- clang/lib/CodeGen/CGDecl.cpp | 8 +- clang/lib/CodeGen/CGStmtOpenMP.cpp | 6 +- clang/lib/CodeGen/CodeGenModule.cpp | 10 +- clang/lib/Driver/Driver.cpp | 98 +- clang/lib/Driver/ToolChains/Clang.cpp | 14 + clang/lib/Driver/ToolChains/Cuda.cpp | 9 +- clang/lib/Driver/ToolChains/Darwin.h | 6 + clang/lib/Driver/ToolChains/Gnu.cpp | 35 + clang/lib/Driver/ToolChains/MSVC.cpp | 4 +- clang/lib/Driver/Types.cpp | 16 + clang/lib/Format/TokenAnnotator.cpp | 69 +- clang/lib/Format/UnwrappedLineParser.cpp | 5 +- clang/lib/Frontend/FrontendOptions.cpp | 2 +- clang/lib/Frontend/PrecompiledPreamble.cpp | 16 +- clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp | 1 + clang/lib/Headers/CMakeLists.txt | 422 +-- clang/lib/Index/IndexDecl.cpp | 9 +- clang/lib/Lex/Lexer.cpp | 4 +- clang/lib/Lex/PPDirectives.cpp | 4 - clang/lib/Lex/PPLexerChange.cpp | 44 +- clang/lib/Lex/Pragma.cpp | 95 +- clang/lib/Sema/SemaDecl.cpp | 2 +- clang/lib/Sema/SemaOverload.cpp | 92 +- clang/lib/Sema/SemaTemplateDeduction.cpp | 22 +- clang/lib/Sema/TreeTransform.h | 2 +- clang/lib/Serialization/ASTReaderStmt.cpp | 24 +- clang/lib/Serialization/ASTWriter.cpp | 24 - clang/lib/Serialization/ASTWriterDecl.cpp | 25 +- clang/lib/Serialization/ASTWriterStmt.cpp | 6 +- .../lib/StaticAnalyzer/Checkers/CStringChecker.cpp | 12 +- .../Checkers/CallAndMessageChecker.cpp | 2 +- .../Checkers/CheckSecuritySyntaxOnly.cpp | 28 +- clang/lib/StaticAnalyzer/Checkers/CloneChecker.cpp | 2 +- .../StaticAnalyzer/Checkers/DereferenceChecker.cpp | 49 +- .../Checkers/DynamicTypePropagation.cpp | 2 +- .../Checkers/IvarInvalidationChecker.cpp | 4 +- .../Checkers/LocalizationChecker.cpp | 2 +- .../lib/StaticAnalyzer/Checkers/MallocChecker.cpp | 6 +- .../lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp | 2 +- .../StaticAnalyzer/Checkers/NullabilityChecker.cpp | 6 +- .../StaticAnalyzer/Checkers/PthreadLockChecker.cpp | 2 +- .../StaticAnalyzer/Checkers/SmartPtrModeling.cpp | 2 +- .../Checkers/StackAddrEscapeChecker.cpp | 2 +- .../Checkers/StdLibraryFunctionsChecker.cpp | 2 +- .../lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp | 2 +- .../lib/StaticAnalyzer/Checkers/ValistChecker.cpp | 4 +- clang/lib/Testing/CommandLineArgs.cpp | 9 + .../Tooling/InterpolatingCompilationDatabase.cpp | 2 +- clang/test/Analysis/analyzer-config.c | 1 + clang/test/Analysis/cast-value-notes.cpp | 84 +- .../test/Analysis/valist-uninitialized-no-undef.c | 17 +- .../temp.decls/temp.fct/temp.func.order/p6.cpp | 49 + .../RISCV/rvv-intrinsics-overloaded/vslidedown.c | 106 +- .../RISCV/rvv-intrinsics-overloaded/vslideup.c | 106 +- .../test/CodeGen/RISCV/rvv-intrinsics/vslidedown.c | 118 +- clang/test/CodeGen/RISCV/rvv-intrinsics/vslideup.c | 118 +- clang/test/CodeGen/builtins-nvptx-mma.py | 2 +- clang/test/CodeGenCUDA/device-var-linkage.cu | 31 +- clang/test/CodeGenCUDA/fp-contract.cu | 2 +- clang/test/CodeGenCUDA/kernel-in-anon-ns.cu | 46 +- clang/test/CodeGenCUDA/managed-var.cu | 12 +- clang/test/CodeGenCUDA/static-device-var-rdc.cu | 18 +- clang/test/CodeGenCXX/debug-info-struct-align.cpp | 27 + .../test/Driver/Inputs/header-unit-01.hh | 0 clang/test/Driver/cxx20-fdirectives-only.cpp | 20 + clang/test/Driver/cxx20-header-units-01.cpp | 19 + clang/test/Driver/cxx20-header-units-02.cpp | 39 + clang/test/Driver/linker-wrapper.c | 4 +- clang/test/Driver/msvc-static-rtti.cpp | 8 +- clang/test/Driver/ps4-analyzer-defaults.cpp | 33 - clang/test/Driver/ps4-ps5-analyzer-defaults.cpp | 39 + clang/test/Index/pch-with-module.m | 1 + clang/test/Index/using_if_exists.cpp | 9 + .../test/Misc/cc1as-darwin-target-variant-triple.s | 34 + clang/test/OpenMP/debug_threadprivate_copyin.c | 59 + .../PCH/ms-pch-macro-include_instead-regression.c | 6 - .../Inputs/include_instead/bad-syntax.h | 7 - .../Inputs/include_instead/file-not-found.h | 3 - .../Inputs/include_instead/non-system-header.h | 2 - .../Inputs/include_instead/private-x.h | 4 - .../Preprocessor/Inputs/include_instead/private1.h | 2 - .../Preprocessor/Inputs/include_instead/private2.h | 4 - .../Preprocessor/Inputs/include_instead/private3.h | 5 - .../Inputs/include_instead/public-after.h | 2 - .../Inputs/include_instead/public-before.h | 5 - .../Inputs/include_instead/public-empty.h | 1 - clang/test/Preprocessor/include_instead.cpp | 16 - .../include_instead_file_not_found.cpp | 2 - clang/test/Profile/c-avoid-direct-call.c | 2 +- clang/test/Profile/c-indirect-call.c | 2 +- clang/test/Profile/cxx-indirect-call.cpp | 2 +- clang/tools/clang-format/git-clang-format | 12 +- .../clang-linker-wrapper/ClangLinkerWrapper.cpp | 25 +- clang/tools/driver/cc1as_main.cpp | 8 + clang/tools/libclang/CIndex.cpp | 6 +- clang/unittests/AST/MatchVerifier.h | 4 + clang/unittests/AST/RandstructTest.cpp | 47 +- clang/unittests/AST/StructuralEquivalenceTest.cpp | 181 ++ clang/unittests/AST/TypePrinterTest.cpp | 16 + .../TypeErasedDataflowAnalysisTest.cpp | 159 ++ clang/unittests/Format/FormatTest.cpp | 9 + clang/unittests/Format/TokenAnnotatorTest.cpp | 96 + .../unittests/Tooling/CompilationDatabaseTest.cpp | 8 + cmake/README.rst | 4 +- compiler-rt/CMakeLists.txt | 2 +- compiler-rt/CODE_OWNERS.TXT | 4 +- compiler-rt/cmake/config-ix.cmake | 4 +- compiler-rt/cmake/crt-config-ix.cmake | 2 +- compiler-rt/lib/asan/asan_flags.inc | 2 +- compiler-rt/lib/asan/tests/asan_interface_test.cpp | 3 + compiler-rt/lib/tsan/go/test.c | 2 +- compiler-rt/lib/tsan/rtl-old/CMakeLists.txt | 8 +- compiler-rt/lib/tsan/rtl-old/tsan_flags.cpp | 2 +- compiler-rt/lib/tsan/rtl/CMakeLists.txt | 8 +- compiler-rt/lib/tsan/rtl/tsan_flags.cpp | 2 +- compiler-rt/lib/tsan/rtl/tsan_rtl.cpp | 2 +- .../TestCases/Posix/unpoison-alternate-stack.cpp | 2 +- .../asan/TestCases/alloca_loop_unpoisoning.cpp | 2 +- .../test/asan/TestCases/contiguous_container.cpp | 2 +- .../test/asan/TestCases/handle_noreturn_bug.cpp | 6 +- .../asan/TestCases/intercept-rethrow-exception.cpp | 2 +- .../invalid-pointer-pairs-subtract-success.cpp | 2 +- .../asan/TestCases/unaligned_loads_and_stores.cpp | 2 +- .../sanitizer_common/TestCases/Posix/setvbuf.cpp | 6 + flang/docs/FlangDriver.md | 35 +- flang/examples/FlangOmpReport/FlangOmpReport.cpp | 22 +- flang/examples/FlangOmpReport/yaml_summarizer.py | 2 +- .../PrintFlangFunctionNames.cpp | 5 +- flang/include/flang/Frontend/FrontendActions.h | 13 + flang/include/flang/Lower/Support/Utils.h | 1 + .../flang/Optimizer/Builder/Runtime/Character.h | 1 + flang/include/flang/Optimizer/Dialect/FIROps.h | 1 - flang/include/flang/Optimizer/Dialect/FIROps.td | 11 +- flang/include/flang/Runtime/iostat.h | 1 + flang/include/flang/Runtime/stop.h | 2 +- flang/lib/Decimal/decimal-to-binary.cpp | 38 +- flang/lib/Evaluate/intrinsics.cpp | 96 +- flang/lib/Frontend/FrontendActions.cpp | 14 + flang/lib/Lower/ConvertExpr.cpp | 2 +- flang/lib/Lower/IntrinsicCall.cpp | 9 +- flang/lib/Lower/OpenACC.cpp | 134 +- flang/lib/Optimizer/CodeGen/PreCGRewrite.cpp | 95 +- flang/lib/Optimizer/Dialect/FIROps.cpp | 576 ++-- flang/lib/Parser/parse-tree.cpp | 27 +- flang/lib/Semantics/program-tree.cpp | 22 +- flang/lib/Semantics/program-tree.h | 8 + flang/lib/Semantics/resolve-names.cpp | 69 +- flang/lib/Semantics/rewrite-parse-tree.cpp | 26 +- flang/runtime/CMakeLists.txt | 2 + flang/runtime/FortranMain/CMakeLists.txt | 3 + flang/runtime/FortranMain/Fortran_main.c | 21 + flang/runtime/edit-input.cpp | 63 +- flang/runtime/edit-output.cpp | 12 + flang/runtime/extrema.cpp | 2 +- flang/runtime/io-stmt.cpp | 2 +- flang/runtime/io-stmt.h | 8 +- flang/runtime/iostat.cpp | 2 + flang/runtime/type-code.cpp | 8 - flang/test/CMakeLists.txt | 3 + flang/test/Driver/driver-help-hidden.f90 | 2 + flang/test/Driver/linker-flags.f90 | 31 + flang/test/Lower/Intrinsics/ichar.f90 | 10 + flang/test/Lower/Intrinsics/lbound.f90 | 40 + flang/test/Semantics/bind-c01.f90 | 8 +- flang/test/Semantics/reduce01.f90 | 75 + flang/tools/flang-driver/CMakeLists.txt | 8 + flang/unittests/Decimal/quick-sanity-test.cpp | 12 +- libc/config/linux/aarch64/entrypoints.txt | 13 + libc/config/linux/api.td | 2 +- libc/config/linux/x86_64/entrypoints.txt | 1 + libc/include/CMakeLists.txt | 1 + libc/include/llvm-libc-types/CMakeLists.txt | 2 + .../llvm-libc-types/cookie_io_functions_t.h | 28 + libc/include/llvm-libc-types/off64_t.h | 14 + libc/spec/gnu_ext.td | 10 +- libc/spec/spec.td | 1 - libc/src/stdio/CMakeLists.txt | 11 + libc/src/stdio/fopencookie.cpp | 83 + libc/src/stdio/fopencookie.h | 21 + libc/src/stdio/printf_core/core_structs.h | 28 + libc/test/src/stdio/CMakeLists.txt | 24 + libc/test/src/stdio/fopencookie_test.cpp | 228 ++ libc/test/src/stdio/printf_core/CMakeLists.txt | 2 + libc/test/src/stdio/printf_core/parser_test.cpp | 84 +- libc/utils/UnitTest/CMakeLists.txt | 30 + libc/utils/UnitTest/FPMatcher.cpp | 24 +- libc/utils/UnitTest/PrintfMatcher.cpp | 90 + libc/utils/UnitTest/PrintfMatcher.h | 46 + libc/utils/UnitTest/StringUtils.h | 34 + libcxx/CMakeLists.txt | 6 +- libcxx/cmake/Modules/HandleLibcxxFlags.cmake | 30 +- libcxx/cmake/config-ix.cmake | 16 +- libcxx/docs/ReleaseNotes.rst | 21 +- libcxx/docs/Status/ZipProjects.csv | 8 +- libcxx/include/CMakeLists.txt | 1 + libcxx/include/__bit_reference | 10 +- libcxx/include/__config | 3 +- libcxx/include/__format/format_arg.h | 8 +- libcxx/include/__ranges/zip_view.h | 511 ++++ libcxx/include/algorithm | 1 - libcxx/include/experimental/coroutine | 1 - libcxx/include/experimental/propagate_const | 1 - libcxx/include/experimental/simd | 1 - libcxx/include/ext/hash_map | 1 - libcxx/include/ext/hash_set | 1 - libcxx/include/map | 1 - libcxx/include/module.modulemap | 1 + libcxx/include/mutex | 1 - libcxx/include/numeric | 1 - libcxx/include/optional | 1 - libcxx/include/queue | 1 - libcxx/include/ranges | 12 + libcxx/include/set | 1 - libcxx/include/thread | 1 - libcxx/include/unordered_map | 1 - libcxx/include/unordered_set | 1 - libcxx/include/valarray | 1 - libcxx/src/thread.cpp | 9 +- libcxx/test/libcxx/private_headers.verify.cpp | 1 + .../thread/thread.threads/create_late.pass.cpp | 29 + .../sequences/vector.bool/iterators.pass.cpp | 9 + .../sequences/vector.bool/types.pass.cpp | 4 + .../stringbuf/stringbuf.virtuals/overflow.pass.cpp | 2 +- .../stringbuf.virtuals/pbackfail.pass.cpp | 2 +- .../std/numerics/bit/bit.cast/bit_cast.pass.cpp | 5 +- .../range.adaptors/range.lazy.split/base.pass.cpp | 8 +- .../range.transform/ctor.default.pass.cpp | 8 +- .../ranges/range.adaptors/range.zip/begin.pass.cpp | 109 + .../range.zip/borrowing.compile.pass.cpp | 40 + .../ranges/range.adaptors/range.zip/cpo.pass.cpp | 77 + .../range.adaptors/range.zip/ctad.compile.pass.cpp | 40 + .../range.adaptors/range.zip/ctor.default.pass.cpp | 68 + .../range.adaptors/range.zip/ctor.views.pass.cpp | 100 + .../ranges/range.adaptors/range.zip/end.pass.cpp | 396 +++ .../range.adaptors/range.zip/general.pass.cpp | 55 + .../range.zip/iterator/arithmetic.pass.cpp | 143 + .../range.zip/iterator/compare.pass.cpp | 250 ++ .../range.zip/iterator/ctor.default.pass.cpp | 74 + .../range.zip/iterator/ctor.other.pass.cpp | 63 + .../range.zip/iterator/decrement.pass.cpp | 95 + .../range.zip/iterator/deref.pass.cpp | 80 + .../range.zip/iterator/increment.pass.cpp | 135 + .../range.zip/iterator/iter_move.pass.cpp | 77 + .../range.zip/iterator/iter_swap.pass.cpp | 88 + .../iterator/member_types.compile.pass.cpp | 185 ++ .../range.zip/iterator/singular.pass.cpp | 83 + .../range.zip/iterator/subscript.pass.cpp | 61 + .../range.zip/range.concept.compile.pass.cpp | 332 +++ .../range.zip/sentinel/ctor.default.pass.cpp | 51 + .../range.zip/sentinel/ctor.other.pass.cpp | 76 + .../range.adaptors/range.zip/sentinel/eq.pass.cpp | 156 ++ .../range.zip/sentinel/minus.pass.cpp | 235 ++ .../ranges/range.adaptors/range.zip/size.pass.cpp | 100 + .../std/ranges/range.adaptors/range.zip/types.h | 459 +++ libcxxabi/CMakeLists.txt | 4 +- libcxxabi/cmake/Modules/HandleLibcxxabiFlags.cmake | 26 +- libcxxabi/cmake/config-ix.cmake | 14 +- libcxxabi/src/CMakeLists.txt | 2 +- libcxxabi/src/demangle/ItaniumDemangle.h | 188 +- libunwind/CMakeLists.txt | 15 +- libunwind/cmake/Modules/HandleLibunwindFlags.cmake | 30 +- libunwind/cmake/config-ix.cmake | 16 +- libunwind/src/CMakeLists.txt | 8 +- libunwind/src/Unwind-EHABI.cpp | 3 + .../test/configs/llvm-libunwind-shared.cfg.in | 10 +- .../test/configs/llvm-libunwind-static.cfg.in | 13 +- lld/ELF/Driver.cpp | 25 +- lld/ELF/LTO.cpp | 5 +- lld/ELF/SymbolTable.cpp | 10 +- lld/ELF/Symbols.cpp | 19 + lld/ELF/Symbols.h | 45 +- lld/MachO/ConcatOutputSection.cpp | 1 - lld/MachO/Driver.cpp | 9 +- lld/MachO/Driver.h | 3 +- lld/MachO/DriverUtils.cpp | 12 +- lld/MachO/ICF.cpp | 13 +- lld/MachO/InputFiles.cpp | 49 +- lld/MachO/InputFiles.h | 10 +- lld/MachO/MarkLive.cpp | 9 +- lld/docs/ReleaseNotes.rst | 6 +- .../ELF/lto/wrap-unreferenced-before-codegen.test | 90 + lld/test/ELF/wrap-drop-shared-original.s | 48 + lld/test/ELF/wrap-lazy.test | 3 +- .../MacOnly-Indirect.tbd | 22 + .../Frameworks/MacOnly.framework/MacOnly.tbd | 9 + lld/test/MachO/export-options.s | 18 +- lld/test/MachO/icf-literals.s | 24 + lld/test/MachO/invalid/invalid-stub.s | 5 +- lld/test/MachO/zippered.yaml | 6 + lldb/.clang-tidy | 2 +- lldb/include/lldb/Symbol/SymbolFile.h | 121 +- lldb/include/lldb/Target/TraceCursor.h | 33 +- lldb/include/lldb/Target/TraceInstructionDumper.h | 39 + lldb/include/lldb/lldb-enumerations.h | 9 + lldb/source/Commands/CommandObjectThread.cpp | 4 + lldb/source/Commands/Options.td | 21 +- .../ExpressionParser/Clang/ClangASTImporter.cpp | 2 +- .../Platform/MacOSX/PlatformDarwinKernel.cpp | 2 +- .../Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp | 8 +- .../SymbolFile/Breakpad/SymbolFileBreakpad.h | 6 +- .../Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp | 6 +- .../Plugins/SymbolFile/DWARF/SymbolFileDWARF.h | 4 +- .../SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp | 2 +- .../SymbolFile/DWARF/SymbolFileDWARFDebugMap.h | 4 +- .../SymbolFile/NativePDB/SymbolFileNativePDB.cpp | 12 +- .../SymbolFile/NativePDB/SymbolFileNativePDB.h | 6 +- .../Plugins/SymbolFile/PDB/SymbolFilePDB.cpp | 2 +- lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.h | 4 +- .../Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp | 4 +- .../Plugins/SymbolFile/Symtab/SymbolFileSymtab.h | 4 +- .../Plugins/Trace/intel-pt/DecodedThread.cpp | 82 +- lldb/source/Plugins/Trace/intel-pt/DecodedThread.h | 98 +- .../Plugins/Trace/intel-pt/LibiptDecoder.cpp | 127 +- .../Plugins/Trace/intel-pt/ThreadDecoder.cpp | 2 +- .../Plugins/Trace/intel-pt/TraceCursorIntelPT.cpp | 4 + .../Plugins/Trace/intel-pt/TraceCursorIntelPT.h | 2 + .../source/Plugins/Trace/intel-pt/TraceIntelPT.cpp | 22 +- lldb/source/Symbol/SymbolFile.cpp | 105 +- lldb/source/Target/TraceCursor.cpp | 18 + lldb/source/Target/TraceInstructionDumper.cpp | 242 +- lldb/test/API/commands/trace/TestTraceDumpInfo.py | 9 +- lldb/test/API/commands/trace/TestTraceEvents.py | 82 + lldb/test/API/commands/trace/TestTraceLoad.py | 9 +- lldb/unittests/API/SBCommandInterpreterTest.cpp | 2 +- lldb/unittests/Interpreter/TestCommandPaths.cpp | 2 +- lldb/unittests/Interpreter/TestOptionValue.cpp | 2 +- lldb/unittests/Target/RemoteAwarePlatformTest.cpp | 3 +- llvm/bindings/ocaml/debuginfo/debuginfo_ocaml.c | 95 + llvm/bindings/ocaml/debuginfo/llvm_debuginfo.ml | 52 + llvm/bindings/ocaml/debuginfo/llvm_debuginfo.mli | 57 + llvm/docs/CodeOfConduct.rst | 64 +- llvm/docs/LangRef.rst | 114 +- llvm/docs/ReportingGuide.rst | 208 +- llvm/docs/ResponseGuide.rst | 300 ++ llvm/docs/UserGuides.rst | 1 + llvm/include/llvm/ADT/FloatingPointMode.h | 28 +- llvm/include/llvm/ADT/SmallVector.h | 3 + llvm/include/llvm/Analysis/TensorSpec.h | 130 + llvm/include/llvm/Analysis/Utils/TFUtils.h | 110 +- llvm/include/llvm/Analysis/VectorUtils.h | 8 +- llvm/include/llvm/CodeGen/CodeGenCommonISel.h | 7 + llvm/include/llvm/CodeGen/ISDOpcodes.h | 7 + llvm/include/llvm/CodeGen/MIRYamlMapping.h | 5 +- llvm/include/llvm/CodeGen/MachineInstr.h | 2 +- llvm/include/llvm/CodeGen/ReplaceWithVeclib.h | 2 +- llvm/include/llvm/CodeGen/TargetLowering.h | 10 + llvm/include/llvm/Demangle/ItaniumDemangle.h | 188 +- llvm/include/llvm/IR/InstVisitor.h | 2 +- llvm/include/llvm/IR/Intrinsics.td | 8 + llvm/include/llvm/IR/IntrinsicsARM.td | 2 +- llvm/include/llvm/IR/IntrinsicsRISCV.td | 20 +- llvm/include/llvm/IR/LLVMContext.h | 5 + llvm/include/llvm/IR/Metadata.h | 5 +- llvm/include/llvm/IR/Type.h | 15 +- llvm/include/llvm/InitializePasses.h | 1 - llvm/include/llvm/Support/FileUtilities.h | 21 + .../Instrumentation/AddressSanitizerOptions.h | 4 +- .../Instrumentation/HWAddressSanitizer.h | 5 - .../Transforms/Scalar/ScalarizeMaskedMemIntrin.h | 2 +- llvm/include/llvm/Transforms/Utils/Local.h | 2 +- llvm/lib/Analysis/CMakeLists.txt | 1 + llvm/lib/Analysis/CallGraphSCCPass.cpp | 2 +- llvm/lib/Analysis/ConstantFolding.cpp | 2 +- llvm/lib/Analysis/IVDescriptors.cpp | 2 +- llvm/lib/Analysis/InlineCost.cpp | 4 + llvm/lib/Analysis/LoopAccessAnalysis.cpp | 12 +- llvm/lib/Analysis/ScalarEvolution.cpp | 4 +- llvm/lib/Analysis/TFUtils.cpp | 114 - llvm/lib/Analysis/TensorSpec.cpp | 144 + llvm/lib/Analysis/VectorUtils.cpp | 10 +- llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 2 + llvm/lib/CodeGen/CodeGenCommonISel.cpp | 28 + llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp | 3 +- llvm/lib/CodeGen/MIRParser/MIRParser.cpp | 9 + llvm/lib/CodeGen/MIRPrinter.cpp | 6 + llvm/lib/CodeGen/MachineVerifier.cpp | 19 +- llvm/lib/CodeGen/ProcessImplicitDefs.cpp | 6 +- llvm/lib/CodeGen/RegAllocGreedy.cpp | 28 +- llvm/lib/CodeGen/ReplaceWithVeclib.cpp | 4 +- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 8 + llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 11 + .../CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp | 12 + llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h | 5 + .../CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | 78 + llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 11 + .../CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 28 +- .../CodeGen/SelectionDAG/SelectionDAGDumper.cpp | 1 + llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 213 ++ llvm/lib/CodeGen/SjLjEHPrepare.cpp | 2 +- llvm/lib/CodeGen/TargetLoweringBase.cpp | 3 +- llvm/lib/IR/AsmWriter.cpp | 5 + llvm/lib/IR/Constants.cpp | 8 +- llvm/lib/IR/Core.cpp | 2 + llvm/lib/IR/LLVMContext.cpp | 4 + llvm/lib/IR/LLVMContextImpl.h | 3 + llvm/lib/IR/Metadata.cpp | 30 + llvm/lib/Passes/PassBuilderPipelines.cpp | 12 + llvm/lib/Support/FileUtilities.cpp | 66 + llvm/lib/Target/AArch64/AArch64FrameLowering.cpp | 9 +- llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | 2 +- llvm/lib/Target/AArch64/AArch64InstrInfo.cpp | 8 +- llvm/lib/Target/AArch64/AArch64InstrInfo.td | 2 +- llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td | 15 +- llvm/lib/Target/AArch64/AArch64StackTagging.cpp | 2 +- .../Target/AArch64/AArch64TargetTransformInfo.cpp | 12 + .../Target/AArch64/AArch64TargetTransformInfo.h | 17 + llvm/lib/Target/AArch64/SVEInstrFormats.td | 18 +- llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp | 21 + llvm/lib/Target/AMDGPU/AMDGPUInstructions.td | 52 +- llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp | 73 +- llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h | 4 + llvm/lib/Target/AMDGPU/AMDGPULowerIntrinsics.cpp | 3 - llvm/lib/Target/AMDGPU/BUFInstructions.td | 22 +- llvm/lib/Target/AMDGPU/DSInstructions.td | 12 +- llvm/lib/Target/AMDGPU/FLATInstructions.td | 25 +- llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 47 +- llvm/lib/Target/AMDGPU/SIISelLowering.h | 3 + llvm/lib/Target/AMDGPU/SIInstrInfo.td | 94 +- llvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp | 4 +- llvm/lib/Target/DirectX/CMakeLists.txt | 2 + llvm/lib/Target/DirectX/DXILPointerType.cpp | 66 + llvm/lib/Target/DirectX/DXILPointerType.h | 52 + .../DirectX/DXILWriter/DXILBitcodeWriter.cpp | 1 + llvm/lib/Target/DirectX/PointerTypeAnalysis.cpp | 119 + llvm/lib/Target/DirectX/PointerTypeAnalysis.h | 43 + llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp | 3 +- .../lib/Target/Hexagon/HexagonTargetObjectFile.cpp | 1 + llvm/lib/Target/Mips/MipsISelLowering.h | 2 +- llvm/lib/Target/NVPTX/NVPTXInstrInfo.td | 2 + llvm/lib/Target/NVPTX/NVPTXIntrinsics.td | 2 +- llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.cpp | 2 +- llvm/lib/Target/PowerPC/README_P9.txt | 4 +- llvm/lib/Target/RISCV/RISCVInstrInfo.cpp | 47 + llvm/lib/Target/RISCV/RISCVInstrInfo.h | 6 + llvm/lib/Target/RISCV/RISCVInstrInfo.td | 58 +- llvm/lib/Target/RISCV/RISCVInstrInfoM.td | 8 +- llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td | 29 +- llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td | 18 +- llvm/lib/Target/RISCV/RISCVInstrInfoZb.td | 14 +- llvm/lib/Target/RISCV/RISCVSExtWRemoval.cpp | 255 +- llvm/lib/Target/X86/X86ISelLowering.cpp | 6 +- llvm/lib/Target/X86/X86LowerAMXType.cpp | 4 +- llvm/lib/Target/X86/X86PreTileConfig.cpp | 29 +- llvm/lib/Target/X86/X86TileConfig.cpp | 3 + llvm/lib/Transforms/Coroutines/CoroFrame.cpp | 7 +- llvm/lib/Transforms/IPO/GlobalOpt.cpp | 2 +- llvm/lib/Transforms/IPO/SampleProfile.cpp | 6 +- llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp | 12 +- .../Transforms/InstCombine/InstCombineAddSub.cpp | 7 + .../Transforms/InstCombine/InstCombineAndOrXor.cpp | 319 +-- .../Transforms/InstCombine/InstCombineCasts.cpp | 6 +- .../Transforms/InstCombine/InstCombineCompares.cpp | 18 + .../Transforms/InstCombine/InstCombineInternal.h | 4 +- .../Transforms/InstCombine/InstCombineSelect.cpp | 103 +- .../Instrumentation/HWAddressSanitizer.cpp | 85 - .../Transforms/Instrumentation/Instrumentation.cpp | 1 - llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp | 2 +- llvm/lib/Transforms/Scalar/LoopInstSimplify.cpp | 4 + .../Transforms/Scalar/ScalarizeMaskedMemIntrin.cpp | 2 +- llvm/lib/Transforms/Scalar/Scalarizer.cpp | 4 +- llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp | 12 +- .../lib/Transforms/Scalar/SpeculativeExecution.cpp | 4 +- llvm/lib/Transforms/Utils/Local.cpp | 4 +- llvm/lib/Transforms/Utils/MisExpect.cpp | 9 +- .../Transforms/Utils/PromoteMemoryToRegister.cpp | 2 +- .../Transforms/Utils/RelLookupTableConverter.cpp | 2 +- llvm/lib/Transforms/Utils/SimplifyCFG.cpp | 60 +- llvm/lib/Transforms/Utils/StripGCRelocates.cpp | 2 +- .../Vectorize/LoopVectorizationLegality.cpp | 2 +- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 6 +- llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 463 ++-- llvm/test/Analysis/CostModel/AArch64/fptoi_sat.ll | 498 ++++ .../Analysis/CostModel/AArch64/shuffle-load.ll | 109 + llvm/test/Analysis/CostModel/ARM/fptoi_sat.ll | 654 +++++ llvm/test/Analysis/CostModel/X86/fptoi_sat.ll | 1286 +++++++++ .../MemorySSA/update-remove-dead-blocks.ll | 24 +- llvm/test/Bindings/OCaml/debuginfo.ml | 47 + .../AArch64/machine-outliner-retaddr-sign-cfi.ll | 3 +- .../machine-outliner-retaddr-sign-regsave.mir | 1 + .../machine-outliner-retaddr-sign-sp-mod.mir | 9 + .../AArch64/machine-outliner-retaddr-sign-thunk.ll | 5 + llvm/test/CodeGen/AArch64/sign-return-address.ll | 84 +- .../AArch64/sve-intrinsics-int-arith-merging.ll | 333 ++- .../GlobalISel/legalize-amdgcn.workitem.id.mir | 159 ++ .../GlobalISel/regbankselect-assert-zext.mir | 102 + .../CodeGen/AMDGPU/csr-sgpr-spill-live-ins.mir | 32 +- llvm/test/CodeGen/AMDGPU/cvt_f32_ubyte.ll | 220 +- llvm/test/CodeGen/AMDGPU/flat-scratch-svs.ll | 24 +- llvm/test/CodeGen/AMDGPU/memory_clause.ll | 8 +- llvm/test/CodeGen/AMDGPU/opt-pipeline.ll | 1041 ------- ...-fail-unsatisfiable-overlapping-tuple-hints.mir | 84 + llvm/test/CodeGen/AMDGPU/zext-lid.ll | 33 - .../Hexagon/autohvx/isel-const-splat-imm.ll | 108 + llvm/test/CodeGen/Hexagon/hvx-byte-store-double.ll | 2 +- llvm/test/CodeGen/MIR/Generic/frame-info.mir | 5 + .../X86/expected-stack-object-function-context.mir | 13 + llvm/test/CodeGen/NVPTX/f16x2-instructions.ll | 2927 ++++++++++---------- .../CodeGen/RISCV/fixed-vectors-vadd-vp-mask.ll | 77 + .../CodeGen/RISCV/fixed-vectors-vmul-vp-mask.ll | 77 + .../CodeGen/RISCV/fixed-vectors-vsub-vp-mask.ll | 77 + llvm/test/CodeGen/RISCV/machine-cse.ll | 78 + llvm/test/CodeGen/RISCV/rv64zbt.ll | 6 +- .../CodeGen/RISCV/rvv/addi-scalable-offset.mir | 4 +- .../RISCV/rvv/commuted-op-indices-regression.mir | 4 +- llvm/test/CodeGen/RISCV/rvv/emergency-slot.mir | 12 +- llvm/test/CodeGen/RISCV/rvv/extract-subvector.ll | 4 +- .../RISCV/rvv/fixed-vectors-calling-conv.ll | 8 +- .../RISCV/rvv/fixed-vectors-extload-truncstore.ll | 80 +- .../RISCV/rvv/fixed-vectors-extract-subvector.ll | 24 +- .../CodeGen/RISCV/rvv/fixed-vectors-fp-buildvec.ll | 6 +- .../CodeGen/RISCV/rvv/fixed-vectors-fp-conv.ll | 8 +- .../CodeGen/RISCV/rvv/fixed-vectors-fp-setcc.ll | 48 +- .../CodeGen/RISCV/rvv/fixed-vectors-fp-shuffles.ll | 14 +- llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp2i.ll | 32 +- llvm/test/CodeGen/RISCV/rvv/fixed-vectors-i2fp.ll | 12 +- .../CodeGen/RISCV/rvv/fixed-vectors-insert-i1.ll | 22 +- .../RISCV/rvv/fixed-vectors-insert-subvector.ll | 58 +- .../test/CodeGen/RISCV/rvv/fixed-vectors-insert.ll | 25 +- .../RISCV/rvv/fixed-vectors-int-buildvec.ll | 17 +- .../RISCV/rvv/fixed-vectors-int-exttrunc.ll | 2 +- .../RISCV/rvv/fixed-vectors-int-shuffles.ll | 51 +- llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int.ll | 18 +- .../RISCV/rvv/fixed-vectors-mask-buildvec.ll | 1938 ++----------- .../RISCV/rvv/fixed-vectors-mask-load-store.ll | 6 +- .../CodeGen/RISCV/rvv/fixed-vectors-mask-splat.ll | 12 +- .../RISCV/rvv/fixed-vectors-masked-gather.ll | 4 +- .../CodeGen/RISCV/rvv/fixed-vectors-unaligned.ll | 34 +- .../CodeGen/RISCV/rvv/fixed-vectors-vpgather.ll | 2 +- llvm/test/CodeGen/RISCV/rvv/insert-subvector.ll | 36 +- llvm/test/CodeGen/RISCV/rvv/insertelt-fp-rv32.ll | 60 +- llvm/test/CodeGen/RISCV/rvv/insertelt-fp-rv64.ll | 60 +- llvm/test/CodeGen/RISCV/rvv/insertelt-i1.ll | 28 +- llvm/test/CodeGen/RISCV/rvv/insertelt-int-rv32.ll | 104 +- llvm/test/CodeGen/RISCV/rvv/insertelt-int-rv64.ll | 88 +- llvm/test/CodeGen/RISCV/rvv/mask-reg-alloc.mir | 8 +- llvm/test/CodeGen/RISCV/rvv/masked-tama.ll | 13 +- llvm/test/CodeGen/RISCV/rvv/reg-coalescing.mir | 10 +- llvm/test/CodeGen/RISCV/rvv/setcc-fp.ll | 4 +- llvm/test/CodeGen/RISCV/rvv/setcc-integer.ll | 2 +- .../RISCV/rvv/tail-agnostic-impdef-copy.mir | 2 +- llvm/test/CodeGen/RISCV/rvv/unmasked-ta.ll | 17 +- llvm/test/CodeGen/RISCV/rvv/vector-splice.ll | 222 +- llvm/test/CodeGen/RISCV/rvv/vmv-copy.mir | 106 +- .../CodeGen/RISCV/rvv/vsetvli-insert-crossbb.ll | 55 + .../CodeGen/RISCV/rvv/vsetvli-insert-crossbb.mir | 88 +- llvm/test/CodeGen/RISCV/rvv/vsetvli-insert.mir | 58 +- llvm/test/CodeGen/RISCV/rvv/vslidedown-rv32.ll | 420 ++- llvm/test/CodeGen/RISCV/rvv/vslidedown-rv64.ll | 420 ++- llvm/test/CodeGen/RISCV/rvv/vslideup-rv32.ll | 420 ++- llvm/test/CodeGen/RISCV/rvv/vslideup-rv64.ll | 420 ++- .../rvv/wrong-stack-offset-for-rvv-object.mir | 8 +- llvm/test/CodeGen/RISCV/rvv/zvlsseg-spill.mir | 4 +- llvm/test/CodeGen/RISCV/sextw-removal.ll | 146 + llvm/test/CodeGen/RISCV/vadd-vp-mask.ll | 66 + llvm/test/CodeGen/RISCV/vmul-vp-mask.ll | 66 + llvm/test/CodeGen/RISCV/vsub-vp-mask.ll | 66 + llvm/test/CodeGen/X86/AMX/amx-combine.ll | 93 + llvm/test/CodeGen/X86/AMX/amx-error.ll | 16 + .../test/CodeGen/X86/bitcast-int-to-vector-bool.ll | 104 +- llvm/test/CodeGen/X86/is_fpclass-fp80.ll | 600 ++++ llvm/test/CodeGen/X86/is_fpclass.ll | 943 +++++++ llvm/test/CodeGen/X86/statepoint-vreg-details.ll | 26 + llvm/test/CodeGen/X86/vector-shuffle-256-v32.ll | 54 + .../X86/vector-shuffle-combining-avx512bwvl.ll | 44 + llvm/test/DebugInfo/WebAssembly/dbg-declare.ll | 2 +- llvm/test/DebugInfo/X86/undef-type-md.ll | 36 + .../unordered_atomic_mem_intrins.ll | 2 +- .../HWAddressSanitizer/X86/alloca-array.ll | 2 +- .../HWAddressSanitizer/X86/alloca-with-calls.ll | 2 +- .../HWAddressSanitizer/X86/alloca.ll | 4 +- .../HWAddressSanitizer/X86/atomic.ll | 2 +- .../HWAddressSanitizer/X86/basic.ll | 4 +- .../HWAddressSanitizer/X86/globals.ll | 2 +- .../HWAddressSanitizer/X86/kernel.ll | 10 +- .../HWAddressSanitizer/X86/with-calls.ll | 4 +- .../Instrumentation/MemorySanitizer/msan_basic.ll | 2 +- .../test_g_assert_sext_register_bank_class.mir | 12 +- .../test_g_assert_zext_register_bank_class.mir | 22 +- ...thinlto-prelink-samplepgo-inline-threshold.prof | 16 + ...m-thinlto-prelink-samplepgo-inline-threshold.ll | 122 + llvm/test/TableGen/address-space-patfrags.td | 18 +- .../function-specialization-nodup2.ll | 2 +- .../2014-06-21-congruent-constant.ll | 2 +- llvm/test/Transforms/IndVarSimplify/phi-select.ll | 51 + llvm/test/Transforms/Inline/inline_constprop.ll | 2 +- .../2008-01-21-MismatchedCastAndCompare.ll | 20 - llvm/test/Transforms/InstCombine/add-mask.ll | 20 +- llvm/test/Transforms/InstCombine/and-or.ll | 84 + llvm/test/Transforms/InstCombine/atomic.ll | 29 + llvm/test/Transforms/InstCombine/fcmp.ll | 66 + llvm/test/Transforms/InstCombine/fneg-fabs.ll | 50 +- llvm/test/Transforms/InstCombine/fneg.ll | 20 +- llvm/test/Transforms/InstCombine/icmp-add.ll | 185 ++ llvm/test/Transforms/InstCombine/icmp-ext-ext.ll | 398 +++ llvm/test/Transforms/InstCombine/icmp.ll | 173 ++ llvm/test/Transforms/InstCombine/modulo.ll | 24 +- llvm/test/Transforms/InstCombine/or.ll | 12 + ...egative-or-zero-is-non-zero-and-no-underflow.ll | 4 +- .../Transforms/InstCombine/stacksave-debuginfo.ll | 2 +- llvm/test/Transforms/LICM/scalar-promote.ll | 42 + llvm/test/Transforms/LoopInstSimplify/pr55072.ll | 23 + llvm/test/Transforms/LoopLoadElim/loop-i1-count.ll | 44 + llvm/test/Transforms/SCCP/freeze.ll | 137 + llvm/test/Transforms/SCCP/ranges-sext.ll | 33 + .../SLPVectorizer/AArch64/invalid_type.ll | 9 +- .../SLPVectorizer/AArch64/splat-loads.ll | 193 ++ .../insert-element-build-vector-inseltpoison.ll | 2 - .../X86/insert-element-build-vector.ll | 2 - .../SLPVectorizer/X86/vectorize-pair-path.ll | 57 + llvm/test/Transforms/SROA/basictest-opaque-ptrs.ll | 2 +- llvm/test/Transforms/SROA/basictest.ll | 2 +- .../ARM/nontrivial-unswitch-cost.ll | 15 +- .../exponential-nontrivial-unswitch-nested.ll | 24 +- .../exponential-nontrivial-unswitch-nested2.ll | 23 +- .../exponential-switch-unswitch.ll | 22 +- llvm/test/Transforms/SimpleLoopUnswitch/guards.ll | 3 +- .../SimpleLoopUnswitch/implicit-null-checks.ll | 8 +- .../SimpleLoopUnswitch/nontrivial-unswitch-cost.ll | 15 +- .../nontrivial-unswitch-freeze.ll | 35 + .../SimpleLoopUnswitch/nontrivial-unswitch.ll | 69 +- .../partial-unswitch-mssa-threshold.ll | 2 +- .../mir/preserve-max-call-frame-size.mir | 21 + llvm/test/tools/llvm-reduce/remove-module-data.ll | 4 +- llvm/tools/llvm-objcopy/llvm-objcopy.cpp | 69 +- llvm/tools/llvm-reduce/ReducerWorkItem.cpp | 4 +- .../tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp | 14 +- llvm/tools/llvm-reduce/deltas/ReduceModuleData.cpp | 4 - llvm/unittests/ADT/SmallVectorTest.cpp | 56 +- llvm/unittests/Analysis/CMakeLists.txt | 1 + .../Analysis/IRSimilarityIdentifierTest.cpp | 2 +- llvm/unittests/Analysis/TFUtilsTest.cpp | 44 - llvm/unittests/Analysis/TensorSpecTest.cpp | 61 + llvm/unittests/Demangle/ItaniumDemangleTest.cpp | 8 + llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp | 11 +- llvm/unittests/Target/DirectX/CMakeLists.txt | 15 + .../Target/DirectX/PointerTypeAnalysisTests.cpp | 185 ++ llvm/utils/TableGen/GlobalISelEmitter.cpp | 5 +- llvm/utils/gn/secondary/libcxx/include/BUILD.gn | 1 + llvm/utils/gn/secondary/llvm/lib/Analysis/BUILD.gn | 1 + .../gn/secondary/llvm/unittests/Analysis/BUILD.gn | 1 + .../llvm/unittests/Target/DirectX/BUILD.gn | 17 + llvm/utils/lit/lit/formats/googletest.py | 40 +- llvm/utils/lit/lit/util.py | 9 +- .../Inputs/googletest-crash/DummySubDir/OneTest.py | 6 + .../googletest-format/DummySubDir/OneTest.py | 4 + .../googletest-timeout/DummySubDir/OneTest.py | 2 + llvm/utils/lit/tests/googletest-crash.py | 17 +- llvm/utils/lit/tests/googletest-format.py | 10 +- llvm/utils/lit/tests/googletest-timeout.py | 16 +- mlir/docs/OpDefinitions.md | 4 +- mlir/include/mlir/Analysis/DataFlowAnalysis.h | 44 + .../Bufferization/IR/BufferizableOpInterface.h | 77 +- .../Bufferization/IR/BufferizableOpInterface.td | 27 +- .../mlir/Dialect/Bufferization/IR/Bufferization.h | 10 +- .../Dialect/Bufferization/IR/BufferizationBase.td | 13 + .../Transforms/FuncBufferizableOpInterfaceImpl.h | 76 + .../Transforms/OneShotModuleBufferize.h | 31 + .../Dialect/Bufferization/Transforms/Passes.td | 31 + mlir/include/mlir/Dialect/Complex/IR/Complex.h | 3 - .../mlir/Dialect/ControlFlow/IR/ControlFlow.h | 1 - mlir/include/mlir/Dialect/Func/IR/FuncOps.h | 1 - mlir/include/mlir/Dialect/GPU/GPUDialect.h | 1 - mlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td | 4 +- mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td | 2 +- mlir/include/mlir/Dialect/Linalg/CMakeLists.txt | 1 - .../Linalg/ComprehensiveBufferize/CMakeLists.txt | 2 - .../ComprehensiveBufferize/ModuleBufferization.h | 43 - mlir/include/mlir/Dialect/Linalg/IR/Linalg.h | 6 +- mlir/include/mlir/Dialect/Linalg/Utils/Utils.h | 4 + mlir/include/mlir/Dialect/MemRef/IR/MemRef.h | 6 +- mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td | 26 +- mlir/include/mlir/Dialect/SCF/SCF.h | 4 - mlir/include/mlir/Dialect/Shape/IR/Shape.h | 5 +- mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td | 89 +- mlir/include/mlir/Dialect/Tensor/IR/Tensor.h | 2 - mlir/include/mlir/Dialect/Tosa/IR/TosaOps.h | 4 +- .../mlir/Dialect/Transform/IR/TransformDialect.h | 37 +- .../mlir/Dialect/Transform/IR/TransformDialect.td | 86 +- .../mlir/Dialect/Transform/IR/TransformEffects.td | 62 + .../Dialect/Transform/IR/TransformInterfaces.h | 31 + .../mlir/Dialect/Transform/IR/TransformOps.td | 37 +- mlir/include/mlir/Dialect/Vector/IR/VectorOps.h | 6 +- mlir/include/mlir/Dialect/Vector/IR/VectorOps.td | 1 + mlir/include/mlir/IR/EnumAttr.td | 87 +- mlir/include/mlir/IR/OpImplementation.h | 6 + mlir/include/mlir/IR/OperationSupport.h | 9 + mlir/include/mlir/InitAllDialects.h | 5 + mlir/include/mlir/TableGen/Attribute.h | 1 + mlir/lib/Analysis/DataFlowAnalysis.cpp | 49 +- mlir/lib/Conversion/LLVMCommon/TypeConverter.cpp | 2 + mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp | 1 + mlir/lib/Dialect/Arithmetic/IR/ArithmeticOps.cpp | 125 +- .../Dialect/Arithmetic/Transforms/Bufferize.cpp | 1 + .../Bufferization/IR/BufferizableOpInterface.cpp | 30 +- .../Bufferization/IR/BufferizationDialect.cpp | 42 + .../Dialect/Bufferization/IR/BufferizationOps.cpp | 101 +- .../Dialect/Bufferization/Transforms/Bufferize.cpp | 235 +- .../Bufferization/Transforms/CMakeLists.txt | 2 + .../Transforms/FuncBufferizableOpInterfaceImpl.cpp | 542 ++++ .../Bufferization/Transforms/OneShotAnalysis.cpp | 6 + .../Transforms/OneShotModuleBufferize.cpp | 499 ++++ mlir/lib/Dialect/Func/Transforms/FuncBufferize.cpp | 1 + mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp | 15 +- mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp | 8 +- mlir/lib/Dialect/Linalg/CMakeLists.txt | 1 - .../Linalg/ComprehensiveBufferize/CMakeLists.txt | 11 - .../ComprehensiveBufferize/ModuleBufferization.cpp | 1148 -------- mlir/lib/Dialect/Linalg/IR/LinalgDialect.cpp | 16 +- mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | 5 + .../Linalg/Transforms/BubbleUpExtractSlice.cpp | 4 + mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt | 2 +- .../Transforms/ComprehensiveBufferizePass.cpp | 9 +- .../lib/Dialect/Linalg/Transforms/HoistPadding.cpp | 1 + mlir/lib/Dialect/Linalg/Transforms/Hoisting.cpp | 1 + mlir/lib/Dialect/Linalg/Transforms/Interchange.cpp | 1 + .../Linalg/Transforms/SparseTensorRewriting.cpp | 1 + mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp | 1 + .../Dialect/Linalg/Transforms/Vectorization.cpp | 1 + mlir/lib/Dialect/MemRef/IR/MemRefDialect.cpp | 1 + mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp | 25 +- mlir/lib/Dialect/SCF/SCF.cpp | 2 + .../SCF/Transforms/BufferizableOpInterfaceImpl.cpp | 1 + mlir/lib/Dialect/Shape/IR/CMakeLists.txt | 1 + mlir/lib/Dialect/Shape/IR/Shape.cpp | 23 +- .../SparseTensor/Transforms/SparseTensorPasses.cpp | 3 + mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp | 1 + mlir/lib/Dialect/Tensor/IR/TensorDialect.cpp | 2 + mlir/lib/Dialect/Tensor/IR/TensorOps.cpp | 2 + .../Transforms/BufferizableOpInterfaceImpl.cpp | 3 +- .../lib/Dialect/Tensor/Transforms/SplitPadding.cpp | 1 + mlir/lib/Dialect/Tosa/IR/TosaOps.cpp | 1 + mlir/lib/Dialect/Transform/IR/CMakeLists.txt | 1 + mlir/lib/Dialect/Transform/IR/TransformDialect.cpp | 6 +- .../Dialect/Transform/IR/TransformInterfaces.cpp | 18 +- mlir/lib/Dialect/Transform/IR/TransformOps.cpp | 109 +- mlir/lib/Dialect/Vector/IR/VectorOps.cpp | 48 +- .../VectorMultiDimReductionTransforms.cpp | 1 + .../Transforms/VectorTransferOpTransforms.cpp | 1 + .../VectorTransferSplitRewritePatterns.cpp | 13 +- .../Dialect/X86Vector/Transforms/AVXTranspose.cpp | 1 + mlir/lib/IR/AsmPrinter.cpp | 150 +- mlir/lib/Parser/AsmParserImpl.h | 10 + mlir/lib/Parser/Lexer.cpp | 3 + mlir/lib/Parser/TokenKinds.def | 1 + mlir/lib/TableGen/Attribute.cpp | 4 + mlir/lib/Target/Cpp/TranslateToCpp.cpp | 1 + mlir/test/Analysis/test-data-flow.mlir | 24 + mlir/test/Analysis/test-shape-fn-report.mlir | 4 +- mlir/test/Conversion/FuncToLLVM/convert-types.mlir | 5 + mlir/test/Dialect/Arithmetic/canonicalize.mlir | 46 + .../Dialect/Arithmetic/one-shot-bufferize.mlir | 61 + .../Transforms/one-shot-bufferize-partial.mlir | 4 +- ...-shot-module-bufferize-allow-return-allocs.mlir | 10 +- .../one-shot-module-bufferize-analysis.mlir} | 770 +---- .../one-shot-module-bufferize-invalid.mlir} | 21 +- .../Transforms}/one-shot-module-bufferize.mlir | 69 +- mlir/test/Dialect/LLVMIR/global.mlir | 20 +- mlir/test/Dialect/LLVMIR/invalid.mlir | 2 +- mlir/test/Dialect/LLVMIR/layout.mlir | 18 +- .../Dialect/Linalg/bubble-up-extract-slice-op.mlir | 19 + ...comprehensive-module-bufferize-aliasing-in.mlir | 18 +- ...sive-module-bufferize-analysis-aliasing-in.mlir | 8 +- ...bufferize-analysis-init-tensor-elimination.mlir | 4 +- ...e-module-bufferize-init-tensor-elimination.mlir | 4 +- .../Linalg/comprehensive-module-bufferize.mlir | 954 ------- ...e-analysis-2fill-extract-matmul-all-perms.mlir} | 151 +- mlir/test/Dialect/Linalg/one-shot-bufferize.mlir | 361 +++ mlir/test/Dialect/MemRef/canonicalize.mlir | 6 +- .../Dialect/SCF/one-shot-bufferize-analysis.mlir | 601 ++++ mlir/test/Dialect/SCF/one-shot-bufferize.mlir | 330 +++ mlir/test/Dialect/Tensor/bufferize.mlir | 71 +- mlir/test/Dialect/Tensor/one-shot-bufferize.mlir | 197 ++ mlir/test/Dialect/Transform/ops-invalid.mlir | 78 +- mlir/test/Dialect/Transform/ops.mlir | 19 + mlir/test/Dialect/Vector/canonicalize.mlir | 77 + .../Vector/vector-transfer-full-partial-split.mlir | 20 + mlir/test/IR/attribute.mlir | 36 + mlir/test/IR/print-value-users.mlir | 65 + mlir/test/lib/Analysis/CMakeLists.txt | 1 + mlir/test/lib/Analysis/TestDataFlow.cpp | 127 + .../Dialect/Linalg/TestLinalgElementwiseFusion.cpp | 1 + .../Dialect/Linalg/TestLinalgFusionTransforms.cpp | 1 + mlir/test/lib/Dialect/Linalg/TestPadFusion.cpp | 1 + mlir/test/lib/Dialect/Shape/TestShapeFunctions.cpp | 4 +- mlir/test/lib/Dialect/Test/TestDialect.cpp | 10 + mlir/test/lib/Dialect/Test/TestDialect.h | 2 + mlir/test/lib/Dialect/Test/TestOps.td | 64 + .../Transform/TestTransformDialectExtension.cpp | 12 +- .../Transform/TestTransformDialectExtension.td | 20 +- mlir/test/mlir-tblgen/op-decl-and-defs.td | 17 + mlir/tools/mlir-opt/mlir-opt.cpp | 2 + mlir/tools/mlir-tblgen/DialectGen.cpp | 52 +- mlir/tools/mlir-tblgen/EnumsGen.cpp | 47 +- mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp | 53 +- mlir/unittests/TableGen/EnumsGenTest.cpp | 30 +- mlir/unittests/TableGen/enums.td | 11 + openmp/libompd/src/CMakeLists.txt | 2 +- openmp/libomptarget/include/SourceInfo.h | 10 +- openmp/libomptarget/src/api.cpp | 6 +- openmp/libomptarget/src/omptarget.cpp | 2 +- .../test/mapping/target_implicit_partial_map.c | 16 +- openmp/libomptarget/test/offloading/info.c | 2 +- openmp/runtime/cmake/config-ix.cmake | 3 +- openmp/runtime/src/CMakeLists.txt | 10 +- runtimes/CMakeLists.txt | 12 +- utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 33 +- .../llvm-project-overlay/mlir/test/BUILD.bazel | 3 + 853 files changed, 30046 insertions(+), 13968 deletions(-) rename {test => clang-tools-extra/test}/.gitattributes (100%) create mode 100644 clang/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p6.cpp create mode 100644 clang/test/CodeGenCXX/debug-info-struct-align.cpp copy clang-tools-extra/clangd/test/Inputs/background-index/sub_dir/compile_flags.t [...] create mode 100644 clang/test/Driver/cxx20-fdirectives-only.cpp create mode 100644 clang/test/Driver/cxx20-header-units-01.cpp create mode 100644 clang/test/Driver/cxx20-header-units-02.cpp delete mode 100644 clang/test/Driver/ps4-analyzer-defaults.cpp create mode 100644 clang/test/Driver/ps4-ps5-analyzer-defaults.cpp create mode 100644 clang/test/Index/using_if_exists.cpp create mode 100644 clang/test/Misc/cc1as-darwin-target-variant-triple.s create mode 100644 clang/test/OpenMP/debug_threadprivate_copyin.c delete mode 100644 clang/test/PCH/ms-pch-macro-include_instead-regression.c delete mode 100644 clang/test/Preprocessor/Inputs/include_instead/bad-syntax.h delete mode 100644 clang/test/Preprocessor/Inputs/include_instead/file-not-found.h delete mode 100644 clang/test/Preprocessor/Inputs/include_instead/non-system-header.h delete mode 100644 clang/test/Preprocessor/Inputs/include_instead/private-x.h delete mode 100644 clang/test/Preprocessor/Inputs/include_instead/private1.h delete mode 100644 clang/test/Preprocessor/Inputs/include_instead/private2.h delete mode 100644 clang/test/Preprocessor/Inputs/include_instead/private3.h delete mode 100644 clang/test/Preprocessor/Inputs/include_instead/public-after.h delete mode 100644 clang/test/Preprocessor/Inputs/include_instead/public-before.h delete mode 100644 clang/test/Preprocessor/Inputs/include_instead/public-empty.h delete mode 100644 clang/test/Preprocessor/include_instead.cpp delete mode 100644 clang/test/Preprocessor/include_instead_file_not_found.cpp create mode 100644 flang/runtime/FortranMain/CMakeLists.txt create mode 100644 flang/runtime/FortranMain/Fortran_main.c create mode 100644 flang/test/Driver/linker-flags.f90 create mode 100644 flang/test/Semantics/reduce01.f90 create mode 100644 libc/include/llvm-libc-types/cookie_io_functions_t.h create mode 100644 libc/include/llvm-libc-types/off64_t.h create mode 100644 libc/src/stdio/fopencookie.cpp create mode 100644 libc/src/stdio/fopencookie.h create mode 100644 libc/test/src/stdio/fopencookie_test.cpp create mode 100644 libc/utils/UnitTest/PrintfMatcher.cpp create mode 100644 libc/utils/UnitTest/PrintfMatcher.h create mode 100644 libc/utils/UnitTest/StringUtils.h create mode 100644 libcxx/include/__ranges/zip_view.h create mode 100644 libcxx/test/libcxx/thread/thread.threads/create_late.pass.cpp create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/begin.pass.cpp create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/borrowing.compi [...] create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/cpo.pass.cpp create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/ctad.compile.pass.cpp create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/ctor.default.pass.cpp create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/ctor.views.pass.cpp create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/end.pass.cpp create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/general.pass.cpp create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/iterator/arithm [...] create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/iterator/compar [...] create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/iterator/ctor.d [...] create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/iterator/ctor.o [...] create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/iterator/decrem [...] create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/iterator/deref. [...] create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/iterator/increm [...] create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/iterator/iter_m [...] create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/iterator/iter_s [...] create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/iterator/member [...] create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/iterator/singul [...] create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/iterator/subscr [...] create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/range.concept.c [...] create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/sentinel/ctor.d [...] create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/sentinel/ctor.o [...] create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/sentinel/eq.pass.cpp create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/sentinel/minus. [...] create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/size.pass.cpp create mode 100644 libcxx/test/std/ranges/range.adaptors/range.zip/types.h create mode 100644 lld/test/ELF/lto/wrap-unreferenced-before-codegen.test create mode 100644 lld/test/ELF/wrap-drop-shared-original.s create mode 100644 lld/test/MachO/Inputs/MacOSX.sdk/System/Library/Frameworks/MacO [...] create mode 100644 lld/test/MachO/Inputs/MacOSX.sdk/System/Library/Frameworks/MacO [...] create mode 100644 lldb/test/API/commands/trace/TestTraceEvents.py create mode 100644 llvm/docs/ResponseGuide.rst create mode 100644 llvm/include/llvm/Analysis/TensorSpec.h create mode 100644 llvm/lib/Analysis/TensorSpec.cpp create mode 100644 llvm/lib/Target/DirectX/DXILPointerType.cpp create mode 100644 llvm/lib/Target/DirectX/DXILPointerType.h create mode 100644 llvm/lib/Target/DirectX/PointerTypeAnalysis.cpp create mode 100644 llvm/lib/Target/DirectX/PointerTypeAnalysis.h create mode 100644 llvm/test/Analysis/CostModel/AArch64/fptoi_sat.ll create mode 100644 llvm/test/Analysis/CostModel/AArch64/shuffle-load.ll create mode 100644 llvm/test/Analysis/CostModel/ARM/fptoi_sat.ll create mode 100644 llvm/test/Analysis/CostModel/X86/fptoi_sat.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-amdgcn.workitem.id.mir create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-assert-zext.mir delete mode 100644 llvm/test/CodeGen/AMDGPU/opt-pipeline.ll create mode 100644 llvm/test/CodeGen/AMDGPU/regalloc-fail-unsatisfiable-overlappin [...] create mode 100644 llvm/test/CodeGen/Hexagon/autohvx/isel-const-splat-imm.ll create mode 100644 llvm/test/CodeGen/MIR/X86/expected-stack-object-function-context.mir create mode 100644 llvm/test/CodeGen/RISCV/fixed-vectors-vadd-vp-mask.ll create mode 100644 llvm/test/CodeGen/RISCV/fixed-vectors-vmul-vp-mask.ll create mode 100644 llvm/test/CodeGen/RISCV/fixed-vectors-vsub-vp-mask.ll create mode 100644 llvm/test/CodeGen/RISCV/machine-cse.ll create mode 100644 llvm/test/CodeGen/RISCV/vadd-vp-mask.ll create mode 100644 llvm/test/CodeGen/RISCV/vmul-vp-mask.ll create mode 100644 llvm/test/CodeGen/RISCV/vsub-vp-mask.ll create mode 100644 llvm/test/CodeGen/X86/AMX/amx-combine.ll create mode 100644 llvm/test/CodeGen/X86/AMX/amx-error.ll create mode 100644 llvm/test/CodeGen/X86/is_fpclass-fp80.ll create mode 100644 llvm/test/CodeGen/X86/is_fpclass.ll create mode 100644 llvm/test/DebugInfo/X86/undef-type-md.ll create mode 100644 llvm/test/Other/Inputs/new-pm-thinlto-prelink-samplepgo-inline- [...] create mode 100644 llvm/test/Other/new-pm-thinlto-prelink-samplepgo-inline-threshold.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/phi-select.ll delete mode 100644 llvm/test/Transforms/InstCombine/2008-01-21-MismatchedCastAndCo [...] create mode 100644 llvm/test/Transforms/InstCombine/icmp-ext-ext.ll create mode 100644 llvm/test/Transforms/LoopInstSimplify/pr55072.ll create mode 100644 llvm/test/Transforms/LoopLoadElim/loop-i1-count.ll create mode 100644 llvm/test/Transforms/SCCP/freeze.ll create mode 100644 llvm/test/Transforms/SLPVectorizer/AArch64/splat-loads.ll create mode 100644 llvm/test/Transforms/SLPVectorizer/X86/vectorize-pair-path.ll create mode 100644 llvm/test/tools/llvm-reduce/mir/preserve-max-call-frame-size.mir create mode 100644 llvm/unittests/Analysis/TensorSpecTest.cpp create mode 100644 llvm/unittests/Target/DirectX/CMakeLists.txt create mode 100644 llvm/unittests/Target/DirectX/PointerTypeAnalysisTests.cpp create mode 100644 llvm/utils/gn/secondary/llvm/unittests/Target/DirectX/BUILD.gn create mode 100644 mlir/include/mlir/Dialect/Bufferization/Transforms/FuncBufferiz [...] create mode 100644 mlir/include/mlir/Dialect/Bufferization/Transforms/OneShotModul [...] delete mode 100644 mlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/CMakeLists.txt delete mode 100644 mlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/ModuleB [...] create mode 100644 mlir/include/mlir/Dialect/Transform/IR/TransformEffects.td create mode 100644 mlir/lib/Dialect/Bufferization/Transforms/FuncBufferizableOpInt [...] create mode 100644 mlir/lib/Dialect/Bufferization/Transforms/OneShotModuleBufferize.cpp delete mode 100644 mlir/lib/Dialect/Linalg/ComprehensiveBufferize/CMakeLists.txt delete mode 100644 mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ModuleBufferization.cpp create mode 100644 mlir/test/Analysis/test-data-flow.mlir create mode 100644 mlir/test/Dialect/Arithmetic/one-shot-bufferize.mlir rename mlir/test/Dialect/{Linalg => Bufferization/Transforms}/one-shot-module-buff [...] rename mlir/test/Dialect/{Linalg/comprehensive-module-bufferize-analysis.mlir => B [...] rename mlir/test/Dialect/{Linalg/comprehensive-module-bufferize-invalid.mlir => Bu [...] rename mlir/test/Dialect/{Linalg => Bufferization/Transforms}/one-shot-module-buff [...] delete mode 100644 mlir/test/Dialect/Linalg/comprehensive-module-bufferize.mlir rename mlir/test/Dialect/Linalg/{comprehensive-bufferize-analysis-2fill-extract-ma [...] create mode 100644 mlir/test/Dialect/Linalg/one-shot-bufferize.mlir create mode 100644 mlir/test/Dialect/SCF/one-shot-bufferize-analysis.mlir create mode 100644 mlir/test/Dialect/SCF/one-shot-bufferize.mlir create mode 100644 mlir/test/Dialect/Tensor/one-shot-bufferize.mlir create mode 100644 mlir/test/IR/print-value-users.mlir create mode 100644 mlir/test/lib/Analysis/TestDataFlow.cpp