mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
ef70d2a393
I think, in principle, intrinsics_gen may be added explicitly. That said, it can be added incidentally, since each target already has dependencies to llvm-tblgen. Almost all source files depend on both CommonTaleGen and intrinsics_gen. Explicit add_dependencies() have been pruned under lib/Target. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195929 91177308-0d34-0410-b5e6-96231b3b80d8
33 lines
988 B
CMake
33 lines
988 B
CMake
set(LLVM_TARGET_DEFINITIONS XCore.td)
|
|
|
|
tablegen(LLVM XCoreGenRegisterInfo.inc -gen-register-info)
|
|
tablegen(LLVM XCoreGenInstrInfo.inc -gen-instr-info)
|
|
tablegen(LLVM XCoreGenDisassemblerTables.inc -gen-disassembler)
|
|
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
|
|
XCoreLowerThreadLocal.cpp
|
|
XCoreMachineFunctionInfo.cpp
|
|
XCoreMCInstLower.cpp
|
|
XCoreRegisterInfo.cpp
|
|
XCoreSubtarget.cpp
|
|
XCoreTargetMachine.cpp
|
|
XCoreTargetObjectFile.cpp
|
|
XCoreTargetTransformInfo.cpp
|
|
XCoreSelectionDAGInfo.cpp
|
|
)
|
|
|
|
add_subdirectory(Disassembler)
|
|
add_subdirectory(InstPrinter)
|
|
add_subdirectory(TargetInfo)
|
|
add_subdirectory(MCTargetDesc)
|