Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC)
[oota-llvm.git] / lib / Target / NVPTX / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS NVPTX.td)
2
3
4 tablegen(LLVM NVPTXGenRegisterInfo.inc -gen-register-info)
5 tablegen(LLVM NVPTXGenInstrInfo.inc -gen-instr-info)
6 tablegen(LLVM NVPTXGenAsmWriter.inc -gen-asm-writer)
7 tablegen(LLVM NVPTXGenDAGISel.inc -gen-dag-isel)
8 tablegen(LLVM NVPTXGenSubtargetInfo.inc -gen-subtarget)
9 add_public_tablegen_target(NVPTXCommonTableGen)
10
11 set(NVPTXCodeGen_sources
12   NVPTXAllocaHoisting.cpp
13   NVPTXAsmPrinter.cpp
14   NVPTXAssignValidGlobalNames.cpp
15   NVPTXFavorNonGenericAddrSpaces.cpp
16   NVPTXFrameLowering.cpp
17   NVPTXGenericToNVVM.cpp
18   NVPTXISelDAGToDAG.cpp
19   NVPTXISelLowering.cpp
20   NVPTXImageOptimizer.cpp
21   NVPTXInstrInfo.cpp
22   NVPTXLowerAggrCopies.cpp
23   NVPTXLowerKernelArgs.cpp
24   NVPTXLowerAlloca.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   NVVMReflect.cpp
34   )
35
36 add_llvm_target(NVPTXCodeGen ${NVPTXCodeGen_sources})
37
38 add_subdirectory(TargetInfo)
39 add_subdirectory(InstPrinter)
40 add_subdirectory(MCTargetDesc)