OSDN Git Service

Merge "Update to LLVM 3.5a."
[android-x86/external-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   NVPTXFrameLowering.cpp
13   NVPTXInstrInfo.cpp
14   NVPTXISelDAGToDAG.cpp
15   NVPTXISelLowering.cpp
16   NVPTXRegisterInfo.cpp
17   NVPTXSubtarget.cpp
18   NVPTXTargetMachine.cpp
19   NVPTXLowerAggrCopies.cpp
20   NVPTXutil.cpp
21   NVPTXAllocaHoisting.cpp
22   NVPTXAsmPrinter.cpp
23   NVPTXUtilities.cpp
24   NVVMReflect.cpp
25   NVPTXGenericToNVVM.cpp
26   NVPTXAssignValidGlobalNames.cpp
27   NVPTXPrologEpilogPass.cpp
28   NVPTXMCExpr.cpp
29   )
30
31 add_llvm_target(NVPTXCodeGen ${NVPTXCodeGen_sources})
32
33 add_subdirectory(TargetInfo)
34 add_subdirectory(InstPrinter)
35 add_subdirectory(MCTargetDesc)