pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/llvm



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Jul 12 18:41:02 UTC 2021

Modified Files:
        pkgsrc/lang/llvm: Makefile PLIST buildlink3.mk distinfo options.mk
            version.mk
        pkgsrc/lang/llvm/patches: patch-cmake_config-ix.cmake
            patch-cmake_modules_AddLLVM.cmake patch-include_llvm-c_DataTypes.h
Removed Files:
        pkgsrc/lang/llvm/patches: patch-lib_Target_PowerPC_PPCInstrInfo.td

Log Message:
llvm: updated to 12.0.1

12.0.1:

Non-comprehensive list of changes in this release
The ConstantPropagation pass was removed. Users should use the InstSimplify pass instead.

Changes to the LLVM IR

Added the byref attribute to better represent argument passing for the amdgpu_kernel calling convention.
Added type parameter to the sret attribute to continue work on removing pointer element types.
The llvm.experimental.vector.reduce family of intrinsics have been renamed to drop the “experimental” from the name, reflecting their now fully supported status in the IR.
Changes to building LLVM

The internal llvm-build Python script and the associated LLVMBuild.txt files used to describe the LLVM component structure have been removed and replaced by a pure CMake approach, where each 
component stores extra properties in the created targets. These properties are processed once all components are defined to resolve library dependencies and produce the header expected by llvm-config.

Changes to TableGen

The new “TableGen Programmer’s Reference” replaces the “TableGen Language Introduction” and “TableGen Language Reference” documents.
The syntax for specifying an integer range in a range list has changed. The old syntax used a hyphen in the range (e.g., {0-9}). The new syntax uses the “…” range punctuation (e.g., {0...9}). The 
hyphen syntax is deprecated.

Changes to the AArch64 Backend

Lots of improvements to generation of Windows unwind data; the unwind data is optimized and written in packed form where possible, reducing the size of unwind data (pdata and xdata sections) by 
around 60% compared with LLVM 11. The generation of prologs/epilogs is tweaked when targeting Windows, to increase the chances of being able to use the packed unwind info format.
Support for creating Windows unwind data using .seh_* assembler directives.
Produce proper assembly output for the Windows target, including :lo12: relocation specifiers, to allow the assembly output to actually be assembled.
Changed the assembly comment string for MSVC targets to // (consistent with the MinGW and ELF targets), freeing up ; to be used as statement separator.

Changes to the ARM Backend

Changes to the MIPS Target

Changes to the PowerPC Target

Optimization:

Made improvements to loop unroll-and-jam including fix to respect user provided #pragma unroll-and-jam for loops on targets other than ARM.
Improved PartialInliner allowing it to handle code regions in a switch statements.
Improved PGO support on AIX by building and linking with compiler-rt profile library.
Add support for Epilogue Vectorization and enabled it by default.
CodeGen:

POWER10 support * Implementation of PC Relative addressing in LLD including the associated

linker optimizations.

Add support for the new matrix multiplication (MMA) instructions to Clang and LLVM.
Implementation of Power10 builtins.
Scheduling enhancements * Add a new algorithm to cluster more loads/stores if the DAG is not too

complicated.

Enable the PowerPC scheduling heuristic for Power10.
Target dependent passes tuning * Enhance LoopStrengthReduce/PPCLoopInstrFormPrep pass for PowerPC,

especially for P10 intrinsics.

Enhance machine combiner pass to reduce register pressure for PowerPC.
Improve MachineSink to do more sinking based on register pressure and alias analysis.
General improvements * Complete the constrained floating point operations support. * Improve the llvm-exegesis support. * Improve the stack clash protection to probe the gap between stackptr and

realigned stackptr.

Improve the IEEE long double support for Power8.
Enable MemorySSA for LoopSink.
Enhance LLVM debugging functionality via options such as -print-changed and -print-before-changed.
Add builtins for Power9 (i.e. darn, xvtdiv, xvtsqrt etc).
Add options to disable all or part of LoopIdiomRecognizePass.
Add support for printing the DDG in DOT form allowing for visual inspection of the Data Dependence Graph.
Remove the QPX support.
Significant number of bug fixes including all the fixes necessary to achieve a clean test run for Julia.
AIX Support:

Compiler-rt support * Add support for building compiler-rt for AIX and 32-bit Power targets. * Made compiler-rt the default rtlib for AIX.

General Improvements * Enable the AIX extended AltiVec ABI under option -mabi=vec-extabi. * Add partial C99 complex type support. * Implemente traceback table for functions (encodes vector 
information, emits exception handling).

Implemente code generation for C++ dynamic initialization and finalization. of non-local variables for use with the -bcdtors option of the AIX linker.
Add new option -mignore-xcoff-visibility.
Enable explicit sections on AIX.
Enable -f[no-]data-sections on AIX and set -fdata-sections to be the default on AIX.
Enable -f[no-]function-sections.
Add support for relocation generation using the large code model.
Add pragma align natural and sorted out pragma pack stack effect.

Changes to the X86 Target

The ‘mpx’ feature was removed from the backend. It had been removed from clang frontend in 10.0. Mention of the ‘mpx’ feature in an IR file will print a message to stderr, but IR should still compile.
Support for -march=alderlake, -march=sapphirerapids, -march=znver3 and -march=x86-64-v[234] has been added.
The assembler now has support for {disp32} and {disp8} pseudo prefixes for controlling displacement size for memory operands and jump displacements. The assembler also supports the .d32 and .d8 
mnemonic suffixes to do the same.
A new function attribute “tune-cpu” has been added to support -mtune like gcc. This allows microarchitectural optimizations to be applied independent from the “target-cpu” attribute or TargetMachine 
CPU which will be used to select Instruction Set. If the attribute is not present, the tune CPU will follow the target CPU.
Support for HRESET instructions has been added.
Support for UINTR instructions has been added.
Support for AVXVNNI instructions has been added.

Changes to the AMDGPU Target

The new byref attribute is now the preferred method for representing aggregate kernel arguments.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 pkgsrc/lang/llvm/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/lang/llvm/PLIST
cvs rdiff -u -r1.14 -r1.15 pkgsrc/lang/llvm/buildlink3.mk
cvs rdiff -u -r1.28 -r1.29 pkgsrc/lang/llvm/distinfo
cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/llvm/options.mk
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/llvm/version.mk
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/llvm/patches/patch-cmake_config-ix.cmake
cvs rdiff -u -r1.6 -r1.7 \
    pkgsrc/lang/llvm/patches/patch-cmake_modules_AddLLVM.cmake
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/lang/llvm/patches/patch-include_llvm-c_DataTypes.h
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/lang/llvm/patches/patch-lib_Target_PowerPC_PPCInstrInfo.td

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

Modified files:

Index: pkgsrc/lang/llvm/Makefile
diff -u pkgsrc/lang/llvm/Makefile:1.63 pkgsrc/lang/llvm/Makefile:1.64
--- pkgsrc/lang/llvm/Makefile:1.63      Sun Jun 13 19:02:30 2021
+++ pkgsrc/lang/llvm/Makefile   Mon Jul 12 18:41:02 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2021/06/13 19:02:30 wiz Exp $
+# $NetBSD: Makefile,v 1.64 2021/07/12 18:41:02 adam Exp $
 #
 # when updating this, please also update:
 # devel/include-what-you-use
@@ -25,7 +25,6 @@
 
 DISTNAME=      llvm-${LLVM_VERSION}.src
 PKGNAME=       ${DISTNAME:S/.src//}
-PKGREVISION=   4
 CATEGORIES=    lang devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost

Index: pkgsrc/lang/llvm/PLIST
diff -u pkgsrc/lang/llvm/PLIST:1.16 pkgsrc/lang/llvm/PLIST:1.17
--- pkgsrc/lang/llvm/PLIST:1.16 Mon Jul 27 11:12:48 2020
+++ pkgsrc/lang/llvm/PLIST      Mon Jul 12 18:41:02 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2020/07/27 11:12:48 adam Exp $
+@comment $NetBSD: PLIST,v 1.17 2021/07/12 18:41:02 adam Exp $
 bin/FileCheck
 bin/bugpoint
 bin/count
@@ -11,6 +11,7 @@ bin/llvm-addr2line
 bin/llvm-ar
 bin/llvm-as
 bin/llvm-bcanalyzer
+bin/llvm-bitcode-strip
 bin/llvm-c-test
 bin/llvm-cat
 bin/llvm-cfi-verify
@@ -28,16 +29,20 @@ bin/llvm-dwp
 bin/llvm-elfabi
 bin/llvm-exegesis
 bin/llvm-extract
+bin/llvm-gsymutil
 bin/llvm-ifs
 bin/llvm-install-name-tool
 bin/llvm-jitlink
+bin/llvm-jitlink-executor
 bin/llvm-lib
+bin/llvm-libtool-darwin
 bin/llvm-link
 bin/llvm-lipo
 bin/llvm-lto
 bin/llvm-lto2
 bin/llvm-mc
 bin/llvm-mca
+bin/llvm-ml
 bin/llvm-modextract
 bin/llvm-mt
 bin/llvm-nm
@@ -46,6 +51,7 @@ bin/llvm-objdump
 bin/llvm-opt-report
 bin/llvm-pdbutil
 bin/llvm-profdata
+bin/llvm-profgen
 bin/llvm-ranlib
 bin/llvm-rc
 bin/llvm-readelf
@@ -66,6 +72,7 @@ bin/obj2yaml
 bin/opt
 bin/sancov
 bin/sanstats
+bin/split-file
 bin/verify-uselistorder
 bin/yaml-bench
 bin/yaml2obj
@@ -84,10 +91,11 @@ include/llvm-c/ExecutionEngine.h
 include/llvm-c/ExternC.h
 include/llvm-c/IRReader.h
 include/llvm-c/Initialization.h
-include/llvm-c/LinkTimeOptimizer.h
+include/llvm-c/LLJIT.h
 include/llvm-c/Linker.h
 include/llvm-c/Object.h
-include/llvm-c/OrcBindings.h
+include/llvm-c/Orc.h
+include/llvm-c/OrcEE.h
 include/llvm-c/Remarks.h
 include/llvm-c/Support.h
 include/llvm-c/Target.h
@@ -102,6 +110,7 @@ include/llvm-c/Transforms/Utils.h
 include/llvm-c/Transforms/Vectorize.h
 include/llvm-c/Types.h
 include/llvm-c/lto.h
+include/llvm/ADT/APFixedPoint.h
 include/llvm/ADT/APFloat.h
 include/llvm/ADT/APInt.h
 include/llvm/ADT/APSInt.h
@@ -109,9 +118,11 @@ include/llvm/ADT/AllocatorList.h
 include/llvm/ADT/Any.h
 include/llvm/ADT/ArrayRef.h
 include/llvm/ADT/BitVector.h
+include/llvm/ADT/Bitfields.h
 include/llvm/ADT/BitmaskEnum.h
 include/llvm/ADT/BreadthFirstIterator.h
 include/llvm/ADT/CachedHashString.h
+include/llvm/ADT/CoalescingBitVector.h
 include/llvm/ADT/DAGDeltaAlgorithm.h
 include/llvm/ADT/DeltaAlgorithm.h
 include/llvm/ADT/DenseMap.h
@@ -163,13 +174,16 @@ include/llvm/ADT/SparseSet.h
 include/llvm/ADT/Statistic.h
 include/llvm/ADT/StringExtras.h
 include/llvm/ADT/StringMap.h
+include/llvm/ADT/StringMapEntry.h
 include/llvm/ADT/StringRef.h
 include/llvm/ADT/StringSet.h
 include/llvm/ADT/StringSwitch.h
 include/llvm/ADT/TinyPtrVector.h
 include/llvm/ADT/Triple.h
 include/llvm/ADT/Twine.h
+include/llvm/ADT/TypeSwitch.h
 include/llvm/ADT/UniqueVector.h
+include/llvm/ADT/Waymarking.h
 include/llvm/ADT/bit.h
 include/llvm/ADT/edit_distance.h
 include/llvm/ADT/fallible_iterator.h
@@ -185,6 +199,7 @@ include/llvm/ADT/simple_ilist.h
 include/llvm/Analysis/AliasAnalysis.h
 include/llvm/Analysis/AliasAnalysisEvaluator.h
 include/llvm/Analysis/AliasSetTracker.h
+include/llvm/Analysis/AssumeBundleQueries.h
 include/llvm/Analysis/AssumptionCache.h
 include/llvm/Analysis/BasicAliasAnalysis.h
 include/llvm/Analysis/BlockFrequencyInfo.h
@@ -203,8 +218,11 @@ include/llvm/Analysis/CaptureTracking.h
 include/llvm/Analysis/CmpInstAnalysis.h
 include/llvm/Analysis/CodeMetrics.h
 include/llvm/Analysis/ConstantFolding.h
+include/llvm/Analysis/ConstraintSystem.h
 include/llvm/Analysis/DDG.h
+include/llvm/Analysis/DDGPrinter.h
 include/llvm/Analysis/DOTGraphTraitsPass.h
+include/llvm/Analysis/Delinearization.h
 include/llvm/Analysis/DemandedBits.h
 include/llvm/Analysis/DependenceAnalysis.h
 include/llvm/Analysis/DependenceGraphBuilder.h
@@ -214,13 +232,20 @@ include/llvm/Analysis/DomTreeUpdater.h
 include/llvm/Analysis/DominanceFrontier.h
 include/llvm/Analysis/DominanceFrontierImpl.h
 include/llvm/Analysis/EHPersonalities.h
+include/llvm/Analysis/FunctionPropertiesAnalysis.h
 include/llvm/Analysis/GlobalsModRef.h
 include/llvm/Analysis/GuardUtils.h
+include/llvm/Analysis/HeatUtils.h
+include/llvm/Analysis/IRSimilarityIdentifier.h
 include/llvm/Analysis/IVDescriptors.h
 include/llvm/Analysis/IVUsers.h
 include/llvm/Analysis/IndirectCallPromotionAnalysis.h
 include/llvm/Analysis/IndirectCallVisitor.h
+include/llvm/Analysis/InlineAdvisor.h
 include/llvm/Analysis/InlineCost.h
+include/llvm/Analysis/InlineModelFeatureMaps.h
+include/llvm/Analysis/InlineSizeEstimatorAnalysis.h
+include/llvm/Analysis/InstCount.h
 include/llvm/Analysis/InstructionPrecedenceTracking.h
 include/llvm/Analysis/InstructionSimplify.h
 include/llvm/Analysis/Interval.h
@@ -240,21 +265,24 @@ include/llvm/Analysis/LoopCacheAnalysis.
 include/llvm/Analysis/LoopInfo.h
 include/llvm/Analysis/LoopInfoImpl.h
 include/llvm/Analysis/LoopIterator.h
+include/llvm/Analysis/LoopNestAnalysis.h
 include/llvm/Analysis/LoopPass.h
 include/llvm/Analysis/LoopUnrollAnalyzer.h
+include/llvm/Analysis/MLInlineAdvisor.h
+include/llvm/Analysis/MLModelRunner.h
+include/llvm/Analysis/MemDerefPrinter.h
 include/llvm/Analysis/MemoryBuiltins.h
 include/llvm/Analysis/MemoryDependenceAnalysis.h
 include/llvm/Analysis/MemoryLocation.h
 include/llvm/Analysis/MemorySSA.h
 include/llvm/Analysis/MemorySSAUpdater.h
+include/llvm/Analysis/ModuleDebugInfoPrinter.h
 include/llvm/Analysis/ModuleSummaryAnalysis.h
 include/llvm/Analysis/MustExecute.h
 include/llvm/Analysis/ObjCARCAliasAnalysis.h
 include/llvm/Analysis/ObjCARCAnalysisUtils.h
 include/llvm/Analysis/ObjCARCInstKind.h
 include/llvm/Analysis/OptimizationRemarkEmitter.h
-include/llvm/Analysis/OrderedBasicBlock.h
-include/llvm/Analysis/OrderedInstructions.h
 include/llvm/Analysis/PHITransAddr.h
 include/llvm/Analysis/Passes.h
 include/llvm/Analysis/PhiValues.h
@@ -266,13 +294,15 @@ include/llvm/Analysis/RegionInfoImpl.h
 include/llvm/Analysis/RegionIterator.h
 include/llvm/Analysis/RegionPass.h
 include/llvm/Analysis/RegionPrinter.h
+include/llvm/Analysis/ReplayInlineAdvisor.h
 include/llvm/Analysis/ScalarEvolution.h
 include/llvm/Analysis/ScalarEvolutionAliasAnalysis.h
-include/llvm/Analysis/ScalarEvolutionExpander.h
+include/llvm/Analysis/ScalarEvolutionDivision.h
 include/llvm/Analysis/ScalarEvolutionExpressions.h
 include/llvm/Analysis/ScalarEvolutionNormalization.h
 include/llvm/Analysis/ScopedNoAliasAA.h
 include/llvm/Analysis/SparsePropagation.h
+include/llvm/Analysis/StackLifetime.h
 include/llvm/Analysis/StackSafetyAnalysis.h
 include/llvm/Analysis/SyncDependenceAnalysis.h
 include/llvm/Analysis/SyntheticCountsUtils.h
@@ -284,7 +314,9 @@ include/llvm/Analysis/TargetTransformInf
 include/llvm/Analysis/Trace.h
 include/llvm/Analysis/TypeBasedAliasAnalysis.h
 include/llvm/Analysis/TypeMetadataUtils.h
+include/llvm/Analysis/Utils/ImportedFunctionsInliningStatistics.h
 include/llvm/Analysis/Utils/Local.h
+include/llvm/Analysis/Utils/TFUtils.h
 include/llvm/Analysis/ValueLattice.h
 include/llvm/Analysis/ValueLatticeUtils.h
 include/llvm/Analysis/ValueTracking.h
@@ -304,6 +336,7 @@ include/llvm/BinaryFormat/ELFRelocs/ARC.
 include/llvm/BinaryFormat/ELFRelocs/ARM.def
 include/llvm/BinaryFormat/ELFRelocs/AVR.def
 include/llvm/BinaryFormat/ELFRelocs/BPF.def
+include/llvm/BinaryFormat/ELFRelocs/CSKY.def
 include/llvm/BinaryFormat/ELFRelocs/Hexagon.def
 include/llvm/BinaryFormat/ELFRelocs/Lanai.def
 include/llvm/BinaryFormat/ELFRelocs/MSP430.def
@@ -313,6 +346,7 @@ include/llvm/BinaryFormat/ELFRelocs/Powe
 include/llvm/BinaryFormat/ELFRelocs/RISCV.def
 include/llvm/BinaryFormat/ELFRelocs/Sparc.def
 include/llvm/BinaryFormat/ELFRelocs/SystemZ.def
+include/llvm/BinaryFormat/ELFRelocs/VE.def
 include/llvm/BinaryFormat/ELFRelocs/i386.def
 include/llvm/BinaryFormat/ELFRelocs/x86_64.def
 include/llvm/BinaryFormat/MachO.def
@@ -327,8 +361,11 @@ include/llvm/BinaryFormat/MsgPackReader.
 include/llvm/BinaryFormat/MsgPackWriter.h
 include/llvm/BinaryFormat/Wasm.h
 include/llvm/BinaryFormat/WasmRelocs.def
+include/llvm/BinaryFormat/WasmTraits.h
 include/llvm/BinaryFormat/XCOFF.h
 include/llvm/Bitcode/BitcodeAnalyzer.h
+include/llvm/Bitcode/BitcodeCommon.h
+include/llvm/Bitcode/BitcodeConvenience.h
 include/llvm/Bitcode/BitcodeReader.h
 include/llvm/Bitcode/BitcodeWriter.h
 include/llvm/Bitcode/BitcodeWriterPass.h
@@ -338,15 +375,18 @@ include/llvm/Bitstream/BitstreamReader.h
 include/llvm/Bitstream/BitstreamWriter.h
 include/llvm/CodeGen/AccelTable.h
 include/llvm/CodeGen/Analysis.h
+include/llvm/CodeGen/AntiDepBreaker.h
 include/llvm/CodeGen/AsmPrinter.h
 include/llvm/CodeGen/AsmPrinterHandler.h
 include/llvm/CodeGen/AtomicExpandUtils.h
+include/llvm/CodeGen/BasicBlockSectionUtils.h
 include/llvm/CodeGen/BasicTTIImpl.h
 include/llvm/CodeGen/BuiltinGCs.h
 include/llvm/CodeGen/CSEConfigBase.h
 include/llvm/CodeGen/CalcSpillWeights.h
 include/llvm/CodeGen/CallingConvLower.h
-include/llvm/CodeGen/CommandFlags.inc
+include/llvm/CodeGen/CodeGenPassBuilder.h
+include/llvm/CodeGen/CommandFlags.h
 include/llvm/CodeGen/CostTable.h
 include/llvm/CodeGen/DAGCombine.h
 include/llvm/CodeGen/DFAPacketizer.h
@@ -375,6 +415,7 @@ include/llvm/CodeGen/GlobalISel/GISelCha
 include/llvm/CodeGen/GlobalISel/GISelKnownBits.h
 include/llvm/CodeGen/GlobalISel/GISelWorkList.h
 include/llvm/CodeGen/GlobalISel/IRTranslator.h
+include/llvm/CodeGen/GlobalISel/InlineAsmLowering.h
 include/llvm/CodeGen/GlobalISel/InstructionSelect.h
 include/llvm/CodeGen/GlobalISel/InstructionSelector.h
 include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
@@ -383,14 +424,15 @@ include/llvm/CodeGen/GlobalISel/Legalize
 include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
 include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
 include/llvm/CodeGen/GlobalISel/Localizer.h
+include/llvm/CodeGen/GlobalISel/LostDebugLocObserver.h
 include/llvm/CodeGen/GlobalISel/MIPatternMatch.h
 include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
 include/llvm/CodeGen/GlobalISel/RegBankSelect.h
 include/llvm/CodeGen/GlobalISel/RegisterBank.h
 include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h
-include/llvm/CodeGen/GlobalISel/Types.h
 include/llvm/CodeGen/GlobalISel/Utils.h
 include/llvm/CodeGen/ISDOpcodes.h
+include/llvm/CodeGen/IndirectThunks.h
 include/llvm/CodeGen/IntrinsicLowering.h
 include/llvm/CodeGen/LatencyPriorityQueue.h
 include/llvm/CodeGen/LazyMachineBlockFrequencyInfo.h
@@ -398,6 +440,7 @@ include/llvm/CodeGen/LexicalScopes.h
 include/llvm/CodeGen/LinkAllAsmWriterComponents.h
 include/llvm/CodeGen/LinkAllCodegenComponents.h
 include/llvm/CodeGen/LiveInterval.h
+include/llvm/CodeGen/LiveIntervalCalc.h
 include/llvm/CodeGen/LiveIntervalUnion.h
 include/llvm/CodeGen/LiveIntervals.h
 include/llvm/CodeGen/LivePhysRegs.h
@@ -409,6 +452,7 @@ include/llvm/CodeGen/LiveStacks.h
 include/llvm/CodeGen/LiveVariables.h
 include/llvm/CodeGen/LoopTraversal.h
 include/llvm/CodeGen/LowLevelType.h
+include/llvm/CodeGen/MBFIWrapper.h
 include/llvm/CodeGen/MIRFormatter.h
 include/llvm/CodeGen/MIRParser/MIParser.h
 include/llvm/CodeGen/MIRParser/MIRParser.h
@@ -438,6 +482,8 @@ include/llvm/CodeGen/MachineModuleInfoIm
 include/llvm/CodeGen/MachineOperand.h
 include/llvm/CodeGen/MachineOptimizationRemarkEmitter.h
 include/llvm/CodeGen/MachineOutliner.h
+include/llvm/CodeGen/MachinePassManager.h
+include/llvm/CodeGen/MachinePassRegistry.def
 include/llvm/CodeGen/MachinePassRegistry.h
 include/llvm/CodeGen/MachinePipeliner.h
 include/llvm/CodeGen/MachinePostDominators.h
@@ -446,9 +492,11 @@ include/llvm/CodeGen/MachineRegisterInfo
 include/llvm/CodeGen/MachineSSAUpdater.h
 include/llvm/CodeGen/MachineScheduler.h
 include/llvm/CodeGen/MachineSizeOpts.h
+include/llvm/CodeGen/MachineStableHash.h
 include/llvm/CodeGen/MachineTraceMetrics.h
 include/llvm/CodeGen/MacroFusion.h
 include/llvm/CodeGen/ModuloSchedule.h
+include/llvm/CodeGen/MultiHazardRecognizer.h
 include/llvm/CodeGen/NonRelocatableStringpool.h
 include/llvm/CodeGen/PBQP/CostAllocator.h
 include/llvm/CodeGen/PBQP/Graph.h
@@ -487,6 +535,8 @@ include/llvm/CodeGen/SelectionDAGISel.h
 include/llvm/CodeGen/SelectionDAGNodes.h
 include/llvm/CodeGen/SelectionDAGTargetInfo.h
 include/llvm/CodeGen/SlotIndexes.h
+include/llvm/CodeGen/Spiller.h
+include/llvm/CodeGen/StableHashing.h
 include/llvm/CodeGen/StackMaps.h
 include/llvm/CodeGen/StackProtector.h
 include/llvm/CodeGen/SwiftErrorValueTracking.h
@@ -502,6 +552,7 @@ include/llvm/CodeGen/TargetPassConfig.h
 include/llvm/CodeGen/TargetRegisterInfo.h
 include/llvm/CodeGen/TargetSchedule.h
 include/llvm/CodeGen/TargetSubtargetInfo.h
+include/llvm/CodeGen/TileShapeInfo.h
 include/llvm/CodeGen/UnreachableBlockElim.h
 include/llvm/CodeGen/ValueTypes.h
 include/llvm/CodeGen/ValueTypes.td
@@ -517,6 +568,7 @@ include/llvm/Config/llvm-config.h
 include/llvm/DWARFLinker/DWARFLinker.h
 include/llvm/DWARFLinker/DWARFLinkerCompileUnit.h
 include/llvm/DWARFLinker/DWARFLinkerDeclContext.h
+include/llvm/DWARFLinker/DWARFStreamer.h
 include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h
 include/llvm/DebugInfo/CodeView/CVRecord.h
 include/llvm/DebugInfo/CodeView/CVSymbolVisitor.h
@@ -610,6 +662,7 @@ include/llvm/DebugInfo/DWARF/DWARFTypeUn
 include/llvm/DebugInfo/DWARF/DWARFUnit.h
 include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h
 include/llvm/DebugInfo/DWARF/DWARFVerifier.h
+include/llvm/DebugInfo/GSYM/DwarfTransformer.h
 include/llvm/DebugInfo/GSYM/FileEntry.h
 include/llvm/DebugInfo/GSYM/FileWriter.h
 include/llvm/DebugInfo/GSYM/FunctionInfo.h
@@ -620,6 +673,7 @@ include/llvm/DebugInfo/GSYM/InlineInfo.h
 include/llvm/DebugInfo/GSYM/LineEntry.h
 include/llvm/DebugInfo/GSYM/LineTable.h
 include/llvm/DebugInfo/GSYM/LookupResult.h
+include/llvm/DebugInfo/GSYM/ObjectFileTransformer.h
 include/llvm/DebugInfo/GSYM/Range.h
 include/llvm/DebugInfo/GSYM/StringTable.h
 include/llvm/DebugInfo/MSF/IMSFFile.h
@@ -679,11 +733,18 @@ include/llvm/DebugInfo/PDB/Native/NamedS
 include/llvm/DebugInfo/PDB/Native/NativeCompilandSymbol.h
 include/llvm/DebugInfo/PDB/Native/NativeEnumGlobals.h
 include/llvm/DebugInfo/PDB/Native/NativeEnumInjectedSources.h
+include/llvm/DebugInfo/PDB/Native/NativeEnumLineNumbers.h
 include/llvm/DebugInfo/PDB/Native/NativeEnumModules.h
+include/llvm/DebugInfo/PDB/Native/NativeEnumSymbols.h
 include/llvm/DebugInfo/PDB/Native/NativeEnumTypes.h
 include/llvm/DebugInfo/PDB/Native/NativeExeSymbol.h
+include/llvm/DebugInfo/PDB/Native/NativeFunctionSymbol.h
+include/llvm/DebugInfo/PDB/Native/NativeInlineSiteSymbol.h
+include/llvm/DebugInfo/PDB/Native/NativeLineNumber.h
+include/llvm/DebugInfo/PDB/Native/NativePublicSymbol.h
 include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h
 include/llvm/DebugInfo/PDB/Native/NativeSession.h
+include/llvm/DebugInfo/PDB/Native/NativeSourceFile.h
 include/llvm/DebugInfo/PDB/Native/NativeSymbolEnumerator.h
 include/llvm/DebugInfo/PDB/Native/NativeTypeArray.h
 include/llvm/DebugInfo/PDB/Native/NativeTypeBuiltin.h
@@ -759,7 +820,10 @@ include/llvm/ExecutionEngine/GenericValu
 include/llvm/ExecutionEngine/Interpreter.h
 include/llvm/ExecutionEngine/JITEventListener.h
 include/llvm/ExecutionEngine/JITLink/EHFrameSupport.h
+include/llvm/ExecutionEngine/JITLink/ELF.h
+include/llvm/ExecutionEngine/JITLink/ELF_x86_64.h
 include/llvm/ExecutionEngine/JITLink/JITLink.h
+include/llvm/ExecutionEngine/JITLink/JITLinkDylib.h
 include/llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h
 include/llvm/ExecutionEngine/JITLink/MachO.h
 include/llvm/ExecutionEngine/JITLink/MachO_arm64.h
@@ -773,33 +837,39 @@ include/llvm/ExecutionEngine/Orc/Compile
 include/llvm/ExecutionEngine/Orc/Core.h
 include/llvm/ExecutionEngine/Orc/DebugUtils.h
 include/llvm/ExecutionEngine/Orc/ExecutionUtils.h
-include/llvm/ExecutionEngine/Orc/GlobalMappingLayer.h
 include/llvm/ExecutionEngine/Orc/IRCompileLayer.h
 include/llvm/ExecutionEngine/Orc/IRTransformLayer.h
 include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
 include/llvm/ExecutionEngine/Orc/JITTargetMachineBuilder.h
 include/llvm/ExecutionEngine/Orc/LLJIT.h
-include/llvm/ExecutionEngine/Orc/LambdaResolver.h
 include/llvm/ExecutionEngine/Orc/Layer.h
-include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h
 include/llvm/ExecutionEngine/Orc/LazyReexports.h
-include/llvm/ExecutionEngine/Orc/Legacy.h
-include/llvm/ExecutionEngine/Orc/NullResolver.h
+include/llvm/ExecutionEngine/Orc/MachOPlatform.h
+include/llvm/ExecutionEngine/Orc/Mangling.h
 include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
 include/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h
 include/llvm/ExecutionEngine/Orc/OrcABISupport.h
-include/llvm/ExecutionEngine/Orc/OrcError.h
+include/llvm/ExecutionEngine/Orc/OrcRPCTargetProcessControl.h
 include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
 include/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h
 include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h
-include/llvm/ExecutionEngine/Orc/RPC/RPCSerialization.h
-include/llvm/ExecutionEngine/Orc/RPC/RPCUtils.h
-include/llvm/ExecutionEngine/Orc/RPC/RawByteChannel.h
 include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h
-include/llvm/ExecutionEngine/Orc/RemoteObjectLayer.h
+include/llvm/ExecutionEngine/Orc/Shared/FDRawByteChannel.h
+include/llvm/ExecutionEngine/Orc/Shared/OrcError.h
+include/llvm/ExecutionEngine/Orc/Shared/RPCUtils.h
+include/llvm/ExecutionEngine/Orc/Shared/RawByteChannel.h
+include/llvm/ExecutionEngine/Orc/Shared/Serialization.h
+include/llvm/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h
 include/llvm/ExecutionEngine/Orc/SpeculateAnalyses.h
 include/llvm/ExecutionEngine/Orc/Speculation.h
 include/llvm/ExecutionEngine/Orc/SymbolStringPool.h
+include/llvm/ExecutionEngine/Orc/TPCDynamicLibrarySearchGenerator.h
+include/llvm/ExecutionEngine/Orc/TPCEHFrameRegistrar.h
+include/llvm/ExecutionEngine/Orc/TPCIndirectionUtils.h
+include/llvm/ExecutionEngine/Orc/TargetProcess/OrcRPCTPCServer.h
+include/llvm/ExecutionEngine/Orc/TargetProcess/RegisterEHFrames.h
+include/llvm/ExecutionEngine/Orc/TargetProcess/TargetExecutionUtils.h
+include/llvm/ExecutionEngine/Orc/TargetProcessControl.h
 include/llvm/ExecutionEngine/Orc/ThreadSafeModule.h
 include/llvm/ExecutionEngine/OrcMCJITReplacement.h
 include/llvm/ExecutionEngine/OrcV1Deprecation.h
@@ -807,7 +877,17 @@ include/llvm/ExecutionEngine/RTDyldMemor
 include/llvm/ExecutionEngine/RuntimeDyld.h
 include/llvm/ExecutionEngine/RuntimeDyldChecker.h
 include/llvm/ExecutionEngine/SectionMemoryManager.h
+include/llvm/FileCheck/FileCheck.h
+include/llvm/Frontend/Directive/DirectiveBase.td
+include/llvm/Frontend/OpenACC/ACC.h.inc
+include/llvm/Frontend/OpenACC/ACC.inc
+include/llvm/Frontend/OpenACC/ACC.td
+include/llvm/Frontend/OpenMP/OMP.h.inc
+include/llvm/Frontend/OpenMP/OMP.inc
+include/llvm/Frontend/OpenMP/OMP.td
 include/llvm/Frontend/OpenMP/OMPConstants.h
+include/llvm/Frontend/OpenMP/OMPContext.h
+include/llvm/Frontend/OpenMP/OMPGridValues.h
 include/llvm/Frontend/OpenMP/OMPIRBuilder.h
 include/llvm/Frontend/OpenMP/OMPKinds.def
 include/llvm/FuzzMutate/FuzzerCLI.h
@@ -816,16 +896,16 @@ include/llvm/FuzzMutate/OpDescriptor.h
 include/llvm/FuzzMutate/Operations.h
 include/llvm/FuzzMutate/Random.h
 include/llvm/FuzzMutate/RandomIRBuilder.h
+include/llvm/IR/AbstractCallSite.h
 include/llvm/IR/Argument.h
 include/llvm/IR/AssemblyAnnotationWriter.h
+include/llvm/IR/Assumptions.h
 include/llvm/IR/Attributes.h
 include/llvm/IR/Attributes.inc
 include/llvm/IR/Attributes.td
 include/llvm/IR/AutoUpgrade.h
 include/llvm/IR/BasicBlock.h
 include/llvm/IR/CFG.h
-include/llvm/IR/CFGDiff.h
-include/llvm/IR/CallSite.h
 include/llvm/IR/CallingConv.h
 include/llvm/IR/Comdat.h
 include/llvm/IR/Constant.h
@@ -847,6 +927,7 @@ include/llvm/IR/DiagnosticPrinter.h
 include/llvm/IR/Dominators.h
 include/llvm/IR/FPEnv.h
 include/llvm/IR/FixedMetadataKinds.def
+include/llvm/IR/FixedPointBuilder.h
 include/llvm/IR/Function.h
 include/llvm/IR/GVMaterializer.h
 include/llvm/IR/GetElementPtrTypeIterator.h
@@ -857,6 +938,7 @@ include/llvm/IR/GlobalObject.h
 include/llvm/IR/GlobalValue.h
 include/llvm/IR/GlobalVariable.h
 include/llvm/IR/IRBuilder.h
+include/llvm/IR/IRBuilderFolder.h
 include/llvm/IR/IRPrintingPasses.h
 include/llvm/IR/InlineAsm.h
 include/llvm/IR/InstIterator.h
@@ -880,6 +962,7 @@ include/llvm/IR/IntrinsicsBPF.h
 include/llvm/IR/IntrinsicsBPF.td
 include/llvm/IR/IntrinsicsHexagon.h
 include/llvm/IR/IntrinsicsHexagon.td
+include/llvm/IR/IntrinsicsHexagonDep.td
 include/llvm/IR/IntrinsicsMips.h
 include/llvm/IR/IntrinsicsMips.td
 include/llvm/IR/IntrinsicsNVPTX.h
@@ -891,6 +974,9 @@ include/llvm/IR/IntrinsicsRISCV.h
 include/llvm/IR/IntrinsicsRISCV.td
 include/llvm/IR/IntrinsicsS390.h
 include/llvm/IR/IntrinsicsSystemZ.td
+include/llvm/IR/IntrinsicsVE.h
+include/llvm/IR/IntrinsicsVE.td
+include/llvm/IR/IntrinsicsVEVL.gen.td
 include/llvm/IR/IntrinsicsWebAssembly.h
 include/llvm/IR/IntrinsicsWebAssembly.td
 include/llvm/IR/IntrinsicsX86.h
@@ -898,11 +984,13 @@ include/llvm/IR/IntrinsicsX86.td
 include/llvm/IR/IntrinsicsXCore.h
 include/llvm/IR/IntrinsicsXCore.td
 include/llvm/IR/LLVMContext.h
+include/llvm/IR/LLVMRemarkStreamer.h
 include/llvm/IR/LegacyPassManager.h
 include/llvm/IR/LegacyPassManagers.h
 include/llvm/IR/LegacyPassNameParser.h
 include/llvm/IR/MDBuilder.h
 include/llvm/IR/Mangler.h
+include/llvm/IR/MatrixBuilder.h
 include/llvm/IR/Metadata.def
 include/llvm/IR/Metadata.h
 include/llvm/IR/Module.h
@@ -915,15 +1003,19 @@ include/llvm/IR/Operator.h
 include/llvm/IR/OptBisect.h
 include/llvm/IR/PassInstrumentation.h
 include/llvm/IR/PassManager.h
+include/llvm/IR/PassManagerImpl.h
 include/llvm/IR/PassManagerInternal.h
 include/llvm/IR/PassTimingInfo.h
 include/llvm/IR/PatternMatch.h
 include/llvm/IR/PredIteratorCache.h
+include/llvm/IR/PrintPasses.h
 include/llvm/IR/ProfileSummary.h
-include/llvm/IR/RemarkStreamer.h
+include/llvm/IR/PseudoProbe.h
+include/llvm/IR/ReplaceConstant.h
 include/llvm/IR/RuntimeLibcalls.def
 include/llvm/IR/SafepointIRVerifier.h
 include/llvm/IR/Statepoint.h
+include/llvm/IR/StructuralHash.h
 include/llvm/IR/SymbolTableListTraits.h
 include/llvm/IR/TrackingMDRef.h
 include/llvm/IR/Type.h
@@ -931,6 +1023,7 @@ include/llvm/IR/TypeFinder.h
 include/llvm/IR/Use.h
 include/llvm/IR/UseListOrder.h
 include/llvm/IR/User.h
+include/llvm/IR/VPIntrinsics.def
 include/llvm/IR/Value.def
 include/llvm/IR/Value.h
 include/llvm/IR/ValueHandle.h
@@ -939,6 +1032,9 @@ include/llvm/IR/ValueSymbolTable.h
 include/llvm/IR/Verifier.h
 include/llvm/IRReader/IRReader.h
 include/llvm/InitializePasses.h
+include/llvm/InterfaceStub/ELFObjHandler.h
+include/llvm/InterfaceStub/ELFStub.h
+include/llvm/InterfaceStub/TBEHandler.h
 include/llvm/LTO/Caching.h
 include/llvm/LTO/Config.h
 include/llvm/LTO/LTO.h
@@ -1002,6 +1098,7 @@ include/llvm/MC/MCParser/MCAsmParserExte
 include/llvm/MC/MCParser/MCAsmParserUtils.h
 include/llvm/MC/MCParser/MCParsedAsmOperand.h
 include/llvm/MC/MCParser/MCTargetAsmParser.h
+include/llvm/MC/MCPseudoProbe.h
 include/llvm/MC/MCRegister.h
 include/llvm/MC/MCRegisterInfo.h
 include/llvm/MC/MCSchedule.h
@@ -1020,7 +1117,7 @@ include/llvm/MC/MCSymbolMachO.h
 include/llvm/MC/MCSymbolWasm.h
 include/llvm/MC/MCSymbolXCOFF.h
 include/llvm/MC/MCTargetOptions.h
-include/llvm/MC/MCTargetOptionsCommandFlags.inc
+include/llvm/MC/MCTargetOptionsCommandFlags.h
 include/llvm/MC/MCValue.h
 include/llvm/MC/MCWasmObjectWriter.h
 include/llvm/MC/MCWasmStreamer.h
@@ -1071,6 +1168,7 @@ include/llvm/Object/IRObjectFile.h
 include/llvm/Object/IRSymtab.h
 include/llvm/Object/MachO.h
 include/llvm/Object/MachOUniversal.h
+include/llvm/Object/MachOUniversalWriter.h
 include/llvm/Object/Minidump.h
 include/llvm/Object/ModuleSymbolTable.h
 include/llvm/Object/ObjectFile.h
@@ -1081,10 +1179,10 @@ include/llvm/Object/SymbolicFile.h
 include/llvm/Object/TapiFile.h
 include/llvm/Object/TapiUniversal.h
 include/llvm/Object/Wasm.h
-include/llvm/Object/WasmTraits.h
 include/llvm/Object/WindowsMachineFlag.h
 include/llvm/Object/WindowsResource.h
 include/llvm/Object/XCOFFObjectFile.h
+include/llvm/ObjectYAML/ArchiveYAML.h
 include/llvm/ObjectYAML/COFFYAML.h
 include/llvm/ObjectYAML/CodeViewYAMLDebugSections.h
 include/llvm/ObjectYAML/CodeViewYAMLSymbols.h
@@ -1129,11 +1227,13 @@ include/llvm/ProfileData/SampleProfWrite
 include/llvm/Remarks/BitstreamRemarkContainer.h
 include/llvm/Remarks/BitstreamRemarkParser.h
 include/llvm/Remarks/BitstreamRemarkSerializer.h
+include/llvm/Remarks/HotnessThresholdParser.h
 include/llvm/Remarks/Remark.h
 include/llvm/Remarks/RemarkFormat.h
 include/llvm/Remarks/RemarkLinker.h
 include/llvm/Remarks/RemarkParser.h
 include/llvm/Remarks/RemarkSerializer.h
+include/llvm/Remarks/RemarkStreamer.h
 include/llvm/Remarks/RemarkStringTable.h
 include/llvm/Remarks/YAMLRemarkSerializer.h
 include/llvm/Support/AArch64TargetParser.def
@@ -1149,10 +1249,12 @@ include/llvm/Support/ARMWinEH.h
 include/llvm/Support/AlignOf.h
 include/llvm/Support/Alignment.h
 include/llvm/Support/Allocator.h
+include/llvm/Support/AllocatorBase.h
 include/llvm/Support/ArrayRecycler.h
 include/llvm/Support/Atomic.h
 include/llvm/Support/AtomicOrdering.h
 include/llvm/Support/Automaton.h
+include/llvm/Support/Base64.h
 include/llvm/Support/BinaryByteStream.h
 include/llvm/Support/BinaryItemStream.h
 include/llvm/Support/BinaryStream.h
@@ -1165,6 +1267,7 @@ include/llvm/Support/BlockFrequency.h
 include/llvm/Support/BranchProbability.h
 include/llvm/Support/BuryPointer.h
 include/llvm/Support/CBindingWrapping.h
+include/llvm/Support/CFGDiff.h
 include/llvm/Support/CFGUpdate.h
 include/llvm/Support/COM.h
 include/llvm/Support/CRC.h
@@ -1187,6 +1290,8 @@ include/llvm/Support/DataTypes.h
 include/llvm/Support/Debug.h
 include/llvm/Support/DebugCounter.h
 include/llvm/Support/DynamicLibrary.h
+include/llvm/Support/ELFAttributeParser.h
+include/llvm/Support/ELFAttributes.h
 include/llvm/Support/Endian.h
 include/llvm/Support/EndianStream.h
 include/llvm/Support/Errc.h
@@ -1194,11 +1299,13 @@ include/llvm/Support/Errno.h
 include/llvm/Support/Error.h
 include/llvm/Support/ErrorHandling.h
 include/llvm/Support/ErrorOr.h
+include/llvm/Support/ExitCodes.h
+include/llvm/Support/ExtensibleRTTI.h
 include/llvm/Support/Extension.def
-include/llvm/Support/FileCheck.h
 include/llvm/Support/FileCollector.h
 include/llvm/Support/FileOutputBuffer.h
 include/llvm/Support/FileSystem.h
+include/llvm/Support/FileSystem/UniqueID.h
 include/llvm/Support/FileUtilities.h
 include/llvm/Support/Format.h
 include/llvm/Support/FormatAdapters.h
@@ -1214,6 +1321,7 @@ include/llvm/Support/GlobPattern.h
 include/llvm/Support/GraphWriter.h
 include/llvm/Support/Host.h
 include/llvm/Support/InitLLVM.h
+include/llvm/Support/InstructionCost.h
 include/llvm/Support/ItaniumManglingCanonicalizer.h
 include/llvm/Support/JSON.h
 include/llvm/Support/KnownBits.h
@@ -1231,10 +1339,12 @@ include/llvm/Support/MathExtras.h
 include/llvm/Support/MemAlloc.h
 include/llvm/Support/Memory.h
 include/llvm/Support/MemoryBuffer.h
+include/llvm/Support/MemoryBufferRef.h
 include/llvm/Support/MipsABIFlags.h
 include/llvm/Support/Mutex.h
 include/llvm/Support/NativeFormatting.h
 include/llvm/Support/OnDiskHashTable.h
+include/llvm/Support/OptimizedStructLayout.h
 include/llvm/Support/Parallel.h
 include/llvm/Support/Path.h
 include/llvm/Support/PluginLoader.h
@@ -1243,6 +1353,9 @@ include/llvm/Support/PrettyStackTrace.h
 include/llvm/Support/Printable.h
 include/llvm/Support/Process.h
 include/llvm/Support/Program.h
+include/llvm/Support/RISCVAttributeParser.h
+include/llvm/Support/RISCVAttributes.h
+include/llvm/Support/RISCVTargetParser.def
 include/llvm/Support/RWMutex.h
 include/llvm/Support/RandomNumberGenerator.h
 include/llvm/Support/Recycler.h
@@ -1262,8 +1375,8 @@ include/llvm/Support/SmallVectorMemoryBu
 include/llvm/Support/Solaris/sys/regset.h
 include/llvm/Support/SourceMgr.h
 include/llvm/Support/SpecialCaseList.h
-include/llvm/Support/StringPool.h
 include/llvm/Support/StringSaver.h
+include/llvm/Support/SuffixTree.h
 include/llvm/Support/SwapByteOrder.h
 include/llvm/Support/SymbolRemappingReader.h
 include/llvm/Support/SystemUtils.h
@@ -1296,6 +1409,7 @@ include/llvm/Support/WindowsError.h
 include/llvm/Support/WithColor.h
 include/llvm/Support/X86DisassemblerDecoderCommon.h
 include/llvm/Support/X86TargetParser.def
+include/llvm/Support/X86TargetParser.h
 include/llvm/Support/YAMLParser.h
 include/llvm/Support/YAMLTraits.h
 include/llvm/Support/circular_raw_ostream.h
@@ -1306,6 +1420,7 @@ include/llvm/Support/thread.h
 include/llvm/Support/type_traits.h
 include/llvm/Support/xxhash.h
 include/llvm/TableGen/Automaton.td
+include/llvm/TableGen/DirectiveEmitter.h
 include/llvm/TableGen/Error.h
 include/llvm/TableGen/Main.h
 include/llvm/TableGen/Record.h
@@ -1314,6 +1429,7 @@ include/llvm/TableGen/SetTheory.h
 include/llvm/TableGen/StringMatcher.h
 include/llvm/TableGen/StringToOffsetTable.h
 include/llvm/TableGen/TableGenBackend.h
+include/llvm/Target/CGPassBuilderOption.h
 include/llvm/Target/CodeGenCWrappers.h
 include/llvm/Target/GenericOpcodes.td
 include/llvm/Target/GlobalISel/Combine.td
@@ -1334,8 +1450,6 @@ include/llvm/Target/TargetSelectionDAG.t
 include/llvm/Testing/Support/Annotations.h
 include/llvm/Testing/Support/Error.h
 include/llvm/Testing/Support/SupportHelpers.h
-include/llvm/TextAPI/ELF/ELFStub.h
-include/llvm/TextAPI/ELF/TBEHandler.h
 include/llvm/TextAPI/MachO/Architecture.def
 include/llvm/TextAPI/MachO/Architecture.h
 include/llvm/TextAPI/MachO/ArchitectureSet.h
@@ -1351,10 +1465,17 @@ include/llvm/ToolDrivers/llvm-lib/LibDri
 include/llvm/Transforms/AggressiveInstCombine/AggressiveInstCombine.h
 include/llvm/Transforms/CFGuard.h
 include/llvm/Transforms/Coroutines.h
+include/llvm/Transforms/Coroutines/CoroCleanup.h
+include/llvm/Transforms/Coroutines/CoroEarly.h
+include/llvm/Transforms/Coroutines/CoroElide.h
+include/llvm/Transforms/Coroutines/CoroSplit.h
+include/llvm/Transforms/HelloNew/HelloWorld.h
 include/llvm/Transforms/IPO.h
 include/llvm/Transforms/IPO/AlwaysInliner.h
+include/llvm/Transforms/IPO/Annotation2Metadata.h
 include/llvm/Transforms/IPO/ArgumentPromotion.h
 include/llvm/Transforms/IPO/Attributor.h
+include/llvm/Transforms/IPO/BlockExtractor.h
 include/llvm/Transforms/IPO/CalledValuePropagation.h
 include/llvm/Transforms/IPO/ConstantMerge.h
 include/llvm/Transforms/IPO/CrossDSOCFI.h
@@ -1367,30 +1488,40 @@ include/llvm/Transforms/IPO/GlobalDCE.h
 include/llvm/Transforms/IPO/GlobalOpt.h
 include/llvm/Transforms/IPO/GlobalSplit.h
 include/llvm/Transforms/IPO/HotColdSplitting.h
+include/llvm/Transforms/IPO/IROutliner.h
 include/llvm/Transforms/IPO/InferFunctionAttrs.h
 include/llvm/Transforms/IPO/Inliner.h
 include/llvm/Transforms/IPO/Internalize.h
+include/llvm/Transforms/IPO/LoopExtractor.h
 include/llvm/Transforms/IPO/LowerTypeTests.h
 include/llvm/Transforms/IPO/MergeFunctions.h
+include/llvm/Transforms/IPO/OpenMPOpt.h
 include/llvm/Transforms/IPO/PartialInlining.h
 include/llvm/Transforms/IPO/PassManagerBuilder.h
 include/llvm/Transforms/IPO/SCCP.h
+include/llvm/Transforms/IPO/SampleContextTracker.h
 include/llvm/Transforms/IPO/SampleProfile.h
+include/llvm/Transforms/IPO/SampleProfileProbe.h
 include/llvm/Transforms/IPO/StripDeadPrototypes.h
+include/llvm/Transforms/IPO/StripSymbols.h
 include/llvm/Transforms/IPO/SyntheticCountsPropagation.h
 include/llvm/Transforms/IPO/ThinLTOBitcodeWriter.h
 include/llvm/Transforms/IPO/WholeProgramDevirt.h
 include/llvm/Transforms/InstCombine/InstCombine.h
 include/llvm/Transforms/InstCombine/InstCombineWorklist.h
+include/llvm/Transforms/InstCombine/InstCombiner.h
 include/llvm/Transforms/Instrumentation.h
 include/llvm/Transforms/Instrumentation/AddressSanitizer.h
+include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h
 include/llvm/Transforms/Instrumentation/BoundsChecking.h
 include/llvm/Transforms/Instrumentation/CGProfile.h
 include/llvm/Transforms/Instrumentation/ControlHeightReduction.h
+include/llvm/Transforms/Instrumentation/DataFlowSanitizer.h
 include/llvm/Transforms/Instrumentation/GCOVProfiler.h
 include/llvm/Transforms/Instrumentation/HWAddressSanitizer.h
 include/llvm/Transforms/Instrumentation/InstrOrderFile.h
 include/llvm/Transforms/Instrumentation/InstrProfiling.h
+include/llvm/Transforms/Instrumentation/MemProfiler.h
 include/llvm/Transforms/Instrumentation/MemorySanitizer.h
 include/llvm/Transforms/Instrumentation/PGOInstrumentation.h
 include/llvm/Transforms/Instrumentation/PoisonChecking.h
@@ -1400,9 +1531,11 @@ include/llvm/Transforms/ObjCARC.h
 include/llvm/Transforms/Scalar.h
 include/llvm/Transforms/Scalar/ADCE.h
 include/llvm/Transforms/Scalar/AlignmentFromAssumptions.h
+include/llvm/Transforms/Scalar/AnnotationRemarks.h
 include/llvm/Transforms/Scalar/BDCE.h
 include/llvm/Transforms/Scalar/CallSiteSplitting.h
 include/llvm/Transforms/Scalar/ConstantHoisting.h
+include/llvm/Transforms/Scalar/ConstraintElimination.h
 include/llvm/Transforms/Scalar/CorrelatedValuePropagation.h
 include/llvm/Transforms/Scalar/DCE.h
 include/llvm/Transforms/Scalar/DeadStoreElimination.h
@@ -1415,6 +1548,7 @@ include/llvm/Transforms/Scalar/GuardWide
 include/llvm/Transforms/Scalar/IVUsersPrinter.h
 include/llvm/Transforms/Scalar/IndVarSimplify.h
 include/llvm/Transforms/Scalar/InductiveRangeCheckElimination.h
+include/llvm/Transforms/Scalar/InferAddressSpaces.h
 include/llvm/Transforms/Scalar/InstSimplifyPass.h
 include/llvm/Transforms/Scalar/JumpThreading.h
 include/llvm/Transforms/Scalar/LICM.h
@@ -1422,18 +1556,22 @@ include/llvm/Transforms/Scalar/LoopAcces
 include/llvm/Transforms/Scalar/LoopDataPrefetch.h
 include/llvm/Transforms/Scalar/LoopDeletion.h
 include/llvm/Transforms/Scalar/LoopDistribute.h
+include/llvm/Transforms/Scalar/LoopFlatten.h
 include/llvm/Transforms/Scalar/LoopFuse.h
 include/llvm/Transforms/Scalar/LoopIdiomRecognize.h
 include/llvm/Transforms/Scalar/LoopInstSimplify.h
+include/llvm/Transforms/Scalar/LoopInterchange.h
 include/llvm/Transforms/Scalar/LoopLoadElimination.h
 include/llvm/Transforms/Scalar/LoopPassManager.h
 include/llvm/Transforms/Scalar/LoopPredication.h
+include/llvm/Transforms/Scalar/LoopReroll.h
 include/llvm/Transforms/Scalar/LoopRotation.h
 include/llvm/Transforms/Scalar/LoopSimplifyCFG.h
 include/llvm/Transforms/Scalar/LoopSink.h
 include/llvm/Transforms/Scalar/LoopStrengthReduce.h
 include/llvm/Transforms/Scalar/LoopUnrollAndJamPass.h
 include/llvm/Transforms/Scalar/LoopUnrollPass.h
+include/llvm/Transforms/Scalar/LoopVersioningLICM.h
 include/llvm/Transforms/Scalar/LowerAtomic.h
 include/llvm/Transforms/Scalar/LowerConstantIntrinsics.h
 include/llvm/Transforms/Scalar/LowerExpectIntrinsic.h
@@ -1448,26 +1586,35 @@ include/llvm/Transforms/Scalar/NaryReass
 include/llvm/Transforms/Scalar/NewGVN.h
 include/llvm/Transforms/Scalar/PartiallyInlineLibCalls.h
 include/llvm/Transforms/Scalar/Reassociate.h
+include/llvm/Transforms/Scalar/Reg2Mem.h
 include/llvm/Transforms/Scalar/RewriteStatepointsForGC.h
 include/llvm/Transforms/Scalar/SCCP.h
 include/llvm/Transforms/Scalar/SROA.h
+include/llvm/Transforms/Scalar/ScalarizeMaskedMemIntrin.h
 include/llvm/Transforms/Scalar/Scalarizer.h
+include/llvm/Transforms/Scalar/SeparateConstOffsetFromGEP.h
 include/llvm/Transforms/Scalar/SimpleLoopUnswitch.h
 include/llvm/Transforms/Scalar/SimplifyCFG.h
 include/llvm/Transforms/Scalar/Sink.h
 include/llvm/Transforms/Scalar/SpeculateAroundPHIs.h
 include/llvm/Transforms/Scalar/SpeculativeExecution.h
+include/llvm/Transforms/Scalar/StraightLineStrengthReduce.h
+include/llvm/Transforms/Scalar/StructurizeCFG.h
 include/llvm/Transforms/Scalar/TailRecursionElimination.h
 include/llvm/Transforms/Scalar/WarnMissedTransforms.h
 include/llvm/Transforms/Utils.h
+include/llvm/Transforms/Utils/AMDGPUEmitPrintf.h
 include/llvm/Transforms/Utils/ASanStackFrameLayout.h
 include/llvm/Transforms/Utils/AddDiscriminators.h
+include/llvm/Transforms/Utils/AssumeBundleBuilder.h
 include/llvm/Transforms/Utils/BasicBlockUtils.h
 include/llvm/Transforms/Utils/BreakCriticalEdges.h
 include/llvm/Transforms/Utils/BuildLibCalls.h
 include/llvm/Transforms/Utils/BypassSlowDivision.h
+include/llvm/Transforms/Utils/CallGraphUpdater.h
 include/llvm/Transforms/Utils/CallPromotionUtils.h
 include/llvm/Transforms/Utils/CanonicalizeAliases.h
+include/llvm/Transforms/Utils/CanonicalizeFreezeInLoops.h
 include/llvm/Transforms/Utils/Cloning.h
 include/llvm/Transforms/Utils/CodeExtractor.h
 include/llvm/Transforms/Utils/CodeMoverUtils.h
@@ -1476,24 +1623,28 @@ include/llvm/Transforms/Utils/Debugify.h
 include/llvm/Transforms/Utils/EntryExitInstrumenter.h
 include/llvm/Transforms/Utils/EscapeEnumerator.h
 include/llvm/Transforms/Utils/Evaluator.h
+include/llvm/Transforms/Utils/FixIrreducible.h
 include/llvm/Transforms/Utils/FunctionComparator.h
 include/llvm/Transforms/Utils/FunctionImportUtils.h
 include/llvm/Transforms/Utils/GlobalStatus.h
 include/llvm/Transforms/Utils/GuardUtils.h
-include/llvm/Transforms/Utils/ImportedFunctionsInliningStatistics.h
 include/llvm/Transforms/Utils/InjectTLIMappings.h
+include/llvm/Transforms/Utils/InstructionNamer.h
 include/llvm/Transforms/Utils/IntegerDivision.h
 include/llvm/Transforms/Utils/LCSSA.h
 include/llvm/Transforms/Utils/LibCallsShrinkWrap.h
 include/llvm/Transforms/Utils/Local.h
+include/llvm/Transforms/Utils/LoopPeel.h
 include/llvm/Transforms/Utils/LoopRotationUtils.h
 include/llvm/Transforms/Utils/LoopSimplify.h
 include/llvm/Transforms/Utils/LoopUtils.h
 include/llvm/Transforms/Utils/LoopVersioning.h
 include/llvm/Transforms/Utils/LowerInvoke.h
 include/llvm/Transforms/Utils/LowerMemIntrinsics.h
+include/llvm/Transforms/Utils/LowerSwitch.h
+include/llvm/Transforms/Utils/MatrixUtils.h
 include/llvm/Transforms/Utils/Mem2Reg.h
-include/llvm/Transforms/Utils/MisExpect.h
+include/llvm/Transforms/Utils/MetaRenamer.h
 include/llvm/Transforms/Utils/ModuleUtils.h
 include/llvm/Transforms/Utils/NameAnonGlobals.h
 include/llvm/Transforms/Utils/PredicateInfo.h
@@ -1502,12 +1653,18 @@ include/llvm/Transforms/Utils/SSAUpdater
 include/llvm/Transforms/Utils/SSAUpdaterBulk.h
 include/llvm/Transforms/Utils/SSAUpdaterImpl.h
 include/llvm/Transforms/Utils/SanitizerStats.h
+include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
+include/llvm/Transforms/Utils/SimplifyCFGOptions.h
 include/llvm/Transforms/Utils/SimplifyIndVar.h
 include/llvm/Transforms/Utils/SimplifyLibCalls.h
 include/llvm/Transforms/Utils/SizeOpts.h
 include/llvm/Transforms/Utils/SplitModule.h
+include/llvm/Transforms/Utils/StripGCRelocates.h
+include/llvm/Transforms/Utils/StripNonLineTableDebugInfo.h
 include/llvm/Transforms/Utils/SymbolRewriter.h
 include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h
+include/llvm/Transforms/Utils/UnifyLoopExits.h
+include/llvm/Transforms/Utils/UniqueInternalLinkageNames.h
 include/llvm/Transforms/Utils/UnrollLoop.h
 include/llvm/Transforms/Utils/VNCoercion.h
 include/llvm/Transforms/Utils/ValueMapper.h
@@ -1516,6 +1673,7 @@ include/llvm/Transforms/Vectorize/LoadSt
 include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
 include/llvm/Transforms/Vectorize/LoopVectorize.h
 include/llvm/Transforms/Vectorize/SLPVectorizer.h
+include/llvm/Transforms/Vectorize/VectorCombine.h
 include/llvm/WindowsManifest/WindowsManifestMerger.h
 include/llvm/WindowsResource/ResourceProcessor.h
 include/llvm/WindowsResource/ResourceScriptToken.h
@@ -1547,13 +1705,16 @@ lib/cmake/llvm/CheckLinkerFlag.cmake
 lib/cmake/llvm/ChooseMSVCCRT.cmake
 lib/cmake/llvm/CrossCompile.cmake
 lib/cmake/llvm/DetermineGCCCompatible.cmake
+lib/cmake/llvm/FindGRPC.cmake
 lib/cmake/llvm/FindLibpfm.cmake
 lib/cmake/llvm/FindOCaml.cmake
 lib/cmake/llvm/FindSphinx.cmake
 lib/cmake/llvm/FindZ3.cmake
 lib/cmake/llvm/GenerateVersionFromVCS.cmake
+lib/cmake/llvm/GetLibraryName.cmake
 lib/cmake/llvm/HandleLLVMOptions.cmake
 lib/cmake/llvm/HandleLLVMStdlib.cmake
+lib/cmake/llvm/LLVM-Build.cmake
 lib/cmake/llvm/LLVM-Config.cmake
 lib/cmake/llvm/LLVMConfig.cmake
 lib/cmake/llvm/LLVMConfigExtensions.cmake
@@ -1565,10 +1726,11 @@ lib/cmake/llvm/LLVMExternalProjectUtils.
 lib/cmake/llvm/LLVMInstallSymlink.cmake
 lib/cmake/llvm/LLVMProcessSources.cmake
 lib/cmake/llvm/TableGen.cmake
+lib/cmake/llvm/TensorFlowCompile.cmake
 lib/cmake/llvm/UseLibtool.cmake
 lib/cmake/llvm/VersionFromVCS.cmake
-lib/libLLVM-10.0.1.${SOEXT}
-lib/libLLVM-10.so
+lib/libLLVM-${PKGVERSION}.${SOEXT}
+lib/libLLVM-12.so
 lib/libLLVM.${SOEXT}
 ${PLIST.AArch64}lib/libLLVMAArch64AsmParser.a
 ${PLIST.AArch64}lib/libLLVMAArch64CodeGen.a
@@ -1588,6 +1750,11 @@ ${PLIST.ARM}lib/libLLVMARMDesc.a
 ${PLIST.ARM}lib/libLLVMARMDisassembler.a
 ${PLIST.ARM}lib/libLLVMARMInfo.a
 ${PLIST.ARM}lib/libLLVMARMUtils.a
+${PLIST.AVR}lib/libLLVMAVRAsmParser.a
+${PLIST.AVR}lib/libLLVMAVRCodeGen.a
+${PLIST.AVR}lib/libLLVMAVRDesc.a
+${PLIST.AVR}lib/libLLVMAVRDisassembler.a
+${PLIST.AVR}lib/libLLVMAVRInfo.a
 lib/libLLVMAggressiveInstCombine.a
 lib/libLLVMAnalysis.a
 lib/libLLVMAsmParser.a
@@ -1616,9 +1783,12 @@ lib/libLLVMDemangle.a
 lib/libLLVMDlltoolDriver.a
 lib/libLLVMExecutionEngine.a
 lib/libLLVMExtensions.a
+lib/libLLVMFileCheck.a
+lib/libLLVMFrontendOpenACC.a
 lib/libLLVMFrontendOpenMP.a
 lib/libLLVMFuzzMutate.a
 lib/libLLVMGlobalISel.a
+lib/libLLVMHelloNew.a
 ${PLIST.Hexagon}lib/libLLVMHexagonAsmParser.a
 ${PLIST.Hexagon}lib/libLLVMHexagonCodeGen.a
 ${PLIST.Hexagon}lib/libLLVMHexagonDesc.a
@@ -1627,6 +1797,7 @@ ${PLIST.Hexagon}lib/libLLVMHexagonInfo.a
 lib/libLLVMIRReader.a
 lib/libLLVMInstCombine.a
 lib/libLLVMInstrumentation.a
+lib/libLLVMInterfaceStub.a
 lib/libLLVMInterpreter.a
 lib/libLLVMJITLink.a
 lib/libLLVMLTO.a
@@ -1661,8 +1832,9 @@ lib/libLLVMObjCARCOpts.a
 lib/libLLVMObject.a
 lib/libLLVMObjectYAML.a
 lib/libLLVMOption.a
-lib/libLLVMOrcError.a
 lib/libLLVMOrcJIT.a
+lib/libLLVMOrcShared.a
+lib/libLLVMOrcTargetProcess.a
 lib/libLLVMPasses.a
 ${PLIST.PowerPC}lib/libLLVMPowerPCAsmParser.a
 ${PLIST.PowerPC}lib/libLLVMPowerPCCodeGen.a
@@ -1675,7 +1847,6 @@ ${PLIST.RISCV}lib/libLLVMRISCVCodeGen.a
 ${PLIST.RISCV}lib/libLLVMRISCVDesc.a
 ${PLIST.RISCV}lib/libLLVMRISCVDisassembler.a
 ${PLIST.RISCV}lib/libLLVMRISCVInfo.a
-${PLIST.RISCV}lib/libLLVMRISCVUtils.a
 lib/libLLVMRemarks.a
 lib/libLLVMRuntimeDyld.a
 lib/libLLVMScalarOpts.a
@@ -1708,7 +1879,6 @@ ${PLIST.X86}lib/libLLVMX86CodeGen.a
 ${PLIST.X86}lib/libLLVMX86Desc.a
 ${PLIST.X86}lib/libLLVMX86Disassembler.a
 ${PLIST.X86}lib/libLLVMX86Info.a
-${PLIST.X86}lib/libLLVMX86Utils.a
 ${PLIST.XCore}lib/libLLVMXCoreCodeGen.a
 ${PLIST.XCore}lib/libLLVMXCoreDesc.a
 ${PLIST.XCore}lib/libLLVMXCoreDisassembler.a
@@ -1716,9 +1886,9 @@ ${PLIST.XCore}lib/libLLVMXCoreInfo.a
 lib/libLLVMXRay.a
 lib/libLLVMipo.a
 lib/libLTO.${SOEXT}
-${PLIST.notdylib}lib/libLTO.${SOEXT}.10
+${PLIST.notdylib}lib/libLTO.${SOEXT}.12
 lib/libRemarks.${SOEXT}
-${PLIST.notdylib}lib/libRemarks.${SOEXT}.10
+${PLIST.notdylib}lib/libRemarks.${SOEXT}.12
 share/opt-viewer/opt-diff.py
 share/opt-viewer/opt-stats.py
 share/opt-viewer/opt-viewer.py

Index: pkgsrc/lang/llvm/buildlink3.mk
diff -u pkgsrc/lang/llvm/buildlink3.mk:1.14 pkgsrc/lang/llvm/buildlink3.mk:1.15
--- pkgsrc/lang/llvm/buildlink3.mk:1.14 Fri Jun 18 19:40:33 2021
+++ pkgsrc/lang/llvm/buildlink3.mk      Mon Jul 12 18:41:02 2021
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.14 2021/06/18 19:40:33 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.15 2021/07/12 18:41:02 adam Exp $
 
 BUILDLINK_TREE+=       llvm
 
@@ -22,6 +22,7 @@ BUILDLINK_FILES.llvm+=                bin/llvm-addr2li
 BUILDLINK_FILES.llvm+=         bin/llvm-ar
 BUILDLINK_FILES.llvm+=         bin/llvm-as
 BUILDLINK_FILES.llvm+=         bin/llvm-bcanalyzer
+BUILDLINK_FILES.llvm+=         bin/llvm-bitcode-strip
 BUILDLINK_FILES.llvm+=         bin/llvm-c-test
 BUILDLINK_FILES.llvm+=         bin/llvm-cat
 BUILDLINK_FILES.llvm+=         bin/llvm-cfi-verify
@@ -39,16 +40,20 @@ BUILDLINK_FILES.llvm+=              bin/llvm-dwp
 BUILDLINK_FILES.llvm+=         bin/llvm-elfabi
 BUILDLINK_FILES.llvm+=         bin/llvm-exegesis
 BUILDLINK_FILES.llvm+=         bin/llvm-extract
+BUILDLINK_FILES.llvm+=         bin/llvm-gsymutil
 BUILDLINK_FILES.llvm+=         bin/llvm-ifs
 BUILDLINK_FILES.llvm+=         bin/llvm-install-name-tool
 BUILDLINK_FILES.llvm+=         bin/llvm-jitlink
+BUILDLINK_FILES.llvm+=         bin/llvm-jitlink-executor
 BUILDLINK_FILES.llvm+=         bin/llvm-lib
+BUILDLINK_FILES.llvm+=         bin/llvm-libtool-darwin
 BUILDLINK_FILES.llvm+=         bin/llvm-link
 BUILDLINK_FILES.llvm+=         bin/llvm-lipo
 BUILDLINK_FILES.llvm+=         bin/llvm-lto
 BUILDLINK_FILES.llvm+=         bin/llvm-lto2
 BUILDLINK_FILES.llvm+=         bin/llvm-mc
 BUILDLINK_FILES.llvm+=         bin/llvm-mca
+BUILDLINK_FILES.llvm+=         bin/llvm-ml
 BUILDLINK_FILES.llvm+=         bin/llvm-modextract
 BUILDLINK_FILES.llvm+=         bin/llvm-mt
 BUILDLINK_FILES.llvm+=         bin/llvm-nm
@@ -57,6 +62,7 @@ BUILDLINK_FILES.llvm+=                bin/llvm-objdump
 BUILDLINK_FILES.llvm+=         bin/llvm-opt-report
 BUILDLINK_FILES.llvm+=         bin/llvm-pdbutil
 BUILDLINK_FILES.llvm+=         bin/llvm-profdata
+BUILDLINK_FILES.llvm+=         bin/llvm-profgen
 BUILDLINK_FILES.llvm+=         bin/llvm-ranlib
 BUILDLINK_FILES.llvm+=         bin/llvm-rc
 BUILDLINK_FILES.llvm+=         bin/llvm-readelf
@@ -77,6 +83,7 @@ BUILDLINK_FILES.llvm+=                bin/obj2yaml
 BUILDLINK_FILES.llvm+=         bin/opt
 BUILDLINK_FILES.llvm+=         bin/sancov
 BUILDLINK_FILES.llvm+=         bin/sanstats
+BUILDLINK_FILES.llvm+=         bin/split-file
 BUILDLINK_FILES.llvm+=         bin/verify-uselistorder
 BUILDLINK_FILES.llvm+=         bin/yaml-bench
 BUILDLINK_FILES.llvm+=         bin/yaml2obj

Index: pkgsrc/lang/llvm/distinfo
diff -u pkgsrc/lang/llvm/distinfo:1.28 pkgsrc/lang/llvm/distinfo:1.29
--- pkgsrc/lang/llvm/distinfo:1.28      Sat Nov  7 21:26:41 2020
+++ pkgsrc/lang/llvm/distinfo   Mon Jul 12 18:41:02 2021
@@ -1,13 +1,12 @@
-$NetBSD: distinfo,v 1.28 2020/11/07 21:26:41 he Exp $
+$NetBSD: distinfo,v 1.29 2021/07/12 18:41:02 adam Exp $
 
-SHA1 (llvm-10.0.1.src.tar.xz) = 25d07260f3b7bf4f647e115c4a663fdeda130fbd
-RMD160 (llvm-10.0.1.src.tar.xz) = 24ace1b46825972c77484a3e31401344c59cff46
-SHA512 (llvm-10.0.1.src.tar.xz) = cf34d037c1684d09e7e38d5fc131714eac93c78353d6186b2f806a8fb22dcae0f4748ce22d6faf178c95cfcf20bdc3fa7c5238518a154b3112781f5ab70edaa4
-Size (llvm-10.0.1.src.tar.xz) = 35270168 bytes
+SHA1 (llvm-12.0.1.src.tar.xz) = 619fe668e0972d11d0fa2db670a57a42d02fb8ca
+RMD160 (llvm-12.0.1.src.tar.xz) = 678910782ceac9bcd7234fca9d6e358ffbe7a660
+SHA512 (llvm-12.0.1.src.tar.xz) = ff674afb4c8eea699a4756f1bb463f15098a7fa354c733de83c024f8f0cf238cd5f19ae3ec446831c7109235e293e2bf31d8562567ede163c8ec53af7306ba0f
+Size (llvm-12.0.1.src.tar.xz) = 42898504 bytes
 SHA1 (patch-CMakeLists.txt) = 78e2dab2bf73f7e466ca2788fe6444e39b4ebd80
-SHA1 (patch-cmake_config-ix.cmake) = 61967c51d724a76867e1c59f721d1ac0e4815023
-SHA1 (patch-cmake_modules_AddLLVM.cmake) = 632861ed71b212568cfb2f05d5a486d052486db4
-SHA1 (patch-include_llvm-c_DataTypes.h) = 025c035e0e10871727391bd58936bd67b3e58244
+SHA1 (patch-cmake_config-ix.cmake) = 0c89e208e9e101a6d80aaa5007126eefb0d3647c
+SHA1 (patch-cmake_modules_AddLLVM.cmake) = fe771db1846dc6abaecf0d4268f2ca567f143cef
+SHA1 (patch-include_llvm-c_DataTypes.h) = 790c9458d6590a0d6985fdcbd8785da340b9779b
 SHA1 (patch-include_llvm_Analysis_ConstantFolding.h) = 56b9374da236c346565897977040255b9766cab8
-SHA1 (patch-lib_Target_PowerPC_PPCInstrInfo.td) = e238c39433ccfdb88e9bac1076d7c26c4d578882
 SHA1 (patch-tools_llvm-shlib_CMakeLists.txt) = 28f417bbfa17f2e644042350da5b98c07b834968

Index: pkgsrc/lang/llvm/options.mk
diff -u pkgsrc/lang/llvm/options.mk:1.8 pkgsrc/lang/llvm/options.mk:1.9
--- pkgsrc/lang/llvm/options.mk:1.8     Sun Jun 13 19:02:30 2021
+++ pkgsrc/lang/llvm/options.mk Mon Jul 12 18:41:02 2021
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.8 2021/06/13 19:02:30 wiz Exp $
+# $NetBSD: options.mk,v 1.9 2021/07/12 18:41:02 adam Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.llvm
 
-LLVM_TARGETS=  AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430 NVPTX PowerPC RISCV Sparc SystemZ WebAssembly 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}

Index: pkgsrc/lang/llvm/version.mk
diff -u pkgsrc/lang/llvm/version.mk:1.4 pkgsrc/lang/llvm/version.mk:1.5
--- pkgsrc/lang/llvm/version.mk:1.4     Mon Jul 27 11:12:48 2020
+++ pkgsrc/lang/llvm/version.mk Mon Jul 12 18:41:02 2021
@@ -1,4 +1,4 @@
-# $NetBSD: version.mk,v 1.4 2020/07/27 11:12:48 adam Exp $
+# $NetBSD: version.mk,v 1.5 2021/07/12 18:41:02 adam Exp $
 # used by devel/lld
 # used by devel/lldb
 # used by devel/polly
@@ -10,7 +10,7 @@
 # used by lang/libunwind
 # used by parallel/openmp
 
-LLVM_VERSION=  10.0.1
+LLVM_VERSION=  12.0.1
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=llvm/}
 GITHUB_PROJECT=        llvm-project
 GITHUB_RELEASE=        llvmorg-${PKGVERSION_NOREV}

Index: pkgsrc/lang/llvm/patches/patch-cmake_config-ix.cmake
diff -u pkgsrc/lang/llvm/patches/patch-cmake_config-ix.cmake:1.4 pkgsrc/lang/llvm/patches/patch-cmake_config-ix.cmake:1.5
--- pkgsrc/lang/llvm/patches/patch-cmake_config-ix.cmake:1.4    Sun Jun  2 08:35:55 2019
+++ pkgsrc/lang/llvm/patches/patch-cmake_config-ix.cmake        Mon Jul 12 18:41:02 2021
@@ -1,15 +1,15 @@
-$NetBSD: patch-cmake_config-ix.cmake,v 1.4 2019/06/02 08:35:55 adam Exp $
+$NetBSD: patch-cmake_config-ix.cmake,v 1.5 2021/07/12 18:41:02 adam Exp $
 
 Do not generate invalid llvm-config in pkgsrc.
 
---- cmake/config-ix.cmake.orig 2018-11-26 00:03:39.000000000 +0000
+--- cmake/config-ix.cmake.orig 2021-04-06 16:38:18.000000000 +0000
 +++ cmake/config-ix.cmake
-@@ -129,7 +129,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/llvm/patches/patch-cmake_modules_AddLLVM.cmake
diff -u pkgsrc/lang/llvm/patches/patch-cmake_modules_AddLLVM.cmake:1.6 pkgsrc/lang/llvm/patches/patch-cmake_modules_AddLLVM.cmake:1.7
--- pkgsrc/lang/llvm/patches/patch-cmake_modules_AddLLVM.cmake:1.6      Sat Apr 18 07:50:18 2020
+++ pkgsrc/lang/llvm/patches/patch-cmake_modules_AddLLVM.cmake  Mon Jul 12 18:41:02 2021
@@ -1,22 +1,11 @@
-$NetBSD: patch-cmake_modules_AddLLVM.cmake,v 1.6 2020/04/18 07:50:18 adam Exp $
+$NetBSD: patch-cmake_modules_AddLLVM.cmake,v 1.7 2021/07/12 18:41:02 adam Exp $
 
-Don't use non-portable -z discard-unused on SunOS.
 On Darwin, create symbolic links to shared libraries.
 On Darwin, use correct install-name for shared libraries.
 
---- cmake/modules/AddLLVM.cmake.orig   2020-03-19 09:19:04.000000000 +0000
+--- cmake/modules/AddLLVM.cmake.orig   2020-10-07 10:10:48.000000000 +0000
 +++ cmake/modules/AddLLVM.cmake
-@@ -233,9 +233,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.
-@@ -562,7 +559,7 @@ function(llvm_add_library name)
+@@ -596,7 +596,7 @@ function(llvm_add_library name)
    endif()
  
    if(ARG_SHARED AND UNIX)
@@ -25,7 +14,7 @@ On Darwin, use correct install-name for 
        get_target_property(output_name ${name} OUTPUT_NAME)
        if(${output_name} STREQUAL "output_name-NOTFOUND")
          set(output_name ${name})
-@@ -1887,7 +1884,7 @@ function(llvm_setup_rpath name)
+@@ -2063,7 +2063,7 @@ function(llvm_setup_rpath name)
    endif()
  
    if (APPLE)

Index: pkgsrc/lang/llvm/patches/patch-include_llvm-c_DataTypes.h
diff -u pkgsrc/lang/llvm/patches/patch-include_llvm-c_DataTypes.h:1.1 pkgsrc/lang/llvm/patches/patch-include_llvm-c_DataTypes.h:1.2
--- pkgsrc/lang/llvm/patches/patch-include_llvm-c_DataTypes.h:1.1       Sat Dec 15 23:41:45 2018
+++ pkgsrc/lang/llvm/patches/patch-include_llvm-c_DataTypes.h   Mon Jul 12 18:41:02 2021
@@ -1,11 +1,11 @@
-$NetBSD: patch-include_llvm-c_DataTypes.h,v 1.1 2018/12/15 23:41:45 jperkin Exp $
+$NetBSD: patch-include_llvm-c_DataTypes.h,v 1.2 2021/07/12 18:41:02 adam 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)



Home | Main Index | Thread Index | Old Index