mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-11 08:07:22 +00:00
de8f33c199
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141266 91177308-0d34-0410-b5e6-96231b3b80d8
39 lines
939 B
CMake
39 lines
939 B
CMake
set(LLVM_TARGET_DEFINITIONS Sparc.td)
|
|
|
|
llvm_tablegen(SparcGenRegisterInfo.inc -gen-register-info)
|
|
llvm_tablegen(SparcGenInstrInfo.inc -gen-instr-info)
|
|
llvm_tablegen(SparcGenAsmWriter.inc -gen-asm-writer)
|
|
llvm_tablegen(SparcGenDAGISel.inc -gen-dag-isel)
|
|
llvm_tablegen(SparcGenSubtargetInfo.inc -gen-subtarget)
|
|
llvm_tablegen(SparcGenCallingConv.inc -gen-callingconv)
|
|
add_public_tablegen_target(SparcCommonTableGen)
|
|
|
|
add_llvm_target(SparcCodeGen
|
|
DelaySlotFiller.cpp
|
|
FPMover.cpp
|
|
SparcAsmPrinter.cpp
|
|
SparcInstrInfo.cpp
|
|
SparcISelDAGToDAG.cpp
|
|
SparcISelLowering.cpp
|
|
SparcFrameLowering.cpp
|
|
SparcRegisterInfo.cpp
|
|
SparcSubtarget.cpp
|
|
SparcTargetMachine.cpp
|
|
SparcSelectionDAGInfo.cpp
|
|
)
|
|
|
|
add_llvm_library_dependencies(LLVMSparcCodeGen
|
|
LLVMAsmPrinter
|
|
LLVMCodeGen
|
|
LLVMCore
|
|
LLVMMC
|
|
LLVMSelectionDAG
|
|
LLVMSparcDesc
|
|
LLVMSparcInfo
|
|
LLVMSupport
|
|
LLVMTarget
|
|
)
|
|
|
|
add_subdirectory(TargetInfo)
|
|
add_subdirectory(MCTargetDesc)
|