diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-10 11:08:43 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-10 11:08:43 +0300 |
commit | d32759b7eb812b4a4033cc61e1e98245544b4992 (patch) | |
tree | 22bbb3e9b46c1b55818aaf475f699ae187ce328b /contrib/libs/llvm12 | |
parent | 471e9b902d01b70b2d12146772e30528a216ee82 (diff) | |
download | ydb-d32759b7eb812b4a4033cc61e1e98245544b4992.tar.gz |
intermediate changes
ref:7e819949a28b77d60c98019ed1950733e734a77e
Diffstat (limited to 'contrib/libs/llvm12')
5 files changed, 206 insertions, 99 deletions
diff --git a/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.linux.txt new file mode 100644 index 0000000000..eac8974014 --- /dev/null +++ b/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.linux.txt @@ -0,0 +1,27 @@ + +# 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-ExecutionEngine-PerfJITEvents) +target_include_directories(lib-ExecutionEngine-PerfJITEvents PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents +) +target_link_libraries(lib-ExecutionEngine-PerfJITEvents PUBLIC + contrib-libs-cxxsupp + contrib-libs-llvm12 + llvm12-lib-CodeGen + lib-DebugInfo-DWARF + llvm12-lib-ExecutionEngine + lib-ExecutionEngine-RuntimeDyld + llvm12-lib-IR + llvm12-lib-Object + llvm12-lib-Support +) +target_sources(lib-ExecutionEngine-PerfJITEvents PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp +) diff --git a/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.txt b/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.txt index eac8974014..c031ddb850 100644 --- a/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.txt +++ b/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.txt @@ -6,22 +6,6 @@ # original buildsystem will not be accepted. - -add_library(lib-ExecutionEngine-PerfJITEvents) -target_include_directories(lib-ExecutionEngine-PerfJITEvents PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents -) -target_link_libraries(lib-ExecutionEngine-PerfJITEvents PUBLIC - contrib-libs-cxxsupp - contrib-libs-llvm12 - llvm12-lib-CodeGen - lib-DebugInfo-DWARF - llvm12-lib-ExecutionEngine - lib-ExecutionEngine-RuntimeDyld - llvm12-lib-IR - llvm12-lib-Object - llvm12-lib-Support -) -target_sources(lib-ExecutionEngine-PerfJITEvents PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/libs/llvm12/utils/TableGen/CMakeLists.darwin.txt b/contrib/libs/llvm12/utils/TableGen/CMakeLists.darwin.txt new file mode 100644 index 0000000000..5401fb00e9 --- /dev/null +++ b/contrib/libs/llvm12/utils/TableGen/CMakeLists.darwin.txt @@ -0,0 +1,83 @@ + +# 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_executable(llvm-tblgen) +target_include_directories(llvm-tblgen PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen +) +target_link_libraries(llvm-tblgen PUBLIC + contrib-libs-cxxsupp + contrib-libs-llvm12 + llvm12-lib-Demangle + llvm12-lib-Support + llvm12-lib-TableGen + utils-TableGen-GlobalISel +) +target_sources(llvm-tblgen PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/AsmMatcherEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/AsmWriterEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/AsmWriterInst.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/Attributes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CTagsEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CallingConvEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeEmitterGen.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenDAGPatterns.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenHwModes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenInstruction.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenMapTable.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenRegisters.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenSchedule.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenTarget.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcher.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcherEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcherGen.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcherOpt.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DFAEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DFAPacketizerEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DirectiveEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DisassemblerEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/ExegesisEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/FastISelEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/FixedLenDecoderEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/GICombinerEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/GlobalISelEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/InfoByHwMode.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/InstrDocsEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/InstrInfoEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/IntrinsicEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/OptEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/OptParserEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/OptRSTEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/PredicateExpander.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/PseudoLoweringEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/RISCVCompressInstEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/RegisterBankEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/RegisterInfoEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SDNodeProperties.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SearchableTableEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SubtargetEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SubtargetFeatureInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/TableGen.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/Types.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/WebAssemblyDisassemblerEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86DisassemblerTables.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86FoldTablesEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86ModRMFilters.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86RecognizableInstr.cpp +) +target_link_flags(llvm-tblgen + PUBLIC + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) +vcs_info(llvm-tblgen) diff --git a/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux.txt b/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux.txt new file mode 100644 index 0000000000..93bbea30a1 --- /dev/null +++ b/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux.txt @@ -0,0 +1,88 @@ + +# 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_executable(llvm-tblgen) +target_include_directories(llvm-tblgen PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen +) +target_link_libraries(llvm-tblgen PUBLIC + contrib-libs-cxxsupp + library-cpp-lfalloc + contrib-libs-llvm12 + llvm12-lib-Demangle + llvm12-lib-Support + llvm12-lib-TableGen + utils-TableGen-GlobalISel +) +target_sources(llvm-tblgen PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/AsmMatcherEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/AsmWriterEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/AsmWriterInst.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/Attributes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CTagsEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CallingConvEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeEmitterGen.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenDAGPatterns.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenHwModes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenInstruction.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenMapTable.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenRegisters.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenSchedule.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenTarget.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcher.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcherEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcherGen.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcherOpt.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DFAEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DFAPacketizerEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DirectiveEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DisassemblerEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/ExegesisEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/FastISelEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/FixedLenDecoderEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/GICombinerEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/GlobalISelEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/InfoByHwMode.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/InstrDocsEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/InstrInfoEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/IntrinsicEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/OptEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/OptParserEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/OptRSTEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/PredicateExpander.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/PseudoLoweringEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/RISCVCompressInstEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/RegisterBankEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/RegisterInfoEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SDNodeProperties.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SearchableTableEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SubtargetEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SubtargetFeatureInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/TableGen.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/Types.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/WebAssemblyDisassemblerEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86DisassemblerTables.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86FoldTablesEmitter.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86ModRMFilters.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86RecognizableInstr.cpp +) +target_link_flags(llvm-tblgen + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(llvm-tblgen) diff --git a/contrib/libs/llvm12/utils/TableGen/CMakeLists.txt b/contrib/libs/llvm12/utils/TableGen/CMakeLists.txt index 93bbea30a1..a681d385f3 100644 --- a/contrib/libs/llvm12/utils/TableGen/CMakeLists.txt +++ b/contrib/libs/llvm12/utils/TableGen/CMakeLists.txt @@ -6,83 +6,8 @@ # original buildsystem will not be accepted. - -add_executable(llvm-tblgen) -target_include_directories(llvm-tblgen PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen -) -target_link_libraries(llvm-tblgen PUBLIC - contrib-libs-cxxsupp - library-cpp-lfalloc - contrib-libs-llvm12 - llvm12-lib-Demangle - llvm12-lib-Support - llvm12-lib-TableGen - utils-TableGen-GlobalISel -) -target_sources(llvm-tblgen PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/AsmMatcherEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/AsmWriterEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/AsmWriterInst.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/Attributes.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CTagsEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CallingConvEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeEmitterGen.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenDAGPatterns.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenHwModes.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenInstruction.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenMapTable.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenRegisters.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenSchedule.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenTarget.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcher.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcherEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcherGen.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcherOpt.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DFAEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DFAPacketizerEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DirectiveEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DisassemblerEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/ExegesisEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/FastISelEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/FixedLenDecoderEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/GICombinerEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/GlobalISelEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/InfoByHwMode.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/InstrDocsEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/InstrInfoEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/IntrinsicEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/OptEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/OptParserEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/OptRSTEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/PredicateExpander.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/PseudoLoweringEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/RISCVCompressInstEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/RegisterBankEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/RegisterInfoEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SDNodeProperties.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SearchableTableEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SubtargetEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SubtargetFeatureInfo.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/TableGen.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/Types.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/WebAssemblyDisassemblerEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86DisassemblerTables.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86FoldTablesEmitter.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86ModRMFilters.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86RecognizableInstr.cpp -) -target_link_flags(llvm-tblgen - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) -vcs_info(llvm-tblgen) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (UNIX) + include(CMakeLists.linux.txt) +endif() |