mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-25 14:32:53 +00:00
033080cf6a
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74720 91177308-0d34-0410-b5e6-96231b3b80d8
27 lines
818 B
CMake
27 lines
818 B
CMake
set(LLVM_TARGET_DEFINITIONS SPU.td)
|
|
|
|
tablegen(SPUGenInstrNames.inc -gen-instr-enums)
|
|
tablegen(SPUGenRegisterNames.inc -gen-register-enums)
|
|
tablegen(SPUGenAsmWriter.inc -gen-asm-writer)
|
|
tablegen(SPUGenCodeEmitter.inc -gen-emitter)
|
|
tablegen(SPUGenRegisterInfo.h.inc -gen-register-desc-header)
|
|
tablegen(SPUGenRegisterInfo.inc -gen-register-desc)
|
|
tablegen(SPUGenInstrInfo.inc -gen-instr-desc)
|
|
tablegen(SPUGenDAGISel.inc -gen-dag-isel)
|
|
tablegen(SPUGenSubtarget.inc -gen-subtarget)
|
|
tablegen(SPUGenCallingConv.inc -gen-callingconv)
|
|
|
|
add_llvm_target(CellSPUCodeGen
|
|
SPUFrameInfo.cpp
|
|
SPUHazardRecognizers.cpp
|
|
SPUInstrInfo.cpp
|
|
SPUISelDAGToDAG.cpp
|
|
SPUISelLowering.cpp
|
|
SPURegisterInfo.cpp
|
|
SPUSubtarget.cpp
|
|
SPUTargetAsmInfo.cpp
|
|
SPUTargetMachine.cpp
|
|
)
|
|
|
|
target_link_libraries (LLVMCellSPUCodeGen LLVMSelectionDAG)
|