Re-sort includes with sort-includes.py and insert raw_ostream.h where it's used.
[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   NVPTXLowerStructArgs.cpp
24   NVPTXMCExpr.cpp
25   NVPTXPrologEpilogPass.cpp
26   NVPTXRegisterInfo.cpp
27   NVPTXReplaceImageHandles.cpp
28   NVPTXSubtarget.cpp
29   NVPTXTargetMachine.cpp
30   NVPTXTargetTransformInfo.cpp
31   NVPTXUtilities.cpp
32   NVVMReflect.cpp
33   )
34
35 add_llvm_target(NVPTXCodeGen ${NVPTXCodeGen_sources})
36
37 add_subdirectory(TargetInfo)
38 add_subdirectory(InstPrinter)
39 add_subdirectory(MCTargetDesc)