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 NVPTXFavorNonGenericAddrSpaces.cpp 13 NVPTXFrameLowering.cpp 14 NVPTXInstrInfo.cpp 15 NVPTXISelDAGToDAG.cpp 16 NVPTXISelLowering.cpp 17 NVPTXRegisterInfo.cpp 18 NVPTXSubtarget.cpp 19 NVPTXTargetMachine.cpp 20 NVPTXLowerAggrCopies.cpp 21 NVPTXutil.cpp 22 NVPTXAllocaHoisting.cpp 23 NVPTXAsmPrinter.cpp 24 NVPTXUtilities.cpp 25 NVVMReflect.cpp 26 NVPTXGenericToNVVM.cpp 27 NVPTXAssignValidGlobalNames.cpp 28 NVPTXPrologEpilogPass.cpp 29 NVPTXMCExpr.cpp 30 NVPTXReplaceImageHandles.cpp 31 NVPTXImageOptimizer.cpp 32 ) 33 34 add_llvm_target(NVPTXCodeGen ${NVPTXCodeGen_sources}) 35 36 add_subdirectory(TargetInfo) 37 add_subdirectory(InstPrinter) 38 add_subdirectory(MCTargetDesc) 39