[SystemZ] Add back end
[oota-llvm.git] / lib / Target / SystemZ / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS SystemZ.td)
2
3 tablegen(LLVM SystemZGenAsmMatcher.inc -gen-asm-matcher)
4 tablegen(LLVM SystemZGenAsmWriter.inc -gen-asm-writer)
5 tablegen(LLVM SystemZGenCallingConv.inc -gen-callingconv)
6 tablegen(LLVM SystemZGenDAGISel.inc -gen-dag-isel)
7 tablegen(LLVM SystemZGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
8 tablegen(LLVM SystemZGenInstrInfo.inc -gen-instr-info)
9 tablegen(LLVM SystemZGenRegisterInfo.inc -gen-register-info)
10 tablegen(LLVM SystemZGenSubtargetInfo.inc -gen-subtarget)
11 add_public_tablegen_target(SystemZCommonTableGen)
12
13 add_llvm_target(SystemZCodeGen
14   SystemZAsmPrinter.cpp
15   SystemZCallingConv.cpp
16   SystemZConstantPoolValue.cpp
17   SystemZFrameLowering.cpp
18   SystemZISelDAGToDAG.cpp
19   SystemZISelLowering.cpp
20   SystemZInstrInfo.cpp
21   SystemZMCInstLower.cpp
22   SystemZRegisterInfo.cpp
23   SystemZSubtarget.cpp
24   SystemZTargetMachine.cpp
25   )
26
27 add_dependencies(LLVMSystemZCodeGen intrinsics_gen)
28
29 add_subdirectory(AsmParser)
30 add_subdirectory(InstPrinter)
31 add_subdirectory(TargetInfo)
32 add_subdirectory(MCTargetDesc)