mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +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
38 lines
931 B
CMake
38 lines
931 B
CMake
set(LLVM_TARGET_DEFINITIONS XCore.td)
|
|
|
|
tablegen(LLVM XCoreGenRegisterInfo.inc -gen-register-info)
|
|
tablegen(LLVM XCoreGenInstrInfo.inc -gen-instr-info)
|
|
tablegen(LLVM XCoreGenAsmWriter.inc -gen-asm-writer)
|
|
tablegen(LLVM XCoreGenDAGISel.inc -gen-dag-isel)
|
|
tablegen(LLVM XCoreGenCallingConv.inc -gen-callingconv)
|
|
tablegen(LLVM XCoreGenSubtargetInfo.inc -gen-subtarget)
|
|
add_public_tablegen_target(XCoreCommonTableGen)
|
|
|
|
add_llvm_target(XCoreCodeGen
|
|
XCoreAsmPrinter.cpp
|
|
XCoreFrameLowering.cpp
|
|
XCoreInstrInfo.cpp
|
|
XCoreISelDAGToDAG.cpp
|
|
XCoreISelLowering.cpp
|
|
XCoreRegisterInfo.cpp
|
|
XCoreSubtarget.cpp
|
|
XCoreTargetMachine.cpp
|
|
XCoreTargetObjectFile.cpp
|
|
XCoreSelectionDAGInfo.cpp
|
|
)
|
|
|
|
add_llvm_library_dependencies(LLVMXCoreCodeGen
|
|
LLVMAsmPrinter
|
|
LLVMCodeGen
|
|
LLVMCore
|
|
LLVMMC
|
|
LLVMSelectionDAG
|
|
LLVMSupport
|
|
LLVMTarget
|
|
LLVMXCoreDesc
|
|
LLVMXCoreInfo
|
|
)
|
|
|
|
add_subdirectory(TargetInfo)
|
|
add_subdirectory(MCTargetDesc)
|