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-lts-allmodconfig in repository toolchain/ci/llvm-project.
from eb6700b57e9 [Local] Remove unused LazyValueInfo pointer from removeUnre [...] adds b879fd05bd7 Add the misc-init-local-variables check. adds 265e94e6579 [AMDGPU] Extend buffer intrinsics with swizzling adds 9ba60b38ccd gn build: Merge r373489 adds 5b74c39d722 [WebAssembly] Error when using wasm64 for ISel adds 0cacf136fcb Fix: Actually erase remove the elements from AssumeHandles adds 74c7d6be284 [X86] Rewrite to the vXi1 subvector insertion code to not r [...] adds 9beb45671ba [JSON] Use LLVM's library for encoding JSON in GDBRemoteCom [...] adds 2a5a906753d [JSON] Use LLVM's library for encoding JSON in GDBRemoteCom [...] adds 7cb720dda04 [JSON] Use LLVM's library for encoding JSON in GDBRemoteCom [...] adds 4f8151e62ef [JSON] Use LLVM's library for encoding JSON in GDBRemoteCom [...] adds 2a0c8b11432 [JSON] Remove Utility/JSON.{h|cpp} adds a15a1413ac6 [OPENMP50]Add parsing/sema analysis for declare variant score. adds 12e915b3fcc [ARM] Make helpers static. NFC. adds 340406a7400 [Stencil] Hide implementaion detai. NFC. adds 24ae5ce54b9 [MemorySSA] Update Phi creation when inserting a Def. adds 9cc90ec3499 [libc++] Revert to using PUBLIC instead of PRIVATE when lin [...] adds 6fdeb0324f2 [ObjectFileMachO] Catch up with FileDesc changes. adds ef46be6c2ac [ObjectFileMachO] FileSpec::SetFile() now takes the style as arg. adds 293ec1e16a3 [RegisterContextDarwin_arm64] Include the headers for getsy [...] adds 3c1084373d3 [ARM64] XPC services are unsupported on device. adds c78c0e08be2 [libc++] Use a function to set warning flags per target adds a80b6c15425 [Local] Handle terminators with users in removeUnreachableBlocks. adds e139a73c5fc [TableGen] Improve error reporting of overlapping definitio [...] adds 464df87288f Handle llvm.launder.invariant.group in msan. adds 9ac0cda40a4 Fix inconsistent indentation in TableGen.cpp adds 925d9d2e144 [libc++] Use functions instead of global variables to set l [...] adds e55c442b1b6 [sanitizer_common] Rename OnPrint to __sanitizer_on_print. adds c7be0679743 [PowerPC] Fix SH field overflow issue adds 5a8b229c97d CGObjCMac - silence static analyzer dyn_cast<>/getAs<> null [...] adds a03d7b0f24b Recommit "[GlobalOpt] Pass DTU to removeUnreachableBlocks i [...] adds 5ac9d18e7d9 [Clang][Driver][NFC] Corrected DeviceActionBuilder methods' [...] adds c5d2746fbea [NFC][libc++abi] Convert stray tabs to spaces adds f2805470e61 ItaniumCXXABI - silence static analyzer getAs<RecordType> n [...] adds 426078a7818 Fix uninitialized variable warning in CodeGenPGO constructo [...] adds 505d7f31058 [gicombiner] Add the boring boilerplate for the declarative [...] adds 59bf75caabe NFC: add namespace {} adds d39e7e2cf15 [compiler-rt] Use GetNextInstructionPc in signal handlers adds 62f190ce9a8 [sanitizer_common] Add __sanitizer_on_print to interface list. adds 38ac6bdb83a [sanitizer_common] Disable onprint.cpp on Android. adds 4d39410b1e0 [sanitizer_common] Declare __sanitizer_on_print in Windows [...] adds b677cb8dc74 DebugInfo: Simplify RangeSpan to be a plain struct adds 641ecbd014f gn build: (manually) merge r373527 adds 2772b970e30 [LegalizeTypes] Check for already split condition before ca [...] adds f5bda7fe24e [X86] Add test cases for suboptimal vselect+setcc splitting. adds 6b45029676e [InstCombine] Transform bcopy to memmove adds 406de17b9b9 [clang][ifs] Clang Interface Stubs ToolChain plumbing. adds 629cad1266b Move SanitizerInitializeUnwinder outside anonymous namespace. adds 11e0bcf8a27 DebugInfo: Rename DebugLocStream::Entry::Begin/EndSym to ju [...] adds 29339149c34 [NFC][InstCombine] Add tests for 'variable sext of variable [...] adds ae3315af075 [InstCombine] Bypass high bit extract before variable sign- [...] adds 2a964eabaa8 [gicombiner] Fix a nullptr dereference when -combiners is g [...] adds 1384c3a5b89 [AMDGPU] Fix illegal agpr use by VALU adds 603e98948e1 [gicombiner] Fix windows issue where single quotes in the c [...] adds 19ad5239713 For P0784R7: allow direct calls to operator new / operator [...] adds b542602c5f3 For P0784R7: support placement new-expressions in constant [...] adds 69e9d84b1ad Mark P0784R7 as complete and start defining its feature-tes [...] adds 8581f860c7e Fixing broken builds due to r373538 due to test that should [...] adds 81f2da4d093 gn build: Merge r373538 adds eb27b5de538 [gicombiner] Add a CodeExpander to handle C++ fragments wit [...] adds 30c8df02ba2 Fixing broken builds due to r373538, issues with filepath a [...] adds 5258202a815 PR43519: don't inject a diagnostic when constant-evaulation [...] adds f79f68975d5 gn build: (manually) merge r373551 adds 45f682f4712 [gicombiner] Make rL373551 compatible with older cmakes adds 6713f8235ba Revert 373538 and follow-ups 373549 and 373552. adds d7f93154b3c gn build: Merge r373556 adds 241c72ddd9d [X86] Remove a couple redundant isel patterns that look to [...] adds f849f414699 [X86] Add broadcast load folding patterns to NoVLX VPMULLQ/ [...] adds f13b8d4fe96 [HIP] Support -emit-llvm for device compilation adds 57504530209 new api class: SBFile adds 96898eb6a93 SBDebugger::SetInputFile, SetOutputFile, etc. adds f913fd6eb0c factor out an abstract base class for File adds 110a24fb44c Fix driver tests when `LLVM_ENABLE_PER_TARGET_RUNTIME_DIR` is `ON` adds eb420aa3797 [X86] Add DAG combine to turn (bitcast (vbroadcast_load)) i [...] adds 1c135a39aae AMDGPU/GlobalISel: Expand G_BITCAST legality adds efb5a24ab07 AMDGPU/GlobalISel: Don't re-get subtarget adds 3a6950d3f02 [X86] Add test case for v8i64->v8i8 truncate with avx512 an [...] adds c4b5e594b4d Fix libc++ pretty printer test for Python 3 after D67238 (take 2) adds c0292744da7 [llvm-exegesis][NFC] Rename ExegesisTarget::decrementLoopCo [...] adds ecd849ed569 Fix a use-after-free in GDBRemoteCommunicationServerLLGS adds 0577a0cedbc "Fix" TestFileHandle.py on non-darwin platforms adds 68eef2bcd06 Update the FAQ: remove stuff related to the previous licens [...] adds b941cdd6bc1 [clang][NFC] Fix misspellings in ExternalASTMerger.h adds abc35f1bd8e Revert 373555: libLLVM+modules failure with CMake 3.10.2 adds b3af236fb5f [Alignment][NFC] Allow constexpr Align adds 43817e1915b Revert 373551 (CodeExpander.cpp CMake issue) adds b327dc19667 Fix uninitialized variable warning. NFCI adds 44bc1186e4b Fix uninitialized variable warning. NFCI adds 1cd399c915a Silence static analyzer getAs<RecordType> null dereference [...] adds 4f99b6f0fe4 [AArch64] Static (de)allocation of SVE stack objects. adds ead8577aff2 gn build: Revert 373554 "gn build: (manually) merge r373551" adds 8c6bed43969 [llvm-readobj][mips] Do not show an error if GOT is missed adds 952d71b7945 [llvm-readobj][mips] Display MIPS specific info under --arc [...] adds afe7197f133 [mips] Use llvm-readobj `-A` flag in test cases. NFC adds bf333421da2 [llvm-readobj][mips] Remove non-standard --misp-xxx flags adds f6551ddfceb [mips] Push `fixup_Mips_LO16` fixup for `jialc` and `jic` i [...] adds c79099e0f44 [Alignment][Clang][NFC] Add CharUnits::getAsAlign adds e80e8896957 [libTooling] Add various Stencil combinators for expressions. adds 6079498c51b [llvm-readobj] - Stop using a precompiled binary in all.test adds d400d451505 [Alignment][NFC] Remove StoreInst::setAlignment(unsigned) adds de6b59cd208 [llvm-locstats] Copy the script only when needed; NFC adds c7806457364 [NFC][InstCombine] Some tests for sub-of-negatible pattern adds 32cbabfecb8 [yaml2obj/obj2yaml] - Add support for SHT_LLVM_ADDRSIG sections. adds 9f6cf2a081b Revert r373598 "[yaml2obj/obj2yaml] - Add support for SHT_L [...] adds f21dbcca90b [AArch64][SVE] Adding patterns for floating point SVE add i [...] adds f6c34de1176 [PGO] Refactor Value Profiling into a plugin based oracle a [...] adds 6f9459f7fe7 [libc++abi] Do not export some implementation-detail functions adds d1a4b822746 gn build: Merge r373601 adds 2c9c7d68097 [UpdateTestChecks] add basic support for parsing msp430 asm adds fc9104d42a7 Recommit r373598 "[yaml2obj/obj2yaml] - Add support for SHT [...] adds 38c265fe261 [MSP430] add tests for unwanted shift codegen; NFC (PR43542) adds 069cb6282db Test commit. adds c18585e32eb [yaml2obj] - Add a Size tag support for SHT_LLVM_ADDRSIG sections. adds d834f1f63ed Remove duplicate P->getAs<PointerType>() call. NFCI. adds c15b38ec7d0 ExprConstant - silence static analyzer getAs<> null derefer [...] adds 1fae74480bf Fix MSVC "result of 32-bit shift implicitly converted to 64 [...] adds b4ee523ffc9 [Diagnostics] Bitwise negation of a boolean expr always eva [...] adds e83309e02a2 [NFC] Added missing changes for rL373614 adds f5177a7db48 [RISCV] Add obsolete aliases of fscsr, frcsr (fssr, frsr) adds d1f23bd2250 Revert "[Alignment][NFC] Allow constexpr Align" adds ba643691ddb [OPENMP]Improve diagnostics for not found declare target entries. adds 02ac75092db [BPF] Handle offset reloc endpoint ending in the middle of [...] adds eddc1a4e954 [dsymutil] Tablegenify option parsing adds 2733bde6631 [dsymutil] Improve consistency by removing redundant namesp [...] adds 36724b78e8b [OPENMP]Fix emission of the declare target variables in dev [...] adds 0961a152d85 [libc++] Add missing revision number in ABI changelog adds 86976c91cfb DeclBase/DeclCXX/DeclTemplate - silence static analyzer get [...] adds b01ebd6c1de gn build: (manually) merge r373622 adds b44204c77e6 [libunwind] Adjust libunwind_01.pass.cpp test for ARM EHABI adds 9972c992ebe [ModuloSchedule] removeBranch() *before* creating the trip [...] adds e6f51713054 AMDGPU/SILoadStoreOptimizer: Optimize scanning for mergeabl [...] adds c5b74bf6e54 [libc++] Add a per-target flag to include the generated con [...] adds 1fff2881a86 compiler-rt: move all __GLIBC_PREREQ into own header file adds 9c1503f6699 Fix build failure with GCC on identifier reusing. adds 691e44c146f [HIP] Enable specifying different default gpu arch for HIP/CUDA. adds 3d23e58dbed AMDGPU/GlobalISel: Fix mutationIsSane assert v8s8 and adds 9256183994c AMDGPU/GlobalISel: Add some more tests for G_INSERT legalization adds 56271fe180f AMDGPU/GlobalISel: Allow VGPR to index SGPR register adds 233ff982c78 AMDGPU/GlobalISel: Split 64-bit vector extracts during RegB [...] adds ed77b27441e AMDGPU/GlobalISel: Handle RegBankSelect of G_INSERT_VECTOR_ELT adds 085baf8d4e0 [dsymutil] Don't overload LinkOptions. adds eb8d85e5db5 [X86] matchShuffleWithSHUFPD - use Zeroable element mask di [...] adds 6fb03a290b2 [compiler-rt] More optimization levels in signal_line.cpp test adds 8d2eaf9239f PR43547: substitute into the type of a non-type template pa [...] adds f149ea8bb5d [Host] Return the user's shell from GetDefaultShell adds 185ee6ec7cb [X86] Add v32i8 shuffle lowering strategy to recognize two [...] adds b2b43c8576c [NFC] Fix unused variable in release builds adds fb13e65acf0 [clang-format] Add ability to wrap braces after multi-line [...] adds 5d96b4ce288 Check for qualified function types after substituting into [...] adds 99d0d3ae90a [HIP] Use option -nogpulib to disable linking device lib adds bed690e3700 Attempt to remove linker workaround on the buildbots. adds 18350af1593 [gicombiner] Add a CodeExpander to handle C++ fragments wit [...] adds 4a6881eabce [PowerPC] Adjust the naming and operand order of fnmsub patterns adds 5e7e6f16d94 Attempt to remove linker workaround on the buildbots: Attempt 2 adds 6695ff62d0b Reland "gn build: (manually) merge r373551" adds ede784ff5a6 [AArch64InstPrinter] prefer bfi to bfc for < armv8.2-a adds 5f775d2912d [JSON] Don't wrap json::Array in a value (NFC) adds 230cf9a3602 [AArch64][SVE] Move the testcase into CodeGen dir adds 65d63ac05a2 [Test] Fix inconsistency in alignment in test case adds 82cb5bc3026 [Tests] Add a unordered atomic load combine test adds c118a03e694 gn build: (manually) merge 373651 better adds 0364c760adb [OPENMP50]Codegen support for scores in context selectors. adds 350147c7466 [test] Disable TestCustomShell on Linux adds 2ac586c58f1 DebugInfo: Generalize rnglist emission as a precursor to re [...] adds 204623e05c1 Reland r349624: Let TableGen write output only if it change [...] adds d2d2e33f25d OverloadCandidate::getNumParams - silence static analyzer g [...] adds 288079aafdb [DAGCombiner] add operation legality checks before creating [...] adds 9588ae772d6 ASTContext - silence static analyzer getAs<> null dereferen [...] adds 958091c209d [lldb] Calculate relative path for symbol links adds 48b38c93bc0 [lldb] Remove unused variables. adds e0a398bf319 [process list] make the TRIPLE column wider adds 9d4a6b1bb2c [llvm-objdump] Further rearrange llvm-objdump sections for [...] adds a92b5309e5c [OPENMP]Fix the test on Windows, NFC. adds 943a24812df Break out the Python class & key/value options into a separ [...] adds 145cdad1192 [MemorySSA] Don't hoist stores if interfering uses (as call [...] adds 27a14f19c81 Pass an SBStructuredData to scripted ThreadPlans on use. adds d84e942703e [llvm-objdump][test] Move test to X86 dir to avoid errors d [...] adds f9d8bbee898 Forgot to change the header guards on OptionGroupPythonClas [...] adds 71662116fd9 LowerTypeTests: Rename local functions to avoid collisions [...] adds ebaa3eb1276 Python3 doesn't seem to allow you to tell whether an object [...] adds ac146958041 Explicitly set entry point arch when it's thumb adds 161229eb1bb compiler-rt: use __GLIBC_PREREQ for SANITIZER_INTERCEPT_GETRANDOM adds 57b6536ba1b [compiler-rt] Remove O2, O3 from signal_line test for fix a [...] adds 016f6f6a58a [dsymutil] Fix stack-use-after-scope adds 053391fa863 [compiler-rt] Fix signal_line.cpp test adds 772e266fbff Properly handle instantiation-dependent array bounds. adds 2d511023c68 [Python] Remove unused variable adds ae08e479aad Revert "Explicitly set entry point arch when it's thumb" adds ff55e2e0476 [RISCV] Split SP adjustment to reduce the offset of callee [...] adds 4e920e58e6b [JITLink] Switch from an atom-based model to a "blocks and [...] adds ea31d1807c5 gn build: Merge r373689 adds 4a71328f157 Make libc++ gdb pretty printer Python 3 compatible adds 6fd9129aafd [JITLink] Fix an unused variable warning. adds 7f379a3366c [JITLink] Explicitly destroy bumpptr-allocated blocks to av [...] adds cb46b69e3ee [clang-tools-extra] [cmake] Use add_clang_tool() to install tools adds 5caeb4a9b0c [clang] [cmake] Add distribution install targets for remain [...] adds 5dd60c0c54e [JITLink] Remove a redundant semicolon, silencing -Wpedanti [...] adds 30cb2201158 [test] Remove a needless declaration of REQUIRES: target-windows adds 1ca074b86af [Symbolize] Use the local MSVC C++ demangler instead of rel [...] adds 165e469145e [AMDGPU][SILoadStoreOptimizer] NFC: Refactor code adds b455ebf921c [test] Remove locale dependency for mri-utf8.test adds b8f790234ff Revert "[Symbolize] Use the local MSVC C++ demangler instea [...] adds bb91a833c67 [compiler-rt] Remove O1 tests from signal_line.cpp adds 67858244314 Revert r371729: lld-link: Make /linkrepro: take a filename, [...] adds 0d53ac80964 Add /reproduce option to lld/COFF adds e4758a5c279 [MinGW] Add --reproduce option adds 03b216d8547 [X86] Enable inline memcmp() to use AVX512 adds a2f963bb61e [clang-format] [PR43333] Fix C# breaking before function na [...] adds 7588cf09da4 [ELF] Use union-find set and doubly linked list in Call-Cha [...] adds 4c056583548 [clang-format] [PR43338] C# clang format has space issues b [...] adds 8613e90ba71 [CodeComplete] Ensure object is the same in compareOverloads() adds 51e0bbb02de [lldb][modern-type-lookup] No longer import temporary decla [...] adds eae7ed479b7 [Driver] NFC: Remove duplicate call to getLibGccType adds 4d1405ad874 Revert r371732: "lld-link: Fix tests that do not run on mac [...] adds be9521acaac AMDGPU/GlobalISel: Support wave32 waterfall loops adds 412e0bf8f33 AMDGPU/GlobalISel: Select G_PTRTOINT adds d7cad4fb41f AMDGPU/GlobalISel: Fix using wrong addrspace for aperture adds edfb86969c1 [NFC] [FileCheck] Fix init of stack objects in unit tests adds e667401055e [TableGen] Introduce a generic automaton (DFA) backend adds 4128dc45006 [lldb] Fix typo in r373675 adds 0ca48de26c4 [DebugInfo] LiveDebugValues: defer DBG_VALUE creation durin [...] adds f6a2086d528 [lldb] Fix -Wreorder-ctor in r373673 adds b0e997bbf4e Revert "[NFC] [FileCheck] Fix init of stack objects in unit tests" adds 91ad5398d15 [lldb] Fix that 'ninja clean' breaks the build by deleting [...] adds b3cc321cb2e [Format] Fix docs after r373439 adds baf769d322d [lldb] Get the TargetAPI lock in SBProcess::IsInstrumentati [...] adds 90cfbf35c97 gn build: (manually) merge r373718 adds 61800a75b77 [DebugInfo] LiveDebugValues: move DBG_VALUE creation into V [...] adds 4682b9c46b2 Revert [test] Remove locale dependency for mri-utf8.test adds 7de9a5ce60d Fix MSVC "result of 32-bit shift implicitly converted to 64 [...] adds 329ae6ad71b Fix MSVC "not all control paths return a value" warning. NFCI. adds 57e764f951d [llvm-readobj] Replace arch-specific ObjDumper methods by t [...] adds 8c1dd31a084 [llvm-readobj][mips] Implement GNU-style printing of .MIPS. [...] adds 576ea7d1a94 [llvm-readobj][mips] Inline `printMipsPLTGOT` method adds 9735739be70 [lldb] [cmake] Support linking against clang-cpp dylib adds 0d5250a8582 [llvm-readobj] Remove redundant semicolon. NFC adds 94d040706d4 [AMDGPU][MC][GFX10] Corrected definition of FLAT GLOBAL/SCR [...] adds e64369e76ea [llvm-ar][test] Clarified comment adds a7d90af1be4 ARM-Darwin: keep the frame register reserved even if not updated. adds bc4e43e9c1f [clangd] update the package-lock.json. adds 9bd763679fe [AMDGPU][MC][GFX10] Enabled decoding of 'null' operand adds 84f5cd75b38 Fix MSVC "not all control paths return a value" warning. NFCI. adds 73be415dd6d Fix uninitialized variable warnings in directory_entry defa [...] adds 5e851ad6c15 [NFCI] Improve the -Wbool-operation's warning message adds f8ad4d663f1 [clang] Prevent false positives in arm-mfpu-none codegen test. adds 434d59250e3 [AMDGPU][MC][GFX10][WS32] Corrected decoding of dst operand [...] adds a37a6dcd04b [clang-format] [PR42417] clang-format inserts a space after [...] adds 5d862c042b5 [clang-rename] Fix a crash when renaming a class without de [...] adds f44ca7f6eba Further improve -Wbool-operation bitwise negation message adds ba12cec21f5 [clang-format] [PR43531] clang-format damages "alternative [...] adds cccf5aa0816 [clang-format] C++11 braced lists should respect the Spaces [...] adds 0abbb154ca2 CGBlocks - silence static analyzer getAs<> null dereference [...] adds 237d0af7a8b SemaDeclAttr - silence static analyzer getAs<> null derefer [...] adds dc802dbef28 [scudo][standalone] Make malloc_info return a minimal XML adds e37bc5e4992 [NFC] [FileCheck] Reapply fix init of objects in unit tests adds 1c9e1731b03 [OPENMP50]Suppport for multiple vendors in the same vendor [...] new 856383555b3 [lldb-server/android] Show more processes and package name [...] new cfe8bedca03 [utils] Fix incompatibility of bisect[-skip-count] with Python 3 new 9819b9d35fa [process info] Remove assert in DoGetGroupName new 68b80521213 [FPEnv] Strict FP tests should use the requisite function a [...]
The 4 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-apply-replacements/tool/CMakeLists.txt | 3 - .../clang-change-namespace/tool/CMakeLists.txt | 5 +- .../find-all-symbols/tool/CMakeLists.txt | 5 +- .../clang-include-fixer/tool/CMakeLists.txt | 3 - clang-tools-extra/clang-move/tool/CMakeLists.txt | 2 +- clang-tools-extra/clang-query/tool/CMakeLists.txt | 4 +- .../clang-tidy/cppcoreguidelines/CMakeLists.txt | 1 + .../CppCoreGuidelinesTidyModule.cpp | 3 + .../cppcoreguidelines/InitVariablesCheck.cpp | 105 + .../cppcoreguidelines/InitVariablesCheck.h | 42 + .../clangd/clients/clangd-vscode/package-lock.json | 744 ++--- .../clangd/unittests/CodeCompleteTests.cpp | 19 + clang-tools-extra/docs/ReleaseNotes.rst | 15 +- .../checks/cppcoreguidelines-init-variables.rst | 51 + clang-tools-extra/docs/clang-tidy/checks/list.rst | 1 + clang-tools-extra/pp-trace/CMakeLists.txt | 2 +- .../cppcoreguidelines-init-variables.cpp | 80 + clang/CMakeLists.txt | 10 +- clang/docs/ClangFormatStyleOptions.rst | 55 +- clang/include/clang/AST/ASTContext.h | 4 +- clang/include/clang/AST/CharUnits.h | 5 + clang/include/clang/AST/ExternalASTMerger.h | 27 +- clang/include/clang/AST/RecursiveASTVisitor.h | 7 +- clang/include/clang/AST/Type.h | 84 +- clang/include/clang/Basic/Attr.td | 15 + clang/include/clang/Basic/DiagnosticASTKinds.td | 59 +- clang/include/clang/Basic/DiagnosticSemaKinds.td | 5 + clang/include/clang/Driver/Options.td | 4 +- clang/include/clang/Format/Format.h | 120 +- clang/include/clang/Sema/Overload.h | 4 +- clang/include/clang/Sema/Sema.h | 9 +- clang/include/clang/Tooling/Refactoring/Stencil.h | 17 +- clang/lib/AST/APValue.cpp | 2 +- clang/lib/AST/ASTContext.cpp | 114 +- clang/lib/AST/ASTImporter.cpp | 16 +- clang/lib/AST/DeclBase.cpp | 6 +- clang/lib/AST/DeclCXX.cpp | 6 +- clang/lib/AST/DeclTemplate.cpp | 6 +- clang/lib/AST/Expr.cpp | 6 +- clang/lib/AST/ExprConstant.cpp | 494 +++- clang/lib/AST/ExternalASTMerger.cpp | 103 +- clang/lib/AST/InheritViz.cpp | 4 +- clang/lib/AST/Interp/Program.cpp | 4 +- clang/lib/AST/Interp/State.h | 1 + clang/lib/AST/ItaniumMangle.cpp | 2 +- clang/lib/AST/JSONNodeDumper.cpp | 2 +- clang/lib/AST/TextNodeDumper.cpp | 4 +- clang/lib/AST/Type.cpp | 48 +- clang/lib/AST/VTTBuilder.cpp | 12 +- clang/lib/CodeGen/CGAtomic.cpp | 5 +- clang/lib/CodeGen/CGBlocks.cpp | 5 +- clang/lib/CodeGen/CGBuiltin.cpp | 4 +- clang/lib/CodeGen/CGCUDANV.cpp | 6 +- clang/lib/CodeGen/CGCXX.cpp | 2 +- clang/lib/CodeGen/CGCXXABI.cpp | 4 +- clang/lib/CodeGen/CGCall.cpp | 6 +- clang/lib/CodeGen/CGClass.cpp | 22 +- clang/lib/CodeGen/CGCleanup.cpp | 4 +- clang/lib/CodeGen/CGDebugInfo.cpp | 10 +- clang/lib/CodeGen/CGDecl.cpp | 10 +- clang/lib/CodeGen/CGExpr.cpp | 6 +- clang/lib/CodeGen/CGExprAgg.cpp | 2 +- clang/lib/CodeGen/CGExprCXX.cpp | 13 +- clang/lib/CodeGen/CGExprConstant.cpp | 6 +- clang/lib/CodeGen/CGExprScalar.cpp | 4 +- clang/lib/CodeGen/CGObjC.cpp | 4 +- clang/lib/CodeGen/CGObjCGNU.cpp | 8 +- clang/lib/CodeGen/CGObjCMac.cpp | 47 +- clang/lib/CodeGen/CGOpenMPRuntime.cpp | 151 +- clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp | 22 +- clang/lib/CodeGen/CGStmtOpenMP.cpp | 4 +- clang/lib/CodeGen/CodeGenFunction.cpp | 2 +- clang/lib/CodeGen/CodeGenFunction.h | 2 +- clang/lib/CodeGen/CodeGenModule.cpp | 27 +- clang/lib/CodeGen/CodeGenPGO.h | 4 +- clang/lib/CodeGen/CodeGenTypes.cpp | 7 +- clang/lib/CodeGen/ConstantInitBuilder.cpp | 2 +- clang/lib/CodeGen/CoverageMappingGen.cpp | 2 +- clang/lib/CodeGen/ItaniumCXXABI.cpp | 28 +- clang/lib/CodeGen/MicrosoftCXXABI.cpp | 4 +- .../CodeGen/ObjectFilePCHContainerOperations.cpp | 2 +- clang/lib/CodeGen/TargetInfo.cpp | 8 +- clang/lib/Driver/Driver.cpp | 30 +- clang/lib/Driver/ToolChains/CommonArgs.cpp | 1 - clang/lib/Driver/ToolChains/Cuda.cpp | 4 +- clang/lib/Driver/ToolChains/HIP.cpp | 3 + clang/lib/Format/ContinuationIndenter.cpp | 5 +- clang/lib/Format/Format.cpp | 50 +- clang/lib/Format/FormatTokenLexer.cpp | 17 + clang/lib/Format/FormatTokenLexer.h | 1 + clang/lib/Format/TokenAnnotator.cpp | 49 +- clang/lib/Format/UnwrappedLineFormatter.cpp | 44 +- clang/lib/Format/UnwrappedLineParser.cpp | 9 +- clang/lib/Frontend/InitPreprocessor.cpp | 1 + clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp | 20 +- clang/lib/Frontend/Rewrite/RewriteObjC.cpp | 6 +- clang/lib/Parse/ParseOpenMP.cpp | 78 +- clang/lib/Sema/Sema.cpp | 4 +- clang/lib/Sema/SemaAccess.cpp | 4 +- clang/lib/Sema/SemaChecking.cpp | 2 +- clang/lib/Sema/SemaCodeComplete.cpp | 3 + clang/lib/Sema/SemaDecl.cpp | 8 +- clang/lib/Sema/SemaDeclAttr.cpp | 10 +- clang/lib/Sema/SemaDeclCXX.cpp | 11 +- clang/lib/Sema/SemaExceptionSpec.cpp | 2 +- clang/lib/Sema/SemaExpr.cpp | 12 +- clang/lib/Sema/SemaExprCXX.cpp | 14 +- clang/lib/Sema/SemaExprMember.cpp | 2 +- clang/lib/Sema/SemaExprObjC.cpp | 2 +- clang/lib/Sema/SemaInit.cpp | 16 +- clang/lib/Sema/SemaLookup.cpp | 2 +- clang/lib/Sema/SemaOpenMP.cpp | 22 +- clang/lib/Sema/SemaTemplate.cpp | 4 +- clang/lib/Sema/SemaTemplateInstantiateDecl.cpp | 9 +- clang/lib/Sema/SemaType.cpp | 16 +- clang/lib/Sema/TreeTransform.h | 31 +- clang/lib/Serialization/ASTReader.cpp | 3 +- clang/lib/Serialization/ASTWriter.cpp | 1 + .../Refactoring/Rename/USRFindingAction.cpp | 4 + clang/lib/Tooling/Refactoring/Stencil.cpp | 65 +- .../CodeCompletion/member-access-qualifiers.cpp | 13 + clang/test/CodeGen/arm-mfpu-none.c | 1 + .../test/CodeGenCXX/microsoft-uuidof-mangling.cpp | 2 +- clang/test/Driver/arm-compiler-rt.c | 35 +- clang/test/Driver/hip-default-gpu-arch.hip | 7 + clang/test/Driver/hip-device-compile.hip | 72 + clang/test/Driver/hip-no-device-libs.hip | 11 + clang/test/Driver/print-libgcc-file-name-clangrt.c | 7 + clang/test/Lexer/cxx-features.cpp | 4 + clang/test/OpenMP/declare_target_codegen.cpp | 23 +- clang/test/OpenMP/declare_variant_ast_print.c | 3 + clang/test/OpenMP/declare_variant_ast_print.cpp | 23 +- ...clare_variant_implementation_vendor_codegen.cpp | 26 +- clang/test/OpenMP/declare_variant_messages.c | 9 +- clang/test/OpenMP/declare_variant_messages.cpp | 18 +- clang/test/OpenMP/target_messages.cpp | 6 +- clang/test/Sema/warn-bitwise-negation-bool.c | 22 + clang/test/SemaCXX/constant-expression-cxx11.cpp | 5 + clang/test/SemaCXX/cxx2a-constexpr-dynalloc.cpp | 168 ++ clang/test/SemaTemplate/instantiate-expr-4.cpp | 9 + clang/test/SemaTemplate/temp_arg_nontype.cpp | 11 + clang/test/clang-rename/ForwardClassDecl.cpp | 4 + clang/tools/scan-build/CMakeLists.txt | 22 +- clang/tools/scan-view/CMakeLists.txt | 14 +- clang/unittests/Format/FormatTest.cpp | 228 +- clang/unittests/Format/FormatTestCSharp.cpp | 228 +- clang/unittests/Format/FormatTestObjC.cpp | 4 +- clang/unittests/Tooling/StencilTest.cpp | 66 +- clang/utils/hmaptool/CMakeLists.txt | 9 +- clang/www/cxx_status.html | 3 +- compiler-rt/lib/asan/asan_errors.cpp | 3 +- compiler-rt/lib/lsan/lsan.cpp | 2 +- compiler-rt/lib/msan/msan.cpp | 2 +- .../sanitizer_common_interface.inc | 1 + .../lib/sanitizer_common/sanitizer_getauxval.h | 7 +- .../lib/sanitizer_common/sanitizer_glibc_version.h | 26 + .../sanitizer_common/sanitizer_linux_libcdep.cpp | 7 +- .../sanitizer_platform_interceptors.h | 4 +- .../sanitizer_platform_limits_posix.cpp | 8 +- .../sanitizer_platform_limits_posix.h | 9 +- .../lib/sanitizer_common/sanitizer_printf.cpp | 8 +- .../sanitizer_unwind_linux_libcdep.cpp | 68 +- .../sanitizer_win_weak_interception.cpp | 1 + .../lib/scudo/standalone/tests/combined_test.cpp | 2 +- .../lib/scudo/standalone/tests/wrappers_c_test.cpp | 11 + compiler-rt/lib/scudo/standalone/wrappers_c.inc | 7 +- compiler-rt/lib/tsan/rtl/tsan_rtl.cpp | 2 +- compiler-rt/lib/ubsan/ubsan_signals_standalone.cpp | 5 +- .../TestCases/Linux/signal_line.cpp | 24 + .../test/sanitizer_common/TestCases/onprint.cpp | 33 + libcxx/CMakeLists.txt | 200 +- libcxx/benchmarks/CMakeLists.txt | 4 - libcxx/lib/abi/CHANGELOG.TXT | 2 +- libcxx/src/CMakeLists.txt | 65 +- .../pretty_printers/gdb_pretty_printer_test.py | 23 +- libcxx/utils/docker/scripts/docker_update_bot.sh | 7 - libcxx/utils/docker/scripts/run_buildbot.sh | 7 - libcxx/utils/gdb/libcxx/printers.py | 18 +- libcxxabi/lib/itanium-base.exp | 5 - libcxxabi/src/cxa_default_handlers.cpp | 2 +- libcxxabi/src/cxa_exception.cpp | 18 +- libcxxabi/src/cxa_exception.h | 6 +- libunwind/test/libunwind_01.pass.cpp | 2 +- lld/COFF/Driver.cpp | 35 +- lld/COFF/Options.td | 2 + lld/ELF/CallGraphSort.cpp | 114 +- lld/MinGW/Driver.cpp | 2 + lld/MinGW/Options.td | 1 + lld/docs/ReleaseNotes.rst | 5 - lld/test/COFF/linkrepro-manifest.test | 2 +- lld/test/COFF/linkrepro-pdb.test | 4 +- lld/test/COFF/linkrepro-res.test | 2 +- lld/test/COFF/linkrepro.test | 14 +- lld/test/ELF/arm-icf-exidx.s | 6 +- lld/test/ELF/arm-target1.s | 4 +- lld/test/ELF/eh-frame-hdr-abs-fde.s | 8 +- lld/test/ELF/got32-i386.s | 4 +- lld/test/ELF/got32x-i386.s | 6 +- lld/test/ELF/i386-pc8-pc16-addend.s | 4 +- lld/test/ELF/i386-reloc8-reloc16-addend.s | 4 +- lld/test/ELF/i386-retpoline-nopic.s | 8 +- lld/test/ELF/i386-retpoline-pic.s | 8 +- lld/test/ELF/mips-26.s | 2 +- lld/test/ELF/mips-32.s | 11 +- lld/test/ELF/mips-64-disp.s | 2 +- lld/test/ELF/mips-64-got-overflow.s | 6 +- lld/test/ELF/mips-64-got.s | 6 +- lld/test/ELF/mips-64-rels.s | 12 +- lld/test/ELF/mips-64.s | 10 +- lld/test/ELF/mips-abs-got.s | 2 +- lld/test/ELF/mips-call-hilo.s | 2 +- lld/test/ELF/mips-call16.s | 3 +- lld/test/ELF/mips-elf-flags.s | 18 +- lld/test/ELF/mips-got-and-copy.s | 5 +- lld/test/ELF/mips-got-extsym.s | 2 +- lld/test/ELF/mips-got-hilo.s | 2 +- lld/test/ELF/mips-got-page-script.s | 2 +- lld/test/ELF/mips-got-page.s | 2 +- lld/test/ELF/mips-got-redundant.s | 2 +- lld/test/ELF/mips-got-relocs.s | 8 +- lld/test/ELF/mips-got-script.s | 2 +- lld/test/ELF/mips-got-string.s | 2 +- lld/test/ELF/mips-got-weak.s | 4 +- lld/test/ELF/mips-got16-relocatable.s | 12 +- lld/test/ELF/mips-got16.s | 10 +- lld/test/ELF/mips-gp-disp.s | 4 +- lld/test/ELF/mips-gp-ext.s | 14 +- lld/test/ELF/mips-gp-local.s | 6 +- lld/test/ELF/mips-gprel32-relocs-gp0.s | 12 +- lld/test/ELF/mips-gprel32-relocs.s | 10 +- lld/test/ELF/mips-hilo-gp-disp.s | 10 +- lld/test/ELF/mips-hilo-hi-only.s | 10 +- lld/test/ELF/mips-hilo.s | 10 +- lld/test/ELF/mips-merge-abiflags.s | 7 +- lld/test/ELF/mips-mgot.s | 18 +- lld/test/ELF/mips-micro-cross-calls.s | 28 +- lld/test/ELF/mips-micro-got.s | 2 +- lld/test/ELF/mips-micro-jal.s | 4 +- lld/test/ELF/mips-micro-plt.s | 2 +- lld/test/ELF/mips-micro-relocs.s | 26 +- lld/test/ELF/mips-micror6-relocs.s | 6 +- lld/test/ELF/mips-n32-rels.s | 16 +- lld/test/ELF/mips-non-zero-gp0.s | 4 +- lld/test/ELF/mips-nonalloc.s | 7 +- lld/test/ELF/mips-options.s | 2 +- lld/test/ELF/mips-pc-relocs.s | 14 +- lld/test/ELF/mips-plt-copy.s | 2 +- lld/test/ELF/mips-reginfo.s | 2 +- lld/test/ELF/mips-sto-plt.s | 2 +- lld/test/ELF/mips-tls-64.s | 32 +- lld/test/ELF/mips-tls-hilo.s | 8 +- lld/test/ELF/mips-tls-static-64.s | 10 +- lld/test/ELF/mips-tls-static.s | 10 +- lld/test/ELF/mips-tls.s | 32 +- lld/test/ELF/mips-xgot-order.s | 2 +- lld/test/ELF/msp430.s | 22 +- lld/test/ELF/non-alloc-link-order-gc.s | 6 +- lld/test/ELF/relocation-common.s | 2 +- lld/test/ELF/relocation.s | 66 +- lld/test/ELF/x86-64-retpoline-znow.s | 10 +- lld/test/ELF/x86-64-retpoline.s | 10 +- lld/test/MinGW/driver.test | 3 + lldb/cmake/modules/AddLLDB.cmake | 15 +- lldb/include/lldb/API/LLDB.h | 3 +- lldb/include/lldb/API/SBDebugger.h | 12 + lldb/include/lldb/API/SBDefines.h | 1 + lldb/include/lldb/API/SBError.h | 1 + lldb/include/lldb/API/SBFile.h | 41 + lldb/include/lldb/API/SBStructuredData.h | 2 + lldb/include/lldb/API/SBThread.h | 4 + lldb/include/lldb/API/SBThreadPlan.h | 6 + lldb/include/lldb/Core/Debugger.h | 7 +- lldb/include/lldb/Host/File.h | 282 +- .../Interpreter/OptionGroupPythonClassWithDict.h | 65 + lldb/include/lldb/Interpreter/ScriptInterpreter.h | 1 + lldb/include/lldb/Target/Thread.h | 1 + lldb/include/lldb/Target/ThreadPlanPython.h | 9 +- lldb/include/lldb/Utility/JSON.h | 283 -- lldb/lit/Host/Inputs/simple.c | 1 + lldb/lit/Host/TestCustomShell.test | 12 + .../lldbsuite/test/commands/help/TestHelp.py | 2 +- .../scripted_bkpt/TestScriptedResolver.py | 18 + .../breakpoint/scripted_bkpt/resolver.py | 3 + .../libcxx/TestLibCxxModernTypeLookup.py | 3 + .../modern-type-lookup/libcxx/main.cpp | 8 + .../test/functionalities/step_scripted/Steps.py | 17 +- .../step_scripted/TestStepScripted.py | 26 +- .../TestDefaultConstructorForAPIObjects.py | 14 + .../test/python_api/file_handle/TestFileHandle.py | 274 ++ lldb/scripts/Python/finishSwigPythonLLDB.py | 26 +- lldb/scripts/Python/python-typemaps.swig | 53 +- lldb/scripts/Python/python-wrapper.swig | 19 +- lldb/scripts/interface/SBDebugger.i | 18 + lldb/scripts/interface/SBFile.i | 38 + lldb/scripts/interface/SBThread.i | 5 + lldb/scripts/interface/SBThreadPlan.i | 8 + lldb/scripts/lldb.swig | 2 + lldb/source/API/CMakeLists.txt | 1 + lldb/source/API/SBDebugger.cpp | 117 +- lldb/source/API/SBFile.cpp | 115 + lldb/source/API/SBProcess.cpp | 3 + lldb/source/API/SBReproducer.cpp | 1 + lldb/source/API/SBThread.cpp | 25 +- lldb/source/API/SBThreadPlan.cpp | 51 +- lldb/source/Commands/CommandObjectBreakpoint.cpp | 55 +- lldb/source/Commands/CommandObjectThread.cpp | 246 +- lldb/source/Commands/Options.td | 11 - lldb/source/Core/CMakeLists.txt | 4 +- lldb/source/Core/Debugger.cpp | 27 +- lldb/source/Core/StreamFile.cpp | 4 +- lldb/source/Host/common/File.cpp | 299 +- lldb/source/Host/common/FileSystem.cpp | 3 +- lldb/source/Host/linux/Host.cpp | 79 +- lldb/source/Host/macosx/objcxx/Host.mm | 4 +- .../Host/posix/ConnectionFileDescriptorPosix.cpp | 12 +- lldb/source/Host/posix/HostInfoPosix.cpp | 38 +- lldb/source/Interpreter/CMakeLists.txt | 1 + .../Interpreter/OptionGroupPythonClassWithDict.cpp | 123 + lldb/source/Interpreter/Options.cpp | 4 + .../Plugins/ExpressionParser/Clang/CMakeLists.txt | 19 +- .../Clang/ClangExpressionDeclMap.cpp | 109 +- .../Clang/ClangExpressionParser.cpp | 2 +- lldb/source/Plugins/Language/ObjC/CMakeLists.txt | 3 +- .../ObjC/AppleObjCRuntime/CMakeLists.txt | 3 +- .../RenderScriptRuntime/CMakeLists.txt | 3 +- .../Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp | 8 +- lldb/source/Plugins/Platform/MacOSX/CMakeLists.txt | 3 +- .../PlatformiOSSimulatorCoreSimulatorSupport.mm | 2 +- .../Plugins/Process/Darwin/NativeProcessDarwin.cpp | 4 +- .../Utility/RegisterContextDarwin_arm64.cpp | 5 + .../gdb-remote/GDBRemoteCommunicationClient.cpp | 20 +- .../GDBRemoteCommunicationServerCommon.cpp | 43 +- .../GDBRemoteCommunicationServerLLGS.cpp | 100 +- .../GDBRemoteCommunicationServerPlatform.cpp | 21 +- .../ScriptInterpreter/Python/PythonDataObjects.cpp | 39 +- .../ScriptInterpreter/Python/PythonDataObjects.h | 6 +- .../Python/ScriptInterpreterPython.cpp | 12 +- .../Python/ScriptInterpreterPythonImpl.h | 1 + .../source/Plugins/SymbolFile/DWARF/CMakeLists.txt | 5 +- .../Plugins/SymbolFile/NativePDB/CMakeLists.txt | 5 +- lldb/source/Plugins/SymbolFile/PDB/CMakeLists.txt | 7 +- lldb/source/Symbol/CMakeLists.txt | 8 +- lldb/source/Symbol/ClangASTContext.cpp | 4 +- lldb/source/Target/Process.cpp | 6 +- lldb/source/Target/Thread.cpp | 14 +- lldb/source/Target/ThreadPlanPython.cpp | 8 +- lldb/source/Utility/CMakeLists.txt | 1 - lldb/source/Utility/JSON.cpp | 550 ---- lldb/source/Utility/ProcessInfo.cpp | 16 +- lldb/tools/debugserver/source/CMakeLists.txt | 1 - lldb/tools/lldb-instr/CMakeLists.txt | 2 +- lldb/unittests/Host/FileTest.cpp | 4 +- .../ScriptInterpreter/Python/PythonTestSuite.cpp | 1 + lldb/unittests/Utility/CMakeLists.txt | 1 - lldb/unittests/Utility/JSONTest.cpp | 26 - lldb/unittests/Utility/ProcessInstanceInfoTest.cpp | 14 +- llvm/README.txt | 1 + llvm/cmake/modules/TableGen.cmake | 30 +- llvm/docs/FAQ.rst | 13 +- llvm/include/llvm/CodeGen/MIRYamlMapping.h | 1 + llvm/include/llvm/CodeGen/TargetFrameLowering.h | 1 + .../llvm/ExecutionEngine/JITLink/EHFrameSupport.h | 2 +- .../include/llvm/ExecutionEngine/JITLink/JITLink.h | 1244 ++++---- .../ExecutionEngine/JITLink/JITLinkMemoryManager.h | 17 +- llvm/include/llvm/IR/IRBuilder.h | 2 +- llvm/include/llvm/IR/Instructions.h | 2 - llvm/include/llvm/IR/IntrinsicsAMDGPU.td | 40 +- llvm/include/llvm/ObjectYAML/ELFYAML.h | 28 +- llvm/include/llvm/Support/Automaton.h | 230 ++ llvm/include/llvm/Support/FileSystem.h | 6 +- llvm/include/llvm/TableGen/Automaton.td | 95 + llvm/include/llvm/Target/GlobalISel/Combine.td | 17 + .../llvm/Transforms/Utils/SimplifyLibCalls.h | 1 + llvm/lib/Analysis/AssumptionCache.cpp | 5 +- llvm/lib/Analysis/MemorySSAUpdater.cpp | 77 +- llvm/lib/CodeGen/AsmPrinter/DebugLocStream.h | 10 +- llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | 12 +- llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 72 +- llvm/lib/CodeGen/AsmPrinter/DwarfFile.h | 12 +- llvm/lib/CodeGen/AtomicExpandPass.cpp | 2 +- llvm/lib/CodeGen/LiveDebugValues.cpp | 256 +- llvm/lib/CodeGen/ModuloSchedule.cpp | 3 +- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 7 +- .../CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp | 8 +- .../JITLink/BasicGOTAndStubsBuilder.h | 35 +- llvm/lib/ExecutionEngine/JITLink/CMakeLists.txt | 2 +- .../lib/ExecutionEngine/JITLink/EHFrameSupport.cpp | 190 +- .../ExecutionEngine/JITLink/EHFrameSupportImpl.h | 50 +- llvm/lib/ExecutionEngine/JITLink/JITLink.cpp | 158 +- .../lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp | 372 +-- llvm/lib/ExecutionEngine/JITLink/JITLinkGeneric.h | 183 +- .../JITLink/JITLinkMemoryManager.cpp | 17 +- .../JITLink/MachOAtomGraphBuilder.cpp | 412 --- .../JITLink/MachOAtomGraphBuilder.h | 138 - .../JITLink/MachOLinkGraphBuilder.cpp | 535 ++++ .../JITLink/MachOLinkGraphBuilder.h | 269 ++ llvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp | 261 +- llvm/lib/ExecutionEngine/Orc/Core.cpp | 21 +- .../lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp | 176 +- llvm/lib/IR/Core.cpp | 2 +- llvm/lib/IR/Instructions.cpp | 8 +- llvm/lib/ObjectYAML/ELFEmitter.cpp | 30 + llvm/lib/ObjectYAML/ELFYAML.cpp | 43 + llvm/lib/TableGen/Main.cpp | 37 +- llvm/lib/Target/AArch64/AArch64.td | 1 + llvm/lib/Target/AArch64/AArch64Combine.td | 15 + llvm/lib/Target/AArch64/AArch64FrameLowering.cpp | 77 +- llvm/lib/Target/AArch64/AArch64FrameLowering.h | 11 + llvm/lib/Target/AArch64/AArch64InstrInfo.cpp | 31 +- .../Target/AArch64/AArch64MachineFunctionInfo.h | 16 + .../Target/AArch64/AArch64PreLegalizerCombiner.cpp | 17 + llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td | 12 +- llvm/lib/Target/AArch64/AArch64StackOffset.h | 49 +- .../Target/AArch64/AsmParser/AArch64AsmParser.cpp | 2 +- llvm/lib/Target/AArch64/CMakeLists.txt | 2 + .../AArch64/MCTargetDesc/AArch64InstPrinter.cpp | 3 +- llvm/lib/Target/AArch64/SVEInstrFormats.td | 14 +- llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp | 32 +- .../Target/AMDGPU/AMDGPUInstructionSelector.cpp | 26 +- llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp | 14 +- llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp | 560 ++-- llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.h | 14 + .../Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp | 4 + llvm/lib/Target/AMDGPU/BUFInstructions.td | 296 +- .../AMDGPU/Disassembler/AMDGPUDisassembler.cpp | 4 +- llvm/lib/Target/AMDGPU/FLATInstructions.td | 2 +- .../AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp | 4 + .../Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.h | 2 + llvm/lib/Target/AMDGPU/SIFrameLowering.cpp | 6 + llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 16 +- llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | 13 +- llvm/lib/Target/AMDGPU/SIInstrInfo.td | 9 +- llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp | 469 +-- llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp | 2 + llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp | 41 + llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h | 18 + llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp | 2 +- llvm/lib/Target/ARM/ARMISelLowering.cpp | 8 +- llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 2 +- llvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp | 218 +- .../Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp | 7 +- llvm/lib/Target/PowerPC/PPCInstrInfo.cpp | 12 +- llvm/lib/Target/PowerPC/PPCInstrVSX.td | 36 +- llvm/lib/Target/RISCV/RISCVFrameLowering.cpp | 86 +- llvm/lib/Target/RISCV/RISCVFrameLowering.h | 5 + llvm/lib/Target/RISCV/RISCVInstrInfoF.td | 6 + .../Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp | 6 + llvm/lib/Target/X86/X86ISelLowering.cpp | 113 +- llvm/lib/Target/X86/X86InstrAVX512.td | 154 +- llvm/lib/Target/X86/X86TargetTransformInfo.cpp | 3 +- llvm/lib/Transforms/IPO/Attributor.cpp | 2 +- llvm/lib/Transforms/IPO/GlobalOpt.cpp | 10 +- llvm/lib/Transforms/IPO/LowerTypeTests.cpp | 11 + .../InstCombine/InstCombineAtomicRMW.cpp | 2 +- .../Transforms/InstCombine/InstCombineCalls.cpp | 21 +- .../Transforms/InstCombine/InstCombineInternal.h | 2 + .../InstCombine/InstCombineLoadStoreAlloca.cpp | 12 +- .../Transforms/InstCombine/InstCombineShifts.cpp | 72 + llvm/lib/Transforms/Instrumentation/CMakeLists.txt | 1 + .../Transforms/Instrumentation/MemorySanitizer.cpp | 9 + .../Instrumentation/PGOInstrumentation.cpp | 167 +- .../Instrumentation/ValueProfileCollector.cpp | 78 + .../Instrumentation/ValueProfileCollector.h | 79 + .../Instrumentation/ValueProfilePlugins.inc | 75 + .../Transforms/Scalar/AlignmentFromAssumptions.cpp | 2 +- llvm/lib/Transforms/Scalar/GVNHoist.cpp | 4 +- llvm/lib/Transforms/Scalar/LICM.cpp | 14 +- llvm/lib/Transforms/Scalar/SROA.cpp | 2 +- llvm/lib/Transforms/Utils/Local.cpp | 10 +- llvm/lib/Transforms/Utils/SimplifyCFG.cpp | 6 +- llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp | 8 + llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 2 +- llvm/test/Analysis/MemorySSA/pr43427.ll | 42 + llvm/test/Analysis/MemorySSA/pr43540.ll | 34 + llvm/test/CodeGen/AArch64/framelayout-sve.mir | 121 + llvm/test/CodeGen/AArch64/sve-fp.ll | 25 + .../AMDGPU/GlobalISel/inst-select-load-private.mir | 92 +- .../AMDGPU/GlobalISel/inst-select-ptrtoint.mir | 101 + .../GlobalISel/inst-select-store-private.mir | 36 +- .../AMDGPU/GlobalISel/legalize-addrspacecast.mir | 16 +- .../CodeGen/AMDGPU/GlobalISel/legalize-and.mir | 166 ++ .../CodeGen/AMDGPU/GlobalISel/legalize-bitcast.mir | 102 + .../CodeGen/AMDGPU/GlobalISel/legalize-insert.mir | 168 ++ .../llvm.amdgcn.raw.buffer.store.format.f16.ll | 52 +- .../llvm.amdgcn.raw.buffer.store.format.f32.ll | 28 +- .../GlobalISel/llvm.amdgcn.raw.buffer.store.ll | 82 +- .../regbankselect-amdgcn-buffer-load.mir | 477 ++-- .../regbankselect-amdgcn-s-buffer-load.mir | 16 +- .../regbankselect-amdgcn.image.load.1d.ll | 8 +- .../regbankselect-amdgcn.image.sample.1d.ll | 14 +- .../regbankselect-amdgcn.raw.buffer.load.ll | 18 +- .../regbankselect-amdgcn.struct.buffer.load.ll | 16 +- .../regbankselect-amdgcn.struct.buffer.store.ll | 16 +- .../regbankselect-extract-vector-elt.mir | 431 ++- .../GlobalISel/regbankselect-insert-vector-elt.mir | 395 ++- .../CodeGen/AMDGPU/break-vmem-soft-clauses.mir | 42 +- .../CodeGen/AMDGPU/clamp-omod-special-case.mir | 24 +- .../AMDGPU/coalescer-extend-pruned-subrange.mir | 4 +- ...coalescer-subranges-another-copymi-not-live.mir | 2 +- .../coalescer-subranges-another-prune-error.mir | 2 +- .../AMDGPU/coalescer-subregjoin-fullcopy.mir | 6 +- .../coalescer-with-subregs-bad-identical.mir | 2 +- llvm/test/CodeGen/AMDGPU/collapse-endcf.mir | 64 +- llvm/test/CodeGen/AMDGPU/collapse-endcf2.mir | 8 +- .../CodeGen/AMDGPU/constant-fold-imm-immreg.mir | 8 +- .../CodeGen/AMDGPU/couldnt-join-subrange-3.mir | 2 +- .../CodeGen/AMDGPU/extract_subvector_vec4_vec3.ll | 4 +- llvm/test/CodeGen/AMDGPU/fold-fi-mubuf.mir | 24 +- llvm/test/CodeGen/AMDGPU/fold-imm-copy.mir | 2 +- llvm/test/CodeGen/AMDGPU/fold-imm-f16-f32.mir | 78 +- .../CodeGen/AMDGPU/fold-immediate-output-mods.mir | 24 +- llvm/test/CodeGen/AMDGPU/fold-multiple.mir | 2 +- .../CodeGen/AMDGPU/fold_acc_copy_into_valu.mir | 15 + .../AMDGPU/hazard-buffer-store-v-interp.mir | 2 +- llvm/test/CodeGen/AMDGPU/hazard-hidden-bundle.mir | 4 +- .../CodeGen/AMDGPU/illegal-sgpr-to-vgpr-copy.ll | 9 +- .../CodeGen/AMDGPU/indirect-addressing-term.ll | 2 +- .../test/CodeGen/AMDGPU/insert-skips-flat-vmem.mir | 4 +- llvm/test/CodeGen/AMDGPU/insert-waitcnts-exp.mir | 8 +- llvm/test/CodeGen/AMDGPU/inserted-wait-states.mir | 16 +- llvm/test/CodeGen/AMDGPU/invert-br-undef-vcc.mir | 6 +- .../test/CodeGen/AMDGPU/lds-branch-vmem-hazard.mir | 32 +- .../CodeGen/AMDGPU/llvm.amdgcn.raw.buffer.load.ll | 40 + .../CodeGen/AMDGPU/llvm.amdgcn.raw.buffer.store.ll | 31 + .../AMDGPU/memory-legalizer-atomic-insert-end.mir | 2 +- ...ory-legalizer-multiple-mem-operands-atomics.mir | 6 +- ...galizer-multiple-mem-operands-nontemporal-1.mir | 6 +- ...galizer-multiple-mem-operands-nontemporal-2.mir | 6 +- llvm/test/CodeGen/AMDGPU/memory_clause.mir | 4 +- llvm/test/CodeGen/AMDGPU/merge-load-store.mir | 24 +- .../CodeGen/AMDGPU/mubuf-legalize-operands.mir | 30 +- llvm/test/CodeGen/AMDGPU/nsa-vmem-hazard.mir | 10 +- llvm/test/CodeGen/AMDGPU/opt-sgpr-to-vgpr-copy.mir | 6 +- .../CodeGen/AMDGPU/optimize-if-exec-masking.mir | 48 +- .../CodeGen/AMDGPU/pei-reg-scavenger-position.mir | 4 +- .../test/CodeGen/AMDGPU/phi-elimination-end-cf.mir | 2 +- .../CodeGen/AMDGPU/power-sched-no-instr-sunit.mir | 2 +- .../CodeGen/AMDGPU/regcoal-subrange-join-seg.mir | 2 +- llvm/test/CodeGen/AMDGPU/regcoalesce-dbg.mir | 2 +- .../rename-independent-subregs-mac-operands.mir | 8 +- ...hed-assert-dead-def-subreg-use-other-subreg.mir | 4 +- llvm/test/CodeGen/AMDGPU/sched-crash-dbg-value.mir | 8 +- llvm/test/CodeGen/AMDGPU/schedule-barrier.mir | 4 +- llvm/test/CodeGen/AMDGPU/shrink-vop3-carry-out.mir | 36 +- .../CodeGen/AMDGPU/vccz-corrupt-bug-workaround.mir | 12 +- llvm/test/CodeGen/AMDGPU/vmem-to-salu-hazard.mir | 24 +- llvm/test/CodeGen/AMDGPU/vmem-vcc-hazard.mir | 20 +- .../CodeGen/AMDGPU/waitcnt-loop-irreducible.mir | 4 +- llvm/test/CodeGen/ARM/r7-fixed-darwin.ll | 15 + .../CodeGen/BPF/CORE/offset-reloc-middle-chain.ll | 127 + llvm/test/CodeGen/Hexagon/swp-stages5.ll | 2 +- .../MIR/AMDGPU/expected-target-index-name.mir | 2 +- .../MIR/AMDGPU/invalid-target-index-operand.mir | 2 +- .../test/CodeGen/MIR/AMDGPU/load-store-opt-dlc.mir | 28 +- llvm/test/CodeGen/MIR/AMDGPU/mir-canon-multi.mir | 4 +- .../MIR/AMDGPU/parse-order-reserved-regs.mir | 4 +- .../CodeGen/MIR/AMDGPU/target-index-operands.mir | 4 +- llvm/test/CodeGen/MSP430/selectcc.ll | 46 + .../Mips/micromips-ase-function-attribute.ll | 2 +- llvm/test/CodeGen/PowerPC/combine-fneg.ll | 2 +- llvm/test/CodeGen/PowerPC/f128-fma.ll | 2 +- llvm/test/CodeGen/PowerPC/fma-assoc.ll | 1 - llvm/test/CodeGen/PowerPC/fma-ext.ll | 1 - .../CodeGen/PowerPC/fp-intrinsics-fptosi-legal.ll | 3 +- llvm/test/CodeGen/PowerPC/repeated-fp-divisors.ll | 2 +- llvm/test/CodeGen/PowerPC/sh-overflow.mir | 58 + .../PowerPC/vector-constrained-fp-intrinsics.ll | 478 ++-- llvm/test/CodeGen/RISCV/large-stack.ll | 152 +- llvm/test/CodeGen/RISCV/rv64-large-stack.ll | 16 +- llvm/test/CodeGen/RISCV/split-sp-adjust.ll | 45 + llvm/test/CodeGen/RISCV/stack-realignment.ll | 186 +- llvm/test/CodeGen/SystemZ/fp-strict-add-01.ll | 52 +- llvm/test/CodeGen/SystemZ/fp-strict-add-02.ll | 52 +- llvm/test/CodeGen/SystemZ/fp-strict-add-03.ll | 4 +- llvm/test/CodeGen/SystemZ/fp-strict-add-04.ll | 4 +- llvm/test/CodeGen/SystemZ/fp-strict-alias.ll | 41 +- llvm/test/CodeGen/SystemZ/fp-strict-conv-01.ll | 26 +- llvm/test/CodeGen/SystemZ/fp-strict-conv-02.ll | 25 +- llvm/test/CodeGen/SystemZ/fp-strict-conv-03.ll | 25 +- llvm/test/CodeGen/SystemZ/fp-strict-conv-04.ll | 25 +- llvm/test/CodeGen/SystemZ/fp-strict-conv-09.ll | 14 +- llvm/test/CodeGen/SystemZ/fp-strict-conv-10.ll | 14 +- llvm/test/CodeGen/SystemZ/fp-strict-conv-11.ll | 14 +- llvm/test/CodeGen/SystemZ/fp-strict-conv-12.ll | 14 +- llvm/test/CodeGen/SystemZ/fp-strict-conv-14.ll | 26 +- llvm/test/CodeGen/SystemZ/fp-strict-conv-15.ll | 17 +- llvm/test/CodeGen/SystemZ/fp-strict-conv-16.ll | 18 +- llvm/test/CodeGen/SystemZ/fp-strict-div-01.ll | 52 +- llvm/test/CodeGen/SystemZ/fp-strict-div-02.ll | 52 +- llvm/test/CodeGen/SystemZ/fp-strict-div-03.ll | 4 +- llvm/test/CodeGen/SystemZ/fp-strict-div-04.ll | 4 +- llvm/test/CodeGen/SystemZ/fp-strict-mul-01.ll | 52 +- llvm/test/CodeGen/SystemZ/fp-strict-mul-02.ll | 70 +- llvm/test/CodeGen/SystemZ/fp-strict-mul-03.ll | 52 +- llvm/test/CodeGen/SystemZ/fp-strict-mul-04.ll | 70 +- llvm/test/CodeGen/SystemZ/fp-strict-mul-05.ll | 4 +- llvm/test/CodeGen/SystemZ/fp-strict-mul-06.ll | 34 +- llvm/test/CodeGen/SystemZ/fp-strict-mul-07.ll | 34 +- llvm/test/CodeGen/SystemZ/fp-strict-mul-08.ll | 34 +- llvm/test/CodeGen/SystemZ/fp-strict-mul-09.ll | 34 +- llvm/test/CodeGen/SystemZ/fp-strict-mul-10.ll | 17 +- llvm/test/CodeGen/SystemZ/fp-strict-mul-11.ll | 9 +- llvm/test/CodeGen/SystemZ/fp-strict-round-01.ll | 73 +- llvm/test/CodeGen/SystemZ/fp-strict-round-02.ll | 73 +- llvm/test/CodeGen/SystemZ/fp-strict-round-03.ll | 73 +- llvm/test/CodeGen/SystemZ/fp-strict-sqrt-01.ll | 25 +- llvm/test/CodeGen/SystemZ/fp-strict-sqrt-02.ll | 25 +- llvm/test/CodeGen/SystemZ/fp-strict-sqrt-03.ll | 4 +- llvm/test/CodeGen/SystemZ/fp-strict-sqrt-04.ll | 4 +- llvm/test/CodeGen/SystemZ/fp-strict-sub-01.ll | 52 +- llvm/test/CodeGen/SystemZ/fp-strict-sub-02.ll | 52 +- llvm/test/CodeGen/SystemZ/fp-strict-sub-03.ll | 4 +- llvm/test/CodeGen/SystemZ/fp-strict-sub-04.ll | 4 +- llvm/test/CodeGen/SystemZ/vec-strict-add-01.ll | 8 +- llvm/test/CodeGen/SystemZ/vec-strict-add-02.ll | 8 +- llvm/test/CodeGen/SystemZ/vec-strict-conv-01.ll | 25 +- llvm/test/CodeGen/SystemZ/vec-strict-conv-03.ll | 9 +- llvm/test/CodeGen/SystemZ/vec-strict-div-01.ll | 10 +- llvm/test/CodeGen/SystemZ/vec-strict-div-02.ll | 10 +- llvm/test/CodeGen/SystemZ/vec-strict-max-01.ll | 21 +- llvm/test/CodeGen/SystemZ/vec-strict-min-01.ll | 21 +- llvm/test/CodeGen/SystemZ/vec-strict-mul-01.ll | 10 +- llvm/test/CodeGen/SystemZ/vec-strict-mul-02.ll | 10 +- llvm/test/CodeGen/SystemZ/vec-strict-mul-03.ll | 10 +- llvm/test/CodeGen/SystemZ/vec-strict-mul-04.ll | 10 +- llvm/test/CodeGen/SystemZ/vec-strict-mul-05.ll | 18 +- llvm/test/CodeGen/SystemZ/vec-strict-round-01.ll | 50 +- llvm/test/CodeGen/SystemZ/vec-strict-round-02.ll | 50 +- llvm/test/CodeGen/SystemZ/vec-strict-sqrt-01.ll | 10 +- llvm/test/CodeGen/SystemZ/vec-strict-sqrt-02.ll | 10 +- llvm/test/CodeGen/SystemZ/vec-strict-sub-01.ll | 9 +- llvm/test/CodeGen/SystemZ/vec-strict-sub-02.ll | 10 +- .../SystemZ/vector-constrained-fp-intrinsics.ll | 478 ++-- llvm/test/CodeGen/Thumb/long.ll | 2 +- .../test/CodeGen/Thumb2/2010-03-15-AsmCCClobber.ll | 2 +- llvm/test/CodeGen/WebAssembly/cpus.ll | 9 +- .../GlobalISel/select-memop-scalar-unordered.mir | 14 +- llvm/test/CodeGen/X86/atomic-unordered.ll | 33 + llvm/test/CodeGen/X86/avx512-arith.ll | 94 + llvm/test/CodeGen/X86/avx512-calling-conv.ll | 2995 ++++++++++++-------- llvm/test/CodeGen/X86/avx512-ext.ll | 1514 +++++----- llvm/test/CodeGen/X86/avx512-insert-extract.ll | 90 +- llvm/test/CodeGen/X86/avx512-intrinsics-upgrade.ll | 34 +- llvm/test/CodeGen/X86/avx512-mask-op.ll | 1693 ++++++----- llvm/test/CodeGen/X86/avx512-vselect.ll | 171 ++ .../CodeGen/X86/avx512dqvl-intrinsics-upgrade.ll | 27 +- .../CodeGen/X86/avx512ifma-intrinsics-upgrade.ll | 34 +- llvm/test/CodeGen/X86/avx512ifma-intrinsics.ll | 34 +- .../CodeGen/X86/avx512vl-intrinsics-upgrade.ll | 28 +- .../CodeGen/X86/avx512vlvp2intersect-intrinsics.ll | 7 +- .../CodeGen/X86/avx512vp2intersect-intrinsics.ll | 3 +- .../test/CodeGen/X86/constrained-fp80-trunc-ext.ll | 18 +- llvm/test/CodeGen/X86/fp-intrinsics.ll | 94 +- llvm/test/CodeGen/X86/masked_store.ll | 100 +- llvm/test/CodeGen/X86/masked_store_trunc_ssat.ll | 36 +- llvm/test/CodeGen/X86/masked_store_trunc_usat.ll | 18 +- llvm/test/CodeGen/X86/memcmp.ll | 20 + llvm/test/CodeGen/X86/min-legal-vector-width.ll | 116 + llvm/test/CodeGen/X86/shuffle-vs-trunc-512.ll | 38 +- llvm/test/CodeGen/X86/vec_smulo.ll | 155 +- llvm/test/CodeGen/X86/vec_umulo.ll | 123 +- .../X86/vector-constrained-fp-intrinsics-fma.ll | 30 +- .../X86/vector-constrained-fp-intrinsics.ll | 605 ++-- llvm/test/CodeGen/X86/vector-trunc-packus.ll | 6 +- llvm/test/CodeGen/X86/vector-trunc-ssat.ll | 12 +- .../MIR/X86/live-debug-values-bad-transfer.mir | 103 + .../MIR/X86/live-debug-values-restore.mir | 141 +- .../JITLink/X86/MachO_zero_fill_alignment.s | 10 +- llvm/test/Feature/fp-intrinsics.ll | 90 +- .../MemorySanitizer/msan_llvm_launder_invariant.ll | 38 + .../MemorySanitizer/msan_llvm_strip_invariant.ll | 21 + llvm/test/MC/AArch64/armv8.2a-bfc.s | 11 + llvm/test/MC/AArch64/basic-a64-instructions.s | 12 +- llvm/test/MC/AMDGPU/flat-scratch-instructions.s | 20 + llvm/test/MC/COFF/symidx.s | 8 +- .../AArch64/basic-a64-instructions.txt | 7 +- llvm/test/MC/Disassembler/AMDGPU/flat_gfx10.txt | 75 + llvm/test/MC/Disassembler/AMDGPU/sop2_gfx10.txt | 7 + llvm/test/MC/Disassembler/AMDGPU/vcmp-gfx10.txt | 6 + llvm/test/MC/Mips/crc/module-crc.s | 2 +- llvm/test/MC/Mips/crc/module-nocrc.s | 2 +- llvm/test/MC/Mips/ginv/module-ginv.s | 2 +- llvm/test/MC/Mips/ginv/module-noginv.s | 2 +- llvm/test/MC/Mips/micromips-ase-directive.s | 2 +- llvm/test/MC/Mips/micromips32r6/relocations.s | 10 + llvm/test/MC/Mips/mips32r6/relocations.s | 10 + llvm/test/MC/Mips/mips64r6/relocations.s | 10 + llvm/test/MC/Mips/mips_abi_flags_xx.s | 8 +- llvm/test/MC/Mips/mips_abi_flags_xx_set.s | 2 +- llvm/test/MC/Mips/module-hardfloat.s | 2 +- llvm/test/MC/Mips/module-softfloat.s | 2 +- llvm/test/MC/Mips/mt/abiflag.s | 2 +- llvm/test/MC/Mips/mt/module-directive.s | 2 +- llvm/test/MC/Mips/mt/set-directive.s | 2 +- llvm/test/MC/Mips/virt/module-novirt.s | 2 +- llvm/test/MC/Mips/virt/module-virt.s | 2 +- llvm/test/MC/RISCV/rvf-aliases-valid.s | 12 + llvm/test/Object/Mips/abi-flags.yaml | 2 +- llvm/test/Transforms/DCE/calls-errno.ll | 17 +- llvm/test/Transforms/InstCombine/bcopy.ll | 25 + .../InstCombine/constant-fold-libfunc.ll | 2 +- llvm/test/Transforms/InstCombine/memcpy-1.ll | 2 +- .../Transforms/InstCombine/sub-of-negatible.ll | 292 ++ ...able-signext-of-variable-high-bit-extraction.ll | 575 ++++ llvm/test/Transforms/LICM/guards.ll | 2 +- .../LowerTypeTests/export-rename-local.ll | 15 + llvm/test/Verifier/fp-intrinsics.ll | 26 +- llvm/test/tools/dsymutil/cmdline.test | 14 +- llvm/test/tools/llvm-ar/case-detection.test | 2 +- llvm/test/tools/llvm-ar/mri-utf8.test | 4 + llvm/test/tools/llvm-objdump/X86/adjust-vma.test | 58 +- llvm/test/tools/llvm-objdump/X86/demangle.s | 6 +- .../tools/llvm-objdump/X86/out-of-section-sym.test | 11 +- .../tools/llvm-objdump/X86/output-ordering.test | 70 + llvm/test/tools/llvm-objdump/all-headers.test | 35 +- llvm/test/tools/llvm-readobj/all.test | 39 +- .../test/tools/llvm-readobj/elf-section-types.test | 1 + llvm/test/tools/llvm-readobj/mips-abiflags.test | 33 +- .../tools/llvm-readobj/mips-got-overlapped.test | 4 +- llvm/test/tools/llvm-readobj/mips-got.test | 28 +- llvm/test/tools/llvm-readobj/mips-options-sec.test | 2 +- llvm/test/tools/llvm-readobj/mips-plt.test | 4 +- llvm/test/tools/llvm-readobj/mips-reginfo.test | 2 +- .../tools/obj2yaml/elf-llvm-addrsig-section.yaml | 98 + .../tools/yaml2obj/elf-llvm-addrsig-section.yaml | 307 ++ llvm/tools/dsymutil/CMakeLists.txt | 6 + llvm/tools/dsymutil/Options.td | 146 + llvm/tools/dsymutil/dsymutil.cpp | 643 +++-- llvm/tools/llvm-exegesis/lib/SnippetRepetitor.cpp | 3 +- llvm/tools/llvm-exegesis/lib/Target.h | 3 +- llvm/tools/llvm-exegesis/lib/X86/Target.cpp | 10 +- llvm/tools/llvm-jitlink/llvm-jitlink-macho.cpp | 139 +- llvm/tools/llvm-jitlink/llvm-jitlink.cpp | 108 +- llvm/tools/llvm-jitlink/llvm-jitlink.h | 2 +- llvm/tools/llvm-objdump/llvm-objdump.cpp | 39 +- llvm/tools/llvm-readobj/ELFDumper.cpp | 167 +- llvm/tools/llvm-readobj/ObjDumper.h | 10 +- llvm/tools/llvm-readobj/llvm-readobj.cpp | 41 +- llvm/tools/obj2yaml/elf2yaml.cpp | 75 +- llvm/unittests/CMakeLists.txt | 3 +- .../ExecutionEngine/JITLink/JITLinkTestCommon.cpp | 26 +- .../ExecutionEngine/JITLink/JITLinkTestCommon.h | 68 +- .../ExecutionEngine/JITLink/MachO_x86_64_Tests.cpp | 117 +- llvm/unittests/Support/FileCheckTest.cpp | 36 +- llvm/unittests/TableGen/Automata.td | 186 ++ llvm/unittests/TableGen/AutomataTest.cpp | 153 + llvm/unittests/TableGen/CMakeLists.txt | 17 + llvm/unittests/TableGen/CodeExpanderTest.cpp | 203 ++ llvm/unittests/Target/AArch64/TestStackOffset.cpp | 75 +- llvm/unittests/Transforms/Utils/LocalTest.cpp | 32 + llvm/utils/TableGen/CMakeLists.txt | 5 + llvm/utils/TableGen/CodeGenSchedule.cpp | 20 +- llvm/utils/TableGen/DFAEmitter.cpp | 394 +++ llvm/utils/TableGen/DFAEmitter.h | 107 + llvm/utils/TableGen/GICombinerEmitter.cpp | 105 + llvm/utils/TableGen/GlobalISel/CMakeLists.txt | 7 + llvm/utils/TableGen/GlobalISel/CodeExpander.cpp | 93 + llvm/utils/TableGen/GlobalISel/CodeExpander.h | 55 + llvm/utils/TableGen/GlobalISel/CodeExpansions.h | 43 + llvm/utils/TableGen/TableGen.cpp | 144 +- llvm/utils/TableGen/TableGenBackends.h | 2 + llvm/utils/UpdateTestChecks/asm.py | 17 + llvm/utils/bisect | 5 +- llvm/utils/bisect-skip-count | 9 +- .../clang-tidy/cppcoreguidelines/BUILD.gn | 1 + .../llvm/lib/ExecutionEngine/JITLink/BUILD.gn | 2 +- .../gn/secondary/llvm/lib/Target/AArch64/BUILD.gn | 10 + .../llvm/lib/Transforms/Instrumentation/BUILD.gn | 1 + .../gn/secondary/llvm/tools/dsymutil/BUILD.gn | 9 + llvm/utils/gn/secondary/llvm/unittests/BUILD.gn | 1 + .../gn/secondary/llvm/unittests/TableGen/BUILD.gn | 29 + .../gn/secondary/llvm/utils/TableGen/BUILD.gn | 3 + .../llvm/utils/TableGen/GlobalISel/BUILD.gn | 8 + .../gn/secondary/llvm/utils/TableGen/tablegen.gni | 5 - llvm/utils/llvm-locstats/CMakeLists.txt | 9 +- polly/lib/CodeGen/BlockGenerators.cpp | 2 +- 776 files changed, 24650 insertions(+), 13160 deletions(-) create mode 100644 clang-tools-extra/clang-tidy/cppcoreguidelines/InitVariablesCheck.cpp create mode 100644 clang-tools-extra/clang-tidy/cppcoreguidelines/InitVariablesCheck.h create mode 100644 clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines-init [...] create mode 100644 clang-tools-extra/test/clang-tidy/cppcoreguidelines-init-variables.cpp create mode 100644 clang/test/CodeCompletion/member-access-qualifiers.cpp create mode 100644 clang/test/Driver/hip-default-gpu-arch.hip create mode 100644 clang/test/Driver/hip-device-compile.hip create mode 100644 clang/test/Driver/hip-no-device-libs.hip create mode 100644 clang/test/Sema/warn-bitwise-negation-bool.c create mode 100644 clang/test/SemaCXX/cxx2a-constexpr-dynalloc.cpp create mode 100644 clang/test/clang-rename/ForwardClassDecl.cpp create mode 100644 compiler-rt/lib/sanitizer_common/sanitizer_glibc_version.h create mode 100644 compiler-rt/test/sanitizer_common/TestCases/Linux/signal_line.cpp create mode 100644 compiler-rt/test/sanitizer_common/TestCases/onprint.cpp create mode 100644 lldb/include/lldb/API/SBFile.h create mode 100644 lldb/include/lldb/Interpreter/OptionGroupPythonClassWithDict.h delete mode 100644 lldb/include/lldb/Utility/JSON.h create mode 100644 lldb/lit/Host/Inputs/simple.c create mode 100644 lldb/lit/Host/TestCustomShell.test create mode 100644 lldb/scripts/interface/SBFile.i create mode 100644 lldb/source/API/SBFile.cpp create mode 100644 lldb/source/Interpreter/OptionGroupPythonClassWithDict.cpp delete mode 100644 lldb/source/Utility/JSON.cpp delete mode 100644 lldb/unittests/Utility/JSONTest.cpp create mode 100644 llvm/include/llvm/Support/Automaton.h create mode 100644 llvm/include/llvm/TableGen/Automaton.td create mode 100644 llvm/include/llvm/Target/GlobalISel/Combine.td delete mode 100644 llvm/lib/ExecutionEngine/JITLink/MachOAtomGraphBuilder.cpp delete mode 100644 llvm/lib/ExecutionEngine/JITLink/MachOAtomGraphBuilder.h create mode 100644 llvm/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.cpp create mode 100644 llvm/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.h create mode 100644 llvm/lib/Target/AArch64/AArch64Combine.td create mode 100644 llvm/lib/Transforms/Instrumentation/ValueProfileCollector.cpp create mode 100644 llvm/lib/Transforms/Instrumentation/ValueProfileCollector.h create mode 100644 llvm/lib/Transforms/Instrumentation/ValueProfilePlugins.inc create mode 100644 llvm/test/Analysis/MemorySSA/pr43427.ll create mode 100644 llvm/test/Analysis/MemorySSA/pr43540.ll create mode 100644 llvm/test/CodeGen/AArch64/framelayout-sve.mir create mode 100644 llvm/test/CodeGen/AArch64/sve-fp.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ptrtoint.mir create mode 100644 llvm/test/CodeGen/AMDGPU/fold_acc_copy_into_valu.mir create mode 100644 llvm/test/CodeGen/ARM/r7-fixed-darwin.ll create mode 100644 llvm/test/CodeGen/BPF/CORE/offset-reloc-middle-chain.ll create mode 100644 llvm/test/CodeGen/MSP430/selectcc.ll create mode 100644 llvm/test/CodeGen/PowerPC/sh-overflow.mir create mode 100644 llvm/test/CodeGen/RISCV/split-sp-adjust.ll create mode 100644 llvm/test/DebugInfo/MIR/X86/live-debug-values-bad-transfer.mir create mode 100644 llvm/test/Instrumentation/MemorySanitizer/msan_llvm_launder_inv [...] create mode 100644 llvm/test/Instrumentation/MemorySanitizer/msan_llvm_strip_invariant.ll create mode 100644 llvm/test/MC/AArch64/armv8.2a-bfc.s create mode 100644 llvm/test/MC/Disassembler/AMDGPU/flat_gfx10.txt create mode 100644 llvm/test/MC/Disassembler/AMDGPU/sop2_gfx10.txt create mode 100644 llvm/test/MC/Disassembler/AMDGPU/vcmp-gfx10.txt create mode 100644 llvm/test/Transforms/InstCombine/bcopy.ll create mode 100644 llvm/test/Transforms/InstCombine/sub-of-negatible.ll create mode 100644 llvm/test/Transforms/InstCombine/variable-signext-of-variable-h [...] create mode 100644 llvm/test/Transforms/LowerTypeTests/export-rename-local.ll create mode 100644 llvm/test/tools/llvm-objdump/X86/output-ordering.test create mode 100644 llvm/test/tools/obj2yaml/elf-llvm-addrsig-section.yaml create mode 100644 llvm/test/tools/yaml2obj/elf-llvm-addrsig-section.yaml create mode 100644 llvm/tools/dsymutil/Options.td create mode 100644 llvm/unittests/TableGen/Automata.td create mode 100644 llvm/unittests/TableGen/AutomataTest.cpp create mode 100644 llvm/unittests/TableGen/CMakeLists.txt create mode 100644 llvm/unittests/TableGen/CodeExpanderTest.cpp create mode 100644 llvm/utils/TableGen/DFAEmitter.cpp create mode 100644 llvm/utils/TableGen/DFAEmitter.h create mode 100644 llvm/utils/TableGen/GICombinerEmitter.cpp create mode 100644 llvm/utils/TableGen/GlobalISel/CMakeLists.txt create mode 100644 llvm/utils/TableGen/GlobalISel/CodeExpander.cpp create mode 100644 llvm/utils/TableGen/GlobalISel/CodeExpander.h create mode 100644 llvm/utils/TableGen/GlobalISel/CodeExpansions.h create mode 100644 llvm/utils/gn/secondary/llvm/unittests/TableGen/BUILD.gn create mode 100644 llvm/utils/gn/secondary/llvm/utils/TableGen/GlobalISel/BUILD.gn