540af72b7cf3586634c1b18c205743b939e9d6e4
[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(PTXGenCallingConv.inc -gen-callingconv)
5 tablegen(PTXGenDAGISel.inc -gen-dag-isel)
6 tablegen(PTXGenInstrInfo.inc -gen-instr-desc)
7 tablegen(PTXGenInstrNames.inc -gen-instr-enums)
8 tablegen(PTXGenRegisterDesc.inc -gen-register-desc)
9 tablegen(PTXGenRegisterInfo.inc -gen-register-info)
10 tablegen(PTXGenRegisterInfo.h.inc -gen-register-info-header)
11 tablegen(PTXGenRegisterNames.inc -gen-register-enums)
12 tablegen(PTXGenSubtarget.inc -gen-subtarget)
13
14 add_llvm_target(PTXCodeGen
15   PTXAsmPrinter.cpp
16   PTXISelDAGToDAG.cpp
17   PTXISelLowering.cpp
18   PTXInstrInfo.cpp
19   PTXFrameLowering.cpp
20   PTXMCAsmInfo.cpp
21   PTXMCAsmStreamer.cpp
22   PTXMFInfoExtract.cpp
23   PTXRegisterInfo.cpp
24   PTXSubtarget.cpp
25   PTXTargetMachine.cpp
26   )
27
28 add_subdirectory(TargetInfo)