Fixed some bugs.
[llvm/zpu.git] / lib / Target / PTX / CMakeLists.txt
blob1f5fcbb6c8d2c6bcd15b5f4cd901a82d46bfc801
1 set(LLVM_TARGET_DEFINITIONS PTX.td)
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)
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   )