2012-05-04 20:18:50 +00:00
|
|
|
set(LLVM_TARGET_DEFINITIONS NVPTX.td)
|
|
|
|
|
|
|
|
|
|
|
|
tablegen(LLVM NVPTXGenRegisterInfo.inc -gen-register-info)
|
|
|
|
tablegen(LLVM NVPTXGenInstrInfo.inc -gen-instr-info)
|
|
|
|
tablegen(LLVM NVPTXGenAsmWriter.inc -gen-asm-writer)
|
|
|
|
tablegen(LLVM NVPTXGenDAGISel.inc -gen-dag-isel)
|
|
|
|
tablegen(LLVM NVPTXGenSubtargetInfo.inc -gen-subtarget)
|
|
|
|
add_public_tablegen_target(NVPTXCommonTableGen)
|
|
|
|
|
|
|
|
set(NVPTXCodeGen_sources
|
2014-11-10 18:38:25 +00:00
|
|
|
NVPTXAllocaHoisting.cpp
|
|
|
|
NVPTXAsmPrinter.cpp
|
|
|
|
NVPTXAssignValidGlobalNames.cpp
|
2014-04-03 21:18:25 +00:00
|
|
|
NVPTXFavorNonGenericAddrSpaces.cpp
|
2012-05-04 20:18:50 +00:00
|
|
|
NVPTXFrameLowering.cpp
|
2014-11-10 18:38:25 +00:00
|
|
|
NVPTXGenericToNVVM.cpp
|
2012-05-04 20:18:50 +00:00
|
|
|
NVPTXISelDAGToDAG.cpp
|
|
|
|
NVPTXISelLowering.cpp
|
2014-11-10 18:38:25 +00:00
|
|
|
NVPTXImageOptimizer.cpp
|
|
|
|
NVPTXInstrInfo.cpp
|
|
|
|
NVPTXLowerAggrCopies.cpp
|
2015-06-04 21:28:26 +00:00
|
|
|
NVPTXLowerKernelArgs.cpp
|
2015-06-17 22:31:02 +00:00
|
|
|
NVPTXLowerAlloca.cpp
|
2015-06-24 20:20:16 +00:00
|
|
|
NVPTXPeephole.cpp
|
2014-11-10 18:38:25 +00:00
|
|
|
NVPTXMCExpr.cpp
|
|
|
|
NVPTXPrologEpilogPass.cpp
|
2012-05-04 20:18:50 +00:00
|
|
|
NVPTXRegisterInfo.cpp
|
2014-11-10 18:38:25 +00:00
|
|
|
NVPTXReplaceImageHandles.cpp
|
2012-05-04 20:18:50 +00:00
|
|
|
NVPTXSubtarget.cpp
|
|
|
|
NVPTXTargetMachine.cpp
|
2014-11-10 18:38:25 +00:00
|
|
|
NVPTXTargetTransformInfo.cpp
|
2012-05-04 20:18:50 +00:00
|
|
|
NVPTXUtilities.cpp
|
2013-03-30 14:29:25 +00:00
|
|
|
NVVMReflect.cpp
|
2012-05-04 20:18:50 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
add_llvm_target(NVPTXCodeGen ${NVPTXCodeGen_sources})
|
|
|
|
|
|
|
|
add_subdirectory(TargetInfo)
|
|
|
|
add_subdirectory(InstPrinter)
|
|
|
|
add_subdirectory(MCTargetDesc)
|