1 # Basic utilities which is the strict minimum needed to build
3 add_subdirectory(Basic)
4 # Common utilities are all of the reusable components and helper
5 # code needed by the backends.
6 add_subdirectory(Common)
8 set(LLVM_LINK_COMPONENTS Support)
10 # llvm-min-tablegen only contains a subset of backends necessary to
11 # build llvm/include. It must not depend on TableGenCommon, as
12 # TableGenCommon depends on this already to generate things such as
13 # ValueType definitions.
14 add_tablegen(llvm-min-tblgen LLVM_HEADERS
16 ARMTargetDefEmitter.cpp
20 RISCVTargetDefEmitter.cpp
22 $<TARGET_OBJECTS:obj.LLVMTableGenBasic>
24 PARTIAL_SOURCES_INTENDED
27 set(LLVM_LINK_COMPONENTS
32 add_tablegen(llvm-tblgen LLVM
33 DESTINATION "${LLVM_TOOLS_INSTALL_DIR}"
35 ARMTargetDefEmitter.cpp
39 CallingConvEmitter.cpp
42 CompressInstEmitter.cpp
45 DAGISelMatcherEmitter.cpp
50 DFAPacketizerEmitter.cpp
52 DisassemblerEmitter.cpp
56 GlobalISelCombinerEmitter.cpp
61 MacroFusionPredicatorEmitter.cpp
62 OptionParserEmitter.cpp
64 PseudoLoweringEmitter.cpp
65 RegisterBankEmitter.cpp
66 RegisterInfoEmitter.cpp
67 RISCVTargetDefEmitter.cpp
68 SearchableTableEmitter.cpp
72 WebAssemblyDisassemblerEmitter.cpp
73 X86InstrMappingEmitter.cpp
74 X86DisassemblerTables.cpp
75 X86FoldTablesEmitter.cpp
78 X86RecognizableInstr.cpp
79 $<TARGET_OBJECTS:obj.LLVMTableGenBasic>
80 $<TARGET_OBJECTS:obj.LLVMTableGenCommon>
83 intrinsics_gen # via llvm-min-tablegen