[obj2yaml] - Fix BB after r373315.
[llvm-complete.git] / lib / Target / NVPTX / CMakeLists.txt
blob03d6201c9c600e2a1d78e0eb7adf521be9e5791f
1 set(LLVM_TARGET_DEFINITIONS NVPTX.td)
3 tablegen(LLVM NVPTXGenAsmWriter.inc -gen-asm-writer)
4 tablegen(LLVM NVPTXGenDAGISel.inc -gen-dag-isel)
5 tablegen(LLVM NVPTXGenInstrInfo.inc -gen-instr-info)
6 tablegen(LLVM NVPTXGenRegisterInfo.inc -gen-register-info)
7 tablegen(LLVM NVPTXGenSubtargetInfo.inc -gen-subtarget)
9 add_public_tablegen_target(NVPTXCommonTableGen)
11 set(NVPTXCodeGen_sources
12   NVPTXAllocaHoisting.cpp
13   NVPTXAsmPrinter.cpp
14   NVPTXAssignValidGlobalNames.cpp
15   NVPTXFrameLowering.cpp
16   NVPTXGenericToNVVM.cpp
17   NVPTXISelDAGToDAG.cpp
18   NVPTXISelLowering.cpp
19   NVPTXImageOptimizer.cpp
20   NVPTXInstrInfo.cpp
21   NVPTXLowerAggrCopies.cpp
22   NVPTXLowerArgs.cpp
23   NVPTXLowerAlloca.cpp
24   NVPTXPeephole.cpp
25   NVPTXMCExpr.cpp
26   NVPTXPrologEpilogPass.cpp
27   NVPTXRegisterInfo.cpp
28   NVPTXReplaceImageHandles.cpp
29   NVPTXSubtarget.cpp
30   NVPTXTargetMachine.cpp
31   NVPTXTargetTransformInfo.cpp
32   NVPTXUtilities.cpp
33   NVVMIntrRange.cpp
34   NVVMReflect.cpp
35   NVPTXProxyRegErasure.cpp
36   )
38 add_llvm_target(NVPTXCodeGen ${NVPTXCodeGen_sources})
40 add_subdirectory(MCTargetDesc)
41 add_subdirectory(TargetInfo)