mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-26 07:29:55 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159112 91177308-0d34-0410-b5e6-96231b3b80d8
31 lines
868 B
CMake
31 lines
868 B
CMake
set(LLVM_TARGET_DEFINITIONS SPU.td)
|
|
|
|
tablegen(LLVM SPUGenAsmWriter.inc -gen-asm-writer)
|
|
tablegen(LLVM SPUGenCodeEmitter.inc -gen-emitter)
|
|
tablegen(LLVM SPUGenRegisterInfo.inc -gen-register-info)
|
|
tablegen(LLVM SPUGenInstrInfo.inc -gen-instr-info)
|
|
tablegen(LLVM SPUGenDAGISel.inc -gen-dag-isel)
|
|
tablegen(LLVM SPUGenSubtargetInfo.inc -gen-subtarget)
|
|
tablegen(LLVM SPUGenCallingConv.inc -gen-callingconv)
|
|
add_public_tablegen_target(CellSPUCommonTableGen)
|
|
|
|
add_llvm_target(CellSPUCodeGen
|
|
SPUAsmPrinter.cpp
|
|
SPUHazardRecognizers.cpp
|
|
SPUInstrInfo.cpp
|
|
SPUISelDAGToDAG.cpp
|
|
SPUISelLowering.cpp
|
|
SPUFrameLowering.cpp
|
|
SPUMachineFunction.cpp
|
|
SPURegisterInfo.cpp
|
|
SPUSubtarget.cpp
|
|
SPUTargetMachine.cpp
|
|
SPUSelectionDAGInfo.cpp
|
|
SPUNopFiller.cpp
|
|
)
|
|
|
|
add_dependencies(LLVMCellSPUCodeGen intrinsics_gen)
|
|
|
|
add_subdirectory(TargetInfo)
|
|
add_subdirectory(MCTargetDesc)
|