mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 02:32:08 +00:00
b0d9ce567f
added a layer of indirection with no value (not even conciseness). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143727 91177308-0d34-0410-b5e6-96231b3b80d8
45 lines
988 B
CMake
45 lines
988 B
CMake
set(LLVM_TARGET_DEFINITIONS PTX.td)
|
|
|
|
tablegen(LLVM PTXGenAsmWriter.inc -gen-asm-writer)
|
|
tablegen(LLVM PTXGenDAGISel.inc -gen-dag-isel)
|
|
tablegen(LLVM PTXGenInstrInfo.inc -gen-instr-info)
|
|
tablegen(LLVM PTXGenRegisterInfo.inc -gen-register-info)
|
|
tablegen(LLVM PTXGenSubtargetInfo.inc -gen-subtarget)
|
|
add_public_tablegen_target(PTXCommonTableGen)
|
|
|
|
add_llvm_target(PTXCodeGen
|
|
PTXAsmPrinter.cpp
|
|
PTXISelDAGToDAG.cpp
|
|
PTXISelLowering.cpp
|
|
PTXInstrInfo.cpp
|
|
PTXFPRoundingModePass.cpp
|
|
PTXFrameLowering.cpp
|
|
PTXMCAsmStreamer.cpp
|
|
PTXMCInstLower.cpp
|
|
PTXMFInfoExtract.cpp
|
|
PTXParamManager.cpp
|
|
PTXRegAlloc.cpp
|
|
PTXRegisterInfo.cpp
|
|
PTXSelectionDAGInfo.cpp
|
|
PTXSubtarget.cpp
|
|
PTXTargetMachine.cpp
|
|
)
|
|
|
|
add_llvm_library_dependencies(LLVMPTXCodeGen
|
|
LLVMAnalysis
|
|
LLVMAsmPrinter
|
|
LLVMCodeGen
|
|
LLVMCore
|
|
LLVMMC
|
|
LLVMPTXDesc
|
|
LLVMPTXInfo
|
|
LLVMSelectionDAG
|
|
LLVMSupport
|
|
LLVMTarget
|
|
)
|
|
|
|
add_subdirectory(TargetInfo)
|
|
add_subdirectory(InstPrinter)
|
|
add_subdirectory(MCTargetDesc)
|
|
|