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-arm-stable-defconfig in repository toolchain/ci/llvm-project.
from 2e5d20bd478 [llvm-dwarfdump][Statistics] Ignore declarations of global [...] adds da6a896e6b1 [WebAssembly] Add WebAssembly support to llvm-symbolizer adds 55479192808 Fix a crash when casting _Complex and ignoring the results. adds 14c2cf8e187 [AArch64][GlobalISel] Don't bail out of the select(cmp(a, b [...] adds 66e47a57205 [clang-tidy] adjust scripts to subsubsections in Release Notes adds 12fefeef203 [CUDA] Assume the latest known CUDA version if we've found [...] adds 987aa3435f4 Corrected clang amdgpu-features.cl test for 6d614a82a4230ea [...] adds e7d5a8d0b4b [gn build] Port a928d127a52 adds 276a6b88898 [InstCombine] add tests for cmp with splat operand and spla [...] adds 57839e51781 [llvm-dwarfdump][Statistics] Count more than one conrete ou [...] adds 5499e2f455c [llvm-dwarfdump][Statistics] Distinguish parameters with sa [...] adds 4b0a7fe008e [llvm-dwarfdump][Statistics] Make calculations of vars in g [...] adds 3065ef0bf85 [lldb/Bindings] Sort headers in headers.swig adds b8d9ac08703 Fix test hip-device-libs.hip adds 2c03c899d50 [MBFI] Move BranchFolding::MBFIWrapper to its own files. NFC. adds b8461fc0c71 [gn build] Port 2c03c899d50 adds a1f6ff26814 [scudo][standalone] Fix Android logging adds e11b709b192 [ELF][PPC32] Support --emit-relocs link of R_PPC_PLTREL24 adds b96e6859c99 llvm-symbolizer test: Add a bit of extra detail on how to c [...] adds 60b88420842 [mlir] Optimize OpResult use case for single result operations. adds 16e82d855a1 [mlir] Add primitive transform pattern to rewrite linalg.fi [...] adds 2b0e6fe2e26 [Fuchsia] Remove aarch64-fuchsia target-specific -mcmodel=kernel adds 90a10f00ff8 [lsan] Support LeakSanitizer runtime on Fuchsia adds 04488c485a8 Don't fail step out if remote server doesn't implement qMem [...] adds 56b7f595d2b [CMake] Set ASM compiler for external projects adds 7a717d82ff7 [InstCombine] refactor foldVectorCmp(); NFC adds b8c39e94626 Fix compiling with clang-cl inside a Visual Studio 2019 16. [...] adds 127d3abf25b [Instrumentation] Set hidden visibility for the bias variable adds cd0cff43925 [NFCI][LoopUnrollAndJam] Minor changes. adds 4aa8cdfeebe [LoopUnrollAndJamPass] Clean unnecessary includes. [NFCI] adds 1d58a7c82f7 [mlir][Linalg][doc] Add Design Document for the Linalg Dialect adds 776937c3e88 [gn build] (manually) port 90a10f00ff8 adds 6dea61215d2 [lldb] [test] Restrict x86-64-write register test to x86-64 adds 8e21d7b9249 [lldb/Reproducer] Include deserialized value in log statement adds eaabaf7e04f Revert "[MS] Overhaul how clang passes overaligned args on x86_32" adds a2fb2c0ddca [GlobalMerge] Preserve symbol visibility when merging globals adds 7f434b91a95 [llvm] Ensure InlineCost-related fields are initialized adds c4f6fbe9713 [lldb] Remove ClangASTImporter from Target adds 4e799ada586 [CodeGen] Attach no-builtin attributes to function definiti [...] adds dba29f7c3b3 [AArch64][GlobalISel] Fold G_AND into G_BRCOND adds 1f85dfb2af1 [AArch64][SVE] Add SVE2 mla indexed intrinsics. adds 5eaf44f99f0 [lldb] Delete ValueObject::GetBaseClassPath adds adcd0268385 Make llvm::StringRef to std::string conversions explicit. adds 2e745ba6b0b [runtimes] Fix passing lists to runtimes configures adds d8f6950828d [asan] Fix test compilation on Android API <= 17 adds 076da521f31 [libcxx] Link against android_support when needed adds 777180a32b6 [ADT] Make StringRef's std::string conversion operator explicit adds 159709f04fa [Support] Fix implicit std::string conversions on Win32. adds 620f5faf1f3 [lldb/Reproducer] Include result in recording statements adds 19580c3755a Fix implicit conversion in the lldb Python plugin adds e9326ed9067 [lldb/Reproducer] s/nullptr_t/std::nullptr_t/ adds 9a8d42e6080 [lldb/Plugin] Fix implicit conversion in GDBRemote adds c9909c22fe3 Fix implicit conversions in example code. adds a153d78c7eb [Driver] Fix implicit conversion guarded by #ifdef _WIN32 adds 00d834e0871 Fix more implicit conversions adds b1a8189d7d7 [NFC] Fix comment typo adds 05c19705d8e [tblgen] Fix implicit conversion only diagnosed by g++ 6 adds 43a1c80508d Fix another implicit conversion in the directory watcher adds 84118fac3ab [NFC] Removing experimental designation for ninja in docs. adds 5976067d2c5 A bunch more implicit string conversions that my Clang didn [...] adds 0d401fa36b5 Fix a couple more implicit conversions that Clang doesn't d [...] adds 2f6b9edfa8a [AliasAnalysis] Add missing FMRB_* enums. adds ddf77f10a30 One more batch of things found by g++ 6 adds 8b6320c79d4 Address implicit conversions detected by g++ 5 only. adds 71b022ee55d [lldb] Remove unused header from ValueObject.cpp adds ce70eb76ea0 Fix AVR build after 777180a32b6107 adds 66dc4672287 [lldb/API] Implement the copy (assignment) constructor for [...] adds 92ecc306af6 [X86] Add test case for llvm.flt.rounds adds ca2abea29a4 [X86] Use SelectionDAG::getZExtOrTrunc to simplify some code. NFCI adds 95cb22d0f9f Fix xpc build after 777180a32b6107 adds 1dfe7b5be63 [lldb/API] Implement the copy (assignment) constructor for [...] adds 0eb64fcb89a Fix clangd-xpc-test-client build after 777180a32b6107 adds 735f90fe42e Fix one round of implicit conversions found by g++5. adds d966bf830fe [WebAssembly] Preserve debug frame base information through [...] adds 9a5c448a31b [clangd] Fix null check in FindTarget. adds a9bc7b83a40 Another round of GCC5 fixes. adds ede5cd9a45b [lldb/API] Fix bogus copy assignment operator adds 2d92336db00 Another stab at making the gold plugin compile again adds 8359511c62b [CodeExtractor] Remove stale llvm.assume calls from extract [...] adds a40b3e3b61a [NFC] Fix unused variable warning. adds 2b36e85542d GCC5 buildbot made it to clang. Fix implicit conversions it found. adds bb39b52950e Fix conversions in clang and examples adds bd31243a34d Fix more implicit conversions. Getting closer to having cla [...] adds cd87e207ec7 Make bugpoint work with gcc5 again. adds f96f64d0f27 [driver][Darwin] Add an -ibuiltininc flag that lets Darwin [...] adds 42a25e7fe6f Try harder to fix bugpoint with GCC5 adds 49ad3f61432 One more bugpoitn fix for GCC5 adds 0257a9218ba Fix polly build after StringRef change. adds b6dbd0f71fb [Attributor][NFC] Internalize helper function adds 02bd8180fc3 [Attributor][NFC] Improve debug messages adds 6626d1b7c0e [Attributor][NFC] Remove ugly and unneeded cast adds 24ae77eebff [Attributor] Mark a non-defined `null` pointer as `noalias` adds 53992c7bf77 [Attributor] Modularize AANoAliasCallSiteArgument to simpli [...] adds 224085409d0 [Attributor][FIX] Treat invalidated attributes as changed adds ea5fabe60c7 [Attributor] Reuse existing logic to avoid duplication adds 76843ba37f0 [Attributor][Fix] Initialize unused but loaded variable adds bc15bf66dcc [X86] matchAdd: don't fold a large offset into a %rip relat [...] adds a497e1b5ea7 [lldb] Use CompletionRequest in REPL::CompleteCode and remo [...] adds a5fb2e371ec [lldb] Complete return types of CXXMethodDecls to prevent c [...] adds ab8b22d1c2d [lldb] Don't create duplicate declarations when completing [...] adds ac30ea2f877 [RDA][ARM] Move functionality into RDA adds 800a0f81e95 [ARC] Fix ARCTargetMachine after 777180a32b6107 adds e06444d982f [lldb] Fix windows build for the StringRef conversion opera [...] adds 757bdc64d33 Fix clang unnittest build with GCC 5 adds 0d893fda430 [clangd] Add a symbol-name-based blacklist for rename. adds d53840ad391 [VE][fix] Explicit StringRef to std::string conversion adds ad08c01d6c3 [AMDGPU] Simplify DS and SM cases in getMemOperandsWithOffset adds 93bbe7b2b5f [VE][fix] (more) explicit StringRef to std::string adds 4e3f4f03f3e [ASTMatchers] StringRef'ify hasName adds 6a2413c4350 [ARM64] Debug info for structure argument missing DW_AT_location adds f6bb58542ac [VE] fp32/64 fadd/fsub/fdiv/fmul isel patterns adds 7a6ebb5ba3c [lldb] More windows StringRef fixes adds 7116e431c0a [DebugInfo] Make most debug line prologue errors non-fatal [...] adds bd33a46213d [AArch64][SVE] Add SVE2 intrinsics for pairwise arithmetic adds ac215354607 [ARM] Add documentation for -march= and -mfpu= command line [...] adds 0ee4b027d37 Fix an implicit conversion in clang-tidy. GCC 5 complains a [...] adds 55b0e9c9d5d [clangd][Hover] Make tests hermetic by setting target triplet adds 7830c2d44f5 [clangd] Get rid of delayed template parsing adds 63c8972562a [MLIR] Add OpenMP dialect with barrier operation adds 0b4a047bfbd [LLD][ELF][ARM] Do not substitute BL/BLX for non STT_FUNC symbols. adds 6f6952780ba [clangd] add CODE_OWNERS adds bcb3e42fdfb [clangd] Go-to-definition on 'override' jumps to overridden [...] adds e864f937669 [clangd] Replace raw lexer code with token buffer in prepar [...] adds 17fadeffcce [clangd][vscode] Update lsp dependencies to pickup the prog [...] adds dc0d84f09e7 [NFC][ARM] Add test adds 3cf80822a90 [AArch64][SVE] Add SVE2 intrinsics for uniform DSP operations adds a324fcf1ae6 clang-format: insert trailing commas into containers. adds e6b55cbcdc4 [yaml2obj][obj2yaml] - Add lost test cases. adds d5dfd1350ef Add TagDecl AST matcher adds 4ec2a267321 Fix clang test build adds cbc45e4e752 Regenerate aarch64-neon-2velem.c CHECK lines adds 6b587ee23c6 [VE] Isel patterns for fp32/64 and i32/64 conversion adds f719b0ba13f [MVE][MC] evaluateBranch: add missing MVE opcode adds 2939fc13c8f [AArch64] Add IR intrinsics for sq(r)dmulh_lane(q) adds 87f6314f8cd [InstCombine] canonicalize splat shuffle after cmp adds fce8983a3c0 [clangd] Remove the temporary alias for clangd::DiagnosticC [...] adds 0994c485e61 AMDGPU: Fix handling of infinite loops in fragment shaders adds 323bfde20c5 AMDGPU: Fix AMDGPUUnifyDivergentExitNodes with no normal returns adds 2103e08b3f6 More fixes of implicit std::string conversions adds c5c1bb33747 GlobalISel: Lower G_WRITE_REGISTER adds a9af1dc34d3 Analysis: Add max recursison to isDereferenceableAndAlignedPointer adds 02adfb5155e AMDGPU/GlobalISel: Manually select scalar f64 G_FNEG adds ea1e3369f7a [mlir][Linalg] Introduce folding patterns to remove certain [...] adds c2dcdf95eba [libc] Fix benchmarks CMakeLists.txt adds 0bec0e71514 [VE] udiv/sdiv/urem/srem/mul isel patterns adds da58e68fdf1 [LoopFusion] Move instructions from FC1.Preheader to FC0.Pr [...] adds 9a08a3fab99 [Analyzer] Split container modeling from iterator modeling adds 13ab22ab22d Revert "AMDGPU: Fix AMDGPUUnifyDivergentExitNodes with no n [...] adds 08b205bb480 Revert "AMDGPU: Fix handling of infinite loops in fragment [...] adds df8f2774b6a [gn build] Port 9a08a3fab99 adds 24ab761a60b LLT: Add changeNumElements adds 31e07692d7f Work around PR44697 in CrashRecoveryContext adds 79748add70d Fix MSVC lamdba default capture mode warning. NFCI. adds 01213f90700 [clang-tidy] Initialize token before handing it to the lexer adds 752e2e245ab AMDGPU/GlobalISel: Rewrite fadd select tests adds f717483acd5 GlobalISel: Assert on invalid bitcast in MIRBuilder adds c2ad7ee1a9a [AMDGPU] override isHighLatencyDef adds 94e8ef4d4c7 AMDGPU/GlobalISel: Look through copies for source modifiers adds 87d98c14950 AMDGPU: Fix handling of infinite loops in fragment shaders adds ab2300bc154 [PassManagerBuilder] Remove global extension when a plugin [...] adds 96352e0a1bd AMDGPU/GlobalISel: Handle LDS with relocations case adds 0d7bd343127 [MachineScheduler] Ignore artificial edges when forming sto [...] adds 68b102b97ac AMDGPU: Directly select 16-bank LDS case of llvm.amdgcn.int [...] adds b63629a58d7 GlobalISel: Fix mask computation in lowerInsert adds fef80a2946e [VE] (conditional) branch modification & isel patterns adds b136238bb4e Add a test extracted from D69557 "AsmParser: Allow FMF on v [...] adds 62129878a66 AMDGPU/GlobalISel: Fix tablegen selection for scalar bin ops adds e5edd641fde [X86] Use a shorter sequence to implement FLT_ROUNDS adds 48bd6a09868 [DAGCombiner] visitIMINMAX - use general SelectionDAG::Fold [...] adds 4b04e117357 [DAGCombiner] Sub/SUBSAT - use general SelectionDAG::FoldCo [...] adds 6e82d0dfd8d [Clang][Bundler] Add 'exclude' flag to target objects sections adds d07a7895792 [AMDGPU] Cluster FLAT instructions with both vaddr and saddr adds 4bc07c332a2 [llvm][docs] LangRef for IR attribute `vector-function-abi- [...] new 90c31b0f428 [X86] Custom lower ISD::FROUND with SSE4.1 to avoid a libcall. new 33fa6727b7c [lldb/Reproducers] Add logging to the string template speci [...] new f4ca2ac8225 [scudo] Skip building scudo standalone if sys/auxv.h can't [...] new 6a74641e723 [InstCombine] Regenerate test checks; NFC new 8093d37ed25 Fix switch covers all cases static analyzer warning. NFCI. new 25b8e963881 [DAGCombiner] ISD::MUL - use general SelectionDAG::FoldCons [...] new 4a4ce14eb2c [ELF] Mention symbol name in reportRangeError()
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: clang-tools-extra/CODE_OWNERS.TXT | 4 + .../clang-change-namespace/ChangeNamespace.cpp | 18 +- .../tool/ClangChangeNamespace.cpp | 2 +- clang-tools-extra/clang-doc/HTMLGenerator.cpp | 10 +- clang-tools-extra/clang-doc/Representation.cpp | 4 +- clang-tools-extra/clang-doc/tool/ClangDocMain.cpp | 2 +- .../clang-include-fixer/InMemorySymbolIndex.cpp | 4 +- .../clang-include-fixer/IncludeFixer.cpp | 10 +- .../clang-include-fixer/IncludeFixer.h | 4 +- .../clang-include-fixer/IncludeFixerContext.cpp | 2 +- .../find-all-symbols/FindAllSymbols.cpp | 3 +- .../find-all-symbols/HeaderMapCollector.h | 2 +- .../find-all-symbols/PathConfig.cpp | 2 +- .../find-all-symbols/SymbolInfo.h | 2 +- .../plugin/IncludeFixerPlugin.cpp | 3 +- clang-tools-extra/clang-move/Move.cpp | 8 +- clang-tools-extra/clang-move/tool/ClangMove.cpp | 3 +- clang-tools-extra/clang-query/QueryParser.cpp | 3 +- .../clang-reorder-fields/ReorderFieldsAction.cpp | 2 +- clang-tools-extra/clang-tidy/ClangTidy.cpp | 4 +- clang-tools-extra/clang-tidy/ClangTidyCheck.cpp | 6 +- .../clang-tidy/ClangTidyDiagnosticConsumer.cpp | 10 +- .../clang-tidy/ClangTidyDiagnosticConsumer.h | 5 +- clang-tools-extra/clang-tidy/ClangTidyModule.cpp | 2 +- .../abseil/DurationFactoryScaleCheck.cpp | 2 +- clang-tools-extra/clang-tidy/add_new_check.py | 8 +- .../clang-tidy/bugprone/InaccurateEraseCheck.cpp | 4 +- .../clang-tidy/bugprone/InfiniteLoopCheck.cpp | 2 +- .../bugprone/NotNullTerminatedResultCheck.cpp | 7 +- .../bugprone/ReservedIdentifierCheck.cpp | 4 +- .../clang-tidy/cert/MutatingCopyCheck.cpp | 3 +- .../SpecialMemberFunctionsCheck.cpp | 2 +- .../clang-tidy/google/AvoidNSObjectNewCheck.cpp | 5 +- .../clang-tidy/llvm/HeaderGuardCheck.cpp | 2 +- .../clang-tidy/llvm/IncludeOrderCheck.cpp | 3 +- .../clang-tidy/misc/UniqueptrResetReleaseCheck.cpp | 8 +- .../clang-tidy/modernize/AvoidBindCheck.cpp | 18 +- .../clang-tidy/modernize/LoopConvertCheck.cpp | 3 +- .../clang-tidy/modernize/LoopConvertUtils.cpp | 8 +- .../clang-tidy/modernize/ShrinkToFitCheck.cpp | 8 +- .../modernize/UseTrailingReturnTypeCheck.cpp | 4 +- .../clang-tidy/modernize/UseUsingCheck.cpp | 4 +- .../clang-tidy/mpi/TypeMismatchCheck.cpp | 20 +- .../InefficientVectorOperationCheck.cpp | 4 +- .../clang-tidy/plugin/ClangTidyPlugin.cpp | 2 +- .../readability/ContainerSizeEmptyCheck.cpp | 4 +- .../readability/IdentifierNamingCheck.cpp | 2 +- .../readability/NamespaceCommentCheck.cpp | 2 +- .../readability/RedundantPreprocessorCheck.cpp | 2 +- .../readability/RedundantStringCStrCheck.cpp | 4 +- .../readability/SimplifyBooleanExprCheck.cpp | 2 +- clang-tools-extra/clang-tidy/rename_check.py | 4 +- .../clang-tidy/tool/ClangTidyMain.cpp | 2 +- clang-tools-extra/clang-tidy/utils/HeaderGuard.cpp | 4 +- .../clang-tidy/utils/IncludeInserter.cpp | 2 +- .../clang-tidy/utils/NamespaceAliaser.cpp | 10 +- .../clang-tidy/utils/OptionsUtils.cpp | 2 +- .../clang-tidy/utils/RenamerClangTidyCheck.cpp | 4 +- clang-tools-extra/clangd/ClangdLSPServer.cpp | 17 +- clang-tools-extra/clangd/ClangdServer.cpp | 27 +- clang-tools-extra/clangd/ClangdServer.h | 9 - clang-tools-extra/clangd/CodeComplete.cpp | 52 +- clang-tools-extra/clangd/CompileCommands.cpp | 6 +- clang-tools-extra/clangd/Diagnostics.cpp | 15 +- clang-tools-extra/clangd/DraftStore.cpp | 4 +- clang-tools-extra/clangd/ExpectedTypes.cpp | 2 +- clang-tools-extra/clangd/FS.cpp | 2 +- clang-tools-extra/clangd/FindSymbols.cpp | 8 +- clang-tools-extra/clangd/FindTarget.cpp | 4 +- clang-tools-extra/clangd/Format.cpp | 2 +- .../clangd/GlobalCompilationDatabase.cpp | 6 +- clang-tools-extra/clangd/HeaderSourceSwitch.cpp | 2 +- clang-tools-extra/clangd/Headers.cpp | 4 +- clang-tools-extra/clangd/Hover.cpp | 11 +- clang-tools-extra/clangd/IncludeFixer.cpp | 10 +- clang-tools-extra/clangd/JSONTransport.cpp | 3 +- clang-tools-extra/clangd/ParsedAST.cpp | 5 +- clang-tools-extra/clangd/PathMapping.cpp | 2 +- clang-tools-extra/clangd/Protocol.cpp | 2 +- clang-tools-extra/clangd/QueryDriverDatabase.cpp | 6 +- clang-tools-extra/clangd/SourceCode.cpp | 10 +- clang-tools-extra/clangd/TUScheduler.cpp | 57 +- clang-tools-extra/clangd/URI.cpp | 2 +- clang-tools-extra/clangd/XRefs.cpp | 69 +- .../clangd/clients/clangd-vscode/package.json | 8 +- clang-tools-extra/clangd/index/Background.cpp | 2 +- .../clangd/index/BackgroundIndexLoader.cpp | 2 +- .../clangd/index/BackgroundIndexStorage.cpp | 4 +- .../clangd/index/CanonicalIncludes.cpp | 2 +- clang-tools-extra/clangd/index/FileIndex.cpp | 3 +- clang-tools-extra/clangd/index/Serialization.cpp | 4 +- clang-tools-extra/clangd/index/dex/dexp/Dexp.cpp | 4 +- clang-tools-extra/clangd/refactor/Rename.cpp | 45 +- clang-tools-extra/clangd/refactor/Tweak.h | 2 +- .../clangd/refactor/tweaks/DefineInline.cpp | 2 +- .../clangd/refactor/tweaks/DefineOutline.cpp | 5 +- .../clangd/refactor/tweaks/DumpAST.cpp | 7 +- .../clangd/refactor/tweaks/ExpandMacro.cpp | 4 +- .../clangd/refactor/tweaks/ExtractFunction.cpp | 19 +- .../refactor/tweaks/RemoveUsingNamespace.cpp | 3 +- clang-tools-extra/clangd/test/rename.test | 9 +- clang-tools-extra/clangd/tool/ClangdMain.cpp | 2 +- .../clangd/unittests/BackgroundIndexTests.cpp | 3 +- clang-tools-extra/clangd/unittests/ClangdTests.cpp | 6 +- .../clangd/unittests/CodeCompleteTests.cpp | 2 +- clang-tools-extra/clangd/unittests/DexTests.cpp | 4 +- .../clangd/unittests/DiagnosticsTests.cpp | 24 +- .../clangd/unittests/ExpectedTypeTest.cpp | 2 +- .../clangd/unittests/FileIndexTests.cpp | 12 +- .../clangd/unittests/FindSymbolsTests.cpp | 4 +- .../clangd/unittests/FindTargetTests.cpp | 6 +- .../clangd/unittests/FuzzyMatchTests.cpp | 2 +- .../unittests/GlobalCompilationDatabaseTests.cpp | 3 +- .../clangd/unittests/HeadersTests.cpp | 2 +- clang-tools-extra/clangd/unittests/HoverTests.cpp | 67 +- .../clangd/unittests/IndexActionTests.cpp | 4 +- clang-tools-extra/clangd/unittests/IndexTests.cpp | 4 +- clang-tools-extra/clangd/unittests/RenameTests.cpp | 23 +- .../clangd/unittests/SelectionTests.cpp | 2 +- .../clangd/unittests/SemanticHighlightingTests.cpp | 9 +- .../clangd/unittests/SemanticSelectionTests.cpp | 2 +- .../clangd/unittests/SourceCodeTests.cpp | 8 +- .../clangd/unittests/SymbolCollectorTests.cpp | 4 +- clang-tools-extra/clangd/unittests/SyncAPI.cpp | 2 +- .../clangd/unittests/TUSchedulerTests.cpp | 4 +- clang-tools-extra/clangd/unittests/TestFS.cpp | 8 +- clang-tools-extra/clangd/unittests/TestTU.h | 4 +- .../clangd/unittests/TweakTesting.cpp | 10 +- clang-tools-extra/clangd/unittests/TweakTests.cpp | 2 +- .../clangd/unittests/TypeHierarchyTests.cpp | 2 +- clang-tools-extra/clangd/unittests/XRefsTests.cpp | 42 +- clang-tools-extra/clangd/xpc/XPCTransport.cpp | 3 +- .../clangd/xpc/test-client/ClangdXPCTestClient.cpp | 4 +- clang-tools-extra/docs/ReleaseNotes.rst | 4 +- clang-tools-extra/modularize/CoverageChecker.cpp | 2 +- clang-tools-extra/modularize/Modularize.cpp | 6 +- .../modularize/ModularizeUtilities.cpp | 8 +- clang-tools-extra/modularize/ModuleAssistant.cpp | 10 +- .../clang-include-fixer/IncludeFixerTest.cpp | 5 +- .../unittests/clang-tidy/ClangTidyTest.h | 3 +- .../clang-tidy/TransformerClangTidyCheckTest.cpp | 7 +- clang/docs/ClangCommandLineReference.rst | 140 + clang/docs/HowToSetupToolingForLLVM.rst | 3 +- clang/docs/LibASTMatchersReference.html | 88 +- clang/include/clang/AST/DeclObjC.h | 4 +- clang/include/clang/AST/JSONNodeDumper.h | 2 +- clang/include/clang/AST/PrettyPrinter.h | 4 +- clang/include/clang/AST/TextNodeDumper.h | 2 +- clang/include/clang/ASTMatchers/ASTMatchers.h | 53 +- .../clang/ASTMatchers/ASTMatchersInternal.h | 2 +- clang/include/clang/Analysis/PathDiagnostic.h | 4 +- clang/include/clang/Basic/Cuda.h | 3 +- clang/include/clang/Basic/Diagnostic.h | 8 +- clang/include/clang/Basic/DiagnosticDriverKinds.td | 3 + clang/include/clang/Basic/DiagnosticGroups.td | 3 + clang/include/clang/Basic/FixedPoint.h | 2 +- clang/include/clang/Basic/Module.h | 2 +- clang/include/clang/Basic/PartialDiagnostic.h | 2 +- clang/include/clang/Basic/arm_neon.td | 16 +- clang/include/clang/CodeGen/CGFunctionInfo.h | 17 +- clang/include/clang/Driver/Driver.h | 4 +- clang/include/clang/Driver/Multilib.h | 2 +- clang/include/clang/Driver/Options.td | 4 + clang/include/clang/Format/Format.h | 21 +- .../include/clang/Frontend/CommandLineSourceLoc.h | 2 +- .../include/clang/Frontend/LogDiagnosticPrinter.h | 2 +- clang/include/clang/Lex/HeaderSearch.h | 4 +- clang/include/clang/Lex/HeaderSearchOptions.h | 4 +- clang/include/clang/Lex/Preprocessor.h | 2 +- clang/include/clang/Lex/PreprocessorOptions.h | 12 +- clang/include/clang/Sema/Sema.h | 2 +- .../clang/StaticAnalyzer/Checkers/Checkers.td | 13 +- .../Core/PathSensitive/CheckerContext.h | 3 +- clang/include/clang/Tooling/AllTUsExecution.h | 2 +- .../clang/Tooling/Refactoring/AtomicChange.h | 2 +- .../clang/Tooling/Transformer/RewriteRule.h | 3 +- clang/lib/ARCMigrate/ARCMT.cpp | 6 +- clang/lib/ARCMigrate/FileRemapper.cpp | 6 +- clang/lib/ARCMigrate/ObjCMT.cpp | 50 +- clang/lib/AST/ASTDiagnostic.cpp | 5 +- clang/lib/AST/DeclBase.cpp | 4 +- clang/lib/AST/Expr.cpp | 10 +- clang/lib/AST/ExternalASTSource.cpp | 2 +- clang/lib/AST/Mangle.cpp | 2 +- clang/lib/AST/MicrosoftMangle.cpp | 2 +- clang/lib/AST/Stmt.cpp | 2 +- clang/lib/AST/StmtPrinter.cpp | 7 +- clang/lib/AST/TypePrinter.cpp | 4 +- clang/lib/ASTMatchers/ASTMatchersInternal.cpp | 1 + clang/lib/ASTMatchers/Dynamic/Registry.cpp | 3 +- clang/lib/Analysis/RetainSummaryManager.cpp | 3 +- clang/lib/Basic/Cuda.cpp | 8 +- clang/lib/Basic/DiagnosticIDs.cpp | 2 +- clang/lib/Basic/FileManager.cpp | 2 +- clang/lib/Basic/IdentifierTable.cpp | 4 +- clang/lib/Basic/Module.cpp | 2 +- clang/lib/Basic/Targets/ARM.cpp | 2 +- clang/lib/Basic/Warnings.cpp | 5 +- clang/lib/CodeGen/BackendUtil.cpp | 8 +- clang/lib/CodeGen/CGBuiltin.cpp | 26 + clang/lib/CodeGen/CGCUDANV.cpp | 16 +- clang/lib/CodeGen/CGCall.cpp | 99 +- clang/lib/CodeGen/CGDebugInfo.cpp | 5 +- clang/lib/CodeGen/CGDecl.cpp | 8 +- clang/lib/CodeGen/CGExpr.cpp | 8 +- clang/lib/CodeGen/CGExprComplex.cpp | 6 +- clang/lib/CodeGen/CGNonTrivialStruct.cpp | 2 +- clang/lib/CodeGen/CGObjCGNU.cpp | 11 +- clang/lib/CodeGen/CGObjCMac.cpp | 9 +- clang/lib/CodeGen/CGOpenMPRuntime.cpp | 6 +- clang/lib/CodeGen/CodeGenAction.cpp | 2 +- clang/lib/CodeGen/CodeGenModule.cpp | 2 +- clang/lib/CodeGen/TargetInfo.cpp | 74 +- clang/lib/CrossTU/CrossTranslationUnit.cpp | 8 +- .../DirectoryWatcher/mac/DirectoryWatcher-mac.cpp | 4 +- clang/lib/Driver/Driver.cpp | 39 +- clang/lib/Driver/Multilib.cpp | 8 +- clang/lib/Driver/SanitizerArgs.cpp | 2 +- clang/lib/Driver/ToolChain.cpp | 26 +- clang/lib/Driver/ToolChains/AVR.cpp | 2 +- clang/lib/Driver/ToolChains/Arch/AArch64.cpp | 4 +- clang/lib/Driver/ToolChains/Arch/ARM.cpp | 10 +- clang/lib/Driver/ToolChains/Arch/PPC.cpp | 2 +- clang/lib/Driver/ToolChains/Arch/RISCV.cpp | 8 +- clang/lib/Driver/ToolChains/Arch/SystemZ.cpp | 4 +- clang/lib/Driver/ToolChains/Arch/X86.cpp | 2 +- clang/lib/Driver/ToolChains/BareMetal.cpp | 2 +- clang/lib/Driver/ToolChains/CloudABI.cpp | 2 +- clang/lib/Driver/ToolChains/CommonArgs.cpp | 7 +- clang/lib/Driver/ToolChains/Cuda.cpp | 82 +- clang/lib/Driver/ToolChains/Darwin.cpp | 17 +- clang/lib/Driver/ToolChains/Fuchsia.cpp | 4 +- clang/lib/Driver/ToolChains/Gnu.cpp | 10 +- clang/lib/Driver/ToolChains/HIP.cpp | 9 +- clang/lib/Driver/ToolChains/Hurd.cpp | 2 +- clang/lib/Driver/ToolChains/Linux.cpp | 8 +- clang/lib/Driver/ToolChains/MSP430.cpp | 2 +- clang/lib/Driver/ToolChains/MSVC.cpp | 23 +- clang/lib/Driver/ToolChains/MinGW.cpp | 17 +- clang/lib/Driver/ToolChains/MipsLinux.cpp | 2 +- clang/lib/Driver/ToolChains/PS4CPU.cpp | 4 +- clang/lib/Driver/ToolChains/RISCVToolchain.cpp | 2 +- clang/lib/Driver/ToolChains/WebAssembly.cpp | 2 +- clang/lib/Driver/XRayArgs.cpp | 2 +- clang/lib/Format/BreakableToken.cpp | 2 +- clang/lib/Format/ContinuationIndenter.cpp | 4 +- clang/lib/Format/Format.cpp | 102 +- clang/lib/Format/TokenAnnotator.cpp | 1 + clang/lib/Frontend/ASTUnit.cpp | 26 +- clang/lib/Frontend/CompilerInstance.cpp | 16 +- clang/lib/Frontend/CompilerInvocation.cpp | 186 +- clang/lib/Frontend/DependencyFile.cpp | 2 +- clang/lib/Frontend/DependencyGraph.cpp | 3 +- clang/lib/Frontend/FrontendAction.cpp | 26 +- clang/lib/Frontend/FrontendActions.cpp | 8 +- clang/lib/Frontend/InitHeaderSearch.cpp | 10 +- clang/lib/Frontend/InitPreprocessor.cpp | 6 +- clang/lib/Frontend/LogDiagnosticPrinter.cpp | 9 +- clang/lib/Frontend/ModuleDependencyCollector.cpp | 2 +- clang/lib/Frontend/PrecompiledPreamble.cpp | 11 +- clang/lib/Frontend/Rewrite/FixItRewriter.cpp | 6 +- clang/lib/Frontend/Rewrite/FrontendActions.cpp | 12 +- clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp | 6 +- clang/lib/Frontend/Rewrite/RewriteObjC.cpp | 8 +- clang/lib/Frontend/TextDiagnosticBuffer.cpp | 8 +- .../lib/FrontendTool/ExecuteCompilerInvocation.cpp | 6 +- clang/lib/Headers/__clang_cuda_runtime_wrapper.h | 2 +- clang/lib/Lex/HeaderSearch.cpp | 9 +- clang/lib/Lex/Lexer.cpp | 2 +- clang/lib/Lex/ModuleMap.cpp | 30 +- clang/lib/Lex/PPLexerChange.cpp | 2 +- clang/lib/Lex/Preprocessor.cpp | 2 +- clang/lib/Parse/ParseExprCXX.cpp | 2 +- clang/lib/Parse/ParsePragma.cpp | 10 +- clang/lib/Parse/ParseTemplate.cpp | 6 +- clang/lib/Sema/SemaAttr.cpp | 2 +- clang/lib/Sema/SemaAvailability.cpp | 8 +- clang/lib/Sema/SemaCodeComplete.cpp | 10 +- clang/lib/Sema/SemaDecl.cpp | 24 +- clang/lib/Sema/SemaDeclCXX.cpp | 2 +- clang/lib/Sema/SemaExpr.cpp | 8 +- clang/lib/Sema/SemaOpenMP.cpp | 2 +- clang/lib/Sema/SemaTemplate.cpp | 2 +- clang/lib/Serialization/ASTReader.cpp | 46 +- clang/lib/Serialization/ASTWriter.cpp | 2 +- .../Checkers/AnalyzerStatsChecker.cpp | 2 +- clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt | 2 + .../Checkers/CXXSelfAssignmentChecker.cpp | 4 +- .../StaticAnalyzer/Checkers/CastValueChecker.cpp | 2 +- .../StaticAnalyzer/Checkers/CheckPlacementNew.cpp | 4 +- ...{IteratorModeling.cpp => ContainerModeling.cpp} | 973 +--- .../Checkers/DebugContainerModeling.cpp | 138 + .../Checkers/DebugIteratorModeling.cpp | 52 - .../Checkers/GenericTaintChecker.cpp | 2 +- clang/lib/StaticAnalyzer/Checkers/Iterator.cpp | 41 + clang/lib/StaticAnalyzer/Checkers/Iterator.h | 2 + .../StaticAnalyzer/Checkers/IteratorModeling.cpp | 1051 +--- clang/lib/StaticAnalyzer/Checkers/MIGChecker.cpp | 2 +- .../lib/StaticAnalyzer/Checkers/MallocChecker.cpp | 2 +- .../RetainCountChecker/RetainCountDiagnostics.cpp | 2 +- .../StaticAnalyzer/Checkers/ReturnValueChecker.cpp | 4 +- .../UninitializedObjectChecker.cpp | 4 +- .../StaticAnalyzer/Core/BugReporterVisitors.cpp | 9 +- clang/lib/StaticAnalyzer/Core/ExprEngine.cpp | 5 +- clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp | 8 +- clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp | 2 +- clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp | 2 +- .../StaticAnalyzer/Frontend/AnalysisConsumer.cpp | 5 +- .../StaticAnalyzer/Frontend/CheckerRegistry.cpp | 7 +- clang/lib/Tooling/ASTDiff/ASTDiff.cpp | 18 +- clang/lib/Tooling/CompilationDatabase.cpp | 8 +- clang/lib/Tooling/Core/Diagnostic.cpp | 2 +- clang/lib/Tooling/Core/Lookup.cpp | 9 +- clang/lib/Tooling/Core/Replacement.cpp | 12 +- .../DependencyScanning/DependencyScanningTool.cpp | 4 +- .../DependencyScanningWorker.cpp | 2 +- .../DependencyScanning/ModuleDepCollector.cpp | 14 +- clang/lib/Tooling/FileMatchTrie.cpp | 2 +- clang/lib/Tooling/Inclusions/HeaderIncludes.cpp | 5 +- .../Tooling/InterpolatingCompilationDatabase.cpp | 6 +- clang/lib/Tooling/JSONCompilationDatabase.cpp | 2 +- clang/lib/Tooling/Refactoring/AtomicChange.cpp | 6 +- .../Tooling/Refactoring/Rename/RenamingAction.cpp | 3 +- .../Tooling/Refactoring/Rename/USRLocFinder.cpp | 2 +- clang/lib/Tooling/RefactoringCallbacks.cpp | 22 +- clang/lib/Tooling/Syntax/BuildTree.cpp | 6 +- clang/lib/Tooling/Syntax/Tokens.cpp | 14 +- clang/lib/Tooling/Tooling.cpp | 2 +- clang/lib/Tooling/Transformer/Stencil.cpp | 18 +- clang/test/Analysis/container-modeling.cpp | 189 + clang/test/Analysis/debug-container-modeling.cpp | 31 + clang/test/Analysis/debug-iterator-modeling.cpp | 7 +- clang/test/Analysis/iterator-modelling.cpp | 233 +- clang/test/CodeGen/aarch64-neon-2velem.c | 5679 +++++++++++--------- clang/test/CodeGen/complex-convert.c | 5 + clang/test/CodeGen/x86_32-arguments-win32.c | 44 - clang/test/CodeGenCXX/global-init.cpp | 7 +- clang/test/CodeGenCXX/inalloca-overaligned.cpp | 52 - clang/test/CodeGenCXX/inalloca-vector.cpp | 79 - clang/test/CodeGenOpenCL/amdgpu-features.cl | 2 +- .../usr/local/cuda/bin/.keep | 0 .../usr/local/cuda/include}/.keep | 0 .../bin => CUDA-unknown/usr/local/cuda/lib}/.keep | 0 .../usr/local/cuda/lib64}/.keep | 0 .../usr/local/cuda/nvvm/libdevice/libdevice.10.bc | 0 .../Inputs/CUDA-unknown/usr/local/cuda/version.txt | 1 + clang/test/Driver/clang-offload-bundler.c | 3 +- clang/test/Driver/cuda-version-check.cu | 4 + clang/test/Driver/darwin-header-search-system.cpp | 74 + clang/test/Driver/hip-device-libs.hip | 2 +- clang/tools/c-index-test/core_main.cpp | 5 +- clang/tools/clang-diff/ClangDiff.cpp | 2 +- .../clang-extdef-mapping/ClangExtDefMapGen.cpp | 4 +- .../clang-offload-bundler/ClangOffloadBundler.cpp | 59 +- clang/tools/clang-scan-deps/ClangScanDeps.cpp | 10 +- clang/tools/diagtool/DiagTool.cpp | 5 +- clang/tools/driver/cc1as_main.cpp | 32 +- clang/tools/driver/driver.cpp | 6 +- clang/tools/libclang/CIndexDiagnostic.cpp | 8 +- clang/tools/libclang/CIndexer.cpp | 5 +- clang/tools/libclang/CIndexer.h | 2 +- clang/tools/libclang/CLog.h | 2 +- clang/tools/libclang/Indexing.cpp | 4 +- clang/unittests/AST/ASTImporterFixtures.cpp | 4 +- clang/unittests/AST/DeclPrinterTest.cpp | 15 +- clang/unittests/AST/NamedDeclPrinterTest.cpp | 18 +- .../ASTMatchers/ASTMatchersNarrowingTest.cpp | 7 + .../unittests/ASTMatchers/ASTMatchersNodeTest.cpp | 7 + clang/unittests/ASTMatchers/ASTMatchersTest.h | 12 +- .../ASTMatchers/ASTMatchersTraversalTest.cpp | 16 +- clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp | 7 +- clang/unittests/Basic/SourceManagerTest.cpp | 2 +- .../DirectoryWatcher/DirectoryWatcherTest.cpp | 4 +- clang/unittests/Format/FormatTest.cpp | 6 + clang/unittests/Format/FormatTestJS.cpp | 39 + clang/unittests/Frontend/ASTUnitTest.cpp | 2 +- clang/unittests/Frontend/CompilerInstanceTest.cpp | 4 +- clang/unittests/Frontend/FrontendActionTest.cpp | 3 +- clang/unittests/Frontend/PCHPreambleTest.cpp | 2 +- clang/unittests/Index/IndexTests.cpp | 2 +- clang/unittests/Lex/LexerTest.cpp | 2 +- clang/unittests/Rename/ClangRenameTest.h | 4 +- clang/unittests/Sema/ExternalSemaSourceTest.cpp | 2 +- .../unittests/Tooling/CompilationDatabaseTest.cpp | 12 +- clang/unittests/Tooling/DependencyScannerTest.cpp | 27 +- clang/unittests/Tooling/ExecutionTest.cpp | 4 +- clang/unittests/Tooling/HeaderIncludesTest.cpp | 2 +- clang/unittests/Tooling/RangeSelectorTest.cpp | 64 +- .../RecursiveASTVisitorTestPostOrderVisitor.cpp | 4 +- clang/unittests/Tooling/RefactoringTest.cpp | 23 +- clang/unittests/Tooling/RewriterTestContext.h | 5 +- clang/unittests/Tooling/SourceCodeBuildersTest.cpp | 2 +- clang/unittests/Tooling/StencilTest.cpp | 13 +- clang/unittests/Tooling/Syntax/TreeTest.cpp | 3 +- clang/unittests/Tooling/ToolingTest.cpp | 9 +- clang/unittests/Tooling/TransformerTest.cpp | 73 +- clang/unittests/libclang/TestUtils.h | 6 +- clang/utils/TableGen/ClangASTNodesEmitter.cpp | 6 +- clang/utils/TableGen/ClangAttrEmitter.cpp | 125 +- .../TableGen/ClangCommentCommandInfoEmitter.cpp | 2 +- ...ngCommentHTMLNamedCharacterReferenceEmitter.cpp | 4 +- .../utils/TableGen/ClangCommentHTMLTagsEmitter.cpp | 5 +- clang/utils/TableGen/ClangDiagnosticsEmitter.cpp | 68 +- clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp | 3 +- clang/utils/TableGen/ClangOptionDocEmitter.cpp | 12 +- clang/utils/TableGen/ClangSACheckersEmitter.cpp | 2 +- clang/utils/TableGen/MveEmitter.cpp | 41 +- clang/utils/TableGen/NeonEmitter.cpp | 61 +- compiler-rt/cmake/config-ix.cmake | 9 +- compiler-rt/lib/asan/asan_thread.cpp | 2 + compiler-rt/lib/asan/tests/asan_test.cpp | 4 + compiler-rt/lib/lsan/CMakeLists.txt | 2 + compiler-rt/lib/lsan/lsan.cpp | 12 - compiler-rt/lib/lsan/lsan.h | 3 + compiler-rt/lib/lsan/lsan_allocator.h | 5 +- compiler-rt/lib/lsan/lsan_common.cpp | 19 + compiler-rt/lib/lsan/lsan_common.h | 3 +- compiler-rt/lib/lsan/lsan_common_fuchsia.cpp | 166 + compiler-rt/lib/lsan/lsan_fuchsia.cpp | 123 + compiler-rt/lib/lsan/lsan_fuchsia.h | 35 + compiler-rt/lib/lsan/lsan_interceptors.cpp | 16 +- compiler-rt/lib/lsan/lsan_linux.cpp | 6 +- compiler-rt/lib/lsan/lsan_posix.cpp | 11 + compiler-rt/lib/sanitizer_common/CMakeLists.txt | 1 + .../sanitizer_stoptheworld_fuchsia.cpp | 42 + compiler-rt/lib/scudo/standalone/linux.cpp | 13 +- libc/utils/benchmarks/CMakeLists.txt | 14 +- libcxx/CMakeLists.txt | 4 + libcxxabi/src/CMakeLists.txt | 3 + lld/COFF/DebugTypes.cpp | 4 +- lld/COFF/Driver.cpp | 29 +- lld/COFF/DriverUtils.cpp | 16 +- lld/COFF/InputFiles.cpp | 8 +- lld/COFF/LTO.cpp | 9 +- lld/COFF/PDB.cpp | 2 +- lld/COFF/Symbols.cpp | 6 +- lld/Common/ErrorHandler.cpp | 4 +- lld/Common/Reproduce.cpp | 6 +- lld/Common/Strings.cpp | 4 +- lld/Common/Timer.cpp | 4 +- lld/ELF/Arch/ARM.cpp | 46 +- lld/ELF/DriverUtils.cpp | 4 +- lld/ELF/InputFiles.cpp | 10 +- lld/ELF/InputFiles.h | 6 +- lld/ELF/InputSection.cpp | 12 +- lld/ELF/LTO.cpp | 25 +- lld/ELF/LinkerScript.cpp | 4 +- lld/ELF/LinkerScript.h | 2 +- lld/ELF/Relocations.cpp | 36 +- lld/ELF/ScriptLexer.cpp | 2 +- lld/ELF/ScriptParser.cpp | 4 +- lld/ELF/Symbols.cpp | 2 +- lld/ELF/Target.cpp | 2 +- lld/ELF/Target.h | 14 +- lld/include/lld/Core/File.h | 2 +- lld/lib/Core/Error.cpp | 3 +- lld/lib/Driver/DarwinLdDriver.cpp | 4 +- lld/lib/ReaderWriter/MachO/Atoms.h | 4 +- lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp | 6 +- lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp | 6 +- lld/test/ELF/Inputs/undef-bad-debug.s | 29 +- lld/test/ELF/aarch64-abs16.s | 4 +- lld/test/ELF/aarch64-abs32.s | 4 +- lld/test/ELF/aarch64-prel16.s | 4 +- lld/test/ELF/aarch64-prel32.s | 4 +- lld/test/ELF/arm-thumb-interwork-notfunc.s | 80 +- lld/test/ELF/arm-thumb-undefined-weak.s | 1 + lld/test/ELF/arm-undefined-weak.s | 1 + lld/test/ELF/hexagon-jump-error.s | 6 +- lld/test/ELF/i386-reloc-16.s | 4 +- lld/test/ELF/i386-reloc-8.s | 4 +- lld/test/ELF/i386-reloc-range.s | 2 +- lld/test/ELF/ppc32-relocatable-got2.s | 41 + lld/test/ELF/ppc64-reloc-addr.s | 8 +- lld/test/ELF/riscv-branch.s | 4 +- lld/test/ELF/riscv-call.s | 7 +- lld/test/ELF/riscv-hi20-lo12.s | 4 +- lld/test/ELF/riscv-jal.s | 8 +- lld/test/ELF/riscv-pcrel-hilo.s | 4 +- lld/test/ELF/undef.s | 20 +- lld/test/ELF/x86-64-reloc-error.s | 10 +- lld/test/ELF/x86-64-reloc-error2.s | 3 +- lld/unittests/DriverTests/DarwinLdDriverTest.cpp | 2 +- lld/wasm/Driver.cpp | 4 +- lld/wasm/InputFiles.cpp | 2 +- lld/wasm/InputFiles.h | 4 +- lld/wasm/OutputSections.cpp | 2 +- lld/wasm/Symbols.cpp | 2 +- lld/wasm/SyntheticSections.h | 3 +- lld/wasm/Writer.cpp | 17 +- lld/wasm/WriterUtils.cpp | 2 +- lldb/bindings/headers.swig | 4 +- lldb/include/lldb/API/SBLaunchInfo.h | 4 + lldb/include/lldb/API/SBPlatform.h | 8 +- lldb/include/lldb/Core/ValueObject.h | 2 - lldb/include/lldb/DataFormatters/FormatClasses.h | 4 +- lldb/include/lldb/Expression/DiagnosticManager.h | 2 +- lldb/include/lldb/Expression/REPL.h | 4 +- lldb/include/lldb/Interpreter/CommandObject.h | 2 +- lldb/include/lldb/Symbol/TypeSystemClang.h | 3 +- lldb/include/lldb/Target/Process.h | 4 +- lldb/include/lldb/Target/Target.h | 3 - lldb/include/lldb/Target/ThreadSpec.h | 6 +- lldb/include/lldb/Utility/AnsiTerminal.h | 2 +- lldb/include/lldb/Utility/Environment.h | 3 +- lldb/include/lldb/Utility/Reproducer.h | 2 +- .../lldb/Utility/ReproducerInstrumentation.h | 37 +- lldb/include/lldb/Utility/StringExtractor.h | 2 +- lldb/include/lldb/Utility/StructuredData.h | 2 +- .../cpp/covariant-return-types}/Makefile | 0 .../TestCovariantReturnTypes.py | 40 + .../test/lang/cpp/covariant-return-types/main.cpp | 40 + lldb/source/API/SBDebugger.cpp | 2 +- lldb/source/API/SBLaunchInfo.cpp | 17 + lldb/source/API/SBPlatform.cpp | 40 +- lldb/source/API/SBStream.cpp | 9 +- lldb/source/API/SBValue.cpp | 2 +- lldb/source/Breakpoint/BreakpointIDList.cpp | 2 +- .../Breakpoint/BreakpointResolverFileRegex.cpp | 2 +- lldb/source/Breakpoint/BreakpointResolverName.cpp | 2 +- .../Breakpoint/BreakpointResolverScripted.cpp | 7 +- lldb/source/Commands/CommandCompletions.cpp | 4 +- lldb/source/Commands/CommandObjectBreakpoint.cpp | 28 +- .../Commands/CommandObjectBreakpointCommand.cpp | 2 +- lldb/source/Commands/CommandObjectCommands.cpp | 28 +- lldb/source/Commands/CommandObjectDisassemble.cpp | 6 +- lldb/source/Commands/CommandObjectExpression.cpp | 2 +- lldb/source/Commands/CommandObjectHelp.cpp | 2 +- lldb/source/Commands/CommandObjectLog.cpp | 4 +- lldb/source/Commands/CommandObjectMultiword.cpp | 14 +- lldb/source/Commands/CommandObjectPlatform.cpp | 2 +- lldb/source/Commands/CommandObjectProcess.cpp | 8 +- lldb/source/Commands/CommandObjectSettings.cpp | 4 +- lldb/source/Commands/CommandObjectSource.cpp | 8 +- lldb/source/Commands/CommandObjectTarget.cpp | 28 +- lldb/source/Commands/CommandObjectThread.cpp | 4 +- lldb/source/Commands/CommandObjectType.cpp | 16 +- lldb/source/Commands/CommandObjectWatchpoint.cpp | 4 +- .../Commands/CommandObjectWatchpointCommand.cpp | 4 +- lldb/source/Core/Disassembler.cpp | 2 +- lldb/source/Core/DumpRegisterValue.cpp | 2 +- lldb/source/Core/IOHandler.cpp | 7 +- lldb/source/Core/Module.cpp | 10 +- lldb/source/Core/PluginManager.cpp | 3 +- lldb/source/Core/ValueObject.cpp | 29 +- lldb/source/DataFormatters/TypeCategory.cpp | 2 +- lldb/source/DataFormatters/TypeFormat.cpp | 10 +- lldb/source/DataFormatters/TypeSummary.cpp | 12 +- lldb/source/DataFormatters/TypeSynthetic.cpp | 6 +- lldb/source/Expression/DiagnosticManager.cpp | 2 +- lldb/source/Expression/IRInterpreter.cpp | 4 +- lldb/source/Expression/REPL.cpp | 9 +- lldb/source/Expression/UserExpression.cpp | 9 +- lldb/source/Host/common/Editline.cpp | 4 +- lldb/source/Host/common/OptionParser.cpp | 2 +- lldb/source/Host/common/ProcessLaunchInfo.cpp | 2 +- lldb/source/Host/common/Socket.cpp | 2 +- lldb/source/Host/common/TCPSocket.cpp | 4 +- lldb/source/Host/common/UDPSocket.cpp | 4 +- .../Host/posix/ConnectionFileDescriptorPosix.cpp | 12 +- lldb/source/Host/posix/DomainSocket.cpp | 8 +- .../Host/windows/ConnectionGenericFileWindows.cpp | 2 +- lldb/source/Host/windows/PipeWindows.cpp | 8 +- lldb/source/Interpreter/CommandAlias.cpp | 2 +- lldb/source/Interpreter/CommandHistory.cpp | 2 +- lldb/source/Interpreter/CommandInterpreter.cpp | 82 +- lldb/source/Interpreter/CommandObject.cpp | 37 +- lldb/source/Interpreter/CommandReturnObject.cpp | 2 +- .../source/Interpreter/OptionGroupArchitecture.cpp | 2 +- lldb/source/Interpreter/OptionGroupPlatform.cpp | 2 +- .../Interpreter/OptionGroupPythonClassWithDict.cpp | 4 +- .../source/Interpreter/OptionValueFormatEntity.cpp | 2 +- lldb/source/Interpreter/OptionValueString.cpp | 4 +- lldb/source/Interpreter/Options.cpp | 6 +- .../Disassembler/LLVMC/DisassemblerLLVMC.cpp | 4 +- .../MacOSX-DYLD/DynamicLoaderDarwin.cpp | 13 +- .../MacOSX-DYLD/DynamicLoaderMacOS.cpp | 4 +- .../Clang/ASTResultSynthesizer.cpp | 2 +- .../Clang/ClangExpressionParser.cpp | 5 +- .../Clang/ClangExpressionSourceCode.cpp | 2 +- .../Clang/ClangModulesDeclVendor.cpp | 2 +- .../Clang/ClangPersistentVariables.cpp | 8 + .../Clang/ClangPersistentVariables.h | 3 + .../ExpressionParser/Clang/ClangUserExpression.cpp | 13 +- .../Clang/ClangUtilityFunction.cpp | 14 +- .../Clang/CppModuleConfiguration.cpp | 2 +- .../Plugins/ExpressionParser/Clang/IRForTarget.cpp | 6 +- .../ASan/InstrumentationRuntimeASan.cpp | 8 +- .../InstrumentationRuntimeMainThreadChecker.cpp | 8 +- .../TSan/InstrumentationRuntimeTSan.cpp | 42 +- .../UBSan/InstrumentationRuntimeUBSan.cpp | 3 +- .../Plugins/Language/CPlusPlus/BlockPointer.cpp | 12 +- .../Language/CPlusPlus/CPlusPlusLanguage.cpp | 2 +- .../AppleObjCTypeEncodingParser.cpp | 6 +- .../AppleThreadPlanStepThroughObjCTrampoline.cpp | 32 +- .../RenderScriptExpressionOpts.cpp | 2 +- .../RenderScriptRuntime/RenderScriptRuntime.cpp | 2 +- .../Plugins/ObjectFile/ELF/ObjectFileELF.cpp | 2 +- .../Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp | 2 +- .../Python/OperatingSystemPython.cpp | 2 +- lldb/source/Plugins/Platform/Android/AdbClient.cpp | 4 +- .../Plugins/Platform/Android/PlatformAndroid.cpp | 2 +- .../Android/PlatformAndroidRemoteGDBServer.cpp | 2 +- .../Plugins/Platform/MacOSX/PlatformDarwin.cpp | 2 +- .../Plugins/Platform/POSIX/PlatformPOSIX.cpp | 4 +- .../gdb-server/PlatformRemoteGDBServer.cpp | 13 +- .../Plugins/Process/Linux/NativeThreadLinux.cpp | 2 +- .../Process/Utility/StopInfoMachException.cpp | 2 +- .../Plugins/Process/Utility/ThreadMemory.cpp | 3 +- .../Process/gdb-remote/GDBRemoteClientBase.cpp | 2 +- .../Process/gdb-remote/GDBRemoteCommunication.cpp | 2 +- .../gdb-remote/GDBRemoteCommunicationClient.cpp | 35 +- .../GDBRemoteCommunicationServerCommon.cpp | 4 +- .../GDBRemoteCommunicationServerPlatform.cpp | 2 +- .../Process/gdb-remote/ProcessGDBRemote.cpp | 47 +- .../ScriptInterpreter/Python/PythonDataObjects.cpp | 2 +- .../ScriptInterpreter/Python/PythonDataObjects.h | 2 +- .../Python/ScriptInterpreterPython.cpp | 4 +- .../DarwinLog/StructuredDataDarwinLog.cpp | 6 +- .../Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp | 7 +- .../SymbolFile/NativePDB/CompileUnitIndex.cpp | 2 +- .../Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp | 14 +- .../SymbolFile/NativePDB/SymbolFileNativePDB.cpp | 8 +- .../source/Plugins/SymbolFile/PDB/PDBASTParser.cpp | 24 +- .../SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp | 8 +- lldb/source/Symbol/ClangASTImporter.cpp | 30 + lldb/source/Symbol/TypeList.cpp | 3 +- lldb/source/Symbol/TypeMap.cpp | 3 +- lldb/source/Symbol/TypeSystemClang.cpp | 4 +- lldb/source/Symbol/Variable.cpp | 4 +- lldb/source/Target/Platform.cpp | 8 +- lldb/source/Target/StackFrameRecognizer.cpp | 5 +- lldb/source/Target/StopInfo.cpp | 10 +- lldb/source/Target/Target.cpp | 14 +- lldb/source/Target/Thread.cpp | 2 +- lldb/source/Target/ThreadPlanStepOut.cpp | 1 - lldb/source/Utility/Args.cpp | 6 +- lldb/source/Utility/Log.cpp | 2 +- lldb/source/Utility/ProcessInfo.cpp | 2 +- lldb/source/Utility/RegisterValue.cpp | 2 +- lldb/source/Utility/RegularExpression.cpp | 2 +- lldb/source/Utility/ReproducerInstrumentation.cpp | 4 + lldb/source/Utility/Status.cpp | 4 +- lldb/source/Utility/StringList.cpp | 2 +- lldb/test/Shell/Register/x86-64-write.test | 2 +- lldb/tools/lldb-server/Acceptor.cpp | 2 +- lldb/tools/lldb-vscode/BreakpointBase.cpp | 6 +- lldb/tools/lldb-vscode/FunctionBreakpoint.cpp | 2 +- lldb/tools/lldb-vscode/lldb-vscode.cpp | 12 +- lldb/unittests/Host/FileSystemTest.cpp | 10 +- lldb/unittests/Interpreter/TestCompletion.cpp | 2 +- .../Language/CPlusPlus/CPlusPlusLanguageTest.cpp | 2 +- .../Process/gdb-remote/GDBRemoteClientBaseTest.cpp | 2 +- .../GDBRemoteCommunicationClientTest.cpp | 4 +- lldb/unittests/Symbol/PostfixExpressionTest.cpp | 17 +- lldb/unittests/Symbol/TestClangASTImporter.cpp | 27 + lldb/unittests/TestingSupport/TestUtilities.cpp | 2 +- lldb/unittests/TestingSupport/TestUtilities.h | 3 +- lldb/unittests/Utility/EventTest.cpp | 2 +- lldb/unittests/Utility/ScalarTest.cpp | 2 +- .../tools/lldb-server/tests/MessageObjects.cpp | 3 +- .../unittests/tools/lldb-server/tests/TestBase.cpp | 2 +- lldb/unittests/tools/lldb-server/tests/TestBase.h | 2 +- lldb/utils/TableGen/LLDBOptionDefEmitter.cpp | 8 +- llvm/cmake/modules/LLVMExternalProjectUtils.cmake | 6 +- llvm/docs/LangRef.rst | 71 + .../Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp | 4 +- .../Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp | 4 +- .../BuildingAJIT/Chapter3/KaleidoscopeJIT.h | 8 +- .../Kaleidoscope/BuildingAJIT/Chapter3/toy.cpp | 4 +- .../BuildingAJIT/Chapter4/KaleidoscopeJIT.h | 8 +- .../Kaleidoscope/BuildingAJIT/Chapter4/toy.cpp | 4 +- .../BuildingAJIT/Chapter5/KaleidoscopeJIT.h | 4 +- .../Kaleidoscope/BuildingAJIT/Chapter5/toy.cpp | 4 +- llvm/examples/Kaleidoscope/Chapter3/toy.cpp | 2 +- llvm/examples/Kaleidoscope/Chapter4/toy.cpp | 2 +- llvm/examples/Kaleidoscope/Chapter5/toy.cpp | 2 +- llvm/examples/Kaleidoscope/Chapter6/toy.cpp | 2 +- llvm/examples/Kaleidoscope/Chapter7/toy.cpp | 4 +- llvm/examples/Kaleidoscope/Chapter8/toy.cpp | 4 +- llvm/examples/Kaleidoscope/Chapter9/toy.cpp | 7 +- .../Kaleidoscope/include/KaleidoscopeJIT.h | 4 +- llvm/include/llvm/ADT/StringRef.h | 4 +- llvm/include/llvm/Analysis/AliasAnalysis.h | 50 +- .../include/llvm/Analysis/BlockFrequencyInfoImpl.h | 2 +- llvm/include/llvm/Analysis/InlineCost.h | 19 +- llvm/include/llvm/Analysis/RegionInfoImpl.h | 4 +- llvm/include/llvm/Analysis/TargetLibraryInfo.h | 2 +- llvm/include/llvm/CodeGen/CommandFlags.inc | 3 +- .../llvm/CodeGen/GlobalISel/LegalizerHelper.h | 2 +- llvm/include/llvm/CodeGen/MBFIWrapper.h | 46 + llvm/include/llvm/CodeGen/ReachingDefAnalysis.h | 42 + llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h | 10 +- .../ExecutionEngine/Orc/CompileOnDemandLayer.h | 15 +- .../llvm/ExecutionEngine/Orc/LazyEmittingLayer.h | 2 +- .../ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h | 2 +- llvm/include/llvm/IR/InstrTypes.h | 2 +- llvm/include/llvm/IR/IntrinsicsAArch64.td | 72 +- llvm/include/llvm/IR/Module.h | 8 +- llvm/include/llvm/IR/ModuleSummaryIndex.h | 8 +- llvm/include/llvm/IR/ModuleSummaryIndexYAML.h | 2 +- llvm/include/llvm/LTO/legacy/LTOCodeGenerator.h | 4 +- llvm/include/llvm/MC/MCAssembler.h | 2 +- llvm/include/llvm/MC/MCContext.h | 2 +- llvm/include/llvm/MC/MCDwarf.h | 8 +- llvm/include/llvm/MC/MCSymbolWasm.h | 12 +- llvm/include/llvm/MC/SubtargetFeature.h | 2 +- llvm/include/llvm/Object/MachO.h | 2 +- llvm/include/llvm/Object/TapiUniversal.h | 2 +- llvm/include/llvm/Object/Wasm.h | 2 + llvm/include/llvm/Option/Option.h | 2 +- llvm/include/llvm/ProfileData/InstrProf.h | 2 +- llvm/include/llvm/Support/Compiler.h | 4 +- llvm/include/llvm/Support/DebugCounter.h | 2 +- llvm/include/llvm/Support/GraphWriter.h | 2 +- llvm/include/llvm/Support/JSON.h | 4 +- llvm/include/llvm/Support/LowLevelTypeImpl.h | 6 + .../include/llvm/Support/SmallVectorMemoryBuffer.h | 2 +- llvm/include/llvm/Support/YAMLTraits.h | 2 +- llvm/include/llvm/TableGen/Record.h | 16 +- llvm/include/llvm/TableGen/StringToOffsetTable.h | 2 +- llvm/include/llvm/TextAPI/MachO/InterfaceFile.h | 6 +- llvm/include/llvm/Transforms/IPO/Attributor.h | 63 +- .../llvm/Transforms/IPO/PassManagerBuilder.h | 28 +- .../llvm/Transforms/Scalar/LoopUnrollAndJamPass.h | 4 - llvm/include/llvm/Transforms/Utils/CodeExtractor.h | 6 +- .../include/llvm/Transforms/Utils/CodeMoverUtils.h | 12 + llvm/lib/Analysis/AliasAnalysis.cpp | 3 +- llvm/lib/Analysis/BasicAliasAnalysis.cpp | 4 +- llvm/lib/Analysis/CallPrinter.cpp | 2 +- llvm/lib/Analysis/LazyCallGraph.cpp | 5 +- llvm/lib/Analysis/Loads.cpp | 24 +- llvm/lib/Analysis/VFABIDemangling.cpp | 2 +- llvm/lib/Analysis/VectorUtils.cpp | 2 +- llvm/lib/AsmParser/LLParser.cpp | 4 +- llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 2 +- llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 10 +- llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 4 +- llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | 17 +- llvm/lib/CodeGen/BranchFolding.cpp | 40 +- llvm/lib/CodeGen/BranchFolding.h | 25 +- llvm/lib/CodeGen/CMakeLists.txt | 1 + llvm/lib/CodeGen/FEntryInserter.cpp | 4 +- llvm/lib/CodeGen/GCMetadata.cpp | 2 +- llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp | 7 + llvm/lib/CodeGen/GlobalISel/InstructionSelect.cpp | 2 +- llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp | 35 +- llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp | 7 + llvm/lib/CodeGen/GlobalMerge.cpp | 4 +- llvm/lib/CodeGen/IfConversion.cpp | 2 +- llvm/lib/CodeGen/MBFIWrapper.cpp | 49 + llvm/lib/CodeGen/MIRParser/MIParser.cpp | 4 +- llvm/lib/CodeGen/MIRPrinter.cpp | 4 +- llvm/lib/CodeGen/MachineBlockPlacement.cpp | 4 +- .../CodeGen/MachineOptimizationRemarkEmitter.cpp | 2 +- llvm/lib/CodeGen/MachineOutliner.cpp | 2 +- llvm/lib/CodeGen/MachineScheduler.cpp | 4 +- llvm/lib/CodeGen/ReachingDefAnalysis.cpp | 138 + llvm/lib/CodeGen/ScheduleDAGPrinter.cpp | 2 +- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 49 +- .../CodeGen/SelectionDAG/SelectionDAGDumper.cpp | 2 +- .../CodeGen/SelectionDAG/SelectionDAGPrinter.cpp | 2 +- llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 4 +- llvm/lib/DWARFLinker/DWARFLinker.cpp | 4 +- llvm/lib/DebugInfo/CodeView/RecordName.cpp | 2 +- llvm/lib/DebugInfo/CodeView/TypeRecordMapping.cpp | 39 +- llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp | 5 +- llvm/lib/DebugInfo/DWARF/DWARFContext.cpp | 2 +- llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp | 51 +- llvm/lib/DebugInfo/GSYM/LookupResult.cpp | 4 +- .../PDB/Native/DbiModuleDescriptorBuilder.cpp | 6 +- .../DebugInfo/PDB/Native/NativeCompilandSymbol.cpp | 4 +- .../PDB/Native/NativeEnumInjectedSources.cpp | 6 +- llvm/lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp | 2 +- .../PDB/Native/NativeSymbolEnumerator.cpp | 4 +- llvm/lib/DebugInfo/PDB/Native/NativeTypeEnum.cpp | 2 +- .../lib/DebugInfo/PDB/Native/NativeTypeTypedef.cpp | 4 +- llvm/lib/DebugInfo/PDB/Native/NativeTypeUDT.cpp | 2 +- llvm/lib/DebugInfo/PDB/Native/PDBFile.cpp | 3 +- llvm/lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp | 2 +- llvm/lib/DebugInfo/Symbolize/DIPrinter.cpp | 2 +- llvm/lib/DebugInfo/Symbolize/Symbolize.cpp | 24 +- llvm/lib/ExecutionEngine/ExecutionEngine.cpp | 30 +- .../JITLink/MachOLinkGraphBuilder.cpp | 4 +- llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp | 4 +- .../ExecutionEngine/Orc/CompileOnDemandLayer.cpp | 2 +- llvm/lib/ExecutionEngine/Orc/Core.cpp | 4 +- .../Orc/JITTargetMachineBuilder.cpp | 2 +- llvm/lib/ExecutionEngine/Orc/OrcCBindingsStack.h | 4 +- llvm/lib/ExecutionEngine/Orc/OrcMCJITReplacement.h | 9 +- .../ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h | 2 +- llvm/lib/FuzzMutate/FuzzerCLI.cpp | 4 +- llvm/lib/IR/AsmWriter.cpp | 2 +- llvm/lib/IR/AttributeImpl.h | 3 +- llvm/lib/IR/Attributes.cpp | 4 +- llvm/lib/IR/AutoUpgrade.cpp | 10 +- llvm/lib/IR/ConstantsContext.h | 4 +- llvm/lib/IR/DataLayout.cpp | 2 +- llvm/lib/IR/DiagnosticInfo.cpp | 29 +- llvm/lib/IR/Globals.cpp | 2 +- llvm/lib/IR/InlineAsm.cpp | 10 +- llvm/lib/IR/LegacyPassManager.cpp | 5 +- llvm/lib/IR/Module.cpp | 3 +- llvm/lib/LTO/Caching.cpp | 2 +- llvm/lib/LTO/LTO.cpp | 14 +- llvm/lib/LTO/LTOCodeGenerator.cpp | 2 +- llvm/lib/LTO/ThinLTOCodeGenerator.cpp | 6 +- llvm/lib/LineEditor/LineEditor.cpp | 4 +- llvm/lib/MC/MCContext.cpp | 6 +- llvm/lib/MC/MCDwarf.cpp | 4 +- llvm/lib/MC/MCParser/AsmParser.cpp | 2 +- llvm/lib/MC/MCParser/DarwinAsmParser.cpp | 2 +- llvm/lib/MC/MCSubtargetInfo.cpp | 20 +- llvm/lib/MC/SubtargetFeature.cpp | 4 +- llvm/lib/MC/WinCOFFObjectWriter.cpp | 2 +- llvm/lib/MCA/InstrBuilder.cpp | 2 +- llvm/lib/Object/Archive.cpp | 4 +- llvm/lib/Object/ArchiveWriter.cpp | 2 +- llvm/lib/Object/COFFImportFile.cpp | 2 +- llvm/lib/Object/COFFModuleDefinition.cpp | 8 +- llvm/lib/Object/IRSymtab.cpp | 2 +- llvm/lib/Object/ModuleSymbolTable.cpp | 3 +- llvm/lib/Object/SymbolSize.cpp | 6 + llvm/lib/Object/WasmObjectFile.cpp | 30 +- llvm/lib/Object/WindowsResource.cpp | 4 +- llvm/lib/Option/Arg.cpp | 2 +- llvm/lib/Option/ArgList.cpp | 2 +- llvm/lib/Option/OptTable.cpp | 6 +- llvm/lib/Passes/StandardInstrumentations.cpp | 4 +- llvm/lib/ProfileData/Coverage/CoverageMapping.cpp | 3 +- llvm/lib/ProfileData/GCOV.cpp | 4 +- llvm/lib/ProfileData/InstrProf.cpp | 4 +- llvm/lib/ProfileData/SampleProfReader.cpp | 8 +- llvm/lib/Remarks/BitstreamRemarkParser.cpp | 2 +- llvm/lib/Remarks/RemarkLinker.cpp | 2 +- llvm/lib/Remarks/YAMLRemarkParser.h | 2 +- llvm/lib/Support/APInt.cpp | 2 +- llvm/lib/Support/CommandLine.cpp | 6 +- llvm/lib/Support/CrashRecoveryContext.cpp | 7 + llvm/lib/Support/Debug.cpp | 2 +- llvm/lib/Support/DebugCounter.cpp | 6 +- llvm/lib/Support/FileCheck.cpp | 4 +- llvm/lib/Support/FileCollector.cpp | 2 +- llvm/lib/Support/GraphWriter.cpp | 4 +- llvm/lib/Support/LockFileManager.cpp | 8 +- llvm/lib/Support/Path.cpp | 7 +- llvm/lib/Support/Process.cpp | 2 +- llvm/lib/Support/Regex.cpp | 2 +- llvm/lib/Support/Signals.cpp | 2 +- llvm/lib/Support/SourceMgr.cpp | 14 +- llvm/lib/Support/SpecialCaseList.cpp | 4 +- llvm/lib/Support/TarWriter.cpp | 3 +- llvm/lib/Support/TimeProfiler.cpp | 9 +- llvm/lib/Support/Timer.cpp | 3 +- llvm/lib/Support/ToolOutputFile.cpp | 2 +- llvm/lib/Support/Unix/Host.inc | 2 +- llvm/lib/Support/Unix/Program.inc | 11 +- llvm/lib/Support/VirtualFileSystem.cpp | 21 +- llvm/lib/Support/Windows/Program.inc | 2 +- llvm/lib/Support/Windows/Signals.inc | 2 +- llvm/lib/Support/YAMLParser.cpp | 6 +- llvm/lib/TableGen/Record.cpp | 15 +- llvm/lib/TableGen/SetTheory.cpp | 2 +- llvm/lib/TableGen/TGParser.cpp | 2 +- llvm/lib/TableGen/TGParser.h | 2 +- .../Target/AArch64/AArch64ExpandPseudoInsts.cpp | 5 +- llvm/lib/Target/AArch64/AArch64InstrFormats.td | 61 + llvm/lib/Target/AArch64/AArch64InstrInfo.td | 5 + .../Target/AArch64/AArch64InstructionSelector.cpp | 89 +- .../lib/Target/AArch64/AArch64RegisterBankInfo.cpp | 1 + llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp | 1 + llvm/lib/Target/AArch64/AArch64RegisterInfo.td | 7 + llvm/lib/Target/AArch64/AArch64SIMDInstrOpt.cpp | 5 +- llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td | 120 +- llvm/lib/Target/AArch64/AArch64TargetMachine.cpp | 8 +- .../Target/AArch64/AsmParser/AArch64AsmParser.cpp | 6 +- llvm/lib/Target/AArch64/SVEInstrFormats.td | 64 +- .../Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp | 11 +- llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp | 62 + llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp | 3 - llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h | 3 - llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td | 12 - .../Target/AMDGPU/AMDGPUInstructionSelector.cpp | 69 +- llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h | 3 +- llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp | 6 + llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp | 2 +- llvm/lib/Target/AMDGPU/AMDGPULibFunc.cpp | 4 +- llvm/lib/Target/AMDGPU/AMDGPULibFunc.h | 4 +- .../Target/AMDGPU/AMDGPUPropagateAttributes.cpp | 2 +- .../AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp | 79 +- .../Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp | 2 +- .../AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp | 2 +- llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 44 +- llvm/lib/Target/AMDGPU/SIISelLowering.h | 4 + llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | 100 +- llvm/lib/Target/AMDGPU/SIInstrInfo.h | 2 +- llvm/lib/Target/AMDGPU/SIMachineScheduler.cpp | 2 +- llvm/lib/Target/AMDGPU/SOPInstructions.td | 10 +- llvm/lib/Target/AMDGPU/VOP3Instructions.td | 10 +- llvm/lib/Target/ARC/ARCTargetMachine.cpp | 2 +- llvm/lib/Target/ARM/ARMAsmPrinter.cpp | 5 +- llvm/lib/Target/ARM/ARMConstantPoolValue.cpp | 2 +- llvm/lib/Target/ARM/ARMISelLowering.cpp | 2 +- llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp | 108 +- llvm/lib/Target/ARM/ARMSubtarget.cpp | 2 +- .../lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp | 28 +- .../Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp | 7 +- llvm/lib/Target/AVR/AVRTargetMachine.cpp | 2 +- llvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp | 4 +- llvm/lib/Target/BPF/BPFTargetMachine.cpp | 2 +- llvm/lib/Target/BPF/BTFDebug.cpp | 20 +- .../Target/Hexagon/AsmParser/HexagonAsmParser.cpp | 4 +- llvm/lib/Target/Hexagon/HexagonSubtarget.cpp | 5 +- .../Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp | 2 +- llvm/lib/Target/Lanai/LanaiSubtarget.cpp | 2 +- .../Lanai/MCTargetDesc/LanaiMCTargetDesc.cpp | 2 +- llvm/lib/Target/MSP430/MSP430Subtarget.cpp | 2 +- llvm/lib/Target/MSP430/MSP430TargetMachine.cpp | 2 +- llvm/lib/Target/Mips/Mips16HardFloat.cpp | 4 +- llvm/lib/Target/Mips/MipsRegisterBankInfo.cpp | 2 +- llvm/lib/Target/Mips/MipsSubtarget.cpp | 2 +- llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp | 4 +- llvm/lib/Target/NVPTX/NVPTXGenericToNVVM.cpp | 2 +- llvm/lib/Target/NVPTX/NVPTXReplaceImageHandles.cpp | 2 +- llvm/lib/Target/NVPTX/NVPTXSubtarget.cpp | 10 +- llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp | 2 +- llvm/lib/Target/NVPTX/NVPTXUtilities.cpp | 6 +- llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp | 4 +- llvm/lib/Target/PowerPC/PPCSubtarget.cpp | 2 +- llvm/lib/Target/PowerPC/PPCTargetMachine.cpp | 2 +- .../RISCV/MCTargetDesc/RISCVMCTargetDesc.cpp | 2 +- llvm/lib/Target/RISCV/RISCVSubtarget.cpp | 2 +- llvm/lib/Target/Sparc/SparcSubtarget.cpp | 2 +- llvm/lib/Target/Sparc/SparcTargetMachine.cpp | 3 +- llvm/lib/Target/SystemZ/SystemZSubtarget.cpp | 2 +- llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp | 2 +- llvm/lib/Target/TargetMachine.cpp | 8 +- llvm/lib/Target/TargetMachineC.cpp | 4 +- llvm/lib/Target/VE/VEISelDAGToDAG.cpp | 24 + llvm/lib/Target/VE/VEISelLowering.cpp | 28 +- llvm/lib/Target/VE/VEISelLowering.h | 4 + llvm/lib/Target/VE/VEInstrInfo.cpp | 237 + llvm/lib/Target/VE/VEInstrInfo.h | 19 + llvm/lib/Target/VE/VEInstrInfo.td | 228 + llvm/lib/Target/VE/VESubtarget.cpp | 2 +- llvm/lib/Target/VE/VETargetMachine.cpp | 3 +- .../WebAssembly/AsmParser/WebAssemblyAsmParser.cpp | 3 + .../WebAssemblyAddMissingPrototypes.cpp | 2 +- .../WebAssembly/WebAssemblyExplicitLocals.cpp | 7 +- .../WebAssembly/WebAssemblyFrameLowering.cpp | 2 +- .../WebAssemblyLowerEmscriptenEHSjLj.cpp | 4 +- .../WebAssembly/WebAssemblyMachineFunctionInfo.h | 1 + .../Target/WebAssembly/WebAssemblyRegColoring.cpp | 3 + .../Target/WebAssembly/WebAssemblyRegStackify.cpp | 6 + .../WebAssembly/WebAssemblyTargetMachine.cpp | 4 +- .../Target/X86/MCTargetDesc/X86MCTargetDesc.cpp | 2 +- llvm/lib/Target/X86/X86ISelDAGToDAG.cpp | 22 +- llvm/lib/Target/X86/X86ISelLowering.cpp | 63 +- llvm/lib/Target/X86/X86Subtarget.cpp | 4 +- llvm/lib/Target/XCore/XCoreTargetMachine.cpp | 2 +- llvm/lib/TextAPI/MachO/ArchitectureSet.cpp | 2 +- llvm/lib/TextAPI/MachO/InterfaceFile.cpp | 8 +- llvm/lib/TextAPI/MachO/TextStub.cpp | 4 +- llvm/lib/TextAPI/MachO/TextStubCommon.cpp | 2 +- .../lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp | 2 +- llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp | 2 +- llvm/lib/Transforms/IPO/ArgumentPromotion.cpp | 2 +- llvm/lib/Transforms/IPO/Attributor.cpp | 248 +- llvm/lib/Transforms/IPO/BlockExtractor.cpp | 3 +- llvm/lib/Transforms/IPO/FunctionImport.cpp | 7 +- llvm/lib/Transforms/IPO/LowerTypeTests.cpp | 11 +- llvm/lib/Transforms/IPO/PassManagerBuilder.cpp | 41 +- llvm/lib/Transforms/IPO/SampleProfile.cpp | 2 +- llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp | 8 +- .../Transforms/InstCombine/InstCombineCompares.cpp | 46 +- .../Instrumentation/AddressSanitizer.cpp | 2 +- .../Instrumentation/DataFlowSanitizer.cpp | 2 +- .../Transforms/Instrumentation/GCOVProfiling.cpp | 13 +- .../Transforms/Instrumentation/InstrProfiling.cpp | 4 +- .../Transforms/Instrumentation/Instrumentation.cpp | 2 +- .../Instrumentation/PGOInstrumentation.cpp | 6 +- llvm/lib/Transforms/Scalar/LoopDeletion.cpp | 2 +- llvm/lib/Transforms/Scalar/LoopFuse.cpp | 26 +- .../lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp | 1 - llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp | 4 +- .../Transforms/Scalar/LowerMatrixIntrinsics.cpp | 4 +- llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp | 2 +- llvm/lib/Transforms/Utils/CodeExtractor.cpp | 49 +- llvm/lib/Transforms/Utils/CodeMoverUtils.cpp | 29 +- llvm/lib/Transforms/Utils/InjectTLIMappings.cpp | 7 +- llvm/lib/Transforms/Utils/InlineFunction.cpp | 5 +- llvm/lib/Transforms/Utils/LoopUnrollAndJam.cpp | 40 +- llvm/lib/Transforms/Utils/NameAnonGlobals.cpp | 2 +- llvm/lib/Transforms/Utils/SSAUpdater.cpp | 2 +- llvm/lib/Transforms/Utils/SymbolRewriter.cpp | 30 +- llvm/lib/XRay/FDRTraceExpander.cpp | 6 +- llvm/runtimes/CMakeLists.txt | 14 +- llvm/test/Assembler/fast-math-flags.ll | 27 + .../CodeGen/AArch64/GlobalISel/arm64-fallback.ll | 2 +- .../CodeGen/AArch64/GlobalISel/fold-fp-select.mir | 37 +- .../AArch64/GlobalISel/opt-and-tbnz-tbz.mir | 257 + llvm/test/CodeGen/AArch64/arm64-builtins-linux.ll | 3 - llvm/test/CodeGen/AArch64/arm64-elf-globals.ll | 8 +- llvm/test/CodeGen/AArch64/arm64-neon-2velem.ll | 264 + .../CodeGen/AArch64/global-merge-hidden-minsize.ll | 26 + .../test/CodeGen/AArch64/stack-protector-target.ll | 2 +- .../sve2-intrinsics-non-widening-pairwise-arith.ll | 245 + .../CodeGen/AArch64/sve2-intrinsics-uniform-dsp.ll | 869 +++ .../sve2-intrinsics-widening-pairwise-arith.ll | 77 + llvm/test/CodeGen/AArch64/sve2-mla-indexed.ll | 458 ++ .../CodeGen/AMDGPU/GlobalISel/extractelement.ll | 8 +- .../CodeGen/AMDGPU/GlobalISel/insertelement.ll | 4 +- .../CodeGen/AMDGPU/GlobalISel/inst-select-add.mir | 24 +- .../AMDGPU/GlobalISel/inst-select-ctpop.mir | 4 +- .../GlobalISel/inst-select-extract-vector-elt.mir | 40 +- .../CodeGen/AMDGPU/GlobalISel/inst-select-fadd.mir | 33 - .../AMDGPU/GlobalISel/inst-select-fadd.s16.mir | 193 + .../AMDGPU/GlobalISel/inst-select-fadd.s32.mir | 204 + .../AMDGPU/GlobalISel/inst-select-fadd.s64.mir | 178 + .../AMDGPU/GlobalISel/inst-select-fma.s32.mir | 12 +- .../AMDGPU/GlobalISel/inst-select-fmad.s32.mir | 8 +- .../CodeGen/AMDGPU/GlobalISel/inst-select-fneg.mir | 21 +- .../GlobalISel/inst-select-insert-vector-elt.mir | 16 +- .../AMDGPU/GlobalISel/inst-select-pattern-add3.mir | 18 +- .../AMDGPU/GlobalISel/inst-select-smulh.mir | 69 +- .../CodeGen/AMDGPU/GlobalISel/inst-select-sub.mir | 18 +- .../AMDGPU/GlobalISel/inst-select-umulh.mir | 69 +- llvm/test/CodeGen/AMDGPU/GlobalISel/lds-relocs.ll | 28 + .../AMDGPU/GlobalISel/lds-zero-initializer.ll | 2 - .../CodeGen/AMDGPU/GlobalISel/legalize-insert.mir | 12 +- .../AMDGPU/GlobalISel/llvm.amdgcn.atomic.dec.ll | 4 +- .../AMDGPU/GlobalISel/llvm.amdgcn.atomic.inc.ll | 4 +- .../GlobalISel/llvm.amdgcn.raw.buffer.load.ll | 16 +- .../test/CodeGen/AMDGPU/GlobalISel/mubuf-global.ll | 64 +- .../CodeGen/AMDGPU/GlobalISel/write_register.ll | 2 + llvm/test/CodeGen/AMDGPU/cluster_stores.ll | 85 + llvm/test/CodeGen/AMDGPU/global-saddr.ll | 6 +- llvm/test/CodeGen/AMDGPU/kill-infinite-loop.ll | 68 + llvm/test/CodeGen/AMDGPU/lds-relocs.ll | 4 +- .../CodeGen/AMDGPU/si-triv-disjoint-mem-access.ll | 4 +- .../LowOverheadLoops/unrolled-and-vector.mir | 533 ++ llvm/test/CodeGen/VE/bitcast.ll | 43 + llvm/test/CodeGen/VE/branch1.ll | 290 + llvm/test/CodeGen/VE/cast.ll | 356 ++ llvm/test/CodeGen/VE/div.ll | 175 + llvm/test/CodeGen/VE/fp_add.ll | 63 + llvm/test/CodeGen/VE/fp_div.ll | 63 + llvm/test/CodeGen/VE/fp_mul.ll | 63 + llvm/test/CodeGen/VE/fp_sub.ll | 63 + llvm/test/CodeGen/VE/fp_to_int.ll | 200 + llvm/test/CodeGen/VE/int_to_fp.ll | 203 + llvm/test/CodeGen/VE/multiply.ll | 175 + llvm/test/CodeGen/VE/rem.ll | 207 + llvm/test/CodeGen/WebAssembly/debugtest-opt.ll | 72 + llvm/test/CodeGen/X86/extractelement-fp.ll | 41 +- llvm/test/CodeGen/X86/flt-rounds.ll | 36 + llvm/test/CodeGen/X86/fold-add-pcrel.ll | 41 + llvm/test/CodeGen/X86/vec-libcalls.ll | 14 +- llvm/test/CodeGen/X86/vec_round.ll | 30 - llvm/test/DebugInfo/AArch64/pr40709.ll | 51 + .../InstrProfiling/runtime-counter-relocation.ll | 2 +- llvm/test/MC/Disassembler/ARM/mve-lol.txt | 50 + .../Attributor/ArgumentPromotion/variadic.ll | 2 +- .../Attributor/IPConstantProp/pthreads.ll | 8 +- llvm/test/Transforms/Attributor/align.ll | 24 +- .../Transforms/Attributor/dereferenceable-1.ll | 2 +- .../test/Transforms/Attributor/internal-noalias.ll | 35 +- llvm/test/Transforms/Attributor/misc.ll | 8 +- llvm/test/Transforms/Attributor/noalias.ll | 24 +- llvm/test/Transforms/Attributor/nonnull.ll | 6 +- llvm/test/Transforms/Attributor/range.ll | 79 +- llvm/test/Transforms/Attributor/value-simplify.ll | 4 +- .../Transforms/CodeExtractor/extract-assume.ll | 4 +- .../HotColdSplit/assumption-cache-invalidation.ll | 2 +- .../HotColdSplit/stale-assume-in-original-func.ll | 38 + llvm/test/Transforms/InstCombine/demorgan.ll | 100 +- .../Transforms/InstCombine/gep-inbounds-null.ll | 4 +- llvm/test/Transforms/InstCombine/getelementptr.ll | 8 +- llvm/test/Transforms/InstCombine/icmp-vec.ll | 84 + llvm/test/Transforms/InstCombine/minmax-fold.ll | 186 +- llvm/test/Transforms/InstCombine/pr25342.ll | 68 +- .../Transforms/LoopFusion/diagnostics_missed.ll | 36 +- llvm/test/Transforms/LoopFusion/guarded.ll | 56 + llvm/test/Transforms/LoopFusion/simple.ll | 85 + .../X86/Inputs/debug_line_malformed.s | 113 +- .../llvm-dwarfdump/X86/debug_line_invalid.test | 63 +- llvm/test/tools/llvm-dwarfdump/X86/statistics.ll | 28 +- .../X86/stats-mulitple-cu-out-of-line.ll | 92 + .../X86/stats-multiple-cu-members.ll | 61 + llvm/test/tools/llvm-symbolizer/Inputs/discrim.c | 4 + llvm/test/tools/llvm-symbolizer/wasm-basic.s | 23 + llvm/test/tools/obj2yaml/relr-section.yaml | 102 + llvm/test/tools/yaml2obj/ELF/relr-section.yaml | 207 + llvm/tools/bugpoint/CrashDebugger.cpp | 11 +- llvm/tools/bugpoint/ExecutionDriver.cpp | 4 +- llvm/tools/bugpoint/Miscompilation.cpp | 30 +- llvm/tools/bugpoint/OptimizerDriver.cpp | 2 +- llvm/tools/bugpoint/ToolRunner.cpp | 4 +- llvm/tools/bugpoint/ToolRunner.h | 2 +- llvm/tools/bugpoint/bugpoint.cpp | 4 +- llvm/tools/dsymutil/BinaryHolder.cpp | 4 +- llvm/tools/dsymutil/DebugMap.cpp | 5 +- llvm/tools/dsymutil/DebugMap.h | 6 +- llvm/tools/dsymutil/MachODebugMapParser.cpp | 11 +- llvm/tools/dsymutil/MachOUtils.cpp | 2 +- llvm/tools/dsymutil/MachOUtils.h | 2 +- llvm/tools/dsymutil/SymbolMap.cpp | 2 +- llvm/tools/dsymutil/dsymutil.cpp | 15 +- llvm/tools/gold/gold-plugin.cpp | 53 +- llvm/tools/llc/llc.cpp | 8 +- llvm/tools/lli/lli.cpp | 2 +- llvm/tools/llvm-ar/llvm-ar.cpp | 6 +- llvm/tools/llvm-cfi-verify/lib/FileAnalysis.cpp | 11 +- llvm/tools/llvm-config/llvm-config.cpp | 7 +- llvm/tools/llvm-cov/CodeCoverage.cpp | 13 +- llvm/tools/llvm-cov/CoverageSummaryInfo.cpp | 2 +- llvm/tools/llvm-cov/SourceCoverageView.cpp | 4 +- llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp | 8 +- llvm/tools/llvm-cxxfilt/llvm-cxxfilt.cpp | 4 +- llvm/tools/llvm-dwarfdump/Statistics.cpp | 89 +- llvm/tools/llvm-elfabi/ELFObjHandler.cpp | 6 +- llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp | 4 +- .../llvm-exegesis/lib/SerialSnippetGenerator.cpp | 6 +- llvm/tools/llvm-exegesis/lib/SnippetGenerator.cpp | 3 +- llvm/tools/llvm-ifs/llvm-ifs.cpp | 2 +- llvm/tools/llvm-link/llvm-link.cpp | 2 +- llvm/tools/llvm-lipo/llvm-lipo.cpp | 7 +- llvm/tools/llvm-lto/llvm-lto.cpp | 4 +- llvm/tools/llvm-lto2/llvm-lto2.cpp | 15 +- llvm/tools/llvm-mc/llvm-mc.cpp | 2 +- llvm/tools/llvm-mca/llvm-mca.cpp | 2 +- llvm/tools/llvm-ml/llvm-ml.cpp | 2 +- llvm/tools/llvm-nm/llvm-nm.cpp | 6 +- llvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp | 4 +- llvm/tools/llvm-objcopy/ELF/Object.cpp | 2 +- llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp | 2 +- llvm/tools/llvm-objcopy/MachO/Object.h | 4 +- llvm/tools/llvm-objdump/ELFDump.cpp | 2 +- llvm/tools/llvm-objdump/MachODump.cpp | 2 +- llvm/tools/llvm-objdump/llvm-objdump.cpp | 6 +- llvm/tools/llvm-opt-report/OptReport.cpp | 9 +- llvm/tools/llvm-pdbutil/DumpOutputStyle.cpp | 4 +- llvm/tools/llvm-pdbutil/FormatUtil.cpp | 12 +- llvm/tools/llvm-pdbutil/MinimalSymbolDumper.cpp | 4 +- llvm/tools/llvm-pdbutil/MinimalTypeDumper.cpp | 5 +- llvm/tools/llvm-pdbutil/StreamUtil.cpp | 6 +- llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp | 2 +- llvm/tools/llvm-profdata/llvm-profdata.cpp | 21 +- llvm/tools/llvm-rc/llvm-rc.cpp | 2 +- llvm/tools/llvm-readobj/COFFDumper.cpp | 2 +- llvm/tools/llvm-readobj/ELFDumper.cpp | 30 +- llvm/tools/llvm-readobj/ObjDumper.cpp | 4 +- llvm/tools/llvm-readobj/llvm-readobj.cpp | 5 +- llvm/tools/llvm-reduce/deltas/Delta.cpp | 2 +- llvm/tools/llvm-reduce/deltas/ReduceArguments.cpp | 2 +- llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp | 6 +- llvm/tools/llvm-undname/llvm-undname.cpp | 6 +- llvm/tools/llvm-xray/xray-color-helper.cpp | 4 +- llvm/tools/llvm-xray/xray-graph-diff.cpp | 12 +- llvm/tools/llvm-xray/xray-stacks.cpp | 9 +- llvm/tools/obj2yaml/elf2yaml.cpp | 4 +- llvm/tools/opt/PassPrinters.cpp | 10 +- llvm/tools/sancov/sancov.cpp | 8 +- llvm/unittests/ADT/TripleTest.cpp | 4 +- llvm/unittests/Analysis/LazyCallGraphTest.cpp | 22 +- llvm/unittests/CodeGen/LowLevelTypeTest.cpp | 23 + .../DebugInfo/DWARF/DWARFDebugLineTest.cpp | 56 +- llvm/unittests/DebugInfo/GSYM/GSYMTest.cpp | 10 +- .../ExecutionEngine/Orc/LegacyAPIInteropTest.cpp | 2 +- .../Orc/LegacyRTDyldObjectLinkingLayerTest.cpp | 2 +- .../ExecutionEngine/Orc/RemoteObjectLayerTest.cpp | 6 +- llvm/unittests/IR/PassBuilderCallbacksTest.cpp | 6 +- llvm/unittests/Passes/PluginsTest.cpp | 2 +- llvm/unittests/ProfileData/SampleProfTest.cpp | 3 +- .../Support/DynamicLibrary/DynamicLibraryTest.cpp | 2 +- llvm/unittests/Support/FileCheckTest.cpp | 17 +- llvm/unittests/Support/FileCollectorTest.cpp | 12 +- llvm/unittests/Support/FileUtilitiesTest.cpp | 2 +- llvm/unittests/Support/FormatVariadicTest.cpp | 4 +- llvm/unittests/Support/JSONTest.cpp | 2 +- llvm/unittests/Support/Path.cpp | 16 +- llvm/unittests/Support/SpecialCaseListTest.cpp | 2 +- llvm/unittests/Support/VirtualFileSystemTest.cpp | 45 +- llvm/unittests/Support/raw_ostream_test.cpp | 2 +- llvm/unittests/Target/AArch64/InstSizes.cpp | 5 +- llvm/unittests/Target/ARM/MachineInstrTest.cpp | 10 +- llvm/unittests/TextAPI/TextStubV1Tests.cpp | 6 +- llvm/unittests/TextAPI/TextStubV2Tests.cpp | 6 +- llvm/unittests/TextAPI/TextStubV3Tests.cpp | 6 +- llvm/unittests/TextAPI/TextStubV4Tests.cpp | 4 +- .../Transforms/Utils/CodeExtractorTest.cpp | 2 +- .../tools/llvm-exegesis/PerfHelperTest.cpp | 4 +- llvm/utils/TableGen/AsmMatcherEmitter.cpp | 39 +- llvm/utils/TableGen/AsmWriterEmitter.cpp | 35 +- llvm/utils/TableGen/CodeEmitterGen.cpp | 4 +- llvm/utils/TableGen/CodeGenDAGPatterns.cpp | 18 +- llvm/utils/TableGen/CodeGenDAGPatterns.h | 7 +- llvm/utils/TableGen/CodeGenHwModes.cpp | 2 +- llvm/utils/TableGen/CodeGenInstruction.cpp | 57 +- llvm/utils/TableGen/CodeGenMapTable.cpp | 2 +- llvm/utils/TableGen/CodeGenRegisters.cpp | 29 +- llvm/utils/TableGen/CodeGenSchedule.cpp | 6 +- llvm/utils/TableGen/CodeGenSchedule.h | 2 +- llvm/utils/TableGen/CodeGenTarget.cpp | 17 +- llvm/utils/TableGen/DAGISelMatcherEmitter.cpp | 3 +- llvm/utils/TableGen/DAGISelMatcherGen.cpp | 2 +- llvm/utils/TableGen/DFAEmitter.cpp | 4 +- llvm/utils/TableGen/DFAPacketizerEmitter.cpp | 12 +- llvm/utils/TableGen/DisassemblerEmitter.cpp | 8 +- llvm/utils/TableGen/ExegesisEmitter.cpp | 2 +- llvm/utils/TableGen/FastISelEmitter.cpp | 28 +- llvm/utils/TableGen/FixedLenDecoderEmitter.cpp | 37 +- llvm/utils/TableGen/GICombinerEmitter.cpp | 3 +- llvm/utils/TableGen/GlobalISelEmitter.cpp | 14 +- llvm/utils/TableGen/InstrDocsEmitter.cpp | 2 +- llvm/utils/TableGen/InstrInfoEmitter.cpp | 6 +- llvm/utils/TableGen/OptParserEmitter.cpp | 7 +- llvm/utils/TableGen/RISCVCompressInstEmitter.cpp | 2 +- llvm/utils/TableGen/RegisterInfoEmitter.cpp | 10 +- llvm/utils/TableGen/SearchableTableEmitter.cpp | 25 +- llvm/utils/TableGen/SubtargetEmitter.cpp | 9 +- llvm/utils/TableGen/SubtargetFeatureInfo.cpp | 2 +- llvm/utils/TableGen/X86RecognizableInstr.cpp | 10 +- .../clang/lib/StaticAnalyzer/Checkers/BUILD.gn | 2 + .../compiler-rt/lib/sanitizer_common/BUILD.gn | 1 + llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn | 1 + .../gn/secondary/llvm/tools/llvm-objcopy/BUILD.gn | 7 +- mlir/docs/Dialects/Linalg.md | 1037 +++- mlir/examples/toy/Ch1/include/toy/Parser.h | 8 +- mlir/examples/toy/Ch1/toyc.cpp | 2 +- mlir/examples/toy/Ch2/include/toy/Parser.h | 8 +- mlir/examples/toy/Ch2/toyc.cpp | 2 +- mlir/examples/toy/Ch3/include/toy/Parser.h | 8 +- mlir/examples/toy/Ch3/toyc.cpp | 2 +- mlir/examples/toy/Ch4/include/toy/Parser.h | 8 +- mlir/examples/toy/Ch4/toyc.cpp | 2 +- mlir/examples/toy/Ch5/include/toy/Parser.h | 8 +- mlir/examples/toy/Ch5/toyc.cpp | 2 +- mlir/examples/toy/Ch6/include/toy/Parser.h | 8 +- mlir/examples/toy/Ch6/toyc.cpp | 2 +- mlir/examples/toy/Ch7/include/toy/Parser.h | 23 +- mlir/examples/toy/Ch7/toyc.cpp | 2 +- mlir/include/mlir/Dialect/CMakeLists.txt | 1 + mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td | 6 + .../mlir/Dialect/Linalg/IR/LinalgStructuredOps.td | 19 + mlir/include/mlir/Dialect/OpenMP/CMakeLists.txt | 1 + mlir/include/mlir/Dialect/OpenMP/OpenMPDialect.h | 35 + mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td | 37 + mlir/include/mlir/IR/UseDefLists.h | 1 + mlir/include/mlir/Quantizer/Support/Metadata.h | 2 +- .../GPUToCUDA/ConvertLaunchFuncToCudaCalls.cpp | 2 +- .../Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp | 4 +- mlir/lib/Dialect/CMakeLists.txt | 1 + mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | 135 + .../Dialect/Linalg/Transforms/LinalgTransforms.cpp | 51 +- mlir/lib/Dialect/OpenMP/CMakeLists.txt | 8 + mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp | 34 + mlir/lib/Dialect/SDBM/SDBM.cpp | 6 +- mlir/lib/Dialect/Traits.cpp | 3 +- mlir/lib/ExecutionEngine/ExecutionEngine.cpp | 2 +- mlir/lib/IR/Diagnostics.cpp | 3 +- mlir/lib/IR/Value.cpp | 20 +- mlir/lib/Parser/Parser.cpp | 2 +- mlir/lib/Pass/Pass.cpp | 2 +- mlir/lib/Pass/PassTiming.cpp | 2 +- .../Transforms/InferQuantizedTypesPass.cpp | 10 +- mlir/lib/TableGen/Constraint.cpp | 3 +- mlir/lib/TableGen/OpClass.cpp | 2 +- mlir/lib/TableGen/Operator.cpp | 8 +- mlir/lib/TableGen/Pattern.cpp | 44 +- mlir/lib/TableGen/Predicate.cpp | 13 +- mlir/lib/Transforms/ViewOpGraph.cpp | 2 +- mlir/test/Dialect/Linalg/canonicalize.mlir | 20 + mlir/test/Dialect/Linalg/transform-patterns.mlir | 7 + mlir/test/Dialect/OpenMP/ops.mlir | 7 + .../TestLinalgTransformPatterns.td | 7 + mlir/tools/mlir-opt/CMakeLists.txt | 1 + mlir/tools/mlir-tblgen/EnumsGen.cpp | 18 +- mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp | 32 +- mlir/tools/mlir-tblgen/OpInterfacesGen.cpp | 2 +- mlir/tools/mlir-tblgen/RewriterGen.cpp | 45 +- mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp | 14 +- mlir/tools/mlir-tblgen/StructsGen.cpp | 2 +- .../Dialect/SPIRV/DeserializationTest.cpp | 2 +- mlir/unittests/TableGen/FormatTest.cpp | 43 +- polly/lib/Analysis/ScopBuilder.cpp | 7 +- polly/lib/Analysis/ScopDetection.cpp | 7 +- polly/lib/Analysis/ScopDetectionDiagnostic.cpp | 6 +- polly/lib/Analysis/ScopInfo.cpp | 4 +- polly/lib/CodeGen/BlockGenerators.cpp | 2 +- polly/lib/CodeGen/LoopGenerators.cpp | 2 +- polly/lib/Exchange/JSONExporter.cpp | 21 +- polly/lib/Support/ScopLocation.cpp | 2 +- .../lib/Transform/RewriteByReferenceParameters.cpp | 2 +- polly/test/ScopInfo/memset_null.ll | 2 - 1295 files changed, 20253 insertions(+), 9849 deletions(-) copy clang/lib/StaticAnalyzer/Checkers/{IteratorModeling.cpp => ContainerModeling. [...] create mode 100644 clang/lib/StaticAnalyzer/Checkers/DebugContainerModeling.cpp create mode 100644 clang/test/Analysis/container-modeling.cpp create mode 100644 clang/test/Analysis/debug-container-modeling.cpp delete mode 100644 clang/test/CodeGenCXX/inalloca-overaligned.cpp delete mode 100644 clang/test/CodeGenCXX/inalloca-vector.cpp copy clang/test/Driver/Inputs/{CUDA-macosx => CUDA-unknown}/usr/local/cuda/bin/.ke [...] copy clang/test/Driver/Inputs/{CUDA-macosx/usr/local/cuda/bin => CUDA-unknown/usr/ [...] copy clang/test/Driver/Inputs/{CUDA-macosx/usr/local/cuda/bin => CUDA-unknown/usr/ [...] copy clang/test/Driver/Inputs/{CUDA-macosx/usr/local/cuda/bin => CUDA-unknown/usr/ [...] copy clang/test/Driver/Inputs/{CUDA_90 => CUDA-unknown}/usr/local/cuda/nvvm/libdev [...] create mode 100644 clang/test/Driver/Inputs/CUDA-unknown/usr/local/cuda/version.txt create mode 100644 compiler-rt/lib/lsan/lsan_common_fuchsia.cpp create mode 100644 compiler-rt/lib/lsan/lsan_fuchsia.cpp create mode 100644 compiler-rt/lib/lsan/lsan_fuchsia.h create mode 100644 compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_fuchsia.cpp create mode 100644 lld/test/ELF/ppc32-relocatable-got2.s copy lldb/packages/Python/lldbsuite/test/{api/check_public_api_headers => lang/cpp [...] create mode 100644 lldb/packages/Python/lldbsuite/test/lang/cpp/covariant-return-t [...] create mode 100644 lldb/packages/Python/lldbsuite/test/lang/cpp/covariant-return-t [...] create mode 100644 llvm/include/llvm/CodeGen/MBFIWrapper.h create mode 100644 llvm/lib/CodeGen/MBFIWrapper.cpp create mode 100644 llvm/test/CodeGen/AArch64/GlobalISel/opt-and-tbnz-tbz.mir create mode 100644 llvm/test/CodeGen/AArch64/global-merge-hidden-minsize.ll create mode 100644 llvm/test/CodeGen/AArch64/sve2-intrinsics-uniform-dsp.ll create mode 100644 llvm/test/CodeGen/AArch64/sve2-intrinsics-widening-pairwise-arith.ll create mode 100644 llvm/test/CodeGen/AArch64/sve2-mla-indexed.ll delete mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fadd.mir create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fadd.s16.mir create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fadd.s32.mir create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fadd.s64.mir create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/lds-relocs.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/write_register.ll create mode 100644 llvm/test/CodeGen/AMDGPU/cluster_stores.ll create mode 100644 llvm/test/CodeGen/AMDGPU/kill-infinite-loop.ll create mode 100644 llvm/test/CodeGen/Thumb2/LowOverheadLoops/unrolled-and-vector.mir create mode 100644 llvm/test/CodeGen/VE/bitcast.ll create mode 100644 llvm/test/CodeGen/VE/branch1.ll create mode 100644 llvm/test/CodeGen/VE/div.ll create mode 100644 llvm/test/CodeGen/VE/fp_add.ll create mode 100644 llvm/test/CodeGen/VE/fp_div.ll create mode 100644 llvm/test/CodeGen/VE/fp_mul.ll create mode 100644 llvm/test/CodeGen/VE/fp_sub.ll create mode 100644 llvm/test/CodeGen/VE/fp_to_int.ll create mode 100644 llvm/test/CodeGen/VE/int_to_fp.ll create mode 100644 llvm/test/CodeGen/VE/multiply.ll create mode 100644 llvm/test/CodeGen/VE/rem.ll create mode 100644 llvm/test/CodeGen/WebAssembly/debugtest-opt.ll create mode 100644 llvm/test/CodeGen/X86/flt-rounds.ll create mode 100644 llvm/test/CodeGen/X86/fold-add-pcrel.ll delete mode 100644 llvm/test/CodeGen/X86/vec_round.ll create mode 100644 llvm/test/DebugInfo/AArch64/pr40709.ll create mode 100644 llvm/test/MC/Disassembler/ARM/mve-lol.txt create mode 100644 llvm/test/Transforms/HotColdSplit/stale-assume-in-original-func.ll create mode 100644 llvm/test/tools/llvm-dwarfdump/X86/stats-mulitple-cu-out-of-line.ll create mode 100644 llvm/test/tools/llvm-dwarfdump/X86/stats-multiple-cu-members.ll create mode 100644 llvm/test/tools/llvm-symbolizer/wasm-basic.s create mode 100644 llvm/test/tools/obj2yaml/relr-section.yaml create mode 100644 llvm/test/tools/yaml2obj/ELF/relr-section.yaml create mode 100644 mlir/include/mlir/Dialect/OpenMP/CMakeLists.txt create mode 100644 mlir/include/mlir/Dialect/OpenMP/OpenMPDialect.h create mode 100644 mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td create mode 100644 mlir/lib/Dialect/OpenMP/CMakeLists.txt create mode 100644 mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp create mode 100644 mlir/test/Dialect/Linalg/canonicalize.mlir create mode 100644 mlir/test/Dialect/OpenMP/ops.mlir