aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux-x86_64.txt
blob: 947f97be9421dc96c44e71a2546615ad0e0ba9b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# This file was generated 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(GlobalISel)

add_executable(llvm-tblgen)
target_compile_options(llvm-tblgen PRIVATE
  $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(llvm-tblgen PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen
)
target_link_libraries(llvm-tblgen PUBLIC
  contrib-libs-linux-headers
  contrib-libs-cxxsupp
  contrib-libs-llvm12
  llvm12-lib-Demangle
  llvm12-lib-Support
  llvm12-lib-TableGen
  utils-TableGen-GlobalISel
  cpp-sanitizer-include
)
target_link_options(llvm-tblgen PRIVATE
  -ldl
  -lrt
  -Wl,--no-as-needed
  -fPIC
  -fPIC
  -lpthread
  -lrt
  -ldl
)
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_allocator(llvm-tblgen
  cpp-malloc-tcmalloc
  libs-tcmalloc-no_percpu_cache
)
vcs_info(llvm-tblgen)