1 set(LLVM_TARGET_DEFINITIONS NVPTX.td)
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)
11 set(NVPTXCodeGen_sources
12 NVPTXFrameLowering.cpp
18 NVPTXTargetMachine.cpp
20 NVPTXLowerAggrCopies.cpp
22 NVPTXAllocaHoisting.cpp
27 add_llvm_target(NVPTXCodeGen ${NVPTXCodeGen_sources})
29 add_dependencies(LLVMNVPTXCodeGen intrinsics_gen)
31 add_subdirectory(TargetInfo)
32 add_subdirectory(InstPrinter)
33 add_subdirectory(MCTargetDesc)