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-next-defconfig in repository toolchain/ci/llvm-project.
from cdeeb548bbe [ARM,CDE] Implement CDE feature test macros adds d1186fcb042 [mlir] [ExecutionEngine] add option to enable/disable GDB n [...] adds 0e93f3b0a06 [Polly] Replace use of std::stringstream. NFC. adds c494ff05ed5 [mlir] NFC - Add predicates and types for VectorOfRank adds 12ba989eeff [lldb/Process] Update ThreadKDP for API change adds 55622fd4f31 [mlir][LLVM] Add remaining llvm.matrix intrinsics adds 90322403c20 [mlir][Vector] Allow lowering of vector.shape_cast 2D <-> 1D adds b28ed9cec8d [clang-format] cleanup from D75517 adds 3486cc014b2 [clang-tidy] Generalize HeaderFileExtensions.{h,cpp}. NFC adds 47caa69120e [clang-tidy] Use ; as separator for HeaderFileExtensions adds 63b683a8168 [mlir][Vector] Add a vector.matrix_multiply op on 1-D vectors adds eb682b80274 [clang-format] C# does not indent braced initializers as co [...] adds 843a9778fcd Add a warning for builtin_return_address/frame_address with [...] adds 829d377a98f [InstSimplify] Don't simplify musttail calls adds c3ca6876ed0 [InstCombine] Don't simplify calls without uses adds e5205074df0 Move Spiller.h from lib/ directory path to include/CodeGen. NFC adds a8f76e99ba5 Fix indentation using clang-format for Spiller.h. NFC Spill [...] adds 45555c38192 [InstSimplify] Simplify calls with "returned" attribute adds 90e791d732d Add test missed in r843a9778fcd5 adds 4a1b6b0057f [gn build] Port 3486cc014b2 adds cb3f20d27c9 [clang-format] Correct indentation for `[key] = value,` ent [...] adds c71ef7a85d2 Drop HEADER_ per review feedback on D74669 adds 8fc9eea43a9 Test that volatile load type isn't changed adds 3dcc0db15e3 [X86] Teach combineToExtendBoolVectorInReg to create opport [...] adds 4b130b883d4 [X86][SSE] SimplifyDemandedVectorEltsForTargetNode - reduce [...] adds f4076ad6407 [www] cxx_status: Update title to mention C++20 adds dfaafbab468 [www] cxx_status: Update Reflection TS to Cologne draft adds 97d8d6ab382 [libc++] Enable std::function ABI bug demonstration on Appl [...] adds 2ab8065df61 [AArch64][SVE] Add missing fp16 DestructiveInstType tests adds e4dfc9f5bda Fix the type of the capture passed to LambdaIntroducer::add [...] adds 209094eeb6c AMDGPU/GlobalISel: Start matching s_lshlN_add_u32 instructions adds cc8390bfe30 Permit attribute 'used' with 'target' multiversioning. adds d0ca1041ba0 [Hexagon] Refactor handling of circular load/store builtins, NFC adds 71269a1f172 [lldb] Add .clang-tidy with customization to disable readab [...] adds 156a1b59dfa AMDGPU: Make signext/zeroext behave more sensibly over > i32 adds 3d9a0445cce Recommit #2 "[Driver] Default to -fno-common for all targets" adds eb41627799b AMDGPU/GlobalISel: Improve handling of illegal return types adds a50c031fab6 [mlir][ods] Fix AnyInteger predicate adds 1f5b471b8bf [ObjC][ARC] Don't remove autoreleaseRV/retainRV pairs if th [...] adds 51d7f645448 Don't emit pointer to int cast warnings under -Wmicrosoft-cast adds 3262319806d Fix typo in gn files adds 22c457a869d [HIP] Fix device stub name adds e32f8ef9277 Follow up of 3d9a0445cce3, clang driver defaulting to -fno-common adds 6bfd10ff80a Fix internal links in Kaleidoscope tutorial adds c7b2e7f5274 [AMDGPU] Fix scheduling info for terminator SALU instructions adds 6309334b957 [OPENMP50]Codegen for depobj dependency kind. adds 1e0669bfe05 [clang-tidy] New check: bugprone-suspicious-include adds 78ad24bff66 [gn build] Port 1e0669bfe05 adds 698a1271292 release notes: fix new check name adds d75be4c06a7 [gn] Use ghash if using clang & LLD together to make PDBs adds 2e9d33bccd5 Add missing list.rst entry adds 56a32fb648f [tests] Add long nop test coverage for intel platforms adds 3cabd173a1e [ObjC] Dynamic type resolution logging should go to the types log. adds a3c4e6b44a1 [AppleObjC2RuntimeV2] Remove dead code. NFC. adds 9d389f78589 [AppleObjCRuntimeV2] Fix a typo. Evalulate -> evaluate. adds 7fbf15a8f2d [CodeGenObjC] Privatize some ObjC metadata symbols adds 54d82255fd2 Change tests to use -S instead of -c to work when an extern [...] adds 52bbdad7d63 [clang-tidy][docs] Post-commit feedback on D74669 adds 20dfcf189d2 [cmake] By default do not build compiler-rt with PGO adds cfc3e7f458f [cmake] Strip quotes in compiler-rt/lib/crt; error if checks fail adds b10c6625145 [mlir][SideEffects] Replace the old SideEffects dialect int [...] adds d93303b783b [ASan] Enable set_shadow_test.c on Windows. adds 2669e41b7b9 PR45083: Mark statement expressions as being dependent if t [...] adds 51fab8f36f4 Mark test function as 'weak' to prevent interprocedural CSE. adds 6333cc2a12d Revert "PR45083: Mark statement expressions as being depend [...] adds bb0ec1daff1 [x86][slh][NFC] Rm redundant liveness check adds 174c3eb69f1 [x86][slh] Move isDataInvariant* functions adds 77eec38626c [ASTMatchers] Add hasAnyOverloadedOperatorName matcher adds a7a37517751 [WebAssembly] Fixed FrameBaseLocal not being set. adds 97572fa6e9d [NFC] use hasAnyOperatorName and hasAnyOverloadedOperatorNa [...] adds e241573d597 [mlir] NFC: remove IntegerValueSet / MutableIntegerSet adds 3f981cdde90 [MC] Allow Stackmap sections after DWARF in MachO. adds ed72bcae346 AMDGPU/GlobalISel: Fix mishandling SGPR v2s16 add/sub/mul adds 627bb31a28a AMDGPU/GlobalISel: Avoid illegal vector exts for add/sub/mul adds f80c6d8dec1 Fix MLIR build when NVPTX backend is not configured in adds fd8c1336134 [libc] Take 2: Add linux implementations of thrd_create and [...] adds 550be40515d [libc] Add simple implementations of mtx_lock and mtx_unlock. adds 4b8af31f634 [llvm][MIRVRegNamer] Avoid collisions across constant pool [...] adds ef4f939d389 [X86] Remove isel patterns for (X86VBroadcast (i16 (trunc ( [...] adds a72dc86cddd tsan: tsan_interface.h: make constants static adds 5aa5c943f7d Reland "[DebugInfo] Enable the debug entry values feature b [...] adds 5a101f37731 Revert "[clang-format] Correct indentation for `[key] = val [...] adds 0c28a0938c5 [clang-format] Correct indentation for `[key] = value,` ent [...] adds ff9ac33e1e0 [ARM][MVE] Validate tail predication values adds b53907bfedf [SLP] Precommit vector library test for D75878. adds 30477197b37 [ExpandMemCmp][NFC] Add more tests. adds 20a3d64c888 [Analyzer][NFC] Change parameter of NoteTag lambdas to Path [...] adds 18c19441d10 [X86][AVX] combineX86ShuffleChain - combine binary shuffles [...] adds f0de8d09409 [Arm] Do not lower vmax/vmin to Neon instructions adds 0bba37a3202 [AArch64][SVE] Add SVE intrinsics for address calculations adds 39e1a90784b [AMDGPU] SI_INDIRECT_DST_V* pseudos expansion should place [...] adds b9b96adcf57 [X86][SSE] Add SSE41 coverage for fmaxnum/fminnum tests adds 0b1dc6016f1 [CostModel][X86] Add fmaxnum/fminnum costs tests adds 9b05596eff2 [SLPVectorizer][X86] Add fmaxnum/fminnum tests adds 3e47f87e644 [NFC][llvm-dwarfdump] Always use 'const Twine &' adds 5cbddf7cbc1 [X86][SSE] Add more accurate costs for fmaxnum/fminnum codegen adds 6e2804ce6ba [LLD] Add support for --unique option adds 1fc5be06694 [NFC] Tweak OptionsUtils adds d00dff88b40 [lldb] Make UnwindLLDB a non-plugin adds 1ca1e08e754 [lldb] Break up CommandObjectDisassemble::DoExecute adds 2d6ecf46483 [SLP] Support vectorizing functions provided by vector libs. adds 5b465ad2902 [InstCombine] add/adjust tests for select-gep; NFC adds 467eec09109 [InstCombine] fold gep-of-select-of-constants (PR45084) adds 6b37c476a2d [lldb] Improve test failure messages in vscode tests adds e71fb46a8fd [TargetLowering] SimplifyDemandedVectorElts - add DemandedE [...] adds 6e60e1025f3 [InstCombine] regenerate test checks; NFC adds c2dafe12dc2 [SimplifyCFG] Skip merging return blocks if it would break [...] adds 47edf5bafb8 [ARM,CDE] Generalize MVE intrinsics infrastructure to support CDE adds 877073bc1c4 [gn build] (manually) merge 47edf5bafb adds 714466bf367 Revert "[clang-tidy] New check: bugprone-suspicious-include" adds c8c14d979ab [InstCombine] Support vectors in SimplifyAddWithRemainder. adds 14219aa442a [gn build] Port 714466bf367 adds 62ff9960d33 [SystemZ] Improve foldMemoryOperandImpl(). adds a3140500650 [ARM][MVE] VFMA and VFMS validForTailPredication adds 67cfbec7461 AMDGPU/GlobalISel: Insert readfirstlane on SGPR returns adds 4b4e5d41ec0 [PSI] Add tests for is(Hot|Cold)FunctionInCallGraphNthPercentile. adds 417fe39be54 [X86][SSE] Add some extract+insert shuffle tests adds e6a7e3b5e3e [X86][SSE] matchShuffleWithSHUFPD - add support for unary s [...] adds c8ede5e4858 [X86][SSE] getFauxShuffleMask - add support for INSERT_VECT [...] adds f7c4d796ba6 [compiler-rt] Define ElfW() macro if it's not defined adds d871ef4e6ad [instcombine] remove fsub to fneg hacks; only emit fneg adds 71ffac21f74 [OPENMP]Fix PR45132: OpenMP doacross loop nest with a decre [...] adds 3dabad1af38 [VE] Target-specific bit size for sjljehprepare adds a4cde9ad7b6 Fixed [AssumeBundles] Move to IR so it can be used by Analysis adds a1224432cad [gn build] Port a4cde9ad7b6 adds 43606efb684 Suppress an "unused variable" warning in release build adds 39eebe68b59 [clangd] Use a separate RunningTask flag instead of leaving [...] adds 247a177cf78 Give helpers internal linkage. NFC. adds 5d3d84b5cd4 [libc++abi] NFC: Fix typo in comment adds d67cf7a0a97 Rework findUnwindSectionsByPhdr to be more optimal. adds 66945b62f42 Add Optional overload to DiagnosticBuilder operator << adds 57a2eaf3c1a Revert "[modules] Do not cache invalid state for modules th [...] adds 936fc55bd46 [MLIR] Add custom option parser type to PassOption adds c4de8935a5c ARM: Fixup some tests using denormal-fp-math attribute adds 9624beb38a4 [docs] Regenerate ClangCommandLineReference.rst adds a0c0389ffbb [SimplifyLibcalls] Don't replace locked IO (fgetc/fgets/fpu [...] adds 4a0267e3ad8 Convert a reachable llvm_unreachable into an assert. adds 47ec8702cbc [mlir][Linalg] Revisit 0-D abstraction adds c8f0d27ef37 [AMDGPU] Fix the gfx10 scheduling model for f32 conversions adds 7ce1e7ab075 [mlir][NFC] Move the operation interfaces out of Analysis/ [...] adds 153720a0a56 [mlir][NFC] Move the interfaces and traits for side effects [...] adds 1090a830692 [mlir][vulkan-runner] Update mlir-vulkan-runner execution driver. adds f9e63891597 [Concepts] Add FoundDecl to ConceptSpecializationExpr seria [...] adds 7fb562c1ab3 [Concepts] Add constraints checks to isSameEntity adds 2eff566b07d [MLIR] Add `and`, `or`, `xor`, `min`, `max` too gpu.all_red [...] adds 5b0c60c58ea [mlir][vulkan-runner] Use std::make_tuple to create tuple adds ebdb98f254f [clang-tidy] Move fuchsia-restrict-system-includes to porta [...] adds 7ecc743c5de [gn build] Port ebdb98f254f adds 484402abaca [clangd] Run clang-format on CodeComplete.cpp and SourceCod [...] adds 445195ba6ce [clangd] Have visibleNamespaces() and getEligiblePoints() t [...] adds 72aa619a7fe Warn of uninitialized variables on asm goto's indirect branch adds ddfcda0256c [clang-tidy] Fix warning from my previous patch in ReleaseN [...] adds 40568fec7e3 [CodeGen] Emit destructor calls to destruct compound literals adds 9769e1ee9ac [Concepts] Fix incorrect DeclContext for transformed Requir [...] adds 75af694a6da [CodeGenObjC] Place property names in __objc_methname adds 200b20639ac AMDGPU: Use V_MAC_F32 for fmad.ftz adds 5c845c1c50a PR45083: Mark statement expressions as being dependent if t [...] adds a13417352ad [libc++] Properly mark std::function as deprecated in C++03 adds fde9d33f710 [libc++abi] Change __cxa_finalize return type to void adds c0f4408d76f [mlir] Create a std op instead of chain of ops. adds 0b017c85ca2 Revert "[libc++abi] Change __cxa_finalize return type to void" adds ce8a1f72944 GlobalISel: Implement fewerElementsVector for G_TRUNC adds 218dd339541 Add triple for non-x86 environments. adds edd0dfca0db AMDGPU/GlobalISel: Refine G_TRUNC legality rules adds aed57125220 [RuntimeDyld] Allow multi-line rtdyld-check and jitlink-che [...] adds 337e131ca7d [RuntimeDyld][COFF] Build stubs for COFF dllimport symbols. adds d07f9e73096 [AMDGPU] Allow struct.buffer.*.format intrinsics to accept i32 adds 4cba668ac13 Fix crash-on-invalid when trying to recover from a function [...] adds 54928ba0ec8 [clang-tidy] Use more widely available headers for protabil [...] adds 48121a5743b [cmake] Link libclangDaemonTweaks with clangFormat adds 1c70dec18c7 [libunwind] Remove __FILE__ and __LINE__ from error reporting adds 206d46a192c AMDGPU/GlobalISel: Add some tests that used to infinite loop adds b17a81f8b23 GlobalISel: Add missing add/sub with carries to MachineIRBuilder adds c0ad75e7587 GlobalISel: Don't try to narrow extending loads/trunc store adds 14a1b80e044 Make IEEEFloat::roundToIntegral more standard conformant adds 37fa9d65eaa [CodeGen][ObjC] Don't extend lifetime of ObjC pointers pass [...] adds 4016c6b07f2 [lldb/Reproducer] Prevent crash when GDB multi-loader can't [...] adds 5edf900da0d [NFC][Test] Format the test PowerPC/recipest.ll with update [...] adds 2f857eadf5d [AMDGPU] Use script to generate atomic optimizations test adds 9304decdeeb [NFC][Test] Add a PowerPC test to verify the behavior of a* [...] adds 8a125532231 [ARM] Improve codegen of volatile load/store of i64 adds a6d3bec83fc [TTI][ARM][MVE] Refine gather/scatter cost model adds 326bc1da45b [Object] Fix handling of large archive members adds 8d9886f8936 [gn build] Port 326bc1da45b adds 6d5603e2d22 [LLD][ELF] Add initial LLD LinkerScript docs page adds b3b4727a3e7 [X86] Replace (most) X86ISD::SHLD/SHRD usage with ISD::FSHL [...] adds d941df363d1 [NFC][ARM] Reorder some logic adds 51cad66e97f [NFC][ARM] Add test adds 5c917bd9a7d [clang-format] No space in `new()` and `this[Type x]` in C# adds 1fb9c29833a [clang-format] Improved identification of C# nullables adds f6790a1c635 Revert "[MLIR] Add `and`, `or`, `xor`, `min`, `max` too gpu [...] adds c7380995f81 [MLIR] Add `and`, `or`, `xor`, `min`, `max` too gpu.all_red [...] adds c422d69b1ad [LIBOMPTARGET]Fix PR45139: Bug in mixing Python and OpenMP [...] adds 31c85ca06d7 [compiler-rt][tsan] Make fiber support in thread sanitizer [...] new edbf2fde14a [analyzer] Fix a strange compile error on a certain Clang-7.0.0 new b94d4b19034 [unittests][Object] Use matching signedness for expected value new f3ad6eb5d3d Change to individual pretty printer classes, remove generic [...] new fc421d7ca3e [MLIR] Remove all-reduce lowering from GPU to NVVM. Use in- [...] new a2202f6a3f1 AMDGPU/GlobalISel: Manually RegBankSelect copies new d83ade45060 [clangd] Improve the "max limit" error message in rename, NFC. new 72bf26feb3a [ARM] Extra VFMA tests. NFC new 2150a6d0d63 [Object][unittest] Skip tests on machines with non-64 bit size_t
The 8 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: .../abseil/StringFindStartswithCheck.cpp | 7 +- .../bugprone/DynamicStaticInitializersCheck.cpp | 5 +- .../bugprone/DynamicStaticInitializersCheck.h | 13 +- .../clang-tidy/bugprone/IntegerDivisionCheck.cpp | 14 +- .../MisplacedPointerArithmeticInAllocCheck.cpp | 3 +- .../bugprone/MisplacedWideningCastCheck.cpp | 4 +- .../clang-tidy/bugprone/PosixReturnCheck.cpp | 3 +- .../clang-tidy/bugprone/SizeofContainerCheck.cpp | 2 +- .../clang-tidy/bugprone/SizeofExpressionCheck.cpp | 5 +- .../bugprone/StringIntegerAssignmentCheck.cpp | 3 +- .../bugprone/SuspiciousEnumUsageCheck.cpp | 11 +- .../bugprone/SuspiciousStringCompareCheck.cpp | 5 +- .../bugprone/UnhandledSelfAssignmentCheck.cpp | 6 +- .../clang-tidy/bugprone/UseAfterMoveCheck.cpp | 12 +- .../clang-tidy/cert/PostfixOperatorCheck.cpp | 3 +- .../cppcoreguidelines/InitVariablesCheck.cpp | 4 +- .../ProBoundsConstantArrayIndexCheck.cpp | 11 +- .../ProBoundsPointerArithmeticCheck.cpp | 7 +- .../clang-tidy/fuchsia/CMakeLists.txt | 1 - .../clang-tidy/fuchsia/FuchsiaTidyModule.cpp | 3 - .../google/GlobalNamesInHeadersCheck.cpp | 5 +- .../clang-tidy/google/GlobalNamesInHeadersCheck.h | 13 +- .../google/UnnamedNamespaceInHeaderCheck.cpp | 5 +- .../google/UnnamedNamespaceInHeaderCheck.h | 13 +- .../clang-tidy/hicpp/SignedBitwiseCheck.cpp | 7 +- .../clang-tidy/llvm/HeaderGuardCheck.h | 9 +- .../clang-tidy/misc/DefinitionsInHeadersCheck.cpp | 9 +- .../clang-tidy/misc/DefinitionsInHeadersCheck.h | 13 +- .../clang-tidy/misc/RedundantExpressionCheck.cpp | 80 +- .../clang-tidy/misc/StaticAssertCheck.cpp | 2 +- .../clang-tidy/modernize/MakeSmartPtrCheck.cpp | 8 +- .../modernize/UseDefaultMemberInitCheck.cpp | 4 +- .../clang-tidy/portability/CMakeLists.txt | 1 + .../portability/PortabilityTidyModule.cpp | 3 + .../RestrictSystemIncludesCheck.cpp | 6 +- .../RestrictSystemIncludesCheck.h | 14 +- .../readability/ContainerSizeEmptyCheck.cpp | 3 +- .../readability/ImplicitBoolConversionCheck.cpp | 11 +- .../readability/NonConstParameterCheck.cpp | 3 +- .../readability/RedundantSmartptrGetCheck.cpp | 2 +- .../readability/RedundantStringCStrCheck.cpp | 16 +- .../clang-tidy/readability/StringCompareCheck.cpp | 2 +- clang-tools-extra/clang-tidy/utils/CMakeLists.txt | 2 +- .../clang-tidy/utils/FileExtensionsUtils.cpp | 67 + .../clang-tidy/utils/FileExtensionsUtils.h | 56 + .../clang-tidy/utils/HeaderFileExtensionsUtils.cpp | 70 - .../clang-tidy/utils/HeaderFileExtensionsUtils.h | 55 - clang-tools-extra/clang-tidy/utils/HeaderGuard.cpp | 4 +- clang-tools-extra/clang-tidy/utils/HeaderGuard.h | 18 +- .../clang-tidy/utils/OptionsUtils.cpp | 4 +- clang-tools-extra/clangd/CodeComplete.cpp | 7 +- clang-tools-extra/clangd/SourceCode.cpp | 224 +- clang-tools-extra/clangd/SourceCode.h | 4 +- clang-tools-extra/clangd/TUScheduler.cpp | 39 +- clang-tools-extra/clangd/refactor/Rename.cpp | 6 +- .../clangd/refactor/tweaks/CMakeLists.txt | 1 + .../clangd/refactor/tweaks/DefineOutline.cpp | 15 +- .../clangd/unittests/SourceCodeTests.cpp | 21 +- .../clangd/unittests/TUSchedulerTests.cpp | 24 + clang-tools-extra/docs/ReleaseNotes.rst | 8 + .../checks/fuchsia-restrict-system-includes.rst | 32 - clang-tools-extra/docs/clang-tidy/checks/list.rst | 3 +- .../portability-restrict-system-includes.rst | 51 + .../a.h | 0 .../system/cstdarg.h | 0 .../system/cstdlib.h | 0 .../system/j.h | 0 .../system/r.h | 0 .../system/s.h | 0 .../system/t.h | 0 .../system/transitive.h | 0 .../transitive2.h | 0 .../fuchsia-restrict-system-includes-all.cpp | 10 - .../fuchsia-restrict-system-includes-glob.cpp | 9 - .../checkers/fuchsia-restrict-system-includes.cpp | 25 - .../portability-restrict-system-includes-allow.cpp | 9 + ...rtability-restrict-system-includes-disallow.cpp | 10 + .../portability-restrict-system-includes-glob.cpp | 10 + ...bility-restrict-system-includes-transitive.cpp} | 10 +- clang/docs/ClangCommandLineReference.rst | 808 ++++-- clang/docs/LibASTMatchersReference.html | 24 + clang/docs/ReleaseNotes.rst | 7 + clang/include/clang/AST/ASTImporter.h | 5 + clang/include/clang/AST/Expr.h | 22 +- clang/include/clang/AST/ExprCXX.h | 12 +- clang/include/clang/AST/GlobalDecl.h | 38 +- clang/include/clang/AST/Stmt.h | 15 + clang/include/clang/AST/TextNodeDumper.h | 1 + clang/include/clang/ASTMatchers/ASTMatchers.h | 22 +- .../clang/ASTMatchers/ASTMatchersInternal.h | 22 +- clang/include/clang/Basic/Attr.td | 6 +- clang/include/clang/Basic/AttrDocs.td | 10 +- clang/include/clang/Basic/BuiltinsARM.def | 2 + clang/include/clang/Basic/CMakeLists.txt | 13 + clang/include/clang/Basic/CodeGenOptions.def | 1 - clang/include/clang/Basic/Diagnostic.h | 24 + clang/include/clang/Basic/DiagnosticGroups.td | 2 + clang/include/clang/Basic/DiagnosticSemaKinds.td | 18 +- clang/include/clang/Basic/arm_cde.td | 45 + clang/include/clang/Basic/arm_mve_defs.td | 8 + clang/include/clang/Driver/CC1Options.td | 2 - clang/include/clang/Driver/Options.td | 3 +- clang/include/clang/Sema/Sema.h | 50 +- clang/include/clang/Sema/Template.h | 10 + clang/include/clang/Serialization/ASTBitCodes.h | 3 + .../clang/Serialization/InMemoryModuleCache.h | 42 +- .../StaticAnalyzer/Core/BugReporter/BugReporter.h | 5 +- .../Core/PathSensitive/CheckerContext.h | 14 +- clang/lib/AST/ASTImporter.cpp | 17 +- clang/lib/AST/Decl.cpp | 6 +- clang/lib/AST/Expr.cpp | 2 + clang/lib/AST/ItaniumMangle.cpp | 26 +- clang/lib/AST/JSONNodeDumper.cpp | 11 +- clang/lib/AST/Mangle.cpp | 2 + clang/lib/AST/TextNodeDumper.cpp | 19 +- clang/lib/ASTMatchers/ASTMatchersInternal.cpp | 8 + clang/lib/ASTMatchers/Dynamic/Registry.cpp | 1 + clang/lib/Analysis/UninitializedValues.cpp | 30 +- clang/lib/CodeGen/BackendUtil.cpp | 1 - clang/lib/CodeGen/CGBlocks.cpp | 6 +- clang/lib/CodeGen/CGBuiltin.cpp | 138 +- clang/lib/CodeGen/CGCUDANV.cpp | 39 +- clang/lib/CodeGen/CGCUDARuntime.h | 6 +- clang/lib/CodeGen/CGDebugInfo.cpp | 3 +- clang/lib/CodeGen/CGDecl.cpp | 2 +- clang/lib/CodeGen/CGExpr.cpp | 12 +- clang/lib/CodeGen/CGExprAgg.cpp | 14 + clang/lib/CodeGen/CGExprScalar.cpp | 5 + clang/lib/CodeGen/CGObjCMac.cpp | 25 +- clang/lib/CodeGen/CGOpenMPRuntime.cpp | 175 +- clang/lib/CodeGen/CGOpenMPRuntime.h | 10 +- clang/lib/CodeGen/CGStmtOpenMP.cpp | 2 +- clang/lib/CodeGen/CodeGenFunction.h | 3 + clang/lib/CodeGen/CodeGenModule.cpp | 36 +- clang/lib/CodeGen/CodeGenModule.h | 3 + clang/lib/Driver/ToolChains/Clang.cpp | 22 +- clang/lib/Format/ContinuationIndenter.cpp | 3 + clang/lib/Format/FormatToken.h | 3 + clang/lib/Format/TokenAnnotator.cpp | 27 +- clang/lib/Format/UnwrappedLineParser.cpp | 5 +- clang/lib/Frontend/CompilerInvocation.cpp | 6 +- clang/lib/Headers/CMakeLists.txt | 2 + clang/lib/Parse/ParseExpr.cpp | 3 +- clang/lib/Sema/JumpDiagnostics.cpp | 25 +- clang/lib/Sema/SemaCast.cpp | 4 +- clang/lib/Sema/SemaChecking.cpp | 72 + clang/lib/Sema/SemaDecl.cpp | 19 +- clang/lib/Sema/SemaDeclAttr.cpp | 51 +- clang/lib/Sema/SemaDeclCXX.cpp | 11 +- clang/lib/Sema/SemaExpr.cpp | 31 +- clang/lib/Sema/SemaExprCXX.cpp | 5 +- clang/lib/Sema/SemaOpenMP.cpp | 2 +- clang/lib/Sema/SemaTemplate.cpp | 42 + clang/lib/Sema/SemaTemplateInstantiate.cpp | 4 + clang/lib/Sema/TreeTransform.h | 30 +- clang/lib/Serialization/ASTReader.cpp | 2 +- clang/lib/Serialization/ASTReaderDecl.cpp | 67 +- clang/lib/Serialization/ASTReaderStmt.cpp | 16 +- clang/lib/Serialization/ASTWriter.cpp | 2 +- clang/lib/Serialization/ASTWriterStmt.cpp | 13 +- clang/lib/Serialization/InMemoryModuleCache.cpp | 29 +- clang/lib/Serialization/ModuleManager.cpp | 11 +- .../Checkers/CXXSelfAssignmentChecker.cpp | 4 +- .../Checkers/FuchsiaHandleChecker.cpp | 4 +- clang/lib/StaticAnalyzer/Checkers/MIGChecker.cpp | 19 +- .../StaticAnalyzer/Checkers/ReturnValueChecker.cpp | 2 +- .../Checkers/StdLibraryFunctionsChecker.cpp | 2 +- .../Checkers/cert/PutenvWithAutoChecker.cpp | 2 + clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp | 6 +- clang/lib/StaticAnalyzer/Core/CoreEngine.cpp | 2 +- clang/test/AST/ast-dump-objc-arc-json.m | 36 + clang/test/AST/ast-dump-stmt.m | 15 +- .../Analysis/scan-build/exclude_directories.test | 6 +- clang/test/Analysis/scan-build/html_output.test | 2 +- .../Analysis/scan-build/plist_html_output.test | 2 +- clang/test/Analysis/scan-build/plist_output.test | 2 +- clang/test/Analysis/uninit-asm-goto.cpp | 53 +- clang/test/CodeGen/2008-07-21-mixed-var-fn-decl.c | 4 +- clang/test/CodeGen/2009-10-20-GlobalDebug.c | 4 +- clang/test/CodeGen/aarch64-sve.c | 2 +- clang/test/CodeGen/address-space.c | 6 +- clang/test/CodeGen/alias.c | 9 +- clang/test/CodeGen/align-systemz.c | 4 +- clang/test/CodeGen/alignment.c | 2 +- clang/test/CodeGen/arm-cde-gpr.c | 16 + clang/test/CodeGen/asm-label.c | 4 +- clang/test/CodeGen/attr-target-mv.c | 19 + clang/test/CodeGen/attr-weak-import.c | 2 +- clang/test/CodeGen/attr-weakref2.c | 4 +- clang/test/CodeGen/attributes.c | 2 +- clang/test/CodeGen/blocks-windows.c | 2 +- clang/test/CodeGen/bool-convert.c | 8 +- clang/test/CodeGen/c11atomics.c | 2 +- clang/test/CodeGen/cfstring-elf-cfbuild-x86_64.c | 4 +- clang/test/CodeGen/cfstring-windows.c | 2 +- clang/test/CodeGen/debug-info-extern-call.c | 2 +- clang/test/CodeGen/default-address-space.c | 8 +- clang/test/CodeGen/dllexport-1.c | 4 +- clang/test/CodeGen/dllexport.c | 18 +- clang/test/CodeGen/dllimport.c | 4 +- clang/test/CodeGen/fma-builtins-constrained.c | 16 +- clang/test/CodeGen/microsoft-no-common-align.c | 2 +- clang/test/CodeGen/no-common.c | 11 +- clang/test/CodeGen/pr25786.c | 4 +- clang/test/CodeGen/pragma-pack-1.c | 4 +- clang/test/CodeGen/pragma-weak.c | 2 +- clang/test/CodeGen/private-extern-redef.c | 2 +- clang/test/CodeGen/tentative-decls.c | 10 +- clang/test/CodeGen/tls-model.c | 8 +- clang/test/CodeGen/visibility.c | 6 +- clang/test/CodeGen/vlt_to_pointer.c | 2 +- clang/test/CodeGen/volatile-1.c | 4 +- clang/test/CodeGen/weak-global.c | 3 - .../CodeGen/windows-on-arm-dllimport-dllexport.c | 2 +- .../CodeGenCUDA/amdgpu-kernel-arg-pointer-type.cu | 12 +- clang/test/CodeGenCUDA/kernel-stub-name.cu | 45 +- clang/test/CodeGenCUDA/unnamed-types.cu | 2 +- clang/test/CodeGenCXX/clang-sections-tentative.c | 2 +- .../CodeGenCXX/dbg-info-all-calls-described.cpp | 12 +- clang/test/CodeGenObjC/arc-ternary-op.m | 56 + clang/test/CodeGenObjC/arc.m | 37 + clang/test/CodeGenObjC/class-stubs.m | 6 +- clang/test/CodeGenObjC/constant-string-class.m | 2 +- clang/test/CodeGenObjC/exceptions-asm-attribute.m | 4 +- clang/test/CodeGenObjC/metadata-symbols-64.m | 10 +- clang/test/CodeGenObjC/metadata_symbols.m | 4 +- clang/test/CodeGenObjC/non-lazy-classes.m | 4 +- clang/test/CodeGenObjC/os_log.m | 4 + clang/test/CodeGenObjC/sections.m | 10 +- clang/test/CodeGenObjC/strong-in-c-struct.m | 99 + .../test/CodeGenObjC/tentative-cfconstantstring.m | 2 +- clang/test/CodeGenObjCXX/block-nested-in-lambda.mm | 64 +- clang/test/CodeGenOpenCL/address-spaces.cl | 4 +- clang/test/CodeGenOpenCL/amdgcn-large-globals.cl | 6 +- clang/test/CodeGenOpenCL/amdgpu-nullptr.cl | 27 +- clang/test/Driver/apple-kext-mkernel.c | 4 +- clang/test/Driver/clang_f_opts.c | 2 +- clang/test/Driver/fuchsia.c | 2 +- clang/test/Driver/no-common.c | 9 + clang/test/Driver/xcore-opts.c | 4 +- clang/test/Frontend/ast-codegen.c | 2 +- clang/test/Headers/arm-cde-header.c | 8 + clang/test/Headers/xmmintrin.c | 2 +- .../test/Import/objc-arc/Inputs/cleanup-objects.m | 10 + clang/test/Import/objc-arc/test-cleanup-object.m | 10 + ...pragma-attribute-supported-attributes-list.test | 2 +- clang/test/Misc/warning-wall.c | 1 + .../A.h | 0 .../B.h | 0 .../Modules/Inputs/implicit-invalidate-chain/C.h | 2 + .../module.modulemap | 0 clang/test/Modules/implicit-invalidate-chain.c | 67 + clang/test/OpenMP/ordered_doacross_codegen.cpp | 58 + clang/test/OpenMP/task_codegen.c | 67 +- clang/test/PCH/chain-external-defs.c | 24 +- clang/test/PCH/cxx2a-constraints.cpp | 37 + clang/test/PCH/external-defs.c | 8 +- clang/test/PCH/non-trivial-c-compound-literal.m | 29 + clang/test/PCH/tentative-defs.c | 4 +- clang/test/Parser/pragma-visibility2.c | 6 +- clang/test/Sema/MicrosoftExtensions.c | 15 +- clang/test/Sema/arm-cde-immediates.c | 40 + clang/test/Sema/arm-mve-alias-attribute.c | 32 +- clang/test/Sema/attr-target-mv.c | 11 +- clang/test/Sema/builtin-returnaddress.c | 19 + .../test/SemaCXX/cxx0x-cursory-default-delete.cpp | 12 + clang/test/SemaObjC/strong-in-c-struct.m | 18 + clang/test/SemaTemplate/dependent-expr.cpp | 69 +- .../SemaTemplate/instantiate-requires-expr.cpp | 13 + .../tools/clang-import-test/clang-import-test.cpp | 5 + .../ASTMatchers/ASTMatchersNarrowingTest.cpp | 6 + clang/unittests/Format/FormatTestCSharp.cpp | 51 +- clang/unittests/Frontend/FrontendActionTest.cpp | 6 +- .../Serialization/InMemoryModuleCacheTest.cpp | 38 +- clang/utils/TableGen/MveEmitter.cpp | 704 +++-- clang/utils/TableGen/TableGen.cpp | 30 + clang/utils/TableGen/TableGenBackends.h | 6 + clang/www/cxx_status.html | 4 +- compiler-rt/CMakeLists.txt | 12 + compiler-rt/cmake/Modules/AddCompilerRT.cmake | 17 +- compiler-rt/cmake/config-ix.cmake | 3 + compiler-rt/include/sanitizer/tsan_interface.h | 20 +- compiler-rt/lib/crt/CMakeLists.txt | 20 + .../sanitizer_common/sanitizer_linux_libcdep.cpp | 4 + compiler-rt/lib/tsan/rtl/tsan.syms.extra | 5 + compiler-rt/test/asan/TestCases/Linux/odr_c_test.c | 6 +- compiler-rt/test/asan/TestCases/set_shadow_test.c | 9 +- compiler-rt/test/msan/no_sanitize_memory_prop.cpp | 1 + .../llvm-prettyprinters/gdb/llvm-support.cpp | 8 +- .../llvm-prettyprinters/gdb/llvm-support.gdb | 9 +- libc/cmake/modules/LLVMLibCRules.cmake | 9 +- libc/config/linux/api.td | 26 + .../threads.h.def => config/linux/threads.h.in} | 17 +- libc/include/CMakeLists.txt | 4 + libc/include/threads.h.def | 2 + libc/lib/CMakeLists.txt | 7 + libc/src/CMakeLists.txt | 1 + libc/src/{sys/mman => threads}/CMakeLists.txt | 0 libc/src/threads/linux/CMakeLists.txt | 89 + libc/src/threads/linux/mtx_init.cpp | 21 + libc/src/threads/linux/mtx_lock.cpp | 62 + libc/src/threads/linux/mtx_unlock.cpp | 44 + libc/src/threads/linux/thrd_create.cpp | 98 + libc/src/threads/linux/thrd_join.cpp | 43 + .../threads/linux/thread_start_args.h.def} | 11 +- libc/src/threads/linux/thread_utils.h | 38 + .../threads/linux/x86_64/thread_start_args.h.in | 21 + libc/src/threads/mtx_init.h | 20 + libc/src/threads/mtx_lock.h | 20 + libc/src/threads/mtx_unlock.h | 20 + libc/src/threads/thrd_create.h | 20 + libc/src/threads/thrd_join.h | 20 + libc/test/src/CMakeLists.txt | 1 + libc/test/src/threads/CMakeLists.txt | 34 + libc/test/src/threads/mtx_test.cpp | 116 + libc/test/src/threads/thrd_test.cpp | 52 + libcxx/include/__functional_03 | 15 +- libcxx/include/functional | 9 +- .../abi_bug_cxx03_cxx11_example.sh.cpp | 2 +- .../func.wrap/depr_in_cxx03.fail.cpp | 29 + libcxxabi/src/cxa_guard_impl.h | 2 +- libunwind/src/AddressSpace.hpp | 60 +- libunwind/src/config.h | 3 +- lld/ELF/Config.h | 1 + lld/ELF/Driver.cpp | 1 + lld/ELF/LinkerScript.cpp | 4 +- lld/ELF/Options.td | 2 + lld/docs/ELF/linker_script.rst | 18 + lld/docs/index.rst | 1 + lld/docs/ld.lld.1 | 2 + lld/test/ELF/unique-orphans.s | 26 + lldb/.clang-tidy | 2 + .../lldb/Target/RegisterContextUnwind.h} | 32 +- .../Utility => include/lldb/Target}/UnwindLLDB.h | 21 +- lldb/packages/Python/lldbsuite/test/decorators.py | 2 +- .../test/tools/lldb-vscode/lldbvscode_testcase.py | 8 +- lldb/source/Commands/CommandObjectDisassemble.cpp | 342 ++- lldb/source/Commands/CommandObjectDisassemble.h | 9 + lldb/source/Commands/CommandObjectReproducer.cpp | 12 +- .../ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp | 13 +- .../Plugins/Process/MacOSX-Kernel/ThreadKDP.cpp | 4 +- lldb/source/Plugins/Process/Utility/CMakeLists.txt | 2 - lldb/source/Target/CMakeLists.txt | 2 + .../RegisterContextUnwind.cpp} | 114 +- lldb/source/Target/Thread.cpp | 3 +- .../Process/Utility => Target}/UnwindLLDB.cpp | 17 +- .../basic_entry_values_x86_64/Makefile | 2 +- lldb/test/Shell/Commands/command-disassemble.s | 2 +- lldb/test/Shell/Reproducer/TestDump.test | 8 + llvm/docs/LangRef.rst | 9 +- .../MyFirstLanguageFrontend/LangImpl02.rst | 2 +- .../MyFirstLanguageFrontend/LangImpl06.rst | 2 +- .../MyFirstLanguageFrontend/LangImpl07.rst | 2 +- llvm/include/llvm/Analysis/TargetTransformInfo.h | 62 +- .../llvm/Analysis/TargetTransformInfoImpl.h | 10 +- llvm/include/llvm/CodeGen/BasicTTIImpl.h | 15 +- llvm/include/llvm/CodeGen/CommandFlags.inc | 2 +- .../llvm/CodeGen/GlobalISel/MachineIRBuilder.h | 51 +- llvm/include/llvm/CodeGen/Passes.h | 2 +- llvm/include/llvm/CodeGen/Spiller.h | 42 + llvm/include/llvm/IR/IntrinsicsAArch64.td | 9 + llvm/include/llvm/IR/IntrinsicsAMDGPU.td | 4 +- llvm/include/llvm/IR/IntrinsicsARM.td | 7 + .../{Transforms/Utils => IR}/KnowledgeRetention.h | 0 llvm/include/llvm/IR/PatternMatch.h | 27 + llvm/include/llvm/Target/TargetMachine.h | 7 + llvm/include/llvm/Target/TargetOptions.h | 16 +- llvm/include/llvm/Transforms/Utils/BuildLibCalls.h | 31 - .../llvm/Transforms/Utils/SimplifyLibCalls.h | 4 - llvm/include/llvm/module.modulemap | 1 + llvm/lib/Analysis/InstructionSimplify.cpp | 11 + llvm/lib/Analysis/TargetTransformInfo.cpp | 23 +- llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 15 +- llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | 9 + llvm/lib/CodeGen/CodeGen.cpp | 1 + llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp | 31 +- llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp | 16 - llvm/lib/CodeGen/InlineSpiller.cpp | 2 +- llvm/lib/CodeGen/LiveDebugValues.cpp | 4 +- llvm/lib/CodeGen/MIRVRegNamerUtils.cpp | 2 +- llvm/lib/CodeGen/ReachingDefAnalysis.cpp | 10 +- llvm/lib/CodeGen/RegAllocBase.cpp | 2 +- llvm/lib/CodeGen/RegAllocBasic.cpp | 2 +- llvm/lib/CodeGen/RegAllocGreedy.cpp | 2 +- llvm/lib/CodeGen/RegAllocPBQP.cpp | 2 +- llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 3 +- llvm/lib/CodeGen/SjLjEHPrepare.cpp | 33 +- llvm/lib/CodeGen/Spiller.h | 43 - llvm/lib/CodeGen/TargetOptionsImpl.cpp | 6 + llvm/lib/CodeGen/TargetPassConfig.cpp | 2 +- llvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp | 2 +- .../RuntimeDyld/RuntimeDyldCOFF.cpp | 36 + .../ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.h | 17 +- .../RuntimeDyld/RuntimeDyldChecker.cpp | 16 +- .../ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h | 10 +- .../RuntimeDyld/Targets/RuntimeDyldCOFFAArch64.h | 31 +- .../RuntimeDyld/Targets/RuntimeDyldCOFFI386.h | 35 +- .../RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h | 47 +- .../RuntimeDyld/Targets/RuntimeDyldCOFFX86_64.h | 31 +- llvm/lib/IR/CMakeLists.txt | 1 + .../Utils => IR}/KnowledgeRetention.cpp | 2 +- llvm/lib/MC/MCMachOStreamer.cpp | 4 +- llvm/lib/Object/Archive.cpp | 10 +- llvm/lib/Passes/PassBuilder.cpp | 2 +- llvm/lib/Support/APFloat.cpp | 62 +- llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td | 18 + llvm/lib/Target/AArch64/AArch64TargetMachine.cpp | 3 + llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp | 96 +- llvm/lib/Target/AMDGPU/AMDGPUCallLowering.h | 8 +- llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp | 11 + llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h | 3 + .../Target/AMDGPU/AMDGPUInstructionSelector.cpp | 6 +- llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp | 18 + llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp | 51 +- .../Target/AMDGPU/AMDGPUTargetTransformInfo.cpp | 21 +- llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h | 11 +- llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 12 +- llvm/lib/Target/AMDGPU/SIInstrInfo.td | 10 + llvm/lib/Target/AMDGPU/SIInstructions.td | 33 +- llvm/lib/Target/AMDGPU/SISchedule.td | 3 + llvm/lib/Target/AMDGPU/SOPInstructions.td | 16 +- llvm/lib/Target/AMDGPU/VOP1Instructions.td | 4 +- llvm/lib/Target/ARM/ARMAsmPrinter.cpp | 28 +- llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp | 18 + llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp | 82 + llvm/lib/Target/ARM/ARMISelLowering.cpp | 78 +- llvm/lib/Target/ARM/ARMISelLowering.h | 8 +- llvm/lib/Target/ARM/ARMInstrInfo.td | 22 + llvm/lib/Target/ARM/ARMInstrMVE.td | 1 + llvm/lib/Target/ARM/ARMInstrThumb2.td | 9 +- llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp | 114 +- llvm/lib/Target/ARM/ARMTargetMachine.cpp | 3 + llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp | 61 +- llvm/lib/Target/ARM/ARMTargetTransformInfo.h | 3 +- .../Target/Hexagon/HexagonTargetTransformInfo.cpp | 20 +- .../Target/Hexagon/HexagonTargetTransformInfo.h | 11 +- llvm/lib/Target/Mips/MipsLegalizerInfo.cpp | 2 +- llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp | 14 +- llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h | 8 +- llvm/lib/Target/SystemZ/SystemZISelLowering.cpp | 23 +- llvm/lib/Target/SystemZ/SystemZInstrFormats.td | 51 +- llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp | 115 +- llvm/lib/Target/SystemZ/SystemZInstrInfo.h | 10 + llvm/lib/Target/SystemZ/SystemZInstrInfo.td | 8 +- .../Target/SystemZ/SystemZTargetTransformInfo.cpp | 12 +- .../Target/SystemZ/SystemZTargetTransformInfo.h | 9 +- llvm/lib/Target/VE/VETargetMachine.h | 2 + .../WebAssembly/WebAssemblyExplicitLocals.cpp | 25 +- llvm/lib/Target/X86/X86ISelLowering.cpp | 222 +- llvm/lib/Target/X86/X86ISelLowering.h | 10 +- llvm/lib/Target/X86/X86InstrAVX512.td | 6 - llvm/lib/Target/X86/X86InstrCompiler.td | 33 +- llvm/lib/Target/X86/X86InstrInfo.cpp | 485 ++++ llvm/lib/Target/X86/X86InstrInfo.h | 29 + llvm/lib/Target/X86/X86InstrInfo.td | 4 +- llvm/lib/Target/X86/X86InstrSSE.td | 4 - llvm/lib/Target/X86/X86InstrShiftRotate.td | 70 +- .../lib/Target/X86/X86SpeculativeLoadHardening.cpp | 402 +-- llvm/lib/Target/X86/X86TargetMachine.cpp | 3 + llvm/lib/Target/X86/X86TargetTransformInfo.cpp | 36 +- llvm/lib/Target/X86/X86TargetTransformInfo.h | 8 +- .../Transforms/InstCombine/InstCombineAddSub.cpp | 22 +- .../Transforms/InstCombine/InstCombineCalls.cpp | 7 +- .../Transforms/InstCombine/InstCombineCasts.cpp | 4 - .../Transforms/InstCombine/InstCombineSelect.cpp | 6 +- .../InstCombine/InstCombineVectorOps.cpp | 13 + .../InstCombine/InstructionCombining.cpp | 30 + llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp | 9 +- llvm/lib/Transforms/Scalar/DivRemPairs.cpp | 2 + llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp | 15 + llvm/lib/Transforms/Utils/BuildLibCalls.cpp | 124 - llvm/lib/Transforms/Utils/CMakeLists.txt | 1 - llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp | 81 +- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 4 +- llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 56 +- .../CostModel/ARM/mve-gather-scatter-cost.ll | 168 +- llvm/test/Analysis/CostModel/X86/fmaxnum.ll | 121 + llvm/test/Analysis/CostModel/X86/fminnum.ll | 121 + .../Analysis/ValueTracking/known-nonnull-at.ll | 2 +- llvm/test/CodeGen/AArch64/sve-intrinsics-adr.ll | 101 + .../AArch64/sve-intrinsics-fp-arith-merging.ll | 108 + llvm/test/CodeGen/AMDGPU/GlobalISel/add.v2i16.ll | 374 +++ .../artifact-combiner-unmerge-values.mir | 38 +- llvm/test/CodeGen/AMDGPU/GlobalISel/bswap.ll | 51 +- .../CodeGen/AMDGPU/GlobalISel/function-returns.ll | 312 +- .../GlobalISel/inst-select-amdgcn.fmad.ftz.mir | 36 +- .../GlobalISel/inst-select-scalar-packed.xfail.mir | 184 ++ .../AMDGPU/GlobalISel/irtranslator-amdgpu_ps.ll | 71 + .../AMDGPU/GlobalISel/irtranslator-amdgpu_vs.ll | 96 +- .../CodeGen/AMDGPU/GlobalISel/legalize-and.mir | 51 +- .../CodeGen/AMDGPU/GlobalISel/legalize-anyext.mir | 15 + .../CodeGen/AMDGPU/GlobalISel/legalize-bitcast.mir | 20 +- .../CodeGen/AMDGPU/GlobalISel/legalize-extract.mir | 60 +- .../AMDGPU/GlobalISel/legalize-fcopysign.mir | 21 +- .../AMDGPU/GlobalISel/legalize-implicit-def.mir | 41 +- .../AMDGPU/GlobalISel/legalize-load-constant.mir | 1201 +------- .../AMDGPU/GlobalISel/legalize-load-flat.mir | 635 +---- .../AMDGPU/GlobalISel/legalize-load-global.mir | 812 +----- .../AMDGPU/GlobalISel/legalize-load-local.mir | 908 +----- .../AMDGPU/GlobalISel/legalize-load-private.mir | 904 +----- .../test/CodeGen/AMDGPU/GlobalISel/legalize-or.mir | 51 +- .../AMDGPU/GlobalISel/legalize-sext-inreg.mir | 66 +- .../CodeGen/AMDGPU/GlobalISel/legalize-sext.mir | 18 + .../AMDGPU/GlobalISel/legalize-store-global.mir | 116 +- .../CodeGen/AMDGPU/GlobalISel/legalize-trunc.mir | 283 +- .../CodeGen/AMDGPU/GlobalISel/legalize-xor.mir | 51 +- .../CodeGen/AMDGPU/GlobalISel/legalize-zext.mir | 21 + .../AMDGPU/GlobalISel/llvm.amdgcn.s.buffer.load.ll | 600 +++- .../llvm.amdgcn.struct.buffer.load.format.f16.ll | 37 + .../llvm.amdgcn.struct.buffer.load.format.ll | 22 + .../llvm.amdgcn.struct.buffer.store.format.f16.ll | 36 + .../llvm.amdgcn.struct.buffer.store.format.f32.ll | 21 + .../AMDGPU/GlobalISel/regbankselect-add.s16.mir | 95 + ...ankselect-add.mir => regbankselect-add.s32.mir} | 0 .../AMDGPU/GlobalISel/regbankselect-add.v2s16.mir | 83 + .../regbankselect-amdgcn.s.buffer.load.ll | 120 +- .../AMDGPU/GlobalISel/regbankselect-copy.mir | 181 ++ llvm/test/CodeGen/AMDGPU/GlobalISel/shlN_add.ll | 410 +++ llvm/test/CodeGen/AMDGPU/GlobalISel/trunc.ll | 68 + .../AMDGPU/atomic_optimizations_pixelshader.ll | 446 ++- .../CodeGen/AMDGPU/fcanonicalize-elimination.ll | 4 +- llvm/test/CodeGen/AMDGPU/function-returns.ll | 48 + .../CodeGen/AMDGPU/indirect-addressing-term.ll | 8 +- .../CodeGen/AMDGPU/llvm.amdgcn.fmad.ftz.f16.ll | 7 +- llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fmad.ftz.ll | 9 +- .../llvm.amdgcn.struct.buffer.load.format.d16.ll | 10 + .../llvm.amdgcn.struct.buffer.load.format.ll | 11 + .../llvm.amdgcn.struct.buffer.store.format.d16.ll | 11 + .../llvm.amdgcn.struct.buffer.store.format.ll | 10 + llvm/test/CodeGen/ARM/build-attributes-fn-attr4.ll | 2 +- llvm/test/CodeGen/ARM/build-attributes-fn-attr5.ll | 2 +- llvm/test/CodeGen/ARM/build-attributes-fn-attr6.ll | 6 +- llvm/test/CodeGen/ARM/clang-section.ll | 8 +- llvm/test/CodeGen/ARM/fp16-fullfp16.ll | 8 +- llvm/test/CodeGen/ARM/fp16-promote.ll | 8 +- llvm/test/CodeGen/ARM/fp16-vminmaxnm-safe.ll | 409 ++- llvm/test/CodeGen/ARM/i64_volatile_load_store.ll | 183 ++ llvm/test/CodeGen/ARM/lower-vmax.ll | 25 + .../test/CodeGen/ARM/softfp-constant-comparison.ll | 2 +- llvm/test/CodeGen/ARM/vminmax.ll | 8 +- .../MIR/AArch64/mir-canon-constant-pool-hash.mir | 20 + .../CodeGen/MIR/Hexagon/bundled-call-site-info.mir | 2 + .../test/CodeGen/MIR/X86/call-site-info-error4.mir | 4 +- llvm/test/CodeGen/NVPTX/sqrt-approx.ll | 2 +- llvm/test/CodeGen/PowerPC/fma-precision.ll | 99 + llvm/test/CodeGen/PowerPC/pre-inc-disable.ll | 6 +- llvm/test/CodeGen/PowerPC/recipest.ll | 475 ++- llvm/test/CodeGen/PowerPC/srem-vector-lkk.ll | 96 +- llvm/test/CodeGen/PowerPC/urem-vector-lkk.ll | 60 +- llvm/test/CodeGen/SystemZ/cond-move-10.ll | 100 + llvm/test/CodeGen/SystemZ/int-cmp-56.mir | 323 +++ .../Thumb2/LowOverheadLoops/invariant-qreg.mir | 473 +++ .../LowOverheadLoops/predicated-invariant.mir | 156 + .../Thumb2/LowOverheadLoops/unpredicated-max.mir | 150 + .../test/CodeGen/Thumb2/LowOverheadLoops/vaddv.mir | 3011 ++++++++++++++++++++ llvm/test/CodeGen/Thumb2/mve-fmas.ll | 204 ++ llvm/test/CodeGen/VE/sjlj_except.ll | 32 + llvm/test/CodeGen/X86/avg.ll | 15 +- llvm/test/CodeGen/X86/avx512-insert-extract.ll | 7 +- .../CodeGen/X86/avx512-shuffles/partial_permute.ll | 40 +- .../CodeGen/X86/bitcast-int-to-vector-bool-sext.ll | 11 +- .../CodeGen/X86/bitcast-int-to-vector-bool-zext.ll | 11 +- .../test/CodeGen/X86/bitcast-int-to-vector-bool.ll | 2 +- .../CodeGen/X86/broadcast-elm-cross-splat-vec.ll | 14 +- llvm/test/CodeGen/X86/call-site-info-output.ll | 4 +- llvm/test/CodeGen/X86/clear-highbits.ll | 255 +- llvm/test/CodeGen/X86/clear-lowbits.ll | 158 +- llvm/test/CodeGen/X86/extract-bits.ll | 464 ++- llvm/test/CodeGen/X86/extract-lowbits.ll | 489 ++-- llvm/test/CodeGen/X86/fmaxnum.ll | 340 ++- llvm/test/CodeGen/X86/fminnum.ll | 340 ++- llvm/test/CodeGen/X86/fshl.ll | 9 +- llvm/test/CodeGen/X86/fshr.ll | 13 +- llvm/test/CodeGen/X86/insertelement-ones.ll | 18 +- llvm/test/CodeGen/X86/insertelement-shuffle.ll | 5 +- llvm/test/CodeGen/X86/load-partial.ll | 16 +- llvm/test/CodeGen/X86/madd.ll | 15 +- llvm/test/CodeGen/X86/masked_store_trunc.ll | 9 +- llvm/test/CodeGen/X86/memcmp.ll | 132 +- llvm/test/CodeGen/X86/packss.ll | 43 +- llvm/test/CodeGen/X86/pr30562.ll | 12 +- llvm/test/CodeGen/X86/pr31956.ll | 5 +- llvm/test/CodeGen/X86/pr34592.ll | 49 +- llvm/test/CodeGen/X86/shift-combine.ll | 1 - llvm/test/CodeGen/X86/shift-parts.ll | 11 +- llvm/test/CodeGen/X86/shrink_vmul.ll | 32 +- llvm/test/CodeGen/X86/sse-intrinsics-fast-isel.ll | 2 +- llvm/test/CodeGen/X86/vec-strict-fptoint-128.ll | 22 +- llvm/test/CodeGen/X86/vec-strict-inttofp-256.ll | 12 +- llvm/test/CodeGen/X86/vec-strict-inttofp-512.ll | 24 +- llvm/test/CodeGen/X86/vector-fshl-256.ll | 12 +- llvm/test/CodeGen/X86/vector-fshl-512.ll | 8 +- llvm/test/CodeGen/X86/vector-fshl-rot-512.ll | 8 +- llvm/test/CodeGen/X86/vector-fshr-256.ll | 12 +- llvm/test/CodeGen/X86/vector-fshr-512.ll | 8 +- llvm/test/CodeGen/X86/vector-fshr-rot-512.ll | 8 +- llvm/test/CodeGen/X86/vector-mul.ll | 136 +- llvm/test/CodeGen/X86/vector-reduce-and-bool.ll | 9 +- llvm/test/CodeGen/X86/vector-reduce-or-bool.ll | 9 +- llvm/test/CodeGen/X86/vector-reduce-xor-bool.ll | 9 +- llvm/test/CodeGen/X86/vector-sext.ll | 7 +- llvm/test/CodeGen/X86/vector-shift-ashr-256.ll | 8 +- llvm/test/CodeGen/X86/vector-shift-lshr-256.ll | 10 +- llvm/test/CodeGen/X86/vector-shift-lshr-512.ll | 4 +- llvm/test/CodeGen/X86/vector-shuffle-128-v4.ll | 74 + llvm/test/CodeGen/X86/vector-shuffle-256-v16.ll | 85 +- llvm/test/CodeGen/X86/vector-shuffle-256-v32.ll | 24 +- llvm/test/CodeGen/X86/vector-shuffle-v1.ll | 3 +- llvm/test/CodeGen/X86/vector-trunc-math.ll | 15 +- llvm/test/CodeGen/X86/vector-trunc.ll | 12 +- .../MIR/AArch64/dbgcall-site-orr-moves.mir | 2 +- .../DebugInfo/MIR/ARM/call-site-info-vmovd.mir | 2 +- .../DebugInfo/MIR/ARM/call-site-info-vmovs.mir | 2 +- .../MIR/ARM/dbgcall-site-propagated-value.mir | 6 +- .../dbgcall-site-instr-before-bundled-call.mir | 4 +- .../live-debug-values-bundled-entry-values.mir | 2 + llvm/test/DebugInfo/MIR/SystemZ/call-site-lzer.mir | 2 + llvm/test/DebugInfo/MIR/X86/DW_OP_entry_value.mir | 2 +- .../MIR/X86/call-site-gnu-vs-dwarf5-attrs.mir | 10 +- .../MIR/X86/dbgcall-site-copy-super-sub.mir | 2 +- .../MIR/X86/dbgcall-site-interpretation.mir | 2 +- .../MIR/X86/dbgcall-site-lea-interpretation.mir | 2 +- .../MIR/X86/dbgcall-site-partial-describe.mir | 2 +- .../DebugInfo/MIR/X86/dbgcall-site-reference.mir | 2 +- .../DebugInfo/MIR/X86/dbgcall-site-reg-shuffle.mir | 2 +- .../MIR/X86/dbgcall-site-two-fwd-reg-defs.mir | 2 +- llvm/test/DebugInfo/MIR/X86/dbginfo-entryvals.mir | 2 +- .../DebugInfo/MIR/X86/debug-call-site-param.mir | 4 +- .../MIR/X86/entry-value-of-modified-param.mir | 7 +- .../DebugInfo/MIR/X86/entry-values-diamond-bbs.mir | 2 +- .../MIR/X86/propagate-entry-value-cross-bbs.mir | 11 +- .../MIR/X86/unreachable-block-call-site.mir | 2 +- llvm/test/DebugInfo/X86/dbg-value-range.ll | 2 +- .../DebugInfo/X86/dbg-value-regmask-clobber.ll | 6 +- .../test/DebugInfo/X86/dbgcall-site-64-bit-imms.ll | 2 +- .../DebugInfo/X86/dbgcall-site-zero-valued-imms.ll | 2 +- llvm/test/DebugInfo/X86/loclists-dwp.ll | 6 +- llvm/test/DebugInfo/X86/no-entry-values-with-O0.ll | 88 + .../ExecutionEngine/RuntimeDyld/ARM/COFF_Thumb.s | 61 +- .../ExecutionEngine/RuntimeDyld/X86/COFF_i386.s | 43 +- .../ExecutionEngine/RuntimeDyld/X86/COFF_x86_64.s | 37 +- .../test/{Transforms/Util => IR}/assume-builder.ll | 0 llvm/test/MC/X86/x86_long_nop.s | 10 + llvm/test/Other/opt-O2-pipeline.ll | 1 + llvm/test/Other/opt-O3-pipeline.ll | 1 + llvm/test/Other/opt-Os-pipeline.ll | 1 + llvm/test/Transforms/InstCombine/X86/x86-avx512.ll | 24 +- llvm/test/Transforms/InstCombine/add4.ll | 159 +- llvm/test/Transforms/InstCombine/align-attr.ll | 2 +- llvm/test/Transforms/InstCombine/cos-1.ll | 2 +- .../Transforms/InstCombine/expensive-combines.ll | 2 +- llvm/test/Transforms/InstCombine/fadd.ll | 24 +- llvm/test/Transforms/InstCombine/fast-math.ll | 2 +- llvm/test/Transforms/InstCombine/fdiv.ll | 6 +- llvm/test/Transforms/InstCombine/fmul.ll | 16 +- llvm/test/Transforms/InstCombine/fneg.ll | 12 +- .../test/Transforms/InstCombine/fortify-folding.ll | 4 +- llvm/test/Transforms/InstCombine/fpextend.ll | 2 +- llvm/test/Transforms/InstCombine/fsub.ll | 36 +- llvm/test/Transforms/InstCombine/getelementptr.ll | 18 +- llvm/test/Transforms/InstCombine/maximum.ll | 8 +- llvm/test/Transforms/InstCombine/maxnum.ll | 8 +- llvm/test/Transforms/InstCombine/mem-gep-zidx.ll | 4 +- llvm/test/Transforms/InstCombine/minimum.ll | 8 +- llvm/test/Transforms/InstCombine/minnum.ll | 8 +- .../Transforms/InstCombine/operand-complexity.ll | 6 +- llvm/test/Transforms/InstCombine/pr44245.ll | 2 +- llvm/test/Transforms/InstCombine/strcpy_chk-1.ll | 2 +- llvm/test/Transforms/InstCombine/strncpy_chk-1.ll | 2 +- .../Transforms/InstCombine/unlocked-stdio-mingw.ll | 23 - llvm/test/Transforms/InstCombine/unlocked-stdio.ll | 224 -- llvm/test/Transforms/InstCombine/unused-nonnull.ll | 9 +- llvm/test/Transforms/InstCombine/vec_shuffle.ll | 2 +- .../Transforms/InstCombine/volatile_load_cast.ll | 59 + llvm/test/Transforms/InstSimplify/call.ll | 31 +- llvm/test/Transforms/ObjCARC/rv.ll | 16 +- .../AArch64/accelerate-vector-functions.ll | 182 ++ llvm/test/Transforms/SLPVectorizer/X86/fmaxnum.ll | 341 +++ llvm/test/Transforms/SLPVectorizer/X86/fminnum.ll | 341 +++ .../Transforms/SimplifyCFG/callbr-destinations.ll | 28 + llvm/test/tools/llvm-locstats/locstats.ll | 6 +- llvm/tools/llvm-dwarfdump/Statistics.cpp | 2 +- llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp | 12 +- llvm/unittests/ADT/APFloatTest.cpp | 118 + llvm/unittests/Analysis/ProfileSummaryInfoTest.cpp | 34 +- .../CodeGen/GlobalISel/MachineIRBuilderTest.cpp | 36 + llvm/unittests/IR/CMakeLists.txt | 1 + .../Utils => IR}/KnowledgeRetentionTest.cpp | 2 +- llvm/unittests/Object/ArchiveTest.cpp | 93 + llvm/unittests/Object/CMakeLists.txt | 1 + llvm/unittests/Target/ARM/MachineInstrTest.cpp | 4 + llvm/unittests/Transforms/Utils/CMakeLists.txt | 1 - llvm/utils/gdb-scripts/prettyprinters.py | 65 +- llvm/utils/gn/build/BUILD.gn | 6 + .../clang-tools-extra/clang-tidy/fuchsia/BUILD.gn | 1 - .../clang-tidy/portability/BUILD.gn | 1 + .../clang-tools-extra/clang-tidy/utils/BUILD.gn | 2 +- .../secondary/clang/include/clang/Basic/BUILD.gn | 22 +- llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn | 1 + llvm/utils/gn/secondary/clang/lib/CodeGen/BUILD.gn | 1 + llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn | 10 +- llvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn | 2 + .../llvm/lib/DebugInfo/PDB/enable_dia.gni | 2 +- llvm/utils/gn/secondary/llvm/lib/IR/BUILD.gn | 1 + .../secondary/llvm/lib/Transforms/Utils/BUILD.gn | 1 - llvm/utils/gn/secondary/llvm/unittests/IR/BUILD.gn | 1 + .../gn/secondary/llvm/unittests/Object/BUILD.gn | 1 + .../llvm/unittests/Transforms/Utils/BUILD.gn | 1 - mlir/docs/Dialects/Affine.md | 3 +- mlir/docs/ShapeInference.md | 2 +- mlir/docs/Tutorials/Toy/Ch-4.md | 2 +- mlir/examples/toy/Ch2/CMakeLists.txt | 1 + mlir/examples/toy/Ch2/include/toy/Dialect.h | 1 + mlir/examples/toy/Ch3/CMakeLists.txt | 1 + mlir/examples/toy/Ch3/include/toy/Dialect.h | 1 + mlir/examples/toy/Ch4/CMakeLists.txt | 3 +- mlir/examples/toy/Ch4/include/toy/Dialect.h | 1 + mlir/examples/toy/Ch4/include/toy/Ops.td | 2 +- mlir/examples/toy/Ch5/CMakeLists.txt | 3 +- mlir/examples/toy/Ch5/include/toy/Dialect.h | 1 + mlir/examples/toy/Ch5/include/toy/Ops.td | 2 +- mlir/examples/toy/Ch6/CMakeLists.txt | 3 +- mlir/examples/toy/Ch6/include/toy/Dialect.h | 1 + mlir/examples/toy/Ch6/include/toy/Ops.td | 2 +- mlir/examples/toy/Ch7/CMakeLists.txt | 3 +- mlir/examples/toy/Ch7/include/toy/Dialect.h | 1 + mlir/examples/toy/Ch7/include/toy/Ops.td | 2 +- mlir/include/mlir/Analysis/AffineStructures.h | 63 - mlir/include/mlir/CMakeLists.txt | 2 +- .../GPUToVulkan/ConvertGPUToVulkanPass.h | 5 +- .../Conversion/VectorToLLVM/ConvertVectorToLLVM.h | 6 + mlir/include/mlir/Dialect/AffineOps/AffineOps.h | 1 + mlir/include/mlir/Dialect/AffineOps/AffineOps.td | 5 +- mlir/include/mlir/Dialect/FxpMathOps/FxpMathOps.h | 1 + mlir/include/mlir/Dialect/GPU/GPUDialect.h | 1 + mlir/include/mlir/Dialect/GPU/GPUOps.td | 16 +- mlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h | 3 +- mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td | 62 +- mlir/include/mlir/Dialect/LLVMIR/NVVMDialect.h | 2 + mlir/include/mlir/Dialect/LLVMIR/ROCDLDialect.h | 1 + mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.h | 1 + .../mlir/Dialect/Linalg/IR/LinalgStructuredOps.td | 4 +- mlir/include/mlir/Dialect/LoopOps/LoopOps.h | 1 + mlir/include/mlir/Dialect/LoopOps/LoopOps.td | 5 +- mlir/include/mlir/Dialect/QuantOps/QuantOps.h | 1 + .../mlir/Dialect/SPIRV/SPIRVControlFlowOps.td | 4 +- mlir/include/mlir/Dialect/SPIRV/SPIRVOps.h | 3 +- .../mlir/Dialect/SPIRV/SPIRVStructureOps.td | 2 +- mlir/include/mlir/Dialect/Shape/IR/Shape.h | 1 + mlir/include/mlir/Dialect/StandardOps/IR/Ops.h | 5 +- mlir/include/mlir/Dialect/StandardOps/IR/Ops.td | 6 +- mlir/include/mlir/Dialect/VectorOps/VectorOps.h | 1 + mlir/include/mlir/Dialect/VectorOps/VectorOps.td | 76 +- .../include/mlir/ExecutionEngine/ExecutionEngine.h | 18 +- mlir/include/mlir/ExecutionEngine/RunnerUtils.h | 2 + mlir/include/mlir/IR/AffineMap.h | 8 +- mlir/include/mlir/IR/CMakeLists.txt | 5 - mlir/include/mlir/IR/Function.h | 2 +- mlir/include/mlir/IR/OpBase.td | 25 +- mlir/include/mlir/IR/OpDefinition.h | 212 -- mlir/include/mlir/InitAllPasses.h | 3 +- .../mlir/{Analysis => Interfaces}/CMakeLists.txt | 9 +- .../mlir/{Analysis => Interfaces}/CallInterfaces.h | 8 +- .../{Analysis => Interfaces}/CallInterfaces.td | 8 +- .../ControlFlowInterfaces.h | 8 +- .../ControlFlowInterfaces.td | 6 +- .../InferTypeOpInterface.h | 8 +- .../InferTypeOpInterface.td | 0 mlir/include/mlir/Interfaces/SideEffects.h | 230 ++ .../include/mlir/{IR => Interfaces}/SideEffects.td | 6 +- mlir/include/mlir/Pass/Pass.h | 21 +- mlir/include/mlir/Pass/PassOptions.h | 60 +- .../include/mlir/Transforms/SideEffectsInterface.h | 64 - mlir/lib/Analysis/AffineStructures.cpp | 10 - mlir/lib/Analysis/CMakeLists.txt | 31 +- mlir/lib/Analysis/CallGraph.cpp | 8 +- mlir/lib/CMakeLists.txt | 1 + mlir/lib/Conversion/GPUToCUDA/CMakeLists.txt | 9 +- .../Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp | 426 +-- mlir/lib/Conversion/GPUToVulkan/CMakeLists.txt | 1 + .../ConvertGPULaunchFuncToVulkanLaunchFunc.cpp | 173 ++ .../GPUToVulkan/ConvertLaunchFuncToVulkanCalls.cpp | 310 +- .../VectorToLLVM/ConvertVectorToLLVM.cpp | 29 + mlir/lib/Dialect/AffineOps/AffineOps.cpp | 16 +- mlir/lib/Dialect/AffineOps/CMakeLists.txt | 1 + mlir/lib/Dialect/AffineOps/EDSC/Builders.cpp | 6 +- mlir/lib/Dialect/FxpMathOps/CMakeLists.txt | 1 + mlir/lib/Dialect/GPU/CMakeLists.txt | 1 + mlir/lib/Dialect/GPU/IR/GPUDialect.cpp | 8 + .../Dialect/GPU/Transforms/AllReduceLowering.cpp | 29 + mlir/lib/Dialect/LLVMIR/CMakeLists.txt | 7 +- mlir/lib/Dialect/Linalg/IR/CMakeLists.txt | 1 + mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | 10 +- .../Dialect/Linalg/Transforms/LinalgToLoops.cpp | 46 +- mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp | 2 +- mlir/lib/Dialect/LoopOps/CMakeLists.txt | 1 + mlir/lib/Dialect/LoopOps/LoopOps.cpp | 20 - .../LoopOps/Transforms/ParallelLoopFusion.cpp | 7 - mlir/lib/Dialect/QuantOps/CMakeLists.txt | 1 + mlir/lib/Dialect/SPIRV/CMakeLists.txt | 3 +- mlir/lib/Dialect/SPIRV/SPIRVOps.cpp | 2 +- mlir/lib/Dialect/Shape/CMakeLists.txt | 1 + mlir/lib/Dialect/StandardOps/CMakeLists.txt | 6 +- mlir/lib/Dialect/VectorOps/CMakeLists.txt | 1 + mlir/lib/Dialect/VectorOps/VectorTransforms.cpp | 75 +- mlir/lib/ExecutionEngine/ExecutionEngine.cpp | 23 +- mlir/lib/ExecutionEngine/RunnerUtils.cpp | 29 +- mlir/lib/IR/AffineMap.cpp | 13 +- mlir/lib/IR/CMakeLists.txt | 3 +- mlir/lib/IR/MLIRContext.cpp | 5 + mlir/lib/IR/Operation.cpp | 11 - mlir/lib/Interfaces/CMakeLists.txt | 62 + mlir/lib/Interfaces/CallInterfaces.cpp | 17 + .../ControlFlowInterfaces.cpp | 6 +- .../InferTypeOpInterface.cpp | 4 +- mlir/lib/Interfaces/SideEffects.cpp | 27 + mlir/lib/Parser/Parser.cpp | 15 +- mlir/lib/Transforms/LoopInvariantCodeMotion.cpp | 50 +- mlir/lib/Transforms/Utils/RegionUtils.cpp | 2 +- mlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir | 72 +- .../test/Conversion/GPUToVulkan/invoke-vulkan.mlir | 67 +- .../lower-gpu-launch-vulkan-launch.mlir | 32 + .../Conversion/VectorToLLVM/vector-to-llvm.mlir | 12 + mlir/test/Dialect/GPU/all-reduce-max.mlir | 203 ++ mlir/test/Dialect/GPU/invalid.mlir | 8 + mlir/test/Dialect/Linalg/invalid.mlir | 19 +- mlir/test/Dialect/Linalg/loops.mlir | 8 +- mlir/test/Dialect/Linalg/roundtrip.mlir | 2 +- .../VectorOps/vector-contract-transforms.mlir | 39 + mlir/test/EDSC/builder-api-test.cpp | 38 + mlir/test/Target/llvmir-intrinsics.mlir | 24 +- .../Transforms/loop-invariant-code-motion.mlir | 2 + mlir/test/lib/IR/CMakeLists.txt | 1 + mlir/test/lib/TestDialect/CMakeLists.txt | 5 +- mlir/test/lib/TestDialect/TestDialect.h | 7 +- mlir/test/lib/TestDialect/TestOps.td | 11 +- mlir/test/mlir-cuda-runner/all-reduce-and.mlir | 60 + mlir/test/mlir-cuda-runner/all-reduce-max.mlir | 58 + mlir/test/mlir-cuda-runner/all-reduce-min.mlir | 58 + mlir/test/mlir-cuda-runner/all-reduce-or.mlir | 58 + mlir/test/mlir-cuda-runner/all-reduce-xor.mlir | 58 + mlir/test/mlir-tblgen/op-side-effects.td | 2 +- mlir/test/mlir-tblgen/types.mlir | 20 +- mlir/test/mlir-vulkan-runner/addf.mlir | 8 +- mlir/tools/mlir-vulkan-runner/VulkanRuntime.h | 2 +- .../mlir-vulkan-runner/mlir-vulkan-runner.cpp | 3 +- .../mlir-vulkan-runner/vulkan-runtime-wrappers.cpp | 127 +- openmp/libomptarget/src/rtl.h | 59 +- polly/lib/CodeGen/PerfMonitor.cpp | 9 +- 849 files changed, 23402 insertions(+), 11739 deletions(-) rename clang-tools-extra/clang-tidy/{fuchsia => portability}/RestrictSystemInclude [...] rename clang-tools-extra/clang-tidy/{fuchsia => portability}/RestrictSystemInclude [...] create mode 100644 clang-tools-extra/clang-tidy/utils/FileExtensionsUtils.cpp create mode 100644 clang-tools-extra/clang-tidy/utils/FileExtensionsUtils.h delete mode 100644 clang-tools-extra/clang-tidy/utils/HeaderFileExtensionsUtils.cpp delete mode 100644 clang-tools-extra/clang-tidy/utils/HeaderFileExtensionsUtils.h delete mode 100644 clang-tools-extra/docs/clang-tidy/checks/fuchsia-restrict-syste [...] create mode 100644 clang-tools-extra/docs/clang-tidy/checks/portability-restrict-s [...] rename clang-tools-extra/test/clang-tidy/checkers/Inputs/{fuchsia-restrict-system- [...] rename clang-tools-extra/test/clang-tidy/checkers/Inputs/{fuchsia-restrict-system- [...] rename clang-tools-extra/test/clang-tidy/checkers/Inputs/{fuchsia-restrict-system- [...] rename clang-tools-extra/test/clang-tidy/checkers/Inputs/{fuchsia-restrict-system- [...] rename clang-tools-extra/test/clang-tidy/checkers/Inputs/{fuchsia-restrict-system- [...] rename clang-tools-extra/test/clang-tidy/checkers/Inputs/{fuchsia-restrict-system- [...] rename clang-tools-extra/test/clang-tidy/checkers/Inputs/{fuchsia-restrict-system- [...] rename clang-tools-extra/test/clang-tidy/checkers/Inputs/{fuchsia-restrict-system- [...] rename clang-tools-extra/test/clang-tidy/checkers/Inputs/{fuchsia-restrict-system- [...] delete mode 100644 clang-tools-extra/test/clang-tidy/checkers/fuchsia-restrict-sys [...] delete mode 100644 clang-tools-extra/test/clang-tidy/checkers/fuchsia-restrict-sys [...] delete mode 100644 clang-tools-extra/test/clang-tidy/checkers/fuchsia-restrict-sys [...] create mode 100644 clang-tools-extra/test/clang-tidy/checkers/portability-restrict [...] create mode 100644 clang-tools-extra/test/clang-tidy/checkers/portability-restrict [...] create mode 100644 clang-tools-extra/test/clang-tidy/checkers/portability-restrict [...] rename clang-tools-extra/test/clang-tidy/checkers/{fuchsia-restrict-system-include [...] create mode 100644 clang/include/clang/Basic/arm_cde.td create mode 100644 clang/test/AST/ast-dump-objc-arc-json.m create mode 100644 clang/test/CodeGen/arm-cde-gpr.c delete mode 100644 clang/test/CodeGen/weak-global.c create mode 100644 clang/test/Driver/no-common.c create mode 100644 clang/test/Headers/arm-cde-header.c create mode 100644 clang/test/Import/objc-arc/Inputs/cleanup-objects.m create mode 100644 clang/test/Import/objc-arc/test-cleanup-object.m copy clang/test/Modules/Inputs/{Rmodule-import => implicit-invalidate-chain}/A.h (100%) copy clang/test/Modules/Inputs/{Rmodule-import => implicit-invalidate-chain}/B.h (100%) create mode 100644 clang/test/Modules/Inputs/implicit-invalidate-chain/C.h copy clang/test/Modules/Inputs/{relative-import-path => implicit-invalidate-chain} [...] create mode 100644 clang/test/Modules/implicit-invalidate-chain.c create mode 100644 clang/test/PCH/cxx2a-constraints.cpp create mode 100644 clang/test/PCH/non-trivial-c-compound-literal.m create mode 100644 clang/test/Sema/arm-cde-immediates.c create mode 100644 clang/test/Sema/builtin-returnaddress.c copy libc/{include/threads.h.def => config/linux/threads.h.in} (57%) copy libc/src/{sys/mman => threads}/CMakeLists.txt (100%) create mode 100644 libc/src/threads/linux/CMakeLists.txt create mode 100644 libc/src/threads/linux/mtx_init.cpp create mode 100644 libc/src/threads/linux/mtx_lock.cpp create mode 100644 libc/src/threads/linux/mtx_unlock.cpp create mode 100644 libc/src/threads/linux/thrd_create.cpp create mode 100644 libc/src/threads/linux/thrd_join.cpp copy libc/{include/threads.h.def => src/threads/linux/thread_start_args.h.def} (57%) create mode 100644 libc/src/threads/linux/thread_utils.h create mode 100644 libc/src/threads/linux/x86_64/thread_start_args.h.in create mode 100644 libc/src/threads/mtx_init.h create mode 100644 libc/src/threads/mtx_lock.h create mode 100644 libc/src/threads/mtx_unlock.h create mode 100644 libc/src/threads/thrd_create.h create mode 100644 libc/src/threads/thrd_join.h create mode 100644 libc/test/src/threads/CMakeLists.txt create mode 100644 libc/test/src/threads/mtx_test.cpp create mode 100644 libc/test/src/threads/thrd_test.cpp create mode 100644 libcxx/test/libcxx/utilities/function.objects/func.wrap/depr_in [...] create mode 100644 lld/docs/ELF/linker_script.rst create mode 100644 lld/test/ELF/unique-orphans.s create mode 100644 lldb/.clang-tidy rename lldb/{source/Plugins/Process/Utility/RegisterContextLLDB.h => include/lldb/ [...] rename lldb/{source/Plugins/Process/Utility => include/lldb/Target}/UnwindLLDB.h (90%) rename lldb/source/{Plugins/Process/Utility/RegisterContextLLDB.cpp => Target/Regi [...] rename lldb/source/{Plugins/Process/Utility => Target}/UnwindLLDB.cpp (97%) create mode 100644 llvm/include/llvm/CodeGen/Spiller.h rename llvm/include/llvm/{Transforms/Utils => IR}/KnowledgeRetention.h (100%) delete mode 100644 llvm/lib/CodeGen/Spiller.h rename llvm/lib/{Transforms/Utils => IR}/KnowledgeRetention.cpp (99%) create mode 100644 llvm/test/Analysis/CostModel/X86/fmaxnum.ll create mode 100644 llvm/test/Analysis/CostModel/X86/fminnum.ll create mode 100644 llvm/test/CodeGen/AArch64/sve-intrinsics-adr.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/add.v2i16.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-scalar-packed.x [...] create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-add.s16.mir rename llvm/test/CodeGen/AMDGPU/GlobalISel/{regbankselect-add.mir => regbankselect [...] create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-add.v2s16.mir create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-copy.mir create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/shlN_add.ll create mode 100644 llvm/test/CodeGen/ARM/i64_volatile_load_store.ll create mode 100644 llvm/test/CodeGen/ARM/lower-vmax.ll create mode 100644 llvm/test/CodeGen/MIR/AArch64/mir-canon-constant-pool-hash.mir create mode 100644 llvm/test/CodeGen/PowerPC/fma-precision.ll create mode 100644 llvm/test/CodeGen/SystemZ/cond-move-10.ll create mode 100644 llvm/test/CodeGen/SystemZ/int-cmp-56.mir create mode 100644 llvm/test/CodeGen/Thumb2/LowOverheadLoops/invariant-qreg.mir create mode 100644 llvm/test/CodeGen/Thumb2/LowOverheadLoops/predicated-invariant.mir create mode 100644 llvm/test/CodeGen/Thumb2/LowOverheadLoops/unpredicated-max.mir create mode 100644 llvm/test/CodeGen/Thumb2/LowOverheadLoops/vaddv.mir create mode 100644 llvm/test/CodeGen/VE/sjlj_except.ll create mode 100644 llvm/test/DebugInfo/X86/no-entry-values-with-O0.ll rename llvm/test/{Transforms/Util => IR}/assume-builder.ll (100%) delete mode 100644 llvm/test/Transforms/InstCombine/unlocked-stdio-mingw.ll delete mode 100644 llvm/test/Transforms/InstCombine/unlocked-stdio.ll create mode 100644 llvm/test/Transforms/InstCombine/volatile_load_cast.ll create mode 100644 llvm/test/Transforms/SLPVectorizer/AArch64/accelerate-vector-fu [...] create mode 100644 llvm/test/Transforms/SLPVectorizer/X86/fmaxnum.ll create mode 100644 llvm/test/Transforms/SLPVectorizer/X86/fminnum.ll create mode 100644 llvm/test/Transforms/SimplifyCFG/callbr-destinations.ll rename llvm/unittests/{Transforms/Utils => IR}/KnowledgeRetentionTest.cpp (99%) create mode 100644 llvm/unittests/Object/ArchiveTest.cpp rename mlir/include/mlir/{Analysis => Interfaces}/CMakeLists.txt (63%) rename mlir/include/mlir/{Analysis => Interfaces}/CallInterfaces.h (84%) rename mlir/include/mlir/{Analysis => Interfaces}/CallInterfaces.td (94%) rename mlir/include/mlir/{Analysis => Interfaces}/ControlFlowInterfaces.h (88%) rename mlir/include/mlir/{Analysis => Interfaces}/ControlFlowInterfaces.td (95%) rename mlir/include/mlir/{Analysis => Interfaces}/InferTypeOpInterface.h (95%) rename mlir/include/mlir/{Analysis => Interfaces}/InferTypeOpInterface.td (100%) create mode 100644 mlir/include/mlir/Interfaces/SideEffects.h rename mlir/include/mlir/{IR => Interfaces}/SideEffects.td (98%) delete mode 100644 mlir/include/mlir/Transforms/SideEffectsInterface.h create mode 100644 mlir/lib/Conversion/GPUToVulkan/ConvertGPULaunchFuncToVulkanLau [...] create mode 100644 mlir/lib/Interfaces/CMakeLists.txt create mode 100644 mlir/lib/Interfaces/CallInterfaces.cpp rename mlir/lib/{Analysis => Interfaces}/ControlFlowInterfaces.cpp (95%) rename mlir/lib/{Analysis => Interfaces}/InferTypeOpInterface.cpp (95%) create mode 100644 mlir/lib/Interfaces/SideEffects.cpp create mode 100644 mlir/test/Conversion/GPUToVulkan/lower-gpu-launch-vulkan-launch.mlir create mode 100644 mlir/test/Dialect/GPU/all-reduce-max.mlir create mode 100644 mlir/test/mlir-cuda-runner/all-reduce-and.mlir create mode 100644 mlir/test/mlir-cuda-runner/all-reduce-max.mlir create mode 100644 mlir/test/mlir-cuda-runner/all-reduce-min.mlir create mode 100644 mlir/test/mlir-cuda-runner/all-reduce-or.mlir create mode 100644 mlir/test/mlir-cuda-runner/all-reduce-xor.mlir