1set(LLVM_TARGET_DEFINITIONS NVPTX.td) 2 3 4tablegen(LLVM NVPTXGenRegisterInfo.inc -gen-register-info) 5tablegen(LLVM NVPTXGenInstrInfo.inc -gen-instr-info) 6tablegen(LLVM NVPTXGenAsmWriter.inc -gen-asm-writer) 7tablegen(LLVM NVPTXGenDAGISel.inc -gen-dag-isel) 8tablegen(LLVM NVPTXGenSubtargetInfo.inc -gen-subtarget) 9add_public_tablegen_target(NVPTXCommonTableGen) 10 11set(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 35add_llvm_target(NVPTXCodeGen ${NVPTXCodeGen_sources}) 36 37add_subdirectory(TargetInfo) 38add_subdirectory(InstPrinter) 39add_subdirectory(MCTargetDesc) 40