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)
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  SystemZLDCleanup.cpp
24  SystemZLongBranch.cpp
25  SystemZMachineFunctionInfo.cpp
26  SystemZMCInstLower.cpp
27  SystemZRegisterInfo.cpp
28  SystemZSelectionDAGInfo.cpp
29  SystemZShortenInst.cpp
30  SystemZSubtarget.cpp
31  SystemZTargetMachine.cpp
32  SystemZTargetTransformInfo.cpp
33  SystemZTDC.cpp
34  )
35
36add_subdirectory(AsmParser)
37add_subdirectory(Disassembler)
38add_subdirectory(InstPrinter)
39add_subdirectory(TargetInfo)
40add_subdirectory(MCTargetDesc)
41