1set(LLVM_TARGET_DEFINITIONS SystemZ.td)
2
3tablegen(LLVM SystemZGenAsmMatcher.inc -gen-asm-matcher)
4tablegen(LLVM SystemZGenAsmWriter.inc -gen-asm-writer)
5tablegen(LLVM SystemZGenCallingConv.inc -gen-callingconv)
6tablegen(LLVM SystemZGenDAGISel.inc -gen-dag-isel)
7tablegen(LLVM SystemZGenDisassemblerTables.inc -gen-disassembler)
8tablegen(LLVM SystemZGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
9tablegen(LLVM SystemZGenInstrInfo.inc -gen-instr-info)
10tablegen(LLVM SystemZGenRegisterInfo.inc -gen-register-info)
11tablegen(LLVM SystemZGenSubtargetInfo.inc -gen-subtarget)
12add_public_tablegen_target(SystemZCommonTableGen)
13
14add_llvm_target(SystemZCodeGen
15  SystemZAsmPrinter.cpp
16  SystemZCallingConv.cpp
17  SystemZConstantPoolValue.cpp
18  SystemZElimCompare.cpp
19  SystemZFrameLowering.cpp
20  SystemZISelDAGToDAG.cpp
21  SystemZISelLowering.cpp
22  SystemZInstrInfo.cpp
23  SystemZLongBranch.cpp
24  SystemZMachineFunctionInfo.cpp
25  SystemZMCInstLower.cpp
26  SystemZRegisterInfo.cpp
27  SystemZSelectionDAGInfo.cpp
28  SystemZShortenInst.cpp
29  SystemZSubtarget.cpp
30  SystemZTargetMachine.cpp
31  )
32
33add_subdirectory(AsmParser)
34add_subdirectory(Disassembler)
35add_subdirectory(InstPrinter)
36add_subdirectory(TargetInfo)
37add_subdirectory(MCTargetDesc)
38