[SystemZ] Add long branch pass
[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 SystemZGenDisassemblerTables.inc -gen-disassembler)
8 tablegen(LLVM SystemZGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
9 tablegen(LLVM SystemZGenInstrInfo.inc -gen-instr-info)
10 tablegen(LLVM SystemZGenRegisterInfo.inc -gen-register-info)
11 tablegen(LLVM SystemZGenSubtargetInfo.inc -gen-subtarget)
12 add_public_tablegen_target(SystemZCommonTableGen)
13
14 add_llvm_target(SystemZCodeGen
15   SystemZAsmPrinter.cpp
16   SystemZCallingConv.cpp
17   SystemZConstantPoolValue.cpp
18   SystemZFrameLowering.cpp
19   SystemZISelDAGToDAG.cpp
20   SystemZISelLowering.cpp
21   SystemZInstrInfo.cpp
22   SystemZLongBranch.cpp
23   SystemZMCInstLower.cpp
24   SystemZRegisterInfo.cpp
25   SystemZSubtarget.cpp
26   SystemZTargetMachine.cpp
27   )
28
29 add_dependencies(LLVMSystemZCodeGen intrinsics_gen)
30
31 add_subdirectory(AsmParser)
32 add_subdirectory(Disassembler)
33 add_subdirectory(InstPrinter)
34 add_subdirectory(TargetInfo)
35 add_subdirectory(MCTargetDesc)