aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/llvm12/utils/TableGen/CMakeLists.txt
blob: e15ce1d5064b2040339574ed36d3638680440fcf (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
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
  -lpthread
  -lrt
  -ldl
)
vcs_info(llvm-tblgen)