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
14 NVPTXAssignValidGlobalNames.cpp
15 NVPTXFrameLowering.cpp
16 NVPTXGenericToNVVM.cpp
19 NVPTXImageOptimizer.cpp
21 NVPTXLowerAggrCopies.cpp
26 NVPTXPrologEpilogPass.cpp
28 NVPTXReplaceImageHandles.cpp
30 NVPTXTargetMachine.cpp
31 NVPTXTargetTransformInfo.cpp
35 NVPTXProxyRegErasure.cpp
38 add_llvm_target(NVPTXCodeGen ${NVPTXCodeGen_sources})
40 add_subdirectory(MCTargetDesc)
41 add_subdirectory(TargetInfo)