diff options
author | thegeorg <thegeorg@yandex-team.com> | 2022-12-15 19:25:15 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2022-12-15 19:25:15 +0300 |
commit | 0c31d97afd7858af5f8f858c8addf91655ca9ccc (patch) | |
tree | 4d8a246db168f7beaafcd06d486c034115c2123d /contrib/libs/llvm12/lib/CodeGen | |
parent | d1d5f5e00df0dd6efc00880dd8283477fc643aaf (diff) | |
download | ydb-0c31d97afd7858af5f8f858c8addf91655ca9ccc.tar.gz |
Sync linux-headers instead of using system ones
Diffstat (limited to 'contrib/libs/llvm12/lib/CodeGen')
16 files changed, 1230 insertions, 366 deletions
diff --git a/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.darwin.txt new file mode 100644 index 0000000000..1792565eba --- /dev/null +++ b/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.darwin.txt @@ -0,0 +1,62 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(lib-CodeGen-AsmPrinter) +target_compile_options(lib-CodeGen-AsmPrinter PRIVATE + -Wno-everything +) +target_include_directories(lib-CodeGen-AsmPrinter PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter +) +target_link_libraries(lib-CodeGen-AsmPrinter PUBLIC + contrib-libs-cxxsupp + contrib-libs-llvm12 + libs-llvm12-include + llvm12-lib-Analysis + llvm12-lib-BinaryFormat + llvm12-lib-CodeGen + lib-DebugInfo-CodeView + lib-DebugInfo-DWARF + lib-DebugInfo-MSF + llvm12-lib-IR + llvm12-lib-MC + lib-MC-MCParser + llvm12-lib-Remarks + llvm12-lib-Support + llvm12-lib-Target +) +target_sources(lib-CodeGen-AsmPrinter PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/AIXException.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/ARMException.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/AccelTable.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/AddressPool.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/AsmPrinter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DIE.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DIEHash.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DebugLocStream.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfDebug.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfExpression.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfFile.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfStringPool.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfUnit.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/EHStreamer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/PseudoProbePrinter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/WasmException.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/WinCFGuard.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/WinException.cpp +) diff --git a/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..d8afa9fef4 --- /dev/null +++ b/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.linux-aarch64.txt @@ -0,0 +1,63 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(lib-CodeGen-AsmPrinter) +target_compile_options(lib-CodeGen-AsmPrinter PRIVATE + -Wno-everything +) +target_include_directories(lib-CodeGen-AsmPrinter PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter +) +target_link_libraries(lib-CodeGen-AsmPrinter PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + contrib-libs-llvm12 + libs-llvm12-include + llvm12-lib-Analysis + llvm12-lib-BinaryFormat + llvm12-lib-CodeGen + lib-DebugInfo-CodeView + lib-DebugInfo-DWARF + lib-DebugInfo-MSF + llvm12-lib-IR + llvm12-lib-MC + lib-MC-MCParser + llvm12-lib-Remarks + llvm12-lib-Support + llvm12-lib-Target +) +target_sources(lib-CodeGen-AsmPrinter PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/AIXException.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/ARMException.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/AccelTable.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/AddressPool.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/AsmPrinter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DIE.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DIEHash.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DebugLocStream.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfDebug.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfExpression.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfFile.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfStringPool.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfUnit.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/EHStreamer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/PseudoProbePrinter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/WasmException.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/WinCFGuard.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/WinException.cpp +) diff --git a/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.linux.txt new file mode 100644 index 0000000000..d8afa9fef4 --- /dev/null +++ b/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.linux.txt @@ -0,0 +1,63 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(lib-CodeGen-AsmPrinter) +target_compile_options(lib-CodeGen-AsmPrinter PRIVATE + -Wno-everything +) +target_include_directories(lib-CodeGen-AsmPrinter PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter +) +target_link_libraries(lib-CodeGen-AsmPrinter PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + contrib-libs-llvm12 + libs-llvm12-include + llvm12-lib-Analysis + llvm12-lib-BinaryFormat + llvm12-lib-CodeGen + lib-DebugInfo-CodeView + lib-DebugInfo-DWARF + lib-DebugInfo-MSF + llvm12-lib-IR + llvm12-lib-MC + lib-MC-MCParser + llvm12-lib-Remarks + llvm12-lib-Support + llvm12-lib-Target +) +target_sources(lib-CodeGen-AsmPrinter PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/AIXException.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/ARMException.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/AccelTable.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/AddressPool.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/AsmPrinter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DIE.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DIEHash.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DebugLocStream.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfDebug.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfExpression.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfFile.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfStringPool.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfUnit.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/EHStreamer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/PseudoProbePrinter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/WasmException.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/WinCFGuard.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/WinException.cpp +) diff --git a/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.txt b/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.txt index 1792565eba..3e0811fb22 100644 --- a/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.txt +++ b/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CMakeLists.txt @@ -6,57 +6,10 @@ # original buildsystem will not be accepted. - -add_library(lib-CodeGen-AsmPrinter) -target_compile_options(lib-CodeGen-AsmPrinter PRIVATE - -Wno-everything -) -target_include_directories(lib-CodeGen-AsmPrinter PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter -) -target_link_libraries(lib-CodeGen-AsmPrinter PUBLIC - contrib-libs-cxxsupp - contrib-libs-llvm12 - libs-llvm12-include - llvm12-lib-Analysis - llvm12-lib-BinaryFormat - llvm12-lib-CodeGen - lib-DebugInfo-CodeView - lib-DebugInfo-DWARF - lib-DebugInfo-MSF - llvm12-lib-IR - llvm12-lib-MC - lib-MC-MCParser - llvm12-lib-Remarks - llvm12-lib-Support - llvm12-lib-Target -) -target_sources(lib-CodeGen-AsmPrinter PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/AIXException.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/ARMException.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/AccelTable.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/AddressPool.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/AsmPrinter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DIE.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DIEHash.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DebugLocStream.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfDebug.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfExpression.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfFile.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfStringPool.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/DwarfUnit.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/EHStreamer.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/PseudoProbePrinter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/WasmException.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/WinCFGuard.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AsmPrinter/WinException.cpp -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/libs/llvm12/lib/CodeGen/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/CodeGen/CMakeLists.darwin.txt new file mode 100644 index 0000000000..1fa45f425d --- /dev/null +++ b/contrib/libs/llvm12/lib/CodeGen/CMakeLists.darwin.txt @@ -0,0 +1,226 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(AsmPrinter) +add_subdirectory(GlobalISel) +add_subdirectory(SelectionDAG) + +add_library(llvm12-lib-CodeGen) +target_compile_options(llvm12-lib-CodeGen PRIVATE + -Wno-everything +) +target_include_directories(llvm12-lib-CodeGen PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen +) +target_link_libraries(llvm12-lib-CodeGen PUBLIC + contrib-libs-cxxsupp + contrib-libs-llvm12 + libs-llvm12-include + llvm12-lib-Analysis + lib-Bitcode-Reader + lib-Bitcode-Writer + llvm12-lib-IR + llvm12-lib-MC + llvm12-lib-ProfileData + llvm12-lib-Support + llvm12-lib-Target + lib-Transforms-Scalar + lib-Transforms-Utils +) +target_sources(llvm12-lib-CodeGen PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AggressiveAntiDepBreaker.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AllocationOrder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/Analysis.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AtomicExpandPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/BasicBlockSections.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/BasicTargetTransformInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/BranchFolding.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/BranchRelaxation.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/BreakFalseDeps.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/BuiltinGCs.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CFGuardLongjmp.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CFIInstrInserter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CalcSpillWeights.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CallingConvLower.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CodeGen.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CodeGenPassBuilder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CodeGenPrepare.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CommandFlags.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CriticalAntiDepBreaker.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/DFAPacketizer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/DeadMachineInstructionElim.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/DetectDeadLanes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/DwarfEHPrepare.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/EarlyIfConversion.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/EdgeBundles.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ExecutionDomainFix.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ExpandMemCmp.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ExpandPostRAPseudos.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ExpandReductions.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/FEntryInserter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/FaultMaps.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/FinalizeISel.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/FixupStatepointCallerSaved.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/FuncletLayout.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GCMetadata.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GCMetadataPrinter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GCRootLowering.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GCStrategy.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalMerge.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/HardwareLoops.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/IfConversion.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ImplicitNullChecks.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/IndirectBrExpandPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/InlineSpiller.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/InterferenceCache.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/InterleavedAccessPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/InterleavedLoadCombinePass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/IntrinsicLowering.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LLVMTargetMachine.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LatencyPriorityQueue.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LazyMachineBlockFrequencyInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LexicalScopes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveDebugValues/LiveDebugValues.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveDebugVariables.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveInterval.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveIntervalCalc.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveIntervalUnion.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveIntervals.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LivePhysRegs.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveRangeCalc.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveRangeEdit.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveRangeShrink.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveRegMatrix.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveRegUnits.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveStacks.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveVariables.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LocalStackSlotAllocation.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LoopTraversal.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LowLevelType.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LowerEmuTLS.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MBFIWrapper.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MIRCanonicalizerPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MIRNamerPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MIRPrinter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MIRPrintingPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MIRVRegNamerUtils.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineBasicBlock.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineBlockFrequencyInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineBlockPlacement.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineBranchProbabilityInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineCSE.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineCheckDebugify.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineCombiner.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineCopyPropagation.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineDebugify.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineDominanceFrontier.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineDominators.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineFrameInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineFunction.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineFunctionPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineFunctionPrinterPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineFunctionSplitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineInstr.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineInstrBundle.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineLICM.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineLoopInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineLoopUtils.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineModuleInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineModuleInfoImpls.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineOperand.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineOptimizationRemarkEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineOutliner.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachinePassManager.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachinePipeliner.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachinePostDominators.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineRegionInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineRegisterInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineSSAUpdater.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineScheduler.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineSink.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineSizeOpts.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineStableHash.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineStripDebug.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineTraceMetrics.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineVerifier.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MacroFusion.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ModuloSchedule.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MultiHazardRecognizer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/NonRelocatableStringpool.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/OptimizePHIs.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PHIElimination.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PHIEliminationUtils.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ParallelCG.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PatchableFunction.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PeepholeOptimizer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PostRAHazardRecognizer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PostRASchedulerList.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PreISelIntrinsicLowering.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ProcessImplicitDefs.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PrologEpilogInserter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PseudoProbeInserter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PseudoSourceValue.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RDFGraph.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RDFLiveness.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RDFRegisters.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ReachingDefAnalysis.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegAllocBase.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegAllocBasic.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegAllocFast.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegAllocGreedy.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegAllocPBQP.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegUsageInfoCollector.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegUsageInfoPropagate.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegisterClassInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegisterCoalescer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegisterPressure.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegisterScavenging.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegisterUsageInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RenameIndependentSubregs.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ResetMachineFunctionPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SafeStack.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SafeStackLayout.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ScheduleDAG.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ScheduleDAGInstrs.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ScheduleDAGPrinter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ScoreboardHazardRecognizer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ShadowStackGCLowering.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ShrinkWrap.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SjLjEHPrepare.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SlotIndexes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SpillPlacement.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SplitKit.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/StackColoring.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/StackMapLivenessAnalysis.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/StackMaps.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/StackProtector.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/StackSlotColoring.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SwiftErrorValueTracking.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SwitchLoweringUtils.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TailDuplication.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TailDuplicator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetFrameLoweringImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetInstrInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetLoweringBase.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetLoweringObjectFileImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetOptionsImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetPassConfig.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetRegisterInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetSchedule.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetSubtargetInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TwoAddressInstructionPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TypePromotion.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/UnreachableBlockElim.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ValueTypes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/VirtRegMap.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/WasmEHPrepare.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/WinEHPrepare.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/XRayInstrumentation.cpp +) diff --git a/contrib/libs/llvm12/lib/CodeGen/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/CodeGen/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..ca685a93c9 --- /dev/null +++ b/contrib/libs/llvm12/lib/CodeGen/CMakeLists.linux-aarch64.txt @@ -0,0 +1,227 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(AsmPrinter) +add_subdirectory(GlobalISel) +add_subdirectory(SelectionDAG) + +add_library(llvm12-lib-CodeGen) +target_compile_options(llvm12-lib-CodeGen PRIVATE + -Wno-everything +) +target_include_directories(llvm12-lib-CodeGen PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen +) +target_link_libraries(llvm12-lib-CodeGen PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + contrib-libs-llvm12 + libs-llvm12-include + llvm12-lib-Analysis + lib-Bitcode-Reader + lib-Bitcode-Writer + llvm12-lib-IR + llvm12-lib-MC + llvm12-lib-ProfileData + llvm12-lib-Support + llvm12-lib-Target + lib-Transforms-Scalar + lib-Transforms-Utils +) +target_sources(llvm12-lib-CodeGen PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AggressiveAntiDepBreaker.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AllocationOrder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/Analysis.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AtomicExpandPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/BasicBlockSections.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/BasicTargetTransformInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/BranchFolding.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/BranchRelaxation.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/BreakFalseDeps.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/BuiltinGCs.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CFGuardLongjmp.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CFIInstrInserter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CalcSpillWeights.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CallingConvLower.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CodeGen.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CodeGenPassBuilder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CodeGenPrepare.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CommandFlags.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CriticalAntiDepBreaker.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/DFAPacketizer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/DeadMachineInstructionElim.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/DetectDeadLanes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/DwarfEHPrepare.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/EarlyIfConversion.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/EdgeBundles.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ExecutionDomainFix.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ExpandMemCmp.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ExpandPostRAPseudos.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ExpandReductions.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/FEntryInserter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/FaultMaps.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/FinalizeISel.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/FixupStatepointCallerSaved.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/FuncletLayout.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GCMetadata.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GCMetadataPrinter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GCRootLowering.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GCStrategy.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalMerge.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/HardwareLoops.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/IfConversion.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ImplicitNullChecks.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/IndirectBrExpandPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/InlineSpiller.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/InterferenceCache.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/InterleavedAccessPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/InterleavedLoadCombinePass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/IntrinsicLowering.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LLVMTargetMachine.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LatencyPriorityQueue.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LazyMachineBlockFrequencyInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LexicalScopes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveDebugValues/LiveDebugValues.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveDebugVariables.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveInterval.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveIntervalCalc.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveIntervalUnion.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveIntervals.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LivePhysRegs.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveRangeCalc.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveRangeEdit.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveRangeShrink.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveRegMatrix.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveRegUnits.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveStacks.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveVariables.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LocalStackSlotAllocation.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LoopTraversal.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LowLevelType.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LowerEmuTLS.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MBFIWrapper.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MIRCanonicalizerPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MIRNamerPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MIRPrinter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MIRPrintingPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MIRVRegNamerUtils.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineBasicBlock.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineBlockFrequencyInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineBlockPlacement.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineBranchProbabilityInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineCSE.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineCheckDebugify.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineCombiner.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineCopyPropagation.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineDebugify.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineDominanceFrontier.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineDominators.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineFrameInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineFunction.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineFunctionPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineFunctionPrinterPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineFunctionSplitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineInstr.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineInstrBundle.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineLICM.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineLoopInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineLoopUtils.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineModuleInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineModuleInfoImpls.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineOperand.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineOptimizationRemarkEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineOutliner.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachinePassManager.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachinePipeliner.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachinePostDominators.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineRegionInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineRegisterInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineSSAUpdater.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineScheduler.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineSink.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineSizeOpts.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineStableHash.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineStripDebug.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineTraceMetrics.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineVerifier.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MacroFusion.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ModuloSchedule.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MultiHazardRecognizer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/NonRelocatableStringpool.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/OptimizePHIs.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PHIElimination.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PHIEliminationUtils.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ParallelCG.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PatchableFunction.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PeepholeOptimizer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PostRAHazardRecognizer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PostRASchedulerList.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PreISelIntrinsicLowering.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ProcessImplicitDefs.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PrologEpilogInserter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PseudoProbeInserter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PseudoSourceValue.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RDFGraph.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RDFLiveness.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RDFRegisters.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ReachingDefAnalysis.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegAllocBase.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegAllocBasic.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegAllocFast.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegAllocGreedy.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegAllocPBQP.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegUsageInfoCollector.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegUsageInfoPropagate.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegisterClassInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegisterCoalescer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegisterPressure.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegisterScavenging.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegisterUsageInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RenameIndependentSubregs.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ResetMachineFunctionPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SafeStack.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SafeStackLayout.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ScheduleDAG.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ScheduleDAGInstrs.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ScheduleDAGPrinter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ScoreboardHazardRecognizer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ShadowStackGCLowering.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ShrinkWrap.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SjLjEHPrepare.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SlotIndexes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SpillPlacement.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SplitKit.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/StackColoring.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/StackMapLivenessAnalysis.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/StackMaps.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/StackProtector.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/StackSlotColoring.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SwiftErrorValueTracking.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SwitchLoweringUtils.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TailDuplication.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TailDuplicator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetFrameLoweringImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetInstrInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetLoweringBase.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetLoweringObjectFileImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetOptionsImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetPassConfig.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetRegisterInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetSchedule.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetSubtargetInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TwoAddressInstructionPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TypePromotion.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/UnreachableBlockElim.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ValueTypes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/VirtRegMap.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/WasmEHPrepare.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/WinEHPrepare.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/XRayInstrumentation.cpp +) diff --git a/contrib/libs/llvm12/lib/CodeGen/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/CodeGen/CMakeLists.linux.txt new file mode 100644 index 0000000000..ca685a93c9 --- /dev/null +++ b/contrib/libs/llvm12/lib/CodeGen/CMakeLists.linux.txt @@ -0,0 +1,227 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(AsmPrinter) +add_subdirectory(GlobalISel) +add_subdirectory(SelectionDAG) + +add_library(llvm12-lib-CodeGen) +target_compile_options(llvm12-lib-CodeGen PRIVATE + -Wno-everything +) +target_include_directories(llvm12-lib-CodeGen PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen +) +target_link_libraries(llvm12-lib-CodeGen PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + contrib-libs-llvm12 + libs-llvm12-include + llvm12-lib-Analysis + lib-Bitcode-Reader + lib-Bitcode-Writer + llvm12-lib-IR + llvm12-lib-MC + llvm12-lib-ProfileData + llvm12-lib-Support + llvm12-lib-Target + lib-Transforms-Scalar + lib-Transforms-Utils +) +target_sources(llvm12-lib-CodeGen PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AggressiveAntiDepBreaker.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AllocationOrder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/Analysis.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AtomicExpandPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/BasicBlockSections.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/BasicTargetTransformInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/BranchFolding.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/BranchRelaxation.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/BreakFalseDeps.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/BuiltinGCs.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CFGuardLongjmp.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CFIInstrInserter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CalcSpillWeights.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CallingConvLower.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CodeGen.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CodeGenPassBuilder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CodeGenPrepare.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CommandFlags.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CriticalAntiDepBreaker.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/DFAPacketizer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/DeadMachineInstructionElim.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/DetectDeadLanes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/DwarfEHPrepare.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/EarlyIfConversion.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/EdgeBundles.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ExecutionDomainFix.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ExpandMemCmp.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ExpandPostRAPseudos.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ExpandReductions.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/FEntryInserter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/FaultMaps.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/FinalizeISel.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/FixupStatepointCallerSaved.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/FuncletLayout.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GCMetadata.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GCMetadataPrinter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GCRootLowering.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GCStrategy.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalMerge.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/HardwareLoops.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/IfConversion.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ImplicitNullChecks.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/IndirectBrExpandPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/InlineSpiller.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/InterferenceCache.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/InterleavedAccessPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/InterleavedLoadCombinePass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/IntrinsicLowering.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LLVMTargetMachine.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LatencyPriorityQueue.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LazyMachineBlockFrequencyInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LexicalScopes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveDebugValues/LiveDebugValues.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveDebugVariables.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveInterval.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveIntervalCalc.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveIntervalUnion.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveIntervals.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LivePhysRegs.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveRangeCalc.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveRangeEdit.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveRangeShrink.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveRegMatrix.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveRegUnits.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveStacks.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveVariables.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LocalStackSlotAllocation.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LoopTraversal.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LowLevelType.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LowerEmuTLS.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MBFIWrapper.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MIRCanonicalizerPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MIRNamerPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MIRPrinter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MIRPrintingPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MIRVRegNamerUtils.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineBasicBlock.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineBlockFrequencyInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineBlockPlacement.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineBranchProbabilityInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineCSE.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineCheckDebugify.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineCombiner.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineCopyPropagation.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineDebugify.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineDominanceFrontier.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineDominators.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineFrameInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineFunction.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineFunctionPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineFunctionPrinterPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineFunctionSplitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineInstr.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineInstrBundle.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineLICM.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineLoopInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineLoopUtils.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineModuleInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineModuleInfoImpls.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineOperand.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineOptimizationRemarkEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineOutliner.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachinePassManager.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachinePipeliner.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachinePostDominators.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineRegionInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineRegisterInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineSSAUpdater.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineScheduler.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineSink.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineSizeOpts.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineStableHash.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineStripDebug.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineTraceMetrics.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineVerifier.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MacroFusion.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ModuloSchedule.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MultiHazardRecognizer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/NonRelocatableStringpool.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/OptimizePHIs.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PHIElimination.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PHIEliminationUtils.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ParallelCG.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PatchableFunction.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PeepholeOptimizer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PostRAHazardRecognizer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PostRASchedulerList.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PreISelIntrinsicLowering.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ProcessImplicitDefs.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PrologEpilogInserter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PseudoProbeInserter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PseudoSourceValue.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RDFGraph.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RDFLiveness.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RDFRegisters.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ReachingDefAnalysis.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegAllocBase.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegAllocBasic.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegAllocFast.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegAllocGreedy.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegAllocPBQP.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegUsageInfoCollector.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegUsageInfoPropagate.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegisterClassInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegisterCoalescer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegisterPressure.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegisterScavenging.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegisterUsageInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RenameIndependentSubregs.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ResetMachineFunctionPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SafeStack.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SafeStackLayout.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ScheduleDAG.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ScheduleDAGInstrs.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ScheduleDAGPrinter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ScoreboardHazardRecognizer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ShadowStackGCLowering.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ShrinkWrap.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SjLjEHPrepare.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SlotIndexes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SpillPlacement.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SplitKit.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/StackColoring.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/StackMapLivenessAnalysis.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/StackMaps.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/StackProtector.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/StackSlotColoring.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SwiftErrorValueTracking.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SwitchLoweringUtils.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TailDuplication.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TailDuplicator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetFrameLoweringImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetInstrInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetLoweringBase.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetLoweringObjectFileImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetOptionsImpl.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetPassConfig.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetRegisterInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetSchedule.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetSubtargetInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TwoAddressInstructionPass.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TypePromotion.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/UnreachableBlockElim.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ValueTypes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/VirtRegMap.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/WasmEHPrepare.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/WinEHPrepare.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/XRayInstrumentation.cpp +) diff --git a/contrib/libs/llvm12/lib/CodeGen/CMakeLists.txt b/contrib/libs/llvm12/lib/CodeGen/CMakeLists.txt index 1fa45f425d..3e0811fb22 100644 --- a/contrib/libs/llvm12/lib/CodeGen/CMakeLists.txt +++ b/contrib/libs/llvm12/lib/CodeGen/CMakeLists.txt @@ -6,221 +6,10 @@ # original buildsystem will not be accepted. -add_subdirectory(AsmPrinter) -add_subdirectory(GlobalISel) -add_subdirectory(SelectionDAG) - -add_library(llvm12-lib-CodeGen) -target_compile_options(llvm12-lib-CodeGen PRIVATE - -Wno-everything -) -target_include_directories(llvm12-lib-CodeGen PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen -) -target_link_libraries(llvm12-lib-CodeGen PUBLIC - contrib-libs-cxxsupp - contrib-libs-llvm12 - libs-llvm12-include - llvm12-lib-Analysis - lib-Bitcode-Reader - lib-Bitcode-Writer - llvm12-lib-IR - llvm12-lib-MC - llvm12-lib-ProfileData - llvm12-lib-Support - llvm12-lib-Target - lib-Transforms-Scalar - lib-Transforms-Utils -) -target_sources(llvm12-lib-CodeGen PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AggressiveAntiDepBreaker.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AllocationOrder.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/Analysis.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/AtomicExpandPass.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/BasicBlockSections.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/BasicTargetTransformInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/BranchFolding.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/BranchRelaxation.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/BreakFalseDeps.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/BuiltinGCs.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CFGuardLongjmp.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CFIInstrInserter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CalcSpillWeights.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CallingConvLower.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CodeGen.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CodeGenPassBuilder.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CodeGenPrepare.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CommandFlags.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/CriticalAntiDepBreaker.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/DFAPacketizer.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/DeadMachineInstructionElim.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/DetectDeadLanes.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/DwarfEHPrepare.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/EarlyIfConversion.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/EdgeBundles.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ExecutionDomainFix.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ExpandMemCmp.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ExpandPostRAPseudos.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ExpandReductions.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/FEntryInserter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/FaultMaps.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/FinalizeISel.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/FixupStatepointCallerSaved.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/FuncletLayout.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GCMetadata.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GCMetadataPrinter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GCRootLowering.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GCStrategy.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalMerge.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/HardwareLoops.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/IfConversion.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ImplicitNullChecks.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/IndirectBrExpandPass.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/InlineSpiller.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/InterferenceCache.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/InterleavedAccessPass.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/InterleavedLoadCombinePass.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/IntrinsicLowering.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LLVMTargetMachine.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LatencyPriorityQueue.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LazyMachineBlockFrequencyInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LexicalScopes.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveDebugValues/LiveDebugValues.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveDebugVariables.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveInterval.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveIntervalCalc.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveIntervalUnion.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveIntervals.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LivePhysRegs.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveRangeCalc.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveRangeEdit.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveRangeShrink.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveRegMatrix.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveRegUnits.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveStacks.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LiveVariables.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LocalStackSlotAllocation.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LoopTraversal.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LowLevelType.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/LowerEmuTLS.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MBFIWrapper.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MIRCanonicalizerPass.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MIRNamerPass.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MIRPrinter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MIRPrintingPass.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MIRVRegNamerUtils.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineBasicBlock.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineBlockFrequencyInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineBlockPlacement.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineBranchProbabilityInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineCSE.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineCheckDebugify.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineCombiner.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineCopyPropagation.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineDebugify.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineDominanceFrontier.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineDominators.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineFrameInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineFunction.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineFunctionPass.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineFunctionPrinterPass.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineFunctionSplitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineInstr.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineInstrBundle.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineLICM.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineLoopInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineLoopUtils.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineModuleInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineModuleInfoImpls.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineOperand.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineOptimizationRemarkEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineOutliner.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachinePassManager.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachinePipeliner.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachinePostDominators.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineRegionInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineRegisterInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineSSAUpdater.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineScheduler.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineSink.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineSizeOpts.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineStableHash.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineStripDebug.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineTraceMetrics.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MachineVerifier.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MacroFusion.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ModuloSchedule.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/MultiHazardRecognizer.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/NonRelocatableStringpool.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/OptimizePHIs.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PHIElimination.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PHIEliminationUtils.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ParallelCG.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PatchableFunction.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PeepholeOptimizer.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PostRAHazardRecognizer.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PostRASchedulerList.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PreISelIntrinsicLowering.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ProcessImplicitDefs.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PrologEpilogInserter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PseudoProbeInserter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/PseudoSourceValue.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RDFGraph.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RDFLiveness.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RDFRegisters.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ReachingDefAnalysis.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegAllocBase.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegAllocBasic.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegAllocFast.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegAllocGreedy.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegAllocPBQP.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegUsageInfoCollector.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegUsageInfoPropagate.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegisterClassInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegisterCoalescer.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegisterPressure.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegisterScavenging.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RegisterUsageInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/RenameIndependentSubregs.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ResetMachineFunctionPass.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SafeStack.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SafeStackLayout.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ScheduleDAG.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ScheduleDAGInstrs.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ScheduleDAGPrinter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ScoreboardHazardRecognizer.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ShadowStackGCLowering.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ShrinkWrap.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SjLjEHPrepare.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SlotIndexes.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SpillPlacement.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SplitKit.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/StackColoring.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/StackMapLivenessAnalysis.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/StackMaps.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/StackProtector.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/StackSlotColoring.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SwiftErrorValueTracking.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SwitchLoweringUtils.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TailDuplication.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TailDuplicator.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetFrameLoweringImpl.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetInstrInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetLoweringBase.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetLoweringObjectFileImpl.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetOptionsImpl.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetPassConfig.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetRegisterInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetSchedule.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TargetSubtargetInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TwoAddressInstructionPass.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/TypePromotion.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/UnreachableBlockElim.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/ValueTypes.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/VirtRegMap.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/WasmEHPrepare.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/WinEHPrepare.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/XRayInstrumentation.cpp -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.darwin.txt new file mode 100644 index 0000000000..31a83cc5fd --- /dev/null +++ b/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.darwin.txt @@ -0,0 +1,55 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(lib-CodeGen-GlobalISel) +target_compile_options(lib-CodeGen-GlobalISel PRIVATE + -Wno-everything +) +target_include_directories(lib-CodeGen-GlobalISel PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel +) +target_link_libraries(lib-CodeGen-GlobalISel PUBLIC + contrib-libs-cxxsupp + contrib-libs-llvm12 + libs-llvm12-include + llvm12-lib-Analysis + llvm12-lib-CodeGen + lib-CodeGen-SelectionDAG + llvm12-lib-IR + llvm12-lib-MC + llvm12-lib-Support + llvm12-lib-Target + lib-Transforms-Utils +) +target_sources(lib-CodeGen-GlobalISel PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CSEInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CSEMIRBuilder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CallLowering.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/Combiner.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CombinerHelper.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/GISelChangeObserver.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/GISelKnownBits.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/GlobalISel.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/IRTranslator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/InstructionSelect.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/InstructionSelector.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/LegalityPredicates.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/LegalizeMutations.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/Legalizer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/LegalizerHelper.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/LegalizerInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/Localizer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/LostDebugLocObserver.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/RegBankSelect.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/RegisterBank.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/Utils.cpp +) diff --git a/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..0f0591525d --- /dev/null +++ b/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.linux-aarch64.txt @@ -0,0 +1,56 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(lib-CodeGen-GlobalISel) +target_compile_options(lib-CodeGen-GlobalISel PRIVATE + -Wno-everything +) +target_include_directories(lib-CodeGen-GlobalISel PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel +) +target_link_libraries(lib-CodeGen-GlobalISel PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + contrib-libs-llvm12 + libs-llvm12-include + llvm12-lib-Analysis + llvm12-lib-CodeGen + lib-CodeGen-SelectionDAG + llvm12-lib-IR + llvm12-lib-MC + llvm12-lib-Support + llvm12-lib-Target + lib-Transforms-Utils +) +target_sources(lib-CodeGen-GlobalISel PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CSEInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CSEMIRBuilder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CallLowering.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/Combiner.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CombinerHelper.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/GISelChangeObserver.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/GISelKnownBits.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/GlobalISel.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/IRTranslator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/InstructionSelect.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/InstructionSelector.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/LegalityPredicates.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/LegalizeMutations.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/Legalizer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/LegalizerHelper.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/LegalizerInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/Localizer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/LostDebugLocObserver.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/RegBankSelect.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/RegisterBank.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/Utils.cpp +) diff --git a/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.linux.txt new file mode 100644 index 0000000000..0f0591525d --- /dev/null +++ b/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.linux.txt @@ -0,0 +1,56 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(lib-CodeGen-GlobalISel) +target_compile_options(lib-CodeGen-GlobalISel PRIVATE + -Wno-everything +) +target_include_directories(lib-CodeGen-GlobalISel PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel +) +target_link_libraries(lib-CodeGen-GlobalISel PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + contrib-libs-llvm12 + libs-llvm12-include + llvm12-lib-Analysis + llvm12-lib-CodeGen + lib-CodeGen-SelectionDAG + llvm12-lib-IR + llvm12-lib-MC + llvm12-lib-Support + llvm12-lib-Target + lib-Transforms-Utils +) +target_sources(lib-CodeGen-GlobalISel PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CSEInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CSEMIRBuilder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CallLowering.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/Combiner.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CombinerHelper.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/GISelChangeObserver.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/GISelKnownBits.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/GlobalISel.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/IRTranslator.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/InstructionSelect.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/InstructionSelector.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/LegalityPredicates.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/LegalizeMutations.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/Legalizer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/LegalizerHelper.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/LegalizerInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/Localizer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/LostDebugLocObserver.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/RegBankSelect.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/RegisterBank.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/Utils.cpp +) diff --git a/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.txt b/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.txt index 31a83cc5fd..3e0811fb22 100644 --- a/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.txt +++ b/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CMakeLists.txt @@ -6,50 +6,10 @@ # original buildsystem will not be accepted. - -add_library(lib-CodeGen-GlobalISel) -target_compile_options(lib-CodeGen-GlobalISel PRIVATE - -Wno-everything -) -target_include_directories(lib-CodeGen-GlobalISel PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel -) -target_link_libraries(lib-CodeGen-GlobalISel PUBLIC - contrib-libs-cxxsupp - contrib-libs-llvm12 - libs-llvm12-include - llvm12-lib-Analysis - llvm12-lib-CodeGen - lib-CodeGen-SelectionDAG - llvm12-lib-IR - llvm12-lib-MC - llvm12-lib-Support - llvm12-lib-Target - lib-Transforms-Utils -) -target_sources(lib-CodeGen-GlobalISel PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CSEInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CSEMIRBuilder.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CallLowering.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/Combiner.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/CombinerHelper.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/GISelChangeObserver.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/GISelKnownBits.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/GlobalISel.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/IRTranslator.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/InstructionSelect.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/InstructionSelector.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/LegalityPredicates.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/LegalizeMutations.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/Legalizer.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/LegalizerHelper.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/LegalizerInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/Localizer.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/LostDebugLocObserver.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/RegBankSelect.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/RegisterBank.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/GlobalISel/Utils.cpp -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.darwin.txt new file mode 100644 index 0000000000..83a090d207 --- /dev/null +++ b/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.darwin.txt @@ -0,0 +1,55 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(lib-CodeGen-SelectionDAG) +target_compile_options(lib-CodeGen-SelectionDAG PRIVATE + -Wno-everything +) +target_include_directories(lib-CodeGen-SelectionDAG PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG +) +target_link_libraries(lib-CodeGen-SelectionDAG PUBLIC + contrib-libs-cxxsupp + contrib-libs-llvm12 + libs-llvm12-include + llvm12-lib-Analysis + llvm12-lib-CodeGen + llvm12-lib-IR + llvm12-lib-MC + llvm12-lib-Support + llvm12-lib-Target + lib-Transforms-Utils +) +target_sources(lib-CodeGen-SelectionDAG PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/DAGCombiner.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/FastISel.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/InstrEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAG.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAGTargetInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/StatepointLowering.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/TargetLowering.cpp +) diff --git a/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.linux-aarch64.txt b/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..1bd6da6e0c --- /dev/null +++ b/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.linux-aarch64.txt @@ -0,0 +1,56 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(lib-CodeGen-SelectionDAG) +target_compile_options(lib-CodeGen-SelectionDAG PRIVATE + -Wno-everything +) +target_include_directories(lib-CodeGen-SelectionDAG PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG +) +target_link_libraries(lib-CodeGen-SelectionDAG PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + contrib-libs-llvm12 + libs-llvm12-include + llvm12-lib-Analysis + llvm12-lib-CodeGen + llvm12-lib-IR + llvm12-lib-MC + llvm12-lib-Support + llvm12-lib-Target + lib-Transforms-Utils +) +target_sources(lib-CodeGen-SelectionDAG PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/DAGCombiner.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/FastISel.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/InstrEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAG.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAGTargetInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/StatepointLowering.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/TargetLowering.cpp +) diff --git a/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.linux.txt new file mode 100644 index 0000000000..1bd6da6e0c --- /dev/null +++ b/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.linux.txt @@ -0,0 +1,56 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(lib-CodeGen-SelectionDAG) +target_compile_options(lib-CodeGen-SelectionDAG PRIVATE + -Wno-everything +) +target_include_directories(lib-CodeGen-SelectionDAG PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG +) +target_link_libraries(lib-CodeGen-SelectionDAG PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + contrib-libs-llvm12 + libs-llvm12-include + llvm12-lib-Analysis + llvm12-lib-CodeGen + llvm12-lib-IR + llvm12-lib-MC + llvm12-lib-Support + llvm12-lib-Target + lib-Transforms-Utils +) +target_sources(lib-CodeGen-SelectionDAG PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/DAGCombiner.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/FastISel.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/InstrEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAG.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAGTargetInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/StatepointLowering.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/TargetLowering.cpp +) diff --git a/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.txt b/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.txt index 83a090d207..3e0811fb22 100644 --- a/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.txt +++ b/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/CMakeLists.txt @@ -6,50 +6,10 @@ # original buildsystem will not be accepted. - -add_library(lib-CodeGen-SelectionDAG) -target_compile_options(lib-CodeGen-SelectionDAG PRIVATE - -Wno-everything -) -target_include_directories(lib-CodeGen-SelectionDAG PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG -) -target_link_libraries(lib-CodeGen-SelectionDAG PUBLIC - contrib-libs-cxxsupp - contrib-libs-llvm12 - libs-llvm12-include - llvm12-lib-Analysis - llvm12-lib-CodeGen - llvm12-lib-IR - llvm12-lib-MC - llvm12-lib-Support - llvm12-lib-Target - lib-Transforms-Utils -) -target_sources(lib-CodeGen-SelectionDAG PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/DAGCombiner.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/FastISel.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/InstrEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAG.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/SelectionDAGTargetInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/StatepointLowering.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/TargetLowering.cpp -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() |