pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/libLLVM



Module Name:    pkgsrc
Committed By:   tnn
Date:           Sun Mar 13 15:22:32 UTC 2022

Modified Files:
        pkgsrc/lang/libLLVM: Makefile PLIST buildlink3.mk distinfo options.mk
        pkgsrc/lang/libLLVM/patches: patch-CMakeLists.txt
            patch-cmake_config-ix.cmake patch-cmake_modules_AddLLVM.cmake
            patch-cmake_modules_CMakeLists.txt
            patch-cmake_modules_CheckAtomic.cmake
            patch-include_llvm-c_DataTypes.h
            patch-tools_llvm-config_llvm-config.cpp
            patch-tools_llvm-shlib_CMakeLists.txt
Removed Files:
        pkgsrc/lang/libLLVM: hacks.mk

Log Message:
libLLVM: update to 13.0.1, for mesa update


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 pkgsrc/lang/libLLVM/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/lang/libLLVM/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/libLLVM/buildlink3.mk
cvs rdiff -u -r1.18 -r1.19 pkgsrc/lang/libLLVM/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/lang/libLLVM/hacks.mk
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/libLLVM/options.mk
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/libLLVM/patches/patch-CMakeLists.txt \
    pkgsrc/lang/libLLVM/patches/patch-cmake_config-ix.cmake
cvs rdiff -u -r1.9 -r1.10 \
    pkgsrc/lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake
cvs rdiff -u -r1.3 -r1.4 \
    pkgsrc/lang/libLLVM/patches/patch-cmake_modules_CMakeLists.txt
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/lang/libLLVM/patches/patch-cmake_modules_CheckAtomic.cmake \
    pkgsrc/lang/libLLVM/patches/patch-include_llvm-c_DataTypes.h
cvs rdiff -u -r1.6 -r1.7 \
    pkgsrc/lang/libLLVM/patches/patch-tools_llvm-config_llvm-config.cpp
cvs rdiff -u -r1.7 -r1.8 \
    pkgsrc/lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/libLLVM/Makefile
diff -u pkgsrc/lang/libLLVM/Makefile:1.37 pkgsrc/lang/libLLVM/Makefile:1.38
--- pkgsrc/lang/libLLVM/Makefile:1.37   Mon May 24 19:52:33 2021
+++ pkgsrc/lang/libLLVM/Makefile        Sun Mar 13 15:22:32 2022
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.37 2021/05/24 19:52:33 wiz Exp $
+# $NetBSD: Makefile,v 1.38 2022/03/13 15:22:32 tnn Exp $
 
-DISTNAME=      llvm-9.0.1.src
+DISTNAME=      llvm-13.0.1.src
 PKGNAME=       ${DISTNAME:S/llvm/libLLVM/:S/.src//}
-PKGREVISION=   1
 CATEGORIES=    lang devel
-MASTER_SITES=  http://llvm.org/releases/${PKGVERSION_NOREV}/
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=llvm/}
+GITHUB_PROJECT=        llvm-project
+GITHUB_RELEASE=        llvmorg-${PKGVERSION_NOREV}
 EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -39,7 +40,7 @@ CMAKE_ARGS.Darwin+=   -DCMAKE_LIBTOOL=/usr
 .for tool in   bugpoint bugpoint_passes dsymutil gold llc lli llvm_ar  \
        llvm_as llvm_as_fuzzer llvm_bcanalyzer llvm_c_test llvm_cat     \
        llvm_cfi_verify llvm_cov llvm_cvtres llvm_cxxdump llvm_cxxfilt  \
-       llvm_cxxmap llvm_diff llvm_dis llvm_dwarfdump llvm_dwp          \
+       llvm_cxxmap llvm_diff llvm_dis llvm_dwp                         \
        llvm_elfabi llvm_exegesis llvm_extract llvm_go llvm_isel_fuzzer \
        llvm_itanium_demangle_fuzzer llvm_jitlink llvm_jitlistener      \
        llvm_link llvm_lipo llvm_lto llvm_lto2 llvm_mc                  \
@@ -51,7 +52,10 @@ CMAKE_ARGS.Darwin+=  -DCMAKE_LIBTOOL=/usr
        llvm_strings llvm_symbolizer llvm_undname llvm_xray             \
        llvm_yaml_numeric_parser_fuzzer lto msbuild obj2yaml            \
        opt opt_viewer remarks_shlib sancov sanstats                    \
-       verify_uselistorder xcode_toolchain yaml2obj
+       verify_uselistorder xcode_toolchain yaml2obj                    \
+       llvm_ml llvm_profgen llvm_reduce llvm_gsymutil split_file       \
+       llvm_libtool_darwin llvm_ifs llvm_dwarfdump llvm_sim            \
+       llvm_tapi_diff
 
 CMAKE_ARGS+=   -DLLVM_TOOL_${tool:tu}_BUILD=OFF
 .endfor
@@ -76,7 +80,7 @@ REPLACE_PYTHON+=      utils/Misc/zkill
 REPLACE_PYTHON+=       utils/bisect
 REPLACE_PYTHON+=       utils/clang-parse-diagnostics-file
 REPLACE_PYTHON+=       utils/git/find-rev
-REPLACE_PYTHON+=       utils/lit/tests/Inputs/googletest-format/DummySubDir/OneTest
+REPLACE_PYTHON+=       utils/lit/tests/Inputs/googletest-format/DummySubDir/OneTest.py
 REPLACE_PYTHON+=       utils/llvm-build/llvm-build
 REPLACE_PYTHON+=       utils/llvm-compilers-check
 REPLACE_PYTHON+=       utils/llvm-lit/llvm-lit.in
@@ -104,13 +108,19 @@ PLIST.notdylib=   yes
 PLIST_SUBST+=  SOEXT=${SOEXT}
 PLIST_SUBST+=  LLVM_LIBNAME=${LLVM_LIBNAME}
 
-.include "options.mk"
-
 # needs std::atomic with 64-bit CAS
 .if ${MACHINE_ARCH} == "i386"
 CXXFLAGS+=     -march=i586
 .endif
 
+.if !empty(MACHINE_ARCH:Mpowerpc*)
+# Needed to avoid "relocation truncated to fit: R_PPC_REL24"
+CFLAGS+=       -mlongcall
+CXXFLAGS+=     -mlongcall
+.endif
+
+.include "options.mk"
+
 # replacing config.guess is required even for cmake.
 # It is used to detect correct LLVM_HOST_TRIPLE, e.g. for NetBSD/evbarm.
 post-extract:

Index: pkgsrc/lang/libLLVM/PLIST
diff -u pkgsrc/lang/libLLVM/PLIST:1.13 pkgsrc/lang/libLLVM/PLIST:1.14
--- pkgsrc/lang/libLLVM/PLIST:1.13      Fri Mar  6 22:44:18 2020
+++ pkgsrc/lang/libLLVM/PLIST   Sun Mar 13 15:22:32 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2020/03/06 22:44:18 tnn Exp $
+@comment $NetBSD: PLIST,v 1.14 2022/03/13 15:22:32 tnn Exp $
 include/libLLVM/llvm-c/Analysis.h
 include/libLLVM/llvm-c/BitReader.h
 include/libLLVM/llvm-c/BitWriter.h
@@ -11,12 +11,14 @@ include/libLLVM/llvm-c/DisassemblerTypes
 include/libLLVM/llvm-c/Error.h
 include/libLLVM/llvm-c/ErrorHandling.h
 include/libLLVM/llvm-c/ExecutionEngine.h
+include/libLLVM/llvm-c/ExternC.h
 include/libLLVM/llvm-c/IRReader.h
 include/libLLVM/llvm-c/Initialization.h
-include/libLLVM/llvm-c/LinkTimeOptimizer.h
+include/libLLVM/llvm-c/LLJIT.h
 include/libLLVM/llvm-c/Linker.h
 include/libLLVM/llvm-c/Object.h
-include/libLLVM/llvm-c/OrcBindings.h
+include/libLLVM/llvm-c/Orc.h
+include/libLLVM/llvm-c/OrcEE.h
 include/libLLVM/llvm-c/Remarks.h
 include/libLLVM/llvm-c/Support.h
 include/libLLVM/llvm-c/Target.h
@@ -25,12 +27,14 @@ include/libLLVM/llvm-c/Transforms/Aggres
 include/libLLVM/llvm-c/Transforms/Coroutines.h
 include/libLLVM/llvm-c/Transforms/IPO.h
 include/libLLVM/llvm-c/Transforms/InstCombine.h
+include/libLLVM/llvm-c/Transforms/PassBuilder.h
 include/libLLVM/llvm-c/Transforms/PassManagerBuilder.h
 include/libLLVM/llvm-c/Transforms/Scalar.h
 include/libLLVM/llvm-c/Transforms/Utils.h
 include/libLLVM/llvm-c/Transforms/Vectorize.h
 include/libLLVM/llvm-c/Types.h
 include/libLLVM/llvm-c/lto.h
+include/libLLVM/llvm/ADT/APFixedPoint.h
 include/libLLVM/llvm/ADT/APFloat.h
 include/libLLVM/llvm/ADT/APInt.h
 include/libLLVM/llvm/ADT/APSInt.h
@@ -38,17 +42,22 @@ include/libLLVM/llvm/ADT/AllocatorList.h
 include/libLLVM/llvm/ADT/Any.h
 include/libLLVM/llvm/ADT/ArrayRef.h
 include/libLLVM/llvm/ADT/BitVector.h
+include/libLLVM/llvm/ADT/Bitfields.h
 include/libLLVM/llvm/ADT/BitmaskEnum.h
 include/libLLVM/llvm/ADT/BreadthFirstIterator.h
 include/libLLVM/llvm/ADT/CachedHashString.h
+include/libLLVM/llvm/ADT/CoalescingBitVector.h
 include/libLLVM/llvm/ADT/DAGDeltaAlgorithm.h
 include/libLLVM/llvm/ADT/DeltaAlgorithm.h
 include/libLLVM/llvm/ADT/DenseMap.h
 include/libLLVM/llvm/ADT/DenseMapInfo.h
 include/libLLVM/llvm/ADT/DenseSet.h
 include/libLLVM/llvm/ADT/DepthFirstIterator.h
+include/libLLVM/llvm/ADT/DirectedGraph.h
+include/libLLVM/llvm/ADT/EnumeratedArray.h
 include/libLLVM/llvm/ADT/EpochTracker.h
 include/libLLVM/llvm/ADT/EquivalenceClasses.h
+include/libLLVM/llvm/ADT/FloatingPointMode.h
 include/libLLVM/llvm/ADT/FoldingSet.h
 include/libLLVM/llvm/ADT/FunctionExtras.h
 include/libLLVM/llvm/ADT/GraphTraits.h
@@ -73,6 +82,7 @@ include/libLLVM/llvm/ADT/PriorityQueue.h
 include/libLLVM/llvm/ADT/PriorityWorklist.h
 include/libLLVM/llvm/ADT/SCCIterator.h
 include/libLLVM/llvm/ADT/STLExtras.h
+include/libLLVM/llvm/ADT/STLForwardCompat.h
 include/libLLVM/llvm/ADT/ScopeExit.h
 include/libLLVM/llvm/ADT/ScopedHashTable.h
 include/libLLVM/llvm/ADT/Sequence.h
@@ -89,14 +99,16 @@ include/libLLVM/llvm/ADT/SparseSet.h
 include/libLLVM/llvm/ADT/Statistic.h
 include/libLLVM/llvm/ADT/StringExtras.h
 include/libLLVM/llvm/ADT/StringMap.h
+include/libLLVM/llvm/ADT/StringMapEntry.h
 include/libLLVM/llvm/ADT/StringRef.h
 include/libLLVM/llvm/ADT/StringSet.h
 include/libLLVM/llvm/ADT/StringSwitch.h
 include/libLLVM/llvm/ADT/TinyPtrVector.h
 include/libLLVM/llvm/ADT/Triple.h
 include/libLLVM/llvm/ADT/Twine.h
+include/libLLVM/llvm/ADT/TypeSwitch.h
 include/libLLVM/llvm/ADT/UniqueVector.h
-include/libLLVM/llvm/ADT/VariadicFunction.h
+include/libLLVM/llvm/ADT/Waymarking.h
 include/libLLVM/llvm/ADT/bit.h
 include/libLLVM/llvm/ADT/edit_distance.h
 include/libLLVM/llvm/ADT/fallible_iterator.h
@@ -112,6 +124,7 @@ include/libLLVM/llvm/ADT/simple_ilist.h
 include/libLLVM/llvm/Analysis/AliasAnalysis.h
 include/libLLVM/llvm/Analysis/AliasAnalysisEvaluator.h
 include/libLLVM/llvm/Analysis/AliasSetTracker.h
+include/libLLVM/llvm/Analysis/AssumeBundleQueries.h
 include/libLLVM/llvm/Analysis/AssumptionCache.h
 include/libLLVM/llvm/Analysis/BasicAliasAnalysis.h
 include/libLLVM/llvm/Analysis/BlockFrequencyInfo.h
@@ -130,22 +143,34 @@ include/libLLVM/llvm/Analysis/CaptureTra
 include/libLLVM/llvm/Analysis/CmpInstAnalysis.h
 include/libLLVM/llvm/Analysis/CodeMetrics.h
 include/libLLVM/llvm/Analysis/ConstantFolding.h
+include/libLLVM/llvm/Analysis/ConstraintSystem.h
+include/libLLVM/llvm/Analysis/DDG.h
+include/libLLVM/llvm/Analysis/DDGPrinter.h
 include/libLLVM/llvm/Analysis/DOTGraphTraitsPass.h
+include/libLLVM/llvm/Analysis/Delinearization.h
 include/libLLVM/llvm/Analysis/DemandedBits.h
 include/libLLVM/llvm/Analysis/DependenceAnalysis.h
+include/libLLVM/llvm/Analysis/DependenceGraphBuilder.h
 include/libLLVM/llvm/Analysis/DivergenceAnalysis.h
 include/libLLVM/llvm/Analysis/DomPrinter.h
 include/libLLVM/llvm/Analysis/DomTreeUpdater.h
 include/libLLVM/llvm/Analysis/DominanceFrontier.h
 include/libLLVM/llvm/Analysis/DominanceFrontierImpl.h
 include/libLLVM/llvm/Analysis/EHPersonalities.h
+include/libLLVM/llvm/Analysis/FunctionPropertiesAnalysis.h
 include/libLLVM/llvm/Analysis/GlobalsModRef.h
 include/libLLVM/llvm/Analysis/GuardUtils.h
+include/libLLVM/llvm/Analysis/HeatUtils.h
+include/libLLVM/llvm/Analysis/IRSimilarityIdentifier.h
 include/libLLVM/llvm/Analysis/IVDescriptors.h
 include/libLLVM/llvm/Analysis/IVUsers.h
 include/libLLVM/llvm/Analysis/IndirectCallPromotionAnalysis.h
 include/libLLVM/llvm/Analysis/IndirectCallVisitor.h
+include/libLLVM/llvm/Analysis/InlineAdvisor.h
 include/libLLVM/llvm/Analysis/InlineCost.h
+include/libLLVM/llvm/Analysis/InlineModelFeatureMaps.h
+include/libLLVM/llvm/Analysis/InlineSizeEstimatorAnalysis.h
+include/libLLVM/llvm/Analysis/InstCount.h
 include/libLLVM/llvm/Analysis/InstructionPrecedenceTracking.h
 include/libLLVM/llvm/Analysis/InstructionSimplify.h
 include/libLLVM/llvm/Analysis/Interval.h
@@ -161,24 +186,30 @@ include/libLLVM/llvm/Analysis/Lint.h
 include/libLLVM/llvm/Analysis/Loads.h
 include/libLLVM/llvm/Analysis/LoopAccessAnalysis.h
 include/libLLVM/llvm/Analysis/LoopAnalysisManager.h
+include/libLLVM/llvm/Analysis/LoopCacheAnalysis.h
 include/libLLVM/llvm/Analysis/LoopInfo.h
 include/libLLVM/llvm/Analysis/LoopInfoImpl.h
 include/libLLVM/llvm/Analysis/LoopIterator.h
+include/libLLVM/llvm/Analysis/LoopNestAnalysis.h
 include/libLLVM/llvm/Analysis/LoopPass.h
 include/libLLVM/llvm/Analysis/LoopUnrollAnalyzer.h
+include/libLLVM/llvm/Analysis/MLInlineAdvisor.h
+include/libLLVM/llvm/Analysis/MLModelRunner.h
+include/libLLVM/llvm/Analysis/MemDerefPrinter.h
 include/libLLVM/llvm/Analysis/MemoryBuiltins.h
 include/libLLVM/llvm/Analysis/MemoryDependenceAnalysis.h
 include/libLLVM/llvm/Analysis/MemoryLocation.h
 include/libLLVM/llvm/Analysis/MemorySSA.h
 include/libLLVM/llvm/Analysis/MemorySSAUpdater.h
+include/libLLVM/llvm/Analysis/ModuleDebugInfoPrinter.h
 include/libLLVM/llvm/Analysis/ModuleSummaryAnalysis.h
 include/libLLVM/llvm/Analysis/MustExecute.h
 include/libLLVM/llvm/Analysis/ObjCARCAliasAnalysis.h
 include/libLLVM/llvm/Analysis/ObjCARCAnalysisUtils.h
 include/libLLVM/llvm/Analysis/ObjCARCInstKind.h
+include/libLLVM/llvm/Analysis/ObjCARCUtil.h
 include/libLLVM/llvm/Analysis/OptimizationRemarkEmitter.h
-include/libLLVM/llvm/Analysis/OrderedBasicBlock.h
-include/libLLVM/llvm/Analysis/OrderedInstructions.h
+include/libLLVM/llvm/Analysis/OverflowInstAnalysis.h
 include/libLLVM/llvm/Analysis/PHITransAddr.h
 include/libLLVM/llvm/Analysis/Passes.h
 include/libLLVM/llvm/Analysis/PhiValues.h
@@ -190,13 +221,15 @@ include/libLLVM/llvm/Analysis/RegionInfo
 include/libLLVM/llvm/Analysis/RegionIterator.h
 include/libLLVM/llvm/Analysis/RegionPass.h
 include/libLLVM/llvm/Analysis/RegionPrinter.h
+include/libLLVM/llvm/Analysis/ReplayInlineAdvisor.h
 include/libLLVM/llvm/Analysis/ScalarEvolution.h
 include/libLLVM/llvm/Analysis/ScalarEvolutionAliasAnalysis.h
-include/libLLVM/llvm/Analysis/ScalarEvolutionExpander.h
+include/libLLVM/llvm/Analysis/ScalarEvolutionDivision.h
 include/libLLVM/llvm/Analysis/ScalarEvolutionExpressions.h
 include/libLLVM/llvm/Analysis/ScalarEvolutionNormalization.h
 include/libLLVM/llvm/Analysis/ScopedNoAliasAA.h
 include/libLLVM/llvm/Analysis/SparsePropagation.h
+include/libLLVM/llvm/Analysis/StackLifetime.h
 include/libLLVM/llvm/Analysis/StackSafetyAnalysis.h
 include/libLLVM/llvm/Analysis/SyncDependenceAnalysis.h
 include/libLLVM/llvm/Analysis/SyntheticCountsUtils.h
@@ -208,12 +241,17 @@ include/libLLVM/llvm/Analysis/TargetTran
 include/libLLVM/llvm/Analysis/Trace.h
 include/libLLVM/llvm/Analysis/TypeBasedAliasAnalysis.h
 include/libLLVM/llvm/Analysis/TypeMetadataUtils.h
+include/libLLVM/llvm/Analysis/Utils/ImportedFunctionsInliningStatistics.h
 include/libLLVM/llvm/Analysis/Utils/Local.h
+include/libLLVM/llvm/Analysis/Utils/TFUtils.h
 include/libLLVM/llvm/Analysis/ValueLattice.h
 include/libLLVM/llvm/Analysis/ValueLatticeUtils.h
 include/libLLVM/llvm/Analysis/ValueTracking.h
 include/libLLVM/llvm/Analysis/VecFuncs.def
 include/libLLVM/llvm/Analysis/VectorUtils.h
+include/libLLVM/llvm/AsmParser/LLLexer.h
+include/libLLVM/llvm/AsmParser/LLParser.h
+include/libLLVM/llvm/AsmParser/LLToken.h
 include/libLLVM/llvm/AsmParser/Parser.h
 include/libLLVM/llvm/AsmParser/SlotMapping.h
 include/libLLVM/llvm/BinaryFormat/AMDGPUMetadataVerifier.h
@@ -228,8 +266,10 @@ include/libLLVM/llvm/BinaryFormat/ELFRel
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/ARM.def
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/AVR.def
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/BPF.def
+include/libLLVM/llvm/BinaryFormat/ELFRelocs/CSKY.def
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/Hexagon.def
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/Lanai.def
+include/libLLVM/llvm/BinaryFormat/ELFRelocs/M68k.def
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/MSP430.def
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/Mips.def
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/PowerPC.def
@@ -237,6 +277,7 @@ include/libLLVM/llvm/BinaryFormat/ELFRel
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/RISCV.def
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/Sparc.def
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/SystemZ.def
+include/libLLVM/llvm/BinaryFormat/ELFRelocs/VE.def
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/i386.def
 include/libLLVM/llvm/BinaryFormat/ELFRelocs/x86_64.def
 include/libLLVM/llvm/BinaryFormat/MachO.def
@@ -251,8 +292,11 @@ include/libLLVM/llvm/BinaryFormat/MsgPac
 include/libLLVM/llvm/BinaryFormat/MsgPackWriter.h
 include/libLLVM/llvm/BinaryFormat/Wasm.h
 include/libLLVM/llvm/BinaryFormat/WasmRelocs.def
+include/libLLVM/llvm/BinaryFormat/WasmTraits.h
 include/libLLVM/llvm/BinaryFormat/XCOFF.h
 include/libLLVM/llvm/Bitcode/BitcodeAnalyzer.h
+include/libLLVM/llvm/Bitcode/BitcodeCommon.h
+include/libLLVM/llvm/Bitcode/BitcodeConvenience.h
 include/libLLVM/llvm/Bitcode/BitcodeReader.h
 include/libLLVM/llvm/Bitcode/BitcodeWriter.h
 include/libLLVM/llvm/Bitcode/BitcodeWriterPass.h
@@ -262,15 +306,17 @@ include/libLLVM/llvm/Bitstream/Bitstream
 include/libLLVM/llvm/Bitstream/BitstreamWriter.h
 include/libLLVM/llvm/CodeGen/AccelTable.h
 include/libLLVM/llvm/CodeGen/Analysis.h
+include/libLLVM/llvm/CodeGen/AntiDepBreaker.h
 include/libLLVM/llvm/CodeGen/AsmPrinter.h
 include/libLLVM/llvm/CodeGen/AsmPrinterHandler.h
 include/libLLVM/llvm/CodeGen/AtomicExpandUtils.h
+include/libLLVM/llvm/CodeGen/BasicBlockSectionUtils.h
 include/libLLVM/llvm/CodeGen/BasicTTIImpl.h
-include/libLLVM/llvm/CodeGen/BuiltinGCs.h
 include/libLLVM/llvm/CodeGen/CSEConfigBase.h
 include/libLLVM/llvm/CodeGen/CalcSpillWeights.h
 include/libLLVM/llvm/CodeGen/CallingConvLower.h
-include/libLLVM/llvm/CodeGen/CommandFlags.inc
+include/libLLVM/llvm/CodeGen/CodeGenPassBuilder.h
+include/libLLVM/llvm/CodeGen/CommandFlags.h
 include/libLLVM/llvm/CodeGen/CostTable.h
 include/libLLVM/llvm/CodeGen/DAGCombine.h
 include/libLLVM/llvm/CodeGen/DFAPacketizer.h
@@ -282,38 +328,42 @@ include/libLLVM/llvm/CodeGen/DwarfString
 include/libLLVM/llvm/CodeGen/EdgeBundles.h
 include/libLLVM/llvm/CodeGen/ExecutionDomainFix.h
 include/libLLVM/llvm/CodeGen/ExpandReductions.h
+include/libLLVM/llvm/CodeGen/ExpandVectorPredication.h
 include/libLLVM/llvm/CodeGen/FastISel.h
 include/libLLVM/llvm/CodeGen/FaultMaps.h
 include/libLLVM/llvm/CodeGen/FunctionLoweringInfo.h
 include/libLLVM/llvm/CodeGen/GCMetadata.h
 include/libLLVM/llvm/CodeGen/GCMetadataPrinter.h
-include/libLLVM/llvm/CodeGen/GCStrategy.h
 include/libLLVM/llvm/CodeGen/GlobalISel/CSEInfo.h
 include/libLLVM/llvm/CodeGen/GlobalISel/CSEMIRBuilder.h
 include/libLLVM/llvm/CodeGen/GlobalISel/CallLowering.h
 include/libLLVM/llvm/CodeGen/GlobalISel/Combiner.h
 include/libLLVM/llvm/CodeGen/GlobalISel/CombinerHelper.h
 include/libLLVM/llvm/CodeGen/GlobalISel/CombinerInfo.h
-include/libLLVM/llvm/CodeGen/GlobalISel/ConstantFoldingMIRBuilder.h
 include/libLLVM/llvm/CodeGen/GlobalISel/GISelChangeObserver.h
+include/libLLVM/llvm/CodeGen/GlobalISel/GISelKnownBits.h
 include/libLLVM/llvm/CodeGen/GlobalISel/GISelWorkList.h
+include/libLLVM/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
 include/libLLVM/llvm/CodeGen/GlobalISel/IRTranslator.h
+include/libLLVM/llvm/CodeGen/GlobalISel/InlineAsmLowering.h
 include/libLLVM/llvm/CodeGen/GlobalISel/InstructionSelect.h
 include/libLLVM/llvm/CodeGen/GlobalISel/InstructionSelector.h
 include/libLLVM/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
+include/libLLVM/llvm/CodeGen/GlobalISel/LegacyLegalizerInfo.h
 include/libLLVM/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
 include/libLLVM/llvm/CodeGen/GlobalISel/Legalizer.h
 include/libLLVM/llvm/CodeGen/GlobalISel/LegalizerHelper.h
 include/libLLVM/llvm/CodeGen/GlobalISel/LegalizerInfo.h
 include/libLLVM/llvm/CodeGen/GlobalISel/Localizer.h
+include/libLLVM/llvm/CodeGen/GlobalISel/LostDebugLocObserver.h
 include/libLLVM/llvm/CodeGen/GlobalISel/MIPatternMatch.h
 include/libLLVM/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
 include/libLLVM/llvm/CodeGen/GlobalISel/RegBankSelect.h
 include/libLLVM/llvm/CodeGen/GlobalISel/RegisterBank.h
 include/libLLVM/llvm/CodeGen/GlobalISel/RegisterBankInfo.h
-include/libLLVM/llvm/CodeGen/GlobalISel/Types.h
 include/libLLVM/llvm/CodeGen/GlobalISel/Utils.h
 include/libLLVM/llvm/CodeGen/ISDOpcodes.h
+include/libLLVM/llvm/CodeGen/IndirectThunks.h
 include/libLLVM/llvm/CodeGen/IntrinsicLowering.h
 include/libLLVM/llvm/CodeGen/LatencyPriorityQueue.h
 include/libLLVM/llvm/CodeGen/LazyMachineBlockFrequencyInfo.h
@@ -321,9 +371,11 @@ include/libLLVM/llvm/CodeGen/LexicalScop
 include/libLLVM/llvm/CodeGen/LinkAllAsmWriterComponents.h
 include/libLLVM/llvm/CodeGen/LinkAllCodegenComponents.h
 include/libLLVM/llvm/CodeGen/LiveInterval.h
+include/libLLVM/llvm/CodeGen/LiveIntervalCalc.h
 include/libLLVM/llvm/CodeGen/LiveIntervalUnion.h
 include/libLLVM/llvm/CodeGen/LiveIntervals.h
 include/libLLVM/llvm/CodeGen/LivePhysRegs.h
+include/libLLVM/llvm/CodeGen/LiveRangeCalc.h
 include/libLLVM/llvm/CodeGen/LiveRangeEdit.h
 include/libLLVM/llvm/CodeGen/LiveRegMatrix.h
 include/libLLVM/llvm/CodeGen/LiveRegUnits.h
@@ -331,6 +383,9 @@ include/libLLVM/llvm/CodeGen/LiveStacks.
 include/libLLVM/llvm/CodeGen/LiveVariables.h
 include/libLLVM/llvm/CodeGen/LoopTraversal.h
 include/libLLVM/llvm/CodeGen/LowLevelType.h
+include/libLLVM/llvm/CodeGen/MBFIWrapper.h
+include/libLLVM/llvm/CodeGen/MIRFSDiscriminator.h
+include/libLLVM/llvm/CodeGen/MIRFormatter.h
 include/libLLVM/llvm/CodeGen/MIRParser/MIParser.h
 include/libLLVM/llvm/CodeGen/MIRParser/MIRParser.h
 include/libLLVM/llvm/CodeGen/MIRPrinter.h
@@ -352,12 +407,16 @@ include/libLLVM/llvm/CodeGen/MachineInst
 include/libLLVM/llvm/CodeGen/MachineInstrBundleIterator.h
 include/libLLVM/llvm/CodeGen/MachineJumpTableInfo.h
 include/libLLVM/llvm/CodeGen/MachineLoopInfo.h
+include/libLLVM/llvm/CodeGen/MachineLoopUtils.h
 include/libLLVM/llvm/CodeGen/MachineMemOperand.h
 include/libLLVM/llvm/CodeGen/MachineModuleInfo.h
 include/libLLVM/llvm/CodeGen/MachineModuleInfoImpls.h
+include/libLLVM/llvm/CodeGen/MachineModuleSlotTracker.h
 include/libLLVM/llvm/CodeGen/MachineOperand.h
 include/libLLVM/llvm/CodeGen/MachineOptimizationRemarkEmitter.h
 include/libLLVM/llvm/CodeGen/MachineOutliner.h
+include/libLLVM/llvm/CodeGen/MachinePassManager.h
+include/libLLVM/llvm/CodeGen/MachinePassRegistry.def
 include/libLLVM/llvm/CodeGen/MachinePassRegistry.h
 include/libLLVM/llvm/CodeGen/MachinePipeliner.h
 include/libLLVM/llvm/CodeGen/MachinePostDominators.h
@@ -365,8 +424,13 @@ include/libLLVM/llvm/CodeGen/MachineRegi
 include/libLLVM/llvm/CodeGen/MachineRegisterInfo.h
 include/libLLVM/llvm/CodeGen/MachineSSAUpdater.h
 include/libLLVM/llvm/CodeGen/MachineScheduler.h
+include/libLLVM/llvm/CodeGen/MachineSizeOpts.h
+include/libLLVM/llvm/CodeGen/MachineStableHash.h
 include/libLLVM/llvm/CodeGen/MachineTraceMetrics.h
 include/libLLVM/llvm/CodeGen/MacroFusion.h
+include/libLLVM/llvm/CodeGen/ModuloSchedule.h
+include/libLLVM/llvm/CodeGen/MultiHazardRecognizer.h
+include/libLLVM/llvm/CodeGen/NonRelocatableStringpool.h
 include/libLLVM/llvm/CodeGen/PBQP/CostAllocator.h
 include/libLLVM/llvm/CodeGen/PBQP/Graph.h
 include/libLLVM/llvm/CodeGen/PBQP/Math.h
@@ -377,7 +441,11 @@ include/libLLVM/llvm/CodeGen/ParallelCG.
 include/libLLVM/llvm/CodeGen/Passes.h
 include/libLLVM/llvm/CodeGen/PreISelIntrinsicLowering.h
 include/libLLVM/llvm/CodeGen/PseudoSourceValue.h
+include/libLLVM/llvm/CodeGen/RDFGraph.h
+include/libLLVM/llvm/CodeGen/RDFLiveness.h
+include/libLLVM/llvm/CodeGen/RDFRegisters.h
 include/libLLVM/llvm/CodeGen/ReachingDefAnalysis.h
+include/libLLVM/llvm/CodeGen/RegAllocCommon.h
 include/libLLVM/llvm/CodeGen/RegAllocPBQP.h
 include/libLLVM/llvm/CodeGen/RegAllocRegistry.h
 include/libLLVM/llvm/CodeGen/Register.h
@@ -385,6 +453,7 @@ include/libLLVM/llvm/CodeGen/RegisterCla
 include/libLLVM/llvm/CodeGen/RegisterPressure.h
 include/libLLVM/llvm/CodeGen/RegisterScavenging.h
 include/libLLVM/llvm/CodeGen/RegisterUsageInfo.h
+include/libLLVM/llvm/CodeGen/ReplaceWithVeclib.h
 include/libLLVM/llvm/CodeGen/ResourcePriorityQueue.h
 include/libLLVM/llvm/CodeGen/RuntimeLibcalls.h
 include/libLLVM/llvm/CodeGen/SDNodeProperties.td
@@ -401,6 +470,8 @@ include/libLLVM/llvm/CodeGen/SelectionDA
 include/libLLVM/llvm/CodeGen/SelectionDAGNodes.h
 include/libLLVM/llvm/CodeGen/SelectionDAGTargetInfo.h
 include/libLLVM/llvm/CodeGen/SlotIndexes.h
+include/libLLVM/llvm/CodeGen/Spiller.h
+include/libLLVM/llvm/CodeGen/StableHashing.h
 include/libLLVM/llvm/CodeGen/StackMaps.h
 include/libLLVM/llvm/CodeGen/StackProtector.h
 include/libLLVM/llvm/CodeGen/SwiftErrorValueTracking.h
@@ -416,6 +487,7 @@ include/libLLVM/llvm/CodeGen/TargetPassC
 include/libLLVM/llvm/CodeGen/TargetRegisterInfo.h
 include/libLLVM/llvm/CodeGen/TargetSchedule.h
 include/libLLVM/llvm/CodeGen/TargetSubtargetInfo.h
+include/libLLVM/llvm/CodeGen/TileShapeInfo.h
 include/libLLVM/llvm/CodeGen/UnreachableBlockElim.h
 include/libLLVM/llvm/CodeGen/ValueTypes.h
 include/libLLVM/llvm/CodeGen/ValueTypes.td
@@ -428,6 +500,13 @@ include/libLLVM/llvm/Config/Disassembler
 include/libLLVM/llvm/Config/Targets.def
 include/libLLVM/llvm/Config/abi-breaking.h
 include/libLLVM/llvm/Config/llvm-config.h
+include/libLLVM/llvm/DWARFLinker/DWARFLinker.h
+include/libLLVM/llvm/DWARFLinker/DWARFLinkerCompileUnit.h
+include/libLLVM/llvm/DWARFLinker/DWARFLinkerDeclContext.h
+include/libLLVM/llvm/DWARFLinker/DWARFStreamer.h
+include/libLLVM/llvm/DWP/DWP.h
+include/libLLVM/llvm/DWP/DWPError.h
+include/libLLVM/llvm/DWP/DWPStringPool.h
 include/libLLVM/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h
 include/libLLVM/llvm/DebugInfo/CodeView/CVRecord.h
 include/libLLVM/llvm/DebugInfo/CodeView/CVSymbolVisitor.h
@@ -513,6 +592,7 @@ include/libLLVM/llvm/DebugInfo/DWARF/DWA
 include/libLLVM/llvm/DebugInfo/DWARF/DWARFFormValue.h
 include/libLLVM/llvm/DebugInfo/DWARF/DWARFGdbIndex.h
 include/libLLVM/llvm/DebugInfo/DWARF/DWARFListTable.h
+include/libLLVM/llvm/DebugInfo/DWARF/DWARFLocationExpression.h
 include/libLLVM/llvm/DebugInfo/DWARF/DWARFObject.h
 include/libLLVM/llvm/DebugInfo/DWARF/DWARFRelocMap.h
 include/libLLVM/llvm/DebugInfo/DWARF/DWARFSection.h
@@ -520,10 +600,18 @@ include/libLLVM/llvm/DebugInfo/DWARF/DWA
 include/libLLVM/llvm/DebugInfo/DWARF/DWARFUnit.h
 include/libLLVM/llvm/DebugInfo/DWARF/DWARFUnitIndex.h
 include/libLLVM/llvm/DebugInfo/DWARF/DWARFVerifier.h
+include/libLLVM/llvm/DebugInfo/GSYM/DwarfTransformer.h
 include/libLLVM/llvm/DebugInfo/GSYM/FileEntry.h
+include/libLLVM/llvm/DebugInfo/GSYM/FileWriter.h
 include/libLLVM/llvm/DebugInfo/GSYM/FunctionInfo.h
+include/libLLVM/llvm/DebugInfo/GSYM/GsymCreator.h
+include/libLLVM/llvm/DebugInfo/GSYM/GsymReader.h
+include/libLLVM/llvm/DebugInfo/GSYM/Header.h
 include/libLLVM/llvm/DebugInfo/GSYM/InlineInfo.h
 include/libLLVM/llvm/DebugInfo/GSYM/LineEntry.h
+include/libLLVM/llvm/DebugInfo/GSYM/LineTable.h
+include/libLLVM/llvm/DebugInfo/GSYM/LookupResult.h
+include/libLLVM/llvm/DebugInfo/GSYM/ObjectFileTransformer.h
 include/libLLVM/llvm/DebugInfo/GSYM/Range.h
 include/libLLVM/llvm/DebugInfo/GSYM/StringTable.h
 include/libLLVM/llvm/DebugInfo/MSF/IMSFFile.h
@@ -583,11 +671,18 @@ include/libLLVM/llvm/DebugInfo/PDB/Nativ
 include/libLLVM/llvm/DebugInfo/PDB/Native/NativeCompilandSymbol.h
 include/libLLVM/llvm/DebugInfo/PDB/Native/NativeEnumGlobals.h
 include/libLLVM/llvm/DebugInfo/PDB/Native/NativeEnumInjectedSources.h
+include/libLLVM/llvm/DebugInfo/PDB/Native/NativeEnumLineNumbers.h
 include/libLLVM/llvm/DebugInfo/PDB/Native/NativeEnumModules.h
+include/libLLVM/llvm/DebugInfo/PDB/Native/NativeEnumSymbols.h
 include/libLLVM/llvm/DebugInfo/PDB/Native/NativeEnumTypes.h
 include/libLLVM/llvm/DebugInfo/PDB/Native/NativeExeSymbol.h
+include/libLLVM/llvm/DebugInfo/PDB/Native/NativeFunctionSymbol.h
+include/libLLVM/llvm/DebugInfo/PDB/Native/NativeInlineSiteSymbol.h
+include/libLLVM/llvm/DebugInfo/PDB/Native/NativeLineNumber.h
+include/libLLVM/llvm/DebugInfo/PDB/Native/NativePublicSymbol.h
 include/libLLVM/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h
 include/libLLVM/llvm/DebugInfo/PDB/Native/NativeSession.h
+include/libLLVM/llvm/DebugInfo/PDB/Native/NativeSourceFile.h
 include/libLLVM/llvm/DebugInfo/PDB/Native/NativeSymbolEnumerator.h
 include/libLLVM/llvm/DebugInfo/PDB/Native/NativeTypeArray.h
 include/libLLVM/llvm/DebugInfo/PDB/Native/NativeTypeBuiltin.h
@@ -663,10 +758,17 @@ include/libLLVM/llvm/ExecutionEngine/Gen
 include/libLLVM/llvm/ExecutionEngine/Interpreter.h
 include/libLLVM/llvm/ExecutionEngine/JITEventListener.h
 include/libLLVM/llvm/ExecutionEngine/JITLink/EHFrameSupport.h
+include/libLLVM/llvm/ExecutionEngine/JITLink/ELF.h
+include/libLLVM/llvm/ExecutionEngine/JITLink/ELF_riscv.h
+include/libLLVM/llvm/ExecutionEngine/JITLink/ELF_x86_64.h
 include/libLLVM/llvm/ExecutionEngine/JITLink/JITLink.h
+include/libLLVM/llvm/ExecutionEngine/JITLink/JITLinkDylib.h
 include/libLLVM/llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h
 include/libLLVM/llvm/ExecutionEngine/JITLink/MachO.h
+include/libLLVM/llvm/ExecutionEngine/JITLink/MachO_arm64.h
 include/libLLVM/llvm/ExecutionEngine/JITLink/MachO_x86_64.h
+include/libLLVM/llvm/ExecutionEngine/JITLink/riscv.h
+include/libLLVM/llvm/ExecutionEngine/JITLink/x86_64.h
 include/libLLVM/llvm/ExecutionEngine/JITSymbol.h
 include/libLLVM/llvm/ExecutionEngine/MCJIT.h
 include/libLLVM/llvm/ExecutionEngine/OProfileWrapper.h
@@ -674,32 +776,48 @@ include/libLLVM/llvm/ExecutionEngine/Obj
 include/libLLVM/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
 include/libLLVM/llvm/ExecutionEngine/Orc/CompileUtils.h
 include/libLLVM/llvm/ExecutionEngine/Orc/Core.h
+include/libLLVM/llvm/ExecutionEngine/Orc/DebugObjectManagerPlugin.h
+include/libLLVM/llvm/ExecutionEngine/Orc/DebugUtils.h
+include/libLLVM/llvm/ExecutionEngine/Orc/EPCDebugObjectRegistrar.h
+include/libLLVM/llvm/ExecutionEngine/Orc/EPCDynamicLibrarySearchGenerator.h
+include/libLLVM/llvm/ExecutionEngine/Orc/EPCEHFrameRegistrar.h
+include/libLLVM/llvm/ExecutionEngine/Orc/EPCIndirectionUtils.h
 include/libLLVM/llvm/ExecutionEngine/Orc/ExecutionUtils.h
-include/libLLVM/llvm/ExecutionEngine/Orc/GlobalMappingLayer.h
+include/libLLVM/llvm/ExecutionEngine/Orc/ExecutorProcessControl.h
 include/libLLVM/llvm/ExecutionEngine/Orc/IRCompileLayer.h
 include/libLLVM/llvm/ExecutionEngine/Orc/IRTransformLayer.h
 include/libLLVM/llvm/ExecutionEngine/Orc/IndirectionUtils.h
 include/libLLVM/llvm/ExecutionEngine/Orc/JITTargetMachineBuilder.h
 include/libLLVM/llvm/ExecutionEngine/Orc/LLJIT.h
-include/libLLVM/llvm/ExecutionEngine/Orc/LambdaResolver.h
+include/libLLVM/llvm/ExecutionEngine/Orc/LLVMSPSSerializers.h
 include/libLLVM/llvm/ExecutionEngine/Orc/Layer.h
-include/libLLVM/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h
 include/libLLVM/llvm/ExecutionEngine/Orc/LazyReexports.h
-include/libLLVM/llvm/ExecutionEngine/Orc/Legacy.h
-include/libLLVM/llvm/ExecutionEngine/Orc/NullResolver.h
+include/libLLVM/llvm/ExecutionEngine/Orc/MachOPlatform.h
+include/libLLVM/llvm/ExecutionEngine/Orc/Mangling.h
 include/libLLVM/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
 include/libLLVM/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h
 include/libLLVM/llvm/ExecutionEngine/Orc/OrcABISupport.h
-include/libLLVM/llvm/ExecutionEngine/Orc/OrcError.h
+include/libLLVM/llvm/ExecutionEngine/Orc/OrcRPCExecutorProcessControl.h
 include/libLLVM/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
 include/libLLVM/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h
 include/libLLVM/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h
-include/libLLVM/llvm/ExecutionEngine/Orc/RPCSerialization.h
-include/libLLVM/llvm/ExecutionEngine/Orc/RPCUtils.h
 include/libLLVM/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h
-include/libLLVM/llvm/ExecutionEngine/Orc/RawByteChannel.h
-include/libLLVM/llvm/ExecutionEngine/Orc/RemoteObjectLayer.h
+include/libLLVM/llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h
+include/libLLVM/llvm/ExecutionEngine/Orc/Shared/FDRawByteChannel.h
+include/libLLVM/llvm/ExecutionEngine/Orc/Shared/OrcError.h
+include/libLLVM/llvm/ExecutionEngine/Orc/Shared/RPCUtils.h
+include/libLLVM/llvm/ExecutionEngine/Orc/Shared/RawByteChannel.h
+include/libLLVM/llvm/ExecutionEngine/Orc/Shared/Serialization.h
+include/libLLVM/llvm/ExecutionEngine/Orc/Shared/SimplePackedSerialization.h
+include/libLLVM/llvm/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h
+include/libLLVM/llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h
+include/libLLVM/llvm/ExecutionEngine/Orc/SpeculateAnalyses.h
+include/libLLVM/llvm/ExecutionEngine/Orc/Speculation.h
 include/libLLVM/llvm/ExecutionEngine/Orc/SymbolStringPool.h
+include/libLLVM/llvm/ExecutionEngine/Orc/TargetProcess/JITLoaderGDB.h
+include/libLLVM/llvm/ExecutionEngine/Orc/TargetProcess/OrcRPCTPCServer.h
+include/libLLVM/llvm/ExecutionEngine/Orc/TargetProcess/RegisterEHFrames.h
+include/libLLVM/llvm/ExecutionEngine/Orc/TargetProcess/TargetExecutionUtils.h
 include/libLLVM/llvm/ExecutionEngine/Orc/ThreadSafeModule.h
 include/libLLVM/llvm/ExecutionEngine/OrcMCJITReplacement.h
 include/libLLVM/llvm/ExecutionEngine/OrcV1Deprecation.h
@@ -707,28 +825,43 @@ include/libLLVM/llvm/ExecutionEngine/RTD
 include/libLLVM/llvm/ExecutionEngine/RuntimeDyld.h
 include/libLLVM/llvm/ExecutionEngine/RuntimeDyldChecker.h
 include/libLLVM/llvm/ExecutionEngine/SectionMemoryManager.h
+include/libLLVM/llvm/FileCheck/FileCheck.h
+include/libLLVM/llvm/Frontend/Directive/DirectiveBase.td
+include/libLLVM/llvm/Frontend/OpenACC/ACC.h.inc
+include/libLLVM/llvm/Frontend/OpenACC/ACC.inc
+include/libLLVM/llvm/Frontend/OpenACC/ACC.td
+include/libLLVM/llvm/Frontend/OpenMP/OMP.h.inc
+include/libLLVM/llvm/Frontend/OpenMP/OMP.inc
+include/libLLVM/llvm/Frontend/OpenMP/OMP.td
+include/libLLVM/llvm/Frontend/OpenMP/OMPConstants.h
+include/libLLVM/llvm/Frontend/OpenMP/OMPContext.h
+include/libLLVM/llvm/Frontend/OpenMP/OMPGridValues.h
+include/libLLVM/llvm/Frontend/OpenMP/OMPIRBuilder.h
+include/libLLVM/llvm/Frontend/OpenMP/OMPKinds.def
 include/libLLVM/llvm/FuzzMutate/FuzzerCLI.h
 include/libLLVM/llvm/FuzzMutate/IRMutator.h
 include/libLLVM/llvm/FuzzMutate/OpDescriptor.h
 include/libLLVM/llvm/FuzzMutate/Operations.h
 include/libLLVM/llvm/FuzzMutate/Random.h
 include/libLLVM/llvm/FuzzMutate/RandomIRBuilder.h
+include/libLLVM/llvm/IR/AbstractCallSite.h
 include/libLLVM/llvm/IR/Argument.h
 include/libLLVM/llvm/IR/AssemblyAnnotationWriter.h
+include/libLLVM/llvm/IR/Assumptions.h
 include/libLLVM/llvm/IR/Attributes.h
 include/libLLVM/llvm/IR/Attributes.inc
 include/libLLVM/llvm/IR/Attributes.td
 include/libLLVM/llvm/IR/AutoUpgrade.h
 include/libLLVM/llvm/IR/BasicBlock.h
+include/libLLVM/llvm/IR/BuiltinGCs.h
 include/libLLVM/llvm/IR/CFG.h
-include/libLLVM/llvm/IR/CFGDiff.h
-include/libLLVM/llvm/IR/CallSite.h
 include/libLLVM/llvm/IR/CallingConv.h
 include/libLLVM/llvm/IR/Comdat.h
 include/libLLVM/llvm/IR/Constant.h
 include/libLLVM/llvm/IR/ConstantFolder.h
 include/libLLVM/llvm/IR/ConstantRange.h
 include/libLLVM/llvm/IR/Constants.h
+include/libLLVM/llvm/IR/ConstrainedOps.def
 include/libLLVM/llvm/IR/DIBuilder.h
 include/libLLVM/llvm/IR/DataLayout.h
 include/libLLVM/llvm/IR/DebugInfo.h
@@ -741,7 +874,11 @@ include/libLLVM/llvm/IR/DiagnosticHandle
 include/libLLVM/llvm/IR/DiagnosticInfo.h
 include/libLLVM/llvm/IR/DiagnosticPrinter.h
 include/libLLVM/llvm/IR/Dominators.h
+include/libLLVM/llvm/IR/FPEnv.h
+include/libLLVM/llvm/IR/FixedMetadataKinds.def
+include/libLLVM/llvm/IR/FixedPointBuilder.h
 include/libLLVM/llvm/IR/Function.h
+include/libLLVM/llvm/IR/GCStrategy.h
 include/libLLVM/llvm/IR/GVMaterializer.h
 include/libLLVM/llvm/IR/GetElementPtrTypeIterator.h
 include/libLLVM/llvm/IR/GlobalAlias.h
@@ -751,6 +888,7 @@ include/libLLVM/llvm/IR/GlobalObject.h
 include/libLLVM/llvm/IR/GlobalValue.h
 include/libLLVM/llvm/IR/GlobalVariable.h
 include/libLLVM/llvm/IR/IRBuilder.h
+include/libLLVM/llvm/IR/IRBuilderFolder.h
 include/libLLVM/llvm/IR/IRPrintingPasses.h
 include/libLLVM/llvm/IR/InlineAsm.h
 include/libLLVM/llvm/IR/InstIterator.h
@@ -764,25 +902,45 @@ include/libLLVM/llvm/IR/IntrinsicImpl.in
 include/libLLVM/llvm/IR/IntrinsicInst.h
 include/libLLVM/llvm/IR/Intrinsics.h
 include/libLLVM/llvm/IR/Intrinsics.td
+include/libLLVM/llvm/IR/IntrinsicsAArch64.h
 include/libLLVM/llvm/IR/IntrinsicsAArch64.td
+include/libLLVM/llvm/IR/IntrinsicsAMDGPU.h
 include/libLLVM/llvm/IR/IntrinsicsAMDGPU.td
+include/libLLVM/llvm/IR/IntrinsicsARM.h
 include/libLLVM/llvm/IR/IntrinsicsARM.td
+include/libLLVM/llvm/IR/IntrinsicsBPF.h
 include/libLLVM/llvm/IR/IntrinsicsBPF.td
+include/libLLVM/llvm/IR/IntrinsicsHexagon.h
 include/libLLVM/llvm/IR/IntrinsicsHexagon.td
+include/libLLVM/llvm/IR/IntrinsicsHexagonDep.td
+include/libLLVM/llvm/IR/IntrinsicsMips.h
 include/libLLVM/llvm/IR/IntrinsicsMips.td
+include/libLLVM/llvm/IR/IntrinsicsNVPTX.h
 include/libLLVM/llvm/IR/IntrinsicsNVVM.td
+include/libLLVM/llvm/IR/IntrinsicsPowerPC.h
 include/libLLVM/llvm/IR/IntrinsicsPowerPC.td
+include/libLLVM/llvm/IR/IntrinsicsR600.h
+include/libLLVM/llvm/IR/IntrinsicsRISCV.h
 include/libLLVM/llvm/IR/IntrinsicsRISCV.td
+include/libLLVM/llvm/IR/IntrinsicsS390.h
 include/libLLVM/llvm/IR/IntrinsicsSystemZ.td
+include/libLLVM/llvm/IR/IntrinsicsVE.h
+include/libLLVM/llvm/IR/IntrinsicsVE.td
+include/libLLVM/llvm/IR/IntrinsicsVEVL.gen.td
+include/libLLVM/llvm/IR/IntrinsicsWebAssembly.h
 include/libLLVM/llvm/IR/IntrinsicsWebAssembly.td
+include/libLLVM/llvm/IR/IntrinsicsX86.h
 include/libLLVM/llvm/IR/IntrinsicsX86.td
+include/libLLVM/llvm/IR/IntrinsicsXCore.h
 include/libLLVM/llvm/IR/IntrinsicsXCore.td
 include/libLLVM/llvm/IR/LLVMContext.h
+include/libLLVM/llvm/IR/LLVMRemarkStreamer.h
 include/libLLVM/llvm/IR/LegacyPassManager.h
 include/libLLVM/llvm/IR/LegacyPassManagers.h
 include/libLLVM/llvm/IR/LegacyPassNameParser.h
 include/libLLVM/llvm/IR/MDBuilder.h
 include/libLLVM/llvm/IR/Mangler.h
+include/libLLVM/llvm/IR/MatrixBuilder.h
 include/libLLVM/llvm/IR/Metadata.def
 include/libLLVM/llvm/IR/Metadata.h
 include/libLLVM/llvm/IR/Module.h
@@ -795,15 +953,19 @@ include/libLLVM/llvm/IR/Operator.h
 include/libLLVM/llvm/IR/OptBisect.h
 include/libLLVM/llvm/IR/PassInstrumentation.h
 include/libLLVM/llvm/IR/PassManager.h
+include/libLLVM/llvm/IR/PassManagerImpl.h
 include/libLLVM/llvm/IR/PassManagerInternal.h
 include/libLLVM/llvm/IR/PassTimingInfo.h
 include/libLLVM/llvm/IR/PatternMatch.h
 include/libLLVM/llvm/IR/PredIteratorCache.h
+include/libLLVM/llvm/IR/PrintPasses.h
 include/libLLVM/llvm/IR/ProfileSummary.h
-include/libLLVM/llvm/IR/RemarkStreamer.h
+include/libLLVM/llvm/IR/PseudoProbe.h
+include/libLLVM/llvm/IR/ReplaceConstant.h
 include/libLLVM/llvm/IR/RuntimeLibcalls.def
 include/libLLVM/llvm/IR/SafepointIRVerifier.h
 include/libLLVM/llvm/IR/Statepoint.h
+include/libLLVM/llvm/IR/StructuralHash.h
 include/libLLVM/llvm/IR/SymbolTableListTraits.h
 include/libLLVM/llvm/IR/TrackingMDRef.h
 include/libLLVM/llvm/IR/Type.h
@@ -811,6 +973,7 @@ include/libLLVM/llvm/IR/TypeFinder.h
 include/libLLVM/llvm/IR/Use.h
 include/libLLVM/llvm/IR/UseListOrder.h
 include/libLLVM/llvm/IR/User.h
+include/libLLVM/llvm/IR/VPIntrinsics.def
 include/libLLVM/llvm/IR/Value.def
 include/libLLVM/llvm/IR/Value.h
 include/libLLVM/llvm/IR/ValueHandle.h
@@ -819,6 +982,9 @@ include/libLLVM/llvm/IR/ValueSymbolTable
 include/libLLVM/llvm/IR/Verifier.h
 include/libLLVM/llvm/IRReader/IRReader.h
 include/libLLVM/llvm/InitializePasses.h
+include/libLLVM/llvm/InterfaceStub/ELFObjHandler.h
+include/libLLVM/llvm/InterfaceStub/IFSHandler.h
+include/libLLVM/llvm/InterfaceStub/IFSStub.h
 include/libLLVM/llvm/LTO/Caching.h
 include/libLLVM/llvm/LTO/Config.h
 include/libLLVM/llvm/LTO/LTO.h
@@ -846,7 +1012,6 @@ include/libLLVM/llvm/MC/MCAsmLayout.h
 include/libLLVM/llvm/MC/MCAsmMacro.h
 include/libLLVM/llvm/MC/MCAssembler.h
 include/libLLVM/llvm/MC/MCCodeEmitter.h
-include/libLLVM/llvm/MC/MCCodePadder.h
 include/libLLVM/llvm/MC/MCCodeView.h
 include/libLLVM/llvm/MC/MCContext.h
 include/libLLVM/llvm/MC/MCDirectives.h
@@ -883,11 +1048,14 @@ include/libLLVM/llvm/MC/MCParser/MCAsmPa
 include/libLLVM/llvm/MC/MCParser/MCAsmParserUtils.h
 include/libLLVM/llvm/MC/MCParser/MCParsedAsmOperand.h
 include/libLLVM/llvm/MC/MCParser/MCTargetAsmParser.h
+include/libLLVM/llvm/MC/MCPseudoProbe.h
+include/libLLVM/llvm/MC/MCRegister.h
 include/libLLVM/llvm/MC/MCRegisterInfo.h
 include/libLLVM/llvm/MC/MCSchedule.h
 include/libLLVM/llvm/MC/MCSection.h
 include/libLLVM/llvm/MC/MCSectionCOFF.h
 include/libLLVM/llvm/MC/MCSectionELF.h
+include/libLLVM/llvm/MC/MCSectionGOFF.h
 include/libLLVM/llvm/MC/MCSectionMachO.h
 include/libLLVM/llvm/MC/MCSectionWasm.h
 include/libLLVM/llvm/MC/MCSectionXCOFF.h
@@ -896,11 +1064,12 @@ include/libLLVM/llvm/MC/MCSubtargetInfo.
 include/libLLVM/llvm/MC/MCSymbol.h
 include/libLLVM/llvm/MC/MCSymbolCOFF.h
 include/libLLVM/llvm/MC/MCSymbolELF.h
+include/libLLVM/llvm/MC/MCSymbolGOFF.h
 include/libLLVM/llvm/MC/MCSymbolMachO.h
 include/libLLVM/llvm/MC/MCSymbolWasm.h
 include/libLLVM/llvm/MC/MCSymbolXCOFF.h
 include/libLLVM/llvm/MC/MCTargetOptions.h
-include/libLLVM/llvm/MC/MCTargetOptionsCommandFlags.inc
+include/libLLVM/llvm/MC/MCTargetOptionsCommandFlags.h
 include/libLLVM/llvm/MC/MCValue.h
 include/libLLVM/llvm/MC/MCWasmObjectWriter.h
 include/libLLVM/llvm/MC/MCWasmStreamer.h
@@ -914,7 +1083,9 @@ include/libLLVM/llvm/MC/MachineLocation.
 include/libLLVM/llvm/MC/SectionKind.h
 include/libLLVM/llvm/MC/StringTableBuilder.h
 include/libLLVM/llvm/MC/SubtargetFeature.h
+include/libLLVM/llvm/MCA/CodeEmitter.h
 include/libLLVM/llvm/MCA/Context.h
+include/libLLVM/llvm/MCA/CustomBehaviour.h
 include/libLLVM/llvm/MCA/HWEventListener.h
 include/libLLVM/llvm/MCA/HardwareUnits/HardwareUnit.h
 include/libLLVM/llvm/MCA/HardwareUnits/LSUnit.h
@@ -929,6 +1100,7 @@ include/libLLVM/llvm/MCA/SourceMgr.h
 include/libLLVM/llvm/MCA/Stages/DispatchStage.h
 include/libLLVM/llvm/MCA/Stages/EntryStage.h
 include/libLLVM/llvm/MCA/Stages/ExecuteStage.h
+include/libLLVM/llvm/MCA/Stages/InOrderIssueStage.h
 include/libLLVM/llvm/MCA/Stages/InstructionTables.h
 include/libLLVM/llvm/MCA/Stages/MicroOpQueueStage.h
 include/libLLVM/llvm/MCA/Stages/RetireStage.h
@@ -946,10 +1118,12 @@ include/libLLVM/llvm/Object/ELF.h
 include/libLLVM/llvm/Object/ELFObjectFile.h
 include/libLLVM/llvm/Object/ELFTypes.h
 include/libLLVM/llvm/Object/Error.h
+include/libLLVM/llvm/Object/FaultMapParser.h
 include/libLLVM/llvm/Object/IRObjectFile.h
 include/libLLVM/llvm/Object/IRSymtab.h
 include/libLLVM/llvm/Object/MachO.h
 include/libLLVM/llvm/Object/MachOUniversal.h
+include/libLLVM/llvm/Object/MachOUniversalWriter.h
 include/libLLVM/llvm/Object/Minidump.h
 include/libLLVM/llvm/Object/ModuleSymbolTable.h
 include/libLLVM/llvm/Object/ObjectFile.h
@@ -957,11 +1131,13 @@ include/libLLVM/llvm/Object/RelocationRe
 include/libLLVM/llvm/Object/StackMapParser.h
 include/libLLVM/llvm/Object/SymbolSize.h
 include/libLLVM/llvm/Object/SymbolicFile.h
+include/libLLVM/llvm/Object/TapiFile.h
+include/libLLVM/llvm/Object/TapiUniversal.h
 include/libLLVM/llvm/Object/Wasm.h
-include/libLLVM/llvm/Object/WasmTraits.h
 include/libLLVM/llvm/Object/WindowsMachineFlag.h
 include/libLLVM/llvm/Object/WindowsResource.h
 include/libLLVM/llvm/Object/XCOFFObjectFile.h
+include/libLLVM/llvm/ObjectYAML/ArchiveYAML.h
 include/libLLVM/llvm/ObjectYAML/COFFYAML.h
 include/libLLVM/llvm/ObjectYAML/CodeViewYAMLDebugSections.h
 include/libLLVM/llvm/ObjectYAML/CodeViewYAMLSymbols.h
@@ -976,6 +1152,7 @@ include/libLLVM/llvm/ObjectYAML/ObjectYA
 include/libLLVM/llvm/ObjectYAML/WasmYAML.h
 include/libLLVM/llvm/ObjectYAML/XCOFFYAML.h
 include/libLLVM/llvm/ObjectYAML/YAML.h
+include/libLLVM/llvm/ObjectYAML/yaml2obj.h
 include/libLLVM/llvm/Option/Arg.h
 include/libLLVM/llvm/Option/ArgList.h
 include/libLLVM/llvm/Option/OptParser.td
@@ -1002,11 +1179,18 @@ include/libLLVM/llvm/ProfileData/Profile
 include/libLLVM/llvm/ProfileData/SampleProf.h
 include/libLLVM/llvm/ProfileData/SampleProfReader.h
 include/libLLVM/llvm/ProfileData/SampleProfWriter.h
+include/libLLVM/llvm/Remarks/BitstreamRemarkContainer.h
+include/libLLVM/llvm/Remarks/BitstreamRemarkParser.h
+include/libLLVM/llvm/Remarks/BitstreamRemarkSerializer.h
+include/libLLVM/llvm/Remarks/HotnessThresholdParser.h
 include/libLLVM/llvm/Remarks/Remark.h
 include/libLLVM/llvm/Remarks/RemarkFormat.h
+include/libLLVM/llvm/Remarks/RemarkLinker.h
 include/libLLVM/llvm/Remarks/RemarkParser.h
 include/libLLVM/llvm/Remarks/RemarkSerializer.h
+include/libLLVM/llvm/Remarks/RemarkStreamer.h
 include/libLLVM/llvm/Remarks/RemarkStringTable.h
+include/libLLVM/llvm/Remarks/YAMLRemarkSerializer.h
 include/libLLVM/llvm/Support/AArch64TargetParser.def
 include/libLLVM/llvm/Support/AArch64TargetParser.h
 include/libLLVM/llvm/Support/AMDGPUMetadata.h
@@ -1018,10 +1202,16 @@ include/libLLVM/llvm/Support/ARMTargetPa
 include/libLLVM/llvm/Support/ARMTargetParser.h
 include/libLLVM/llvm/Support/ARMWinEH.h
 include/libLLVM/llvm/Support/AlignOf.h
+include/libLLVM/llvm/Support/Alignment.h
 include/libLLVM/llvm/Support/Allocator.h
+include/libLLVM/llvm/Support/AllocatorBase.h
 include/libLLVM/llvm/Support/ArrayRecycler.h
 include/libLLVM/llvm/Support/Atomic.h
 include/libLLVM/llvm/Support/AtomicOrdering.h
+include/libLLVM/llvm/Support/AutoConvert.h
+include/libLLVM/llvm/Support/Automaton.h
+include/libLLVM/llvm/Support/BCD.h
+include/libLLVM/llvm/Support/Base64.h
 include/libLLVM/llvm/Support/BinaryByteStream.h
 include/libLLVM/llvm/Support/BinaryItemStream.h
 include/libLLVM/llvm/Support/BinaryStream.h
@@ -1034,6 +1224,7 @@ include/libLLVM/llvm/Support/BlockFreque
 include/libLLVM/llvm/Support/BranchProbability.h
 include/libLLVM/llvm/Support/BuryPointer.h
 include/libLLVM/llvm/Support/CBindingWrapping.h
+include/libLLVM/llvm/Support/CFGDiff.h
 include/libLLVM/llvm/Support/CFGUpdate.h
 include/libLLVM/llvm/Support/COM.h
 include/libLLVM/llvm/Support/CRC.h
@@ -1055,7 +1246,10 @@ include/libLLVM/llvm/Support/DataExtract
 include/libLLVM/llvm/Support/DataTypes.h
 include/libLLVM/llvm/Support/Debug.h
 include/libLLVM/llvm/Support/DebugCounter.h
+include/libLLVM/llvm/Support/Discriminator.h
 include/libLLVM/llvm/Support/DynamicLibrary.h
+include/libLLVM/llvm/Support/ELFAttributeParser.h
+include/libLLVM/llvm/Support/ELFAttributes.h
 include/libLLVM/llvm/Support/Endian.h
 include/libLLVM/llvm/Support/EndianStream.h
 include/libLLVM/llvm/Support/Errc.h
@@ -1063,9 +1257,13 @@ include/libLLVM/llvm/Support/Errno.h
 include/libLLVM/llvm/Support/Error.h
 include/libLLVM/llvm/Support/ErrorHandling.h
 include/libLLVM/llvm/Support/ErrorOr.h
-include/libLLVM/llvm/Support/FileCheck.h
+include/libLLVM/llvm/Support/ExitCodes.h
+include/libLLVM/llvm/Support/ExtensibleRTTI.h
+include/libLLVM/llvm/Support/Extension.def
+include/libLLVM/llvm/Support/FileCollector.h
 include/libLLVM/llvm/Support/FileOutputBuffer.h
 include/libLLVM/llvm/Support/FileSystem.h
+include/libLLVM/llvm/Support/FileSystem/UniqueID.h
 include/libLLVM/llvm/Support/FileUtilities.h
 include/libLLVM/llvm/Support/Format.h
 include/libLLVM/llvm/Support/FormatAdapters.h
@@ -1081,9 +1279,9 @@ include/libLLVM/llvm/Support/GlobPattern
 include/libLLVM/llvm/Support/GraphWriter.h
 include/libLLVM/llvm/Support/Host.h
 include/libLLVM/llvm/Support/InitLLVM.h
+include/libLLVM/llvm/Support/InstructionCost.h
 include/libLLVM/llvm/Support/ItaniumManglingCanonicalizer.h
 include/libLLVM/llvm/Support/JSON.h
-include/libLLVM/llvm/Support/JamCRC.h
 include/libLLVM/llvm/Support/KnownBits.h
 include/libLLVM/llvm/Support/LEB128.h
 include/libLLVM/llvm/Support/LICENSE.TXT
@@ -1099,12 +1297,12 @@ include/libLLVM/llvm/Support/MathExtras.
 include/libLLVM/llvm/Support/MemAlloc.h
 include/libLLVM/llvm/Support/Memory.h
 include/libLLVM/llvm/Support/MemoryBuffer.h
+include/libLLVM/llvm/Support/MemoryBufferRef.h
 include/libLLVM/llvm/Support/MipsABIFlags.h
 include/libLLVM/llvm/Support/Mutex.h
-include/libLLVM/llvm/Support/MutexGuard.h
 include/libLLVM/llvm/Support/NativeFormatting.h
 include/libLLVM/llvm/Support/OnDiskHashTable.h
-include/libLLVM/llvm/Support/Options.h
+include/libLLVM/llvm/Support/OptimizedStructLayout.h
 include/libLLVM/llvm/Support/Parallel.h
 include/libLLVM/llvm/Support/Path.h
 include/libLLVM/llvm/Support/PluginLoader.h
@@ -1113,6 +1311,9 @@ include/libLLVM/llvm/Support/PrettyStack
 include/libLLVM/llvm/Support/Printable.h
 include/libLLVM/llvm/Support/Process.h
 include/libLLVM/llvm/Support/Program.h
+include/libLLVM/llvm/Support/RISCVAttributeParser.h
+include/libLLVM/llvm/Support/RISCVAttributes.h
+include/libLLVM/llvm/Support/RISCVTargetParser.def
 include/libLLVM/llvm/Support/RWMutex.h
 include/libLLVM/llvm/Support/RandomNumberGenerator.h
 include/libLLVM/llvm/Support/Recycler.h
@@ -1121,10 +1322,10 @@ include/libLLVM/llvm/Support/Regex.h
 include/libLLVM/llvm/Support/Registry.h
 include/libLLVM/llvm/Support/ReverseIteration.h
 include/libLLVM/llvm/Support/SHA1.h
+include/libLLVM/llvm/Support/SHA256.h
 include/libLLVM/llvm/Support/SMLoc.h
 include/libLLVM/llvm/Support/SMTAPI.h
 include/libLLVM/llvm/Support/SaveAndRestore.h
-include/libLLVM/llvm/Support/ScalableSize.h
 include/libLLVM/llvm/Support/ScaledNumber.h
 include/libLLVM/llvm/Support/ScopedPrinter.h
 include/libLLVM/llvm/Support/Signals.h
@@ -1133,8 +1334,8 @@ include/libLLVM/llvm/Support/SmallVector
 include/libLLVM/llvm/Support/Solaris/sys/regset.h
 include/libLLVM/llvm/Support/SourceMgr.h
 include/libLLVM/llvm/Support/SpecialCaseList.h
-include/libLLVM/llvm/Support/StringPool.h
 include/libLLVM/llvm/Support/StringSaver.h
+include/libLLVM/llvm/Support/SuffixTree.h
 include/libLLVM/llvm/Support/SwapByteOrder.h
 include/libLLVM/llvm/Support/SymbolRemappingReader.h
 include/libLLVM/llvm/Support/SystemUtils.h
@@ -1153,19 +1354,21 @@ include/libLLVM/llvm/Support/ToolOutputF
 include/libLLVM/llvm/Support/TrailingObjects.h
 include/libLLVM/llvm/Support/TrigramIndex.h
 include/libLLVM/llvm/Support/TypeName.h
+include/libLLVM/llvm/Support/TypeSize.h
 include/libLLVM/llvm/Support/Unicode.h
 include/libLLVM/llvm/Support/UnicodeCharRanges.h
-include/libLLVM/llvm/Support/UniqueLock.h
 include/libLLVM/llvm/Support/VCSRevision.h
 include/libLLVM/llvm/Support/Valgrind.h
 include/libLLVM/llvm/Support/VersionTuple.h
 include/libLLVM/llvm/Support/VirtualFileSystem.h
 include/libLLVM/llvm/Support/Watchdog.h
 include/libLLVM/llvm/Support/Win64EH.h
+include/libLLVM/llvm/Support/Windows/WindowsSupport.h
 include/libLLVM/llvm/Support/WindowsError.h
 include/libLLVM/llvm/Support/WithColor.h
 include/libLLVM/llvm/Support/X86DisassemblerDecoderCommon.h
 include/libLLVM/llvm/Support/X86TargetParser.def
+include/libLLVM/llvm/Support/X86TargetParser.h
 include/libLLVM/llvm/Support/YAMLParser.h
 include/libLLVM/llvm/Support/YAMLTraits.h
 include/libLLVM/llvm/Support/circular_raw_ostream.h
@@ -1175,6 +1378,8 @@ include/libLLVM/llvm/Support/raw_sha1_os
 include/libLLVM/llvm/Support/thread.h
 include/libLLVM/llvm/Support/type_traits.h
 include/libLLVM/llvm/Support/xxhash.h
+include/libLLVM/llvm/TableGen/Automaton.td
+include/libLLVM/llvm/TableGen/DirectiveEmitter.h
 include/libLLVM/llvm/TableGen/Error.h
 include/libLLVM/llvm/TableGen/Main.h
 include/libLLVM/llvm/TableGen/Record.h
@@ -1183,8 +1388,10 @@ include/libLLVM/llvm/TableGen/SetTheory.
 include/libLLVM/llvm/TableGen/StringMatcher.h
 include/libLLVM/llvm/TableGen/StringToOffsetTable.h
 include/libLLVM/llvm/TableGen/TableGenBackend.h
+include/libLLVM/llvm/Target/CGPassBuilderOption.h
 include/libLLVM/llvm/Target/CodeGenCWrappers.h
 include/libLLVM/llvm/Target/GenericOpcodes.td
+include/libLLVM/llvm/Target/GlobalISel/Combine.td
 include/libLLVM/llvm/Target/GlobalISel/RegisterBank.td
 include/libLLVM/llvm/Target/GlobalISel/SelectionDAGCompat.td
 include/libLLVM/llvm/Target/GlobalISel/Target.td
@@ -1202,24 +1409,31 @@ include/libLLVM/llvm/Target/TargetSelect
 include/libLLVM/llvm/Testing/Support/Annotations.h
 include/libLLVM/llvm/Testing/Support/Error.h
 include/libLLVM/llvm/Testing/Support/SupportHelpers.h
-include/libLLVM/llvm/TextAPI/ELF/ELFStub.h
-include/libLLVM/llvm/TextAPI/ELF/TBEHandler.h
-include/libLLVM/llvm/TextAPI/MachO/Architecture.def
-include/libLLVM/llvm/TextAPI/MachO/Architecture.h
-include/libLLVM/llvm/TextAPI/MachO/ArchitectureSet.h
-include/libLLVM/llvm/TextAPI/MachO/InterfaceFile.h
-include/libLLVM/llvm/TextAPI/MachO/PackedVersion.h
-include/libLLVM/llvm/TextAPI/MachO/Symbol.h
-include/libLLVM/llvm/TextAPI/MachO/TextAPIReader.h
-include/libLLVM/llvm/TextAPI/MachO/TextAPIWriter.h
+include/libLLVM/llvm/TextAPI/Architecture.def
+include/libLLVM/llvm/TextAPI/Architecture.h
+include/libLLVM/llvm/TextAPI/ArchitectureSet.h
+include/libLLVM/llvm/TextAPI/InterfaceFile.h
+include/libLLVM/llvm/TextAPI/PackedVersion.h
+include/libLLVM/llvm/TextAPI/Platform.h
+include/libLLVM/llvm/TextAPI/Symbol.h
+include/libLLVM/llvm/TextAPI/Target.h
+include/libLLVM/llvm/TextAPI/TextAPIReader.h
+include/libLLVM/llvm/TextAPI/TextAPIWriter.h
 include/libLLVM/llvm/ToolDrivers/llvm-dlltool/DlltoolDriver.h
 include/libLLVM/llvm/ToolDrivers/llvm-lib/LibDriver.h
 include/libLLVM/llvm/Transforms/AggressiveInstCombine/AggressiveInstCombine.h
+include/libLLVM/llvm/Transforms/CFGuard.h
 include/libLLVM/llvm/Transforms/Coroutines.h
+include/libLLVM/llvm/Transforms/Coroutines/CoroCleanup.h
+include/libLLVM/llvm/Transforms/Coroutines/CoroEarly.h
+include/libLLVM/llvm/Transforms/Coroutines/CoroElide.h
+include/libLLVM/llvm/Transforms/Coroutines/CoroSplit.h
 include/libLLVM/llvm/Transforms/IPO.h
 include/libLLVM/llvm/Transforms/IPO/AlwaysInliner.h
+include/libLLVM/llvm/Transforms/IPO/Annotation2Metadata.h
 include/libLLVM/llvm/Transforms/IPO/ArgumentPromotion.h
 include/libLLVM/llvm/Transforms/IPO/Attributor.h
+include/libLLVM/llvm/Transforms/IPO/BlockExtractor.h
 include/libLLVM/llvm/Transforms/IPO/CalledValuePropagation.h
 include/libLLVM/llvm/Transforms/IPO/ConstantMerge.h
 include/libLLVM/llvm/Transforms/IPO/CrossDSOCFI.h
@@ -1232,42 +1446,59 @@ include/libLLVM/llvm/Transforms/IPO/Glob
 include/libLLVM/llvm/Transforms/IPO/GlobalOpt.h
 include/libLLVM/llvm/Transforms/IPO/GlobalSplit.h
 include/libLLVM/llvm/Transforms/IPO/HotColdSplitting.h
+include/libLLVM/llvm/Transforms/IPO/IROutliner.h
 include/libLLVM/llvm/Transforms/IPO/InferFunctionAttrs.h
 include/libLLVM/llvm/Transforms/IPO/Inliner.h
 include/libLLVM/llvm/Transforms/IPO/Internalize.h
+include/libLLVM/llvm/Transforms/IPO/LoopExtractor.h
 include/libLLVM/llvm/Transforms/IPO/LowerTypeTests.h
+include/libLLVM/llvm/Transforms/IPO/MergeFunctions.h
+include/libLLVM/llvm/Transforms/IPO/OpenMPOpt.h
 include/libLLVM/llvm/Transforms/IPO/PartialInlining.h
 include/libLLVM/llvm/Transforms/IPO/PassManagerBuilder.h
+include/libLLVM/llvm/Transforms/IPO/ProfiledCallGraph.h
 include/libLLVM/llvm/Transforms/IPO/SCCP.h
+include/libLLVM/llvm/Transforms/IPO/SampleContextTracker.h
 include/libLLVM/llvm/Transforms/IPO/SampleProfile.h
+include/libLLVM/llvm/Transforms/IPO/SampleProfileProbe.h
 include/libLLVM/llvm/Transforms/IPO/StripDeadPrototypes.h
+include/libLLVM/llvm/Transforms/IPO/StripSymbols.h
 include/libLLVM/llvm/Transforms/IPO/SyntheticCountsPropagation.h
 include/libLLVM/llvm/Transforms/IPO/ThinLTOBitcodeWriter.h
 include/libLLVM/llvm/Transforms/IPO/WholeProgramDevirt.h
 include/libLLVM/llvm/Transforms/InstCombine/InstCombine.h
 include/libLLVM/llvm/Transforms/InstCombine/InstCombineWorklist.h
+include/libLLVM/llvm/Transforms/InstCombine/InstCombiner.h
 include/libLLVM/llvm/Transforms/Instrumentation.h
 include/libLLVM/llvm/Transforms/Instrumentation/AddressSanitizer.h
+include/libLLVM/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h
+include/libLLVM/llvm/Transforms/Instrumentation/AddressSanitizerOptions.h
 include/libLLVM/llvm/Transforms/Instrumentation/BoundsChecking.h
 include/libLLVM/llvm/Transforms/Instrumentation/CGProfile.h
 include/libLLVM/llvm/Transforms/Instrumentation/ControlHeightReduction.h
+include/libLLVM/llvm/Transforms/Instrumentation/DataFlowSanitizer.h
 include/libLLVM/llvm/Transforms/Instrumentation/GCOVProfiler.h
 include/libLLVM/llvm/Transforms/Instrumentation/HWAddressSanitizer.h
 include/libLLVM/llvm/Transforms/Instrumentation/InstrOrderFile.h
 include/libLLVM/llvm/Transforms/Instrumentation/InstrProfiling.h
+include/libLLVM/llvm/Transforms/Instrumentation/MemProfiler.h
 include/libLLVM/llvm/Transforms/Instrumentation/MemorySanitizer.h
 include/libLLVM/llvm/Transforms/Instrumentation/PGOInstrumentation.h
 include/libLLVM/llvm/Transforms/Instrumentation/PoisonChecking.h
+include/libLLVM/llvm/Transforms/Instrumentation/SanitizerCoverage.h
 include/libLLVM/llvm/Transforms/Instrumentation/ThreadSanitizer.h
 include/libLLVM/llvm/Transforms/ObjCARC.h
 include/libLLVM/llvm/Transforms/Scalar.h
 include/libLLVM/llvm/Transforms/Scalar/ADCE.h
 include/libLLVM/llvm/Transforms/Scalar/AlignmentFromAssumptions.h
+include/libLLVM/llvm/Transforms/Scalar/AnnotationRemarks.h
 include/libLLVM/llvm/Transforms/Scalar/BDCE.h
 include/libLLVM/llvm/Transforms/Scalar/CallSiteSplitting.h
 include/libLLVM/llvm/Transforms/Scalar/ConstantHoisting.h
+include/libLLVM/llvm/Transforms/Scalar/ConstraintElimination.h
 include/libLLVM/llvm/Transforms/Scalar/CorrelatedValuePropagation.h
 include/libLLVM/llvm/Transforms/Scalar/DCE.h
+include/libLLVM/llvm/Transforms/Scalar/DFAJumpThreading.h
 include/libLLVM/llvm/Transforms/Scalar/DeadStoreElimination.h
 include/libLLVM/llvm/Transforms/Scalar/DivRemPairs.h
 include/libLLVM/llvm/Transforms/Scalar/EarlyCSE.h
@@ -1278,28 +1509,36 @@ include/libLLVM/llvm/Transforms/Scalar/G
 include/libLLVM/llvm/Transforms/Scalar/IVUsersPrinter.h
 include/libLLVM/llvm/Transforms/Scalar/IndVarSimplify.h
 include/libLLVM/llvm/Transforms/Scalar/InductiveRangeCheckElimination.h
+include/libLLVM/llvm/Transforms/Scalar/InferAddressSpaces.h
 include/libLLVM/llvm/Transforms/Scalar/InstSimplifyPass.h
 include/libLLVM/llvm/Transforms/Scalar/JumpThreading.h
 include/libLLVM/llvm/Transforms/Scalar/LICM.h
 include/libLLVM/llvm/Transforms/Scalar/LoopAccessAnalysisPrinter.h
+include/libLLVM/llvm/Transforms/Scalar/LoopBoundSplit.h
 include/libLLVM/llvm/Transforms/Scalar/LoopDataPrefetch.h
 include/libLLVM/llvm/Transforms/Scalar/LoopDeletion.h
 include/libLLVM/llvm/Transforms/Scalar/LoopDistribute.h
+include/libLLVM/llvm/Transforms/Scalar/LoopFlatten.h
 include/libLLVM/llvm/Transforms/Scalar/LoopFuse.h
 include/libLLVM/llvm/Transforms/Scalar/LoopIdiomRecognize.h
 include/libLLVM/llvm/Transforms/Scalar/LoopInstSimplify.h
+include/libLLVM/llvm/Transforms/Scalar/LoopInterchange.h
 include/libLLVM/llvm/Transforms/Scalar/LoopLoadElimination.h
 include/libLLVM/llvm/Transforms/Scalar/LoopPassManager.h
 include/libLLVM/llvm/Transforms/Scalar/LoopPredication.h
+include/libLLVM/llvm/Transforms/Scalar/LoopReroll.h
 include/libLLVM/llvm/Transforms/Scalar/LoopRotation.h
 include/libLLVM/llvm/Transforms/Scalar/LoopSimplifyCFG.h
 include/libLLVM/llvm/Transforms/Scalar/LoopSink.h
 include/libLLVM/llvm/Transforms/Scalar/LoopStrengthReduce.h
 include/libLLVM/llvm/Transforms/Scalar/LoopUnrollAndJamPass.h
 include/libLLVM/llvm/Transforms/Scalar/LoopUnrollPass.h
+include/libLLVM/llvm/Transforms/Scalar/LoopVersioningLICM.h
 include/libLLVM/llvm/Transforms/Scalar/LowerAtomic.h
+include/libLLVM/llvm/Transforms/Scalar/LowerConstantIntrinsics.h
 include/libLLVM/llvm/Transforms/Scalar/LowerExpectIntrinsic.h
 include/libLLVM/llvm/Transforms/Scalar/LowerGuardIntrinsic.h
+include/libLLVM/llvm/Transforms/Scalar/LowerMatrixIntrinsics.h
 include/libLLVM/llvm/Transforms/Scalar/LowerWidenableCondition.h
 include/libLLVM/llvm/Transforms/Scalar/MakeGuardsExplicit.h
 include/libLLVM/llvm/Transforms/Scalar/MemCpyOptimizer.h
@@ -1309,62 +1548,89 @@ include/libLLVM/llvm/Transforms/Scalar/N
 include/libLLVM/llvm/Transforms/Scalar/NewGVN.h
 include/libLLVM/llvm/Transforms/Scalar/PartiallyInlineLibCalls.h
 include/libLLVM/llvm/Transforms/Scalar/Reassociate.h
+include/libLLVM/llvm/Transforms/Scalar/Reg2Mem.h
 include/libLLVM/llvm/Transforms/Scalar/RewriteStatepointsForGC.h
 include/libLLVM/llvm/Transforms/Scalar/SCCP.h
 include/libLLVM/llvm/Transforms/Scalar/SROA.h
+include/libLLVM/llvm/Transforms/Scalar/ScalarizeMaskedMemIntrin.h
 include/libLLVM/llvm/Transforms/Scalar/Scalarizer.h
+include/libLLVM/llvm/Transforms/Scalar/SeparateConstOffsetFromGEP.h
 include/libLLVM/llvm/Transforms/Scalar/SimpleLoopUnswitch.h
 include/libLLVM/llvm/Transforms/Scalar/SimplifyCFG.h
 include/libLLVM/llvm/Transforms/Scalar/Sink.h
-include/libLLVM/llvm/Transforms/Scalar/SpeculateAroundPHIs.h
 include/libLLVM/llvm/Transforms/Scalar/SpeculativeExecution.h
+include/libLLVM/llvm/Transforms/Scalar/StraightLineStrengthReduce.h
+include/libLLVM/llvm/Transforms/Scalar/StructurizeCFG.h
 include/libLLVM/llvm/Transforms/Scalar/TailRecursionElimination.h
 include/libLLVM/llvm/Transforms/Scalar/WarnMissedTransforms.h
 include/libLLVM/llvm/Transforms/Utils.h
+include/libLLVM/llvm/Transforms/Utils/AMDGPUEmitPrintf.h
 include/libLLVM/llvm/Transforms/Utils/ASanStackFrameLayout.h
 include/libLLVM/llvm/Transforms/Utils/AddDiscriminators.h
+include/libLLVM/llvm/Transforms/Utils/AssumeBundleBuilder.h
 include/libLLVM/llvm/Transforms/Utils/BasicBlockUtils.h
 include/libLLVM/llvm/Transforms/Utils/BreakCriticalEdges.h
 include/libLLVM/llvm/Transforms/Utils/BuildLibCalls.h
 include/libLLVM/llvm/Transforms/Utils/BypassSlowDivision.h
+include/libLLVM/llvm/Transforms/Utils/CallGraphUpdater.h
 include/libLLVM/llvm/Transforms/Utils/CallPromotionUtils.h
 include/libLLVM/llvm/Transforms/Utils/CanonicalizeAliases.h
+include/libLLVM/llvm/Transforms/Utils/CanonicalizeFreezeInLoops.h
 include/libLLVM/llvm/Transforms/Utils/Cloning.h
 include/libLLVM/llvm/Transforms/Utils/CodeExtractor.h
+include/libLLVM/llvm/Transforms/Utils/CodeMoverUtils.h
 include/libLLVM/llvm/Transforms/Utils/CtorUtils.h
+include/libLLVM/llvm/Transforms/Utils/Debugify.h
 include/libLLVM/llvm/Transforms/Utils/EntryExitInstrumenter.h
 include/libLLVM/llvm/Transforms/Utils/EscapeEnumerator.h
 include/libLLVM/llvm/Transforms/Utils/Evaluator.h
+include/libLLVM/llvm/Transforms/Utils/FixIrreducible.h
 include/libLLVM/llvm/Transforms/Utils/FunctionComparator.h
 include/libLLVM/llvm/Transforms/Utils/FunctionImportUtils.h
 include/libLLVM/llvm/Transforms/Utils/GlobalStatus.h
 include/libLLVM/llvm/Transforms/Utils/GuardUtils.h
-include/libLLVM/llvm/Transforms/Utils/ImportedFunctionsInliningStatistics.h
+include/libLLVM/llvm/Transforms/Utils/HelloWorld.h
+include/libLLVM/llvm/Transforms/Utils/InjectTLIMappings.h
+include/libLLVM/llvm/Transforms/Utils/InstructionNamer.h
 include/libLLVM/llvm/Transforms/Utils/IntegerDivision.h
 include/libLLVM/llvm/Transforms/Utils/LCSSA.h
 include/libLLVM/llvm/Transforms/Utils/LibCallsShrinkWrap.h
 include/libLLVM/llvm/Transforms/Utils/Local.h
+include/libLLVM/llvm/Transforms/Utils/LoopPeel.h
 include/libLLVM/llvm/Transforms/Utils/LoopRotationUtils.h
 include/libLLVM/llvm/Transforms/Utils/LoopSimplify.h
 include/libLLVM/llvm/Transforms/Utils/LoopUtils.h
 include/libLLVM/llvm/Transforms/Utils/LoopVersioning.h
 include/libLLVM/llvm/Transforms/Utils/LowerInvoke.h
 include/libLLVM/llvm/Transforms/Utils/LowerMemIntrinsics.h
+include/libLLVM/llvm/Transforms/Utils/LowerSwitch.h
+include/libLLVM/llvm/Transforms/Utils/MatrixUtils.h
 include/libLLVM/llvm/Transforms/Utils/Mem2Reg.h
+include/libLLVM/llvm/Transforms/Utils/MemoryOpRemark.h
+include/libLLVM/llvm/Transforms/Utils/MetaRenamer.h
 include/libLLVM/llvm/Transforms/Utils/ModuleUtils.h
 include/libLLVM/llvm/Transforms/Utils/NameAnonGlobals.h
 include/libLLVM/llvm/Transforms/Utils/PredicateInfo.h
 include/libLLVM/llvm/Transforms/Utils/PromoteMemToReg.h
+include/libLLVM/llvm/Transforms/Utils/RelLookupTableConverter.h
+include/libLLVM/llvm/Transforms/Utils/SCCPSolver.h
 include/libLLVM/llvm/Transforms/Utils/SSAUpdater.h
 include/libLLVM/llvm/Transforms/Utils/SSAUpdaterBulk.h
 include/libLLVM/llvm/Transforms/Utils/SSAUpdaterImpl.h
+include/libLLVM/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h
+include/libLLVM/llvm/Transforms/Utils/SampleProfileLoaderBaseUtil.h
 include/libLLVM/llvm/Transforms/Utils/SanitizerStats.h
+include/libLLVM/llvm/Transforms/Utils/ScalarEvolutionExpander.h
+include/libLLVM/llvm/Transforms/Utils/SimplifyCFGOptions.h
 include/libLLVM/llvm/Transforms/Utils/SimplifyIndVar.h
 include/libLLVM/llvm/Transforms/Utils/SimplifyLibCalls.h
 include/libLLVM/llvm/Transforms/Utils/SizeOpts.h
 include/libLLVM/llvm/Transforms/Utils/SplitModule.h
+include/libLLVM/llvm/Transforms/Utils/StripGCRelocates.h
+include/libLLVM/llvm/Transforms/Utils/StripNonLineTableDebugInfo.h
 include/libLLVM/llvm/Transforms/Utils/SymbolRewriter.h
 include/libLLVM/llvm/Transforms/Utils/UnifyFunctionExitNodes.h
+include/libLLVM/llvm/Transforms/Utils/UnifyLoopExits.h
 include/libLLVM/llvm/Transforms/Utils/UnrollLoop.h
 include/libLLVM/llvm/Transforms/Utils/VNCoercion.h
 include/libLLVM/llvm/Transforms/Utils/ValueMapper.h
@@ -1373,6 +1639,7 @@ include/libLLVM/llvm/Transforms/Vectoriz
 include/libLLVM/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
 include/libLLVM/llvm/Transforms/Vectorize/LoopVectorize.h
 include/libLLVM/llvm/Transforms/Vectorize/SLPVectorizer.h
+include/libLLVM/llvm/Transforms/Vectorize/VectorCombine.h
 include/libLLVM/llvm/WindowsManifest/WindowsManifestMerger.h
 include/libLLVM/llvm/WindowsResource/ResourceProcessor.h
 include/libLLVM/llvm/WindowsResource/ResourceScriptToken.h
@@ -1394,6 +1661,7 @@ include/libLLVM/llvm/XRay/RecordPrinter.
 include/libLLVM/llvm/XRay/Trace.h
 include/libLLVM/llvm/XRay/XRayRecord.h
 include/libLLVM/llvm/XRay/YAMLXRayRecord.h
+lib/libLLVM/cmake/llvm/LLVMConfigExtensions.cmake
 ${PLIST.notdylib}lib/libLLVM/libLLVM-${LLVM_MAJOR_MINOR}.${SOEXT}
 ${PLIST.notdylib}lib/libLLVM/libLLVM-${PKGVERSION}.${SOEXT}
 lib/libLLVM/libLLVM.${SOEXT}
@@ -1404,18 +1672,22 @@ share/libLLVM/cmake/AddOCaml.cmake
 share/libLLVM/cmake/AddSphinxTarget.cmake
 share/libLLVM/cmake/CheckAtomic.cmake
 share/libLLVM/cmake/CheckCompilerVersion.cmake
-share/libLLVM/cmake/CheckLinkerFlag.cmake
 share/libLLVM/cmake/ChooseMSVCCRT.cmake
 share/libLLVM/cmake/CrossCompile.cmake
 share/libLLVM/cmake/DetermineGCCCompatible.cmake
+share/libLLVM/cmake/FindGRPC.cmake
 share/libLLVM/cmake/FindLibpfm.cmake
 share/libLLVM/cmake/FindOCaml.cmake
 share/libLLVM/cmake/FindSphinx.cmake
 share/libLLVM/cmake/FindZ3.cmake
 share/libLLVM/cmake/GenerateVersionFromVCS.cmake
+share/libLLVM/cmake/GetErrcMessages.cmake
+share/libLLVM/cmake/GetLibraryName.cmake
 share/libLLVM/cmake/HandleLLVMOptions.cmake
 share/libLLVM/cmake/HandleLLVMStdlib.cmake
+share/libLLVM/cmake/LLVM-Build.cmake
 share/libLLVM/cmake/LLVM-Config.cmake
+share/libLLVM/cmake/LLVMCheckLinkerFlag.cmake
 share/libLLVM/cmake/LLVMConfig.cmake
 share/libLLVM/cmake/LLVMConfigVersion.cmake
 share/libLLVM/cmake/LLVMDistributionSupport.cmake
@@ -1425,5 +1697,6 @@ share/libLLVM/cmake/LLVMExternalProjectU
 share/libLLVM/cmake/LLVMInstallSymlink.cmake
 share/libLLVM/cmake/LLVMProcessSources.cmake
 share/libLLVM/cmake/TableGen.cmake
+share/libLLVM/cmake/TensorFlowCompile.cmake
 share/libLLVM/cmake/UseLibtool.cmake
 share/libLLVM/cmake/VersionFromVCS.cmake

Index: pkgsrc/lang/libLLVM/buildlink3.mk
diff -u pkgsrc/lang/libLLVM/buildlink3.mk:1.6 pkgsrc/lang/libLLVM/buildlink3.mk:1.7
--- pkgsrc/lang/libLLVM/buildlink3.mk:1.6       Fri Mar  6 22:44:18 2020
+++ pkgsrc/lang/libLLVM/buildlink3.mk   Sun Mar 13 15:22:32 2022
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.6 2020/03/06 22:44:18 tnn Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2022/03/13 15:22:32 tnn Exp $
 
 BUILDLINK_TREE+=       libLLVM
 
 .if !defined(LIBLLVM_BUILDLINK3_MK)
 LIBLLVM_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.libLLVM+=        libLLVM>=9.0.0
+BUILDLINK_API_DEPENDS.libLLVM+=        libLLVM>=13
 BUILDLINK_PKGSRCDIR.libLLVM?=  ../../lang/libLLVM
 BUILDLINK_INCDIRS.libLLVM?=    include/libLLVM
 BUILDLINK_LIBDIRS.libLLVM?=    lib/libLLVM

Index: pkgsrc/lang/libLLVM/distinfo
diff -u pkgsrc/lang/libLLVM/distinfo:1.18 pkgsrc/lang/libLLVM/distinfo:1.19
--- pkgsrc/lang/libLLVM/distinfo:1.18   Tue Oct 26 10:51:40 2021
+++ pkgsrc/lang/libLLVM/distinfo        Sun Mar 13 15:22:32 2022
@@ -1,14 +1,14 @@
-$NetBSD: distinfo,v 1.18 2021/10/26 10:51:40 nia Exp $
+$NetBSD: distinfo,v 1.19 2022/03/13 15:22:32 tnn Exp $
 
-BLAKE2s (llvm-9.0.1.src.tar.xz) = 16f02c65adb30c1d94c27efe3ffa7cb49dc737cb620446a393b7d40322aa94de
-SHA512 (llvm-9.0.1.src.tar.xz) = bfb6960a4dd1e18f4005f324f478a781c69e8ec7c20569d9b243fcb9372dc7733b254f26c683373537990cc9c109c78eaf0f65449629ee17caca1bce9b9ccccd
-Size (llvm-9.0.1.src.tar.xz) = 33035112 bytes
-SHA1 (patch-CMakeLists.txt) = af0dc7f54e5e11c481f78ffafc9a6833e4469f32
-SHA1 (patch-cmake_config-ix.cmake) = a6f4e9b0e635792acf18a41b310f55969f78bcd8
-SHA1 (patch-cmake_modules_AddLLVM.cmake) = 752852ec340e72428bf1087b454a75a4cb176632
-SHA1 (patch-cmake_modules_CMakeLists.txt) = 69514dafb36794eb6923a39ef219bdc7b09c37ee
-SHA1 (patch-cmake_modules_CheckAtomic.cmake) = 51e4fdf3bc24b50fc4d4bfa1ec5ba6c82ef946b4
-SHA1 (patch-include_llvm-c_DataTypes.h) = 025c035e0e10871727391bd58936bd67b3e58244
+BLAKE2s (llvm-13.0.1.src.tar.xz) = 5fff4c8506340cc14b2160478be6403c80f526841209a4b1b3a9f16cf61dcc05
+SHA512 (llvm-13.0.1.src.tar.xz) = 05fbe8708ac3d0dfef3a9135ee88185a95ed492095429a97d33b8aadb0187e59ad42d1a7184f02b5c84fdd31f3d7227c65bd292ed0aa039b29522e59cf90a965
+Size (llvm-13.0.1.src.tar.xz) = 45479112 bytes
+SHA1 (patch-CMakeLists.txt) = c60afc86b44ae6c37840b3fea3533136aae2616d
+SHA1 (patch-cmake_config-ix.cmake) = 3b8b5295872ac1a5d90a8b4c78540d8ce1224bf0
+SHA1 (patch-cmake_modules_AddLLVM.cmake) = 41000d0660af1bfe6ccd15d0e0611b7cbbd456a4
+SHA1 (patch-cmake_modules_CMakeLists.txt) = 57462a55dfd2af82df51f62fc222a081cdb3e0db
+SHA1 (patch-cmake_modules_CheckAtomic.cmake) = cb2eda89ca2413728fc594ff01fa7a287b2a22b9
+SHA1 (patch-include_llvm-c_DataTypes.h) = 790c9458d6590a0d6985fdcbd8785da340b9779b
 SHA1 (patch-include_llvm_Analysis_ConstantFolding.h) = 56b9374da236c346565897977040255b9766cab8
-SHA1 (patch-tools_llvm-config_llvm-config.cpp) = 6d9e13036e2b1639fa67de995eb61520581f4fbd
-SHA1 (patch-tools_llvm-shlib_CMakeLists.txt) = 5892d83e4b8f1c30eefb9b8560fed43cb1a226e9
+SHA1 (patch-tools_llvm-config_llvm-config.cpp) = 12b0f7dd0d8caf635ca139abdde3ba49dc753cbe
+SHA1 (patch-tools_llvm-shlib_CMakeLists.txt) = 97b9c7c3487989c2909dd0294a67a5328d9ef309

Index: pkgsrc/lang/libLLVM/options.mk
diff -u pkgsrc/lang/libLLVM/options.mk:1.4 pkgsrc/lang/libLLVM/options.mk:1.5
--- pkgsrc/lang/libLLVM/options.mk:1.4  Sat Jan 26 21:17:20 2019
+++ pkgsrc/lang/libLLVM/options.mk      Sun Mar 13 15:22:32 2022
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.4 2019/01/26 21:17:20 tnn Exp $
+# $NetBSD: options.mk,v 1.5 2022/03/13 15:22:32 tnn Exp $
 
-PKG_OPTIONS_VAR=       PKG_OPTIONS.llvm
+PKG_OPTIONS_VAR=       PKG_OPTIONS.libLLVM
 
-LLVM_TARGETS=  AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430 NVPTX PowerPC Sparc SystemZ X86 XCore
+LLVM_TARGETS=  AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430 NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore
 
 .for tgt in ${LLVM_TARGETS}
 PLIST_VARS+=                   ${tgt}
@@ -23,20 +23,22 @@ PKG_SUGGESTED_OPTIONS+=             terminfo
 # Probably safe to assume that only x86 users are interested in
 # cross-compilation for now. This saves some build time for everyone else.
 .if !empty(MACHINE_ARCH:Msparc*)
-PKG_SUGGESTED_OPTIONS+=                llvm-target-sparc
+PKG_SUGGESTED_OPTIONS+=        llvm-target-sparc
 .elif !empty(MACHINE_ARCH:Mpowerpc*)
-PKG_SUGGESTED_OPTIONS+=                llvm-target-powerpc
+PKG_SUGGESTED_OPTIONS+=        llvm-target-powerpc
+.elif !empty(MACHINE_ARCH:Maarch64)
+PKG_SUGGESTED_OPTIONS+=        llvm-target-aarch64
 .elif !empty(MACHINE_ARCH:Mearm*)
-PKG_SUGGESTED_OPTIONS+=                llvm-target-arm
+PKG_SUGGESTED_OPTIONS+=        llvm-target-arm
 .elif !empty(MACHINE_ARCH:M*mips*)
-PKG_SUGGESTED_OPTIONS+=                llvm-target-mips
+PKG_SUGGESTED_OPTIONS+=        llvm-target-mips
 .else
 # X86 and everyone else get all targets by default.
 .  for tgt in ${LLVM_TARGETS}
-PKG_SUGGESTED_OPTIONS+=                llvm-target-${tgt:tl}
+PKG_SUGGESTED_OPTIONS+=        llvm-target-${tgt:tl}
 .  endfor
 .endif
-PKG_SUGGESTED_OPTIONS+=                llvm-target-amdgpu      # for mesa/radeon
+PKG_SUGGESTED_OPTIONS+=        llvm-target-amdgpu      # for mesa/radeon
 
 .include "../../mk/bsd.options.mk"
 

Index: pkgsrc/lang/libLLVM/patches/patch-CMakeLists.txt
diff -u pkgsrc/lang/libLLVM/patches/patch-CMakeLists.txt:1.2 pkgsrc/lang/libLLVM/patches/patch-CMakeLists.txt:1.3
--- pkgsrc/lang/libLLVM/patches/patch-CMakeLists.txt:1.2        Sat Jan 26 21:17:20 2019
+++ pkgsrc/lang/libLLVM/patches/patch-CMakeLists.txt    Sun Mar 13 15:22:32 2022
@@ -1,11 +1,12 @@
-$NetBSD: patch-CMakeLists.txt,v 1.2 2019/01/26 21:17:20 tnn Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.3 2022/03/13 15:22:32 tnn Exp $
 
 Put headers in subdirectory to avoid conflict with clang.
 Don't implement sys/regset.h workaround, fix source instead.
+Don't build locstats.
 
---- CMakeLists.txt.orig        2018-11-02 17:47:32.000000000 +0000
+--- CMakeLists.txt.orig        2021-06-28 16:23:38.000000000 +0000
 +++ CMakeLists.txt
-@@ -830,7 +830,7 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "(Fre
+@@ -902,7 +902,7 @@ endif()
  
  if( ${CMAKE_SYSTEM_NAME} MATCHES SunOS )
     # special hack for Solaris to handle crazy system sys/regset.h
@@ -14,7 +15,7 @@ Don't implement sys/regset.h workaround,
  endif( ${CMAKE_SYSTEM_NAME} MATCHES SunOS )
  
  # Make sure we don't get -rdynamic in every binary. For those that need it,
-@@ -966,7 +966,7 @@ endif()
+@@ -1027,7 +1027,7 @@ endif()
  
  if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
    install(DIRECTORY include/llvm include/llvm-c
@@ -23,7 +24,7 @@ Don't implement sys/regset.h workaround,
      COMPONENT llvm-headers
      FILES_MATCHING
      PATTERN "*.def"
-@@ -978,7 +978,7 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
+@@ -1038,7 +1038,7 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
      )
  
    install(DIRECTORY ${LLVM_INCLUDE_DIR}/llvm ${LLVM_INCLUDE_DIR}/llvm-c
@@ -32,3 +33,10 @@ Don't implement sys/regset.h workaround,
      COMPONENT llvm-headers
      FILES_MATCHING
      PATTERN "*.def"
+@@ -1125,5 +1125,5 @@ if (LLVM_INCLUDE_BENCHMARKS)
+ endif()
+ 
+ if (LLVM_INCLUDE_UTILS AND LLVM_INCLUDE_TOOLS)
+-  add_subdirectory(utils/llvm-locstats)
++#  add_subdirectory(utils/llvm-locstats)
+ endif()
Index: pkgsrc/lang/libLLVM/patches/patch-cmake_config-ix.cmake
diff -u pkgsrc/lang/libLLVM/patches/patch-cmake_config-ix.cmake:1.2 pkgsrc/lang/libLLVM/patches/patch-cmake_config-ix.cmake:1.3
--- pkgsrc/lang/libLLVM/patches/patch-cmake_config-ix.cmake:1.2 Fri Mar  6 22:44:18 2020
+++ pkgsrc/lang/libLLVM/patches/patch-cmake_config-ix.cmake     Sun Mar 13 15:22:32 2022
@@ -1,15 +1,15 @@
-$NetBSD: patch-cmake_config-ix.cmake,v 1.2 2020/03/06 22:44:18 tnn Exp $
+$NetBSD: patch-cmake_config-ix.cmake,v 1.3 2022/03/13 15:22:32 tnn Exp $
 
 Do not generate invalid llvm-config in pkgsrc.
 
---- cmake/config-ix.cmake.orig 2019-12-11 19:15:30.000000000 +0000
+--- cmake/config-ix.cmake.orig 2021-06-28 16:23:38.000000000 +0000
 +++ cmake/config-ix.cmake
-@@ -141,7 +141,7 @@ if(NOT LLVM_USE_SANITIZER MATCHES "Memor
+@@ -175,7 +175,7 @@ if(NOT LLVM_USE_SANITIZER MATCHES "Memor
+       set(MAYBE_REQUIRED)
      endif()
      if(LLVM_ENABLE_TERMINFO)
-       set(HAVE_TERMINFO 0)
--      foreach(library terminfo tinfo curses ncurses ncursesw)
-+      foreach(library terminfo curses ncurses ncursesw tinfo)
-         string(TOUPPER ${library} library_suffix)
-         check_library_exists(${library} setupterm "" HAVE_TERMINFO_${library_suffix})
-         if(HAVE_TERMINFO_${library_suffix})
+-      find_library(TERMINFO_LIB NAMES terminfo tinfo curses ncurses ncursesw ${MAYBE_REQUIRED})
++      find_library(TERMINFO_LIB NAMES terminfo curses ncurses ncursesw tinfo ${MAYBE_REQUIRED})
+     endif()
+     if(TERMINFO_LIB)
+       set(LLVM_ENABLE_TERMINFO 1)

Index: pkgsrc/lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake
diff -u pkgsrc/lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake:1.9 pkgsrc/lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake:1.10
--- pkgsrc/lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake:1.9   Fri Mar  6 22:44:18 2020
+++ pkgsrc/lang/libLLVM/patches/patch-cmake_modules_AddLLVM.cmake       Sun Mar 13 15:22:32 2022
@@ -1,37 +1,46 @@
-$NetBSD: patch-cmake_modules_AddLLVM.cmake,v 1.9 2020/03/06 22:44:18 tnn Exp $
+$NetBSD: patch-cmake_modules_AddLLVM.cmake,v 1.10 2022/03/13 15:22:32 tnn Exp $
 
 Disable library install rules. Handled manually.
 Make sure llvm-config goes in libexec/libLLVM to avoid conflict.
 Don't use non-portable -z discard-unused on SunOS.
 Don't use relative @rpath in llvm-config on Darwin.
 
---- cmake/modules/AddLLVM.cmake.orig   2019-12-11 19:15:30.000000000 +0000
+--- cmake/modules/AddLLVM.cmake.orig   2021-09-24 16:18:10.000000000 +0000
 +++ cmake/modules/AddLLVM.cmake
-@@ -222,9 +222,6 @@ function(add_link_opts target_name)
-         # ld64's implementation of -dead_strip breaks tools that use plugins.
-         set_property(TARGET ${target_name} APPEND_STRING PROPERTY
-                      LINK_FLAGS " -Wl,-dead_strip")
--      elseif(${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
--        set_property(TARGET ${target_name} APPEND_STRING PROPERTY
--                     LINK_FLAGS " -Wl,-z -Wl,discard-unused=sections")
-       elseif(NOT WIN32 AND NOT LLVM_LINKER_IS_GOLD AND
-              NOT ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD|AIX")
-         # Object files are compiled with -ffunction-data-sections.
-@@ -695,12 +692,6 @@ macro(add_llvm_library name)
-         set_property(GLOBAL PROPERTY LLVM_HAS_EXPORTS True)
+@@ -616,10 +616,6 @@ function(llvm_add_library name)
+       set(api_name ${output_name}-${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}${LLVM_VERSION_SUFFIX})
+       set_target_properties(${name} PROPERTIES OUTPUT_NAME ${library_name})
+       if(UNIX)
+-        llvm_install_library_symlink(${api_name} ${library_name} SHARED
+-          COMPONENT ${name})
+-        llvm_install_library_symlink(${output_name} ${library_name} SHARED
+-          COMPONENT ${name})
+       endif()
+     endif()
+   endif()
+@@ -820,11 +816,6 @@ macro(add_llvm_library name)
        endif()
  
+       get_target_export_arg(${name} LLVM export_to_llvmexports ${umbrella})
 -      install(TARGETS ${name}
 -              ${export_to_llvmexports}
 -              LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX} COMPONENT ${name}
 -              ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX} COMPONENT ${name}
 -              RUNTIME DESTINATION bin COMPONENT ${name})
--
+ 
        if (NOT LLVM_ENABLE_IDE)
          add_llvm_install_targets(install-${name}
-                                  DEPENDS ${name}
-@@ -907,7 +898,7 @@ macro(add_llvm_tool name)
+@@ -1033,7 +1024,7 @@ function(process_llvm_pass_plugins)
  
+       ## Part 1: Extension header to be included whenever we need extension
+       #  processing.
+-      set(LLVM_INSTALL_PACKAGE_DIR lib${LLVM_LIBDIR_SUFFIX}/cmake/llvm)
++      set(LLVM_INSTALL_PACKAGE_DIR lib/libLLVM/cmake/llvm)
+       set(llvm_cmake_builddir "${LLVM_BINARY_DIR}/${LLVM_INSTALL_PACKAGE_DIR}")
+       file(WRITE
+           "${llvm_cmake_builddir}/LLVMConfigExtensions.cmake"
+@@ -1234,7 +1225,7 @@ macro(add_llvm_tool name)
+       get_target_export_arg(${name} LLVM export_to_llvmexports)
        install(TARGETS ${name}
                ${export_to_llvmexports}
 -              RUNTIME DESTINATION ${LLVM_TOOLS_INSTALL_DIR}
@@ -39,12 +48,12 @@ Don't use relative @rpath in llvm-config
                COMPONENT ${name})
  
        if (NOT LLVM_ENABLE_IDE)
-@@ -1727,7 +1718,7 @@ function(llvm_setup_rpath name)
+@@ -2118,7 +2109,7 @@ function(llvm_setup_rpath name)
    endif()
  
    if (APPLE)
 -    set(_install_name_dir INSTALL_NAME_DIR "@rpath")
 +    set(_install_name_dir INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib/libLLVM")
-     set(_install_rpath "@loader_path/../lib" ${extra_libdir})
-   elseif(UNIX)
-     set(_install_rpath "\$ORIGIN/../lib${LLVM_LIBDIR_SUFFIX}" ${extra_libdir})
+     set(_install_rpath "@loader_path/../lib${LLVM_LIBDIR_SUFFIX}" ${extra_libdir})
+   elseif(${CMAKE_SYSTEM_NAME} MATCHES "AIX" AND BUILD_SHARED_LIBS)
+     # $ORIGIN is not interpreted at link time by aix ld.

Index: pkgsrc/lang/libLLVM/patches/patch-cmake_modules_CMakeLists.txt
diff -u pkgsrc/lang/libLLVM/patches/patch-cmake_modules_CMakeLists.txt:1.3 pkgsrc/lang/libLLVM/patches/patch-cmake_modules_CMakeLists.txt:1.4
--- pkgsrc/lang/libLLVM/patches/patch-cmake_modules_CMakeLists.txt:1.3  Fri Mar 17 22:38:18 2017
+++ pkgsrc/lang/libLLVM/patches/patch-cmake_modules_CMakeLists.txt      Sun Mar 13 15:22:32 2022
@@ -1,10 +1,12 @@
-$NetBSD: patch-cmake_modules_CMakeLists.txt,v 1.3 2017/03/17 22:38:18 adam Exp $
+$NetBSD: patch-cmake_modules_CMakeLists.txt,v 1.4 2022/03/13 15:22:32 tnn Exp $
 
 Make sure cmake rules go in own directory to avoid conflicts.
 
---- cmake/modules/CMakeLists.txt.orig  2016-11-08 05:02:18.000000000 +0000
+--- cmake/modules/CMakeLists.txt.orig  2021-09-24 16:18:10.000000000 +0000
 +++ cmake/modules/CMakeLists.txt
-@@ -1,4 +1,4 @@
+@@ -1,6 +1,6 @@
+ include(LLVMDistributionSupport)
+ 
 -set(LLVM_INSTALL_PACKAGE_DIR lib${LLVM_LIBDIR_SUFFIX}/cmake/llvm)
 +set(LLVM_INSTALL_PACKAGE_DIR share/libLLVM/cmake)
  set(llvm_cmake_builddir "${LLVM_BINARY_DIR}/${LLVM_INSTALL_PACKAGE_DIR}")

Index: pkgsrc/lang/libLLVM/patches/patch-cmake_modules_CheckAtomic.cmake
diff -u pkgsrc/lang/libLLVM/patches/patch-cmake_modules_CheckAtomic.cmake:1.1 pkgsrc/lang/libLLVM/patches/patch-cmake_modules_CheckAtomic.cmake:1.2
--- pkgsrc/lang/libLLVM/patches/patch-cmake_modules_CheckAtomic.cmake:1.1       Sat Jan 26 21:17:20 2019
+++ pkgsrc/lang/libLLVM/patches/patch-cmake_modules_CheckAtomic.cmake   Sun Mar 13 15:22:32 2022
@@ -1,38 +1,43 @@
-$NetBSD: patch-cmake_modules_CheckAtomic.cmake,v 1.1 2019/01/26 21:17:20 tnn Exp $
+$NetBSD: patch-cmake_modules_CheckAtomic.cmake,v 1.2 2022/03/13 15:22:32 tnn Exp $
 
 Omit check for native 8-byte atomics, platform may not have them,
 and they are actually not required here.  Makes powerpc build llvm.
 
---- cmake/modules/CheckAtomic.cmake.orig       2016-06-23 06:39:35.000000000 +0000
+--- cmake/modules/CheckAtomic.cmake.orig       2021-06-28 16:23:38.000000000 +0000
 +++ cmake/modules/CheckAtomic.cmake
-@@ -62,18 +62,18 @@ else()
- endif()
- 
- # If not, check if the library exists, and atomics work with it.
--if(NOT HAVE_CXX_ATOMICS64_WITHOUT_LIB)
--  check_library_exists(atomic __atomic_load_8 "" HAVE_CXX_LIBATOMICS64)
--  if(HAVE_CXX_LIBATOMICS64)
--    list(APPEND CMAKE_REQUIRED_LIBRARIES "atomic")
--    check_working_cxx_atomics64(HAVE_CXX_ATOMICS64_WITH_LIB)
--    if (NOT HAVE_CXX_ATOMICS64_WITH_LIB)
--      message(FATAL_ERROR "Host compiler must support std::atomic!")
+@@ -66,20 +66,21 @@ if(MSVC)
+   set(HAVE_CXX_ATOMICS64_WITHOUT_LIB True)
+ elseif(LLVM_COMPILER_IS_GCC_COMPATIBLE)
+   # First check if atomics work without the library.
+-  check_working_cxx_atomics64(HAVE_CXX_ATOMICS64_WITHOUT_LIB)
+-  # If not, check if the library exists, and atomics work with it.
+-  if(NOT HAVE_CXX_ATOMICS64_WITHOUT_LIB)
+-    check_library_exists(atomic __atomic_load_8 "" HAVE_CXX_LIBATOMICS64)
+-    if(HAVE_CXX_LIBATOMICS64)
+-      list(APPEND CMAKE_REQUIRED_LIBRARIES "atomic")
+-      check_working_cxx_atomics64(HAVE_CXX_ATOMICS64_WITH_LIB)
+-      if (NOT HAVE_CXX_ATOMICS64_WITH_LIB)
+-        message(FATAL_ERROR "Host compiler must support 64-bit std::atomic!")
+-      endif()
+-    else()
+-      message(FATAL_ERROR "Host compiler appears to require libatomic for 64-bit operations, but cannot find it.")
 -    endif()
--  else()
--    message(FATAL_ERROR "Host compiler appears to require libatomic, but cannot find it.")
 -  endif()
--endif()
-+#if(NOT HAVE_CXX_ATOMICS64_WITHOUT_LIB)
-+#  check_library_exists(atomic __atomic_load_8 "" HAVE_CXX_LIBATOMICS64)
-+#  if(HAVE_CXX_LIBATOMICS64)
-+#    list(APPEND CMAKE_REQUIRED_LIBRARIES "atomic")
-+#    check_working_cxx_atomics64(HAVE_CXX_ATOMICS64_WITH_LIB)
-+#    if (NOT HAVE_CXX_ATOMICS64_WITH_LIB)
-+#      message(FATAL_ERROR "Host compiler must support std::atomic!")
++  set(HAVE_CXX_ATOMICS64_WITHOUT_LIB True)
++#  check_working_cxx_atomics64(HAVE_CXX_ATOMICS64_WITHOUT_LIB)
++#  # If not, check if the library exists, and atomics work with it.
++#  if(NOT HAVE_CXX_ATOMICS64_WITHOUT_LIB)
++#    check_library_exists(atomic __atomic_load_8 "" HAVE_CXX_LIBATOMICS64)
++#    if(HAVE_CXX_LIBATOMICS64)
++#      list(APPEND CMAKE_REQUIRED_LIBRARIES "atomic")
++#      check_working_cxx_atomics64(HAVE_CXX_ATOMICS64_WITH_LIB)
++#      if (NOT HAVE_CXX_ATOMICS64_WITH_LIB)
++#        message(FATAL_ERROR "Host compiler must support 64-bit std::atomic!")
++#      endif()
++#    else()
++#      message(FATAL_ERROR "Host compiler appears to require libatomic for 64-bit operations, but cannot find it.")
 +#    endif()
-+#  else()
-+#    message(FATAL_ERROR "Host compiler appears to require libatomic, but cannot find it.")
 +#  endif()
-+#endif()
+ endif()
  
  ## TODO: This define is only used for the legacy atomic operations in
- ## llvm's Atomic.h, which should be replaced.  Other code simply
Index: pkgsrc/lang/libLLVM/patches/patch-include_llvm-c_DataTypes.h
diff -u pkgsrc/lang/libLLVM/patches/patch-include_llvm-c_DataTypes.h:1.1 pkgsrc/lang/libLLVM/patches/patch-include_llvm-c_DataTypes.h:1.2
--- pkgsrc/lang/libLLVM/patches/patch-include_llvm-c_DataTypes.h:1.1    Sat Jan 26 21:17:20 2019
+++ pkgsrc/lang/libLLVM/patches/patch-include_llvm-c_DataTypes.h        Sun Mar 13 15:22:32 2022
@@ -1,11 +1,11 @@
-$NetBSD: patch-include_llvm-c_DataTypes.h,v 1.1 2019/01/26 21:17:20 tnn Exp $
+$NetBSD: patch-include_llvm-c_DataTypes.h,v 1.2 2022/03/13 15:22:32 tnn Exp $
 
 Don't implement sys/regset.h workaround, fix source instead.
 
---- include/llvm-c/DataTypes.h.orig    2018-04-02 13:22:26.000000000 +0000
+--- include/llvm-c/DataTypes.h.orig    2021-04-06 16:38:18.000000000 +0000
 +++ include/llvm-c/DataTypes.h
-@@ -87,4 +87,27 @@ typedef signed int ssize_t;
- #define HUGE_VALF (float)HUGE_VAL
+@@ -77,4 +77,27 @@ typedef signed int ssize_t;
+ # define UINT64_MAX 0xffffffffffffffffULL
  #endif
  
 +#if defined(__sun)

Index: pkgsrc/lang/libLLVM/patches/patch-tools_llvm-config_llvm-config.cpp
diff -u pkgsrc/lang/libLLVM/patches/patch-tools_llvm-config_llvm-config.cpp:1.6 pkgsrc/lang/libLLVM/patches/patch-tools_llvm-config_llvm-config.cpp:1.7
--- pkgsrc/lang/libLLVM/patches/patch-tools_llvm-config_llvm-config.cpp:1.6     Sat Jan 26 21:17:20 2019
+++ pkgsrc/lang/libLLVM/patches/patch-tools_llvm-config_llvm-config.cpp Sun Mar 13 15:22:32 2022
@@ -1,12 +1,12 @@
-$NetBSD: patch-tools_llvm-config_llvm-config.cpp,v 1.6 2019/01/26 21:17:20 tnn Exp $
+$NetBSD: patch-tools_llvm-config_llvm-config.cpp,v 1.7 2022/03/13 15:22:32 tnn Exp $
 
 Avoid conflict with lang/clang.
 Use -lLLVM-3.8 instead of -lLLVM-3.8.0 so we don't break unnecessarily
 on patch updates.
 
---- tools/llvm-config/llvm-config.cpp.orig     2018-06-23 16:50:09.000000000 +0000
+--- tools/llvm-config/llvm-config.cpp.orig     2021-06-28 16:23:38.000000000 +0000
 +++ tools/llvm-config/llvm-config.cpp
-@@ -333,11 +333,11 @@ int main(int argc, char **argv) {
+@@ -357,11 +357,11 @@ int main(int argc, char **argv) {
          ("-I" + ActiveIncludeDir + " " + "-I" + ActiveObjRoot + "/include");
    } else {
      ActivePrefix = CurrentExecPrefix;
@@ -14,13 +14,13 @@ on patch updates.
 +    ActiveIncludeDir = "@PREFIX@/include/libLLVM";
      SmallString<256> path(StringRef(LLVM_TOOLS_INSTALL_DIR));
      sys::fs::make_absolute(ActivePrefix, path);
-     ActiveBinDir = path.str();
+     ActiveBinDir = std::string(path.str());
 -    ActiveLibDir = ActivePrefix + "/lib" + LLVM_LIBDIR_SUFFIX;
 +    ActiveLibDir = "@PREFIX@/lib/libLLVM";
      ActiveCMakeDir = ActiveLibDir + "/cmake/llvm";
      ActiveIncludeOption = "-I" + ActiveIncludeDir;
    }
-@@ -373,14 +373,14 @@ int main(int argc, char **argv) {
+@@ -399,14 +399,14 @@ int main(int argc, char **argv) {
      StaticDir = ActiveLibDir;
    } else if (HostTriple.isOSDarwin()) {
      SharedExt = "dylib";
@@ -37,7 +37,7 @@ on patch updates.
      StaticExt = "a";
      StaticDir = SharedDir = ActiveLibDir;
      StaticPrefix = SharedPrefix = "lib";
-@@ -393,7 +393,7 @@ int main(int argc, char **argv) {
+@@ -419,7 +419,7 @@ int main(int argc, char **argv) {
  
    bool DyLibExists = false;
    const std::string DyLibName =
@@ -46,7 +46,7 @@ on patch updates.
  
    // If LLVM_LINK_DYLIB is ON, the single shared library will be returned
    // for "--libs", etc, if they exist. This behaviour can be overridden with
-@@ -494,7 +494,7 @@ int main(int argc, char **argv) {
+@@ -520,7 +520,7 @@ int main(int argc, char **argv) {
          OS << ActiveIncludeOption << ' ' << LLVM_CXXFLAGS << '\n';
        } else if (Arg == "--ldflags") {
          OS << ((HostTriple.isWindowsMSVCEnvironment()) ? "-LIBPATH:" : "-L")

Index: pkgsrc/lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt
diff -u pkgsrc/lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt:1.7 pkgsrc/lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt:1.8
--- pkgsrc/lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt:1.7       Fri Mar  6 22:44:18 2020
+++ pkgsrc/lang/libLLVM/patches/patch-tools_llvm-shlib_CMakeLists.txt   Sun Mar 13 15:22:32 2022
@@ -1,10 +1,10 @@
-$NetBSD: patch-tools_llvm-shlib_CMakeLists.txt,v 1.7 2020/03/06 22:44:18 tnn Exp $
+$NetBSD: patch-tools_llvm-shlib_CMakeLists.txt,v 1.8 2022/03/13 15:22:32 tnn Exp $
 
 Use the Linux style linking everywhere except Darwin and SunOS.
 
---- tools/llvm-shlib/CMakeLists.txt.orig       2019-12-11 19:15:30.000000000 +0000
+--- tools/llvm-shlib/CMakeLists.txt.orig       2021-09-24 16:18:10.000000000 +0000
 +++ tools/llvm-shlib/CMakeLists.txt
-@@ -45,13 +45,11 @@ if(LLVM_BUILD_LLVM_DYLIB)
+@@ -33,13 +33,11 @@ if(LLVM_BUILD_LLVM_DYLIB)
    add_llvm_library(LLVM SHARED DISABLE_LLVM_LINK_LLVM_DYLIB SONAME ${INSTALL_WITH_TOOLCHAIN} ${SOURCES})
  
    list(REMOVE_DUPLICATES LIB_NAMES)
@@ -15,17 +15,17 @@ Use the Linux style linking everywhere e
 -     OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "Fuchsia")
 -     OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "DragonFly")
 -     OR ("${CMAKE_SYSTEM_NAME}" STREQUAL "SunOS")) # FIXME: It should be "GNU ld for elf"
-+  if("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
-+    set(LIB_NAMES -Wl,-all_load ${LIB_NAMES})
-+  elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "SunOS")
++  if("${CMAKE_SYSTEM_NAME}" STREQUAL "SunOS")
 +    set(LIB_NAMES -Wl,-Bsymbolic -Wl,-z -Wl,allextract ${LIB_NAMES} -Wl,-z -Wl,defaultextract)
++  elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
++    set(LIB_NAMES -Wl,-all_load ${LIB_NAMES})
 +  else()
      configure_file(
      ${CMAKE_CURRENT_SOURCE_DIR}/simple_version_script.map.in
      ${LLVM_LIBRARY_DIR}/tools/llvm-shlib/simple_version_script.map)
-@@ -62,8 +60,6 @@ if(LLVM_BUILD_LLVM_DYLIB)
-       # Solaris ld does not accept global: *; so there is no way to version *all* global symbols
-       set(LIB_NAMES -Wl,--version-script,${LLVM_LIBRARY_DIR}/tools/llvm-shlib/simple_version_script.map ${LIB_NAMES})
+@@ -57,8 +55,6 @@ if(LLVM_BUILD_LLVM_DYLIB)
+       # inside and outside libLLVM.so.
+       target_link_options(LLVM PRIVATE LINKER:-Bsymbolic-functions)
      endif()
 -  elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
 -    set(LIB_NAMES -Wl,-all_load ${LIB_NAMES})



Home | Main Index | Thread Index | Old Index