Add the exit instruction to the PTX target.
[oota-llvm.git] / lib / Target / PTX / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS PTX.td)
2
3 tablegen(PTXGenAsmWriter.inc -gen-asm-writer)
4 tablegen(PTXGenDAGISel.inc -gen-dag-isel)
5 tablegen(PTXGenInstrInfo.inc -gen-instr-desc)
6 tablegen(PTXGenInstrNames.inc -gen-instr-enums)
7 tablegen(PTXGenRegisterInfo.inc -gen-register-desc)
8 tablegen(PTXGenRegisterInfo.h.inc -gen-register-desc-header)
9 tablegen(PTXGenRegisterNames.inc -gen-register-enums)
10 tablegen(PTXGenSubtarget.inc -gen-subtarget)
11
12 add_llvm_target(PTXCodeGen
13   PTXISelDAGToDAG.cpp
14   PTXISelLowering.cpp
15   PTXInstrInfo.cpp
16   PTXMCAsmInfo.cpp
17   PTXRegisterInfo.cpp
18   PTXSubtarget.cpp
19   PTXTargetMachine.cpp
20   )
21
22 target_link_libraries (LLVMPTXCodeGen LLVMSelectionDAG)