mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
CMake support for SystemZ.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76384 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fbb47eeac4
commit
3f189a3eb4
@ -59,6 +59,7 @@ set(LLVM_ALL_TARGETS
|
||||
PIC16
|
||||
PowerPC
|
||||
Sparc
|
||||
SystemZ
|
||||
X86
|
||||
XCore
|
||||
)
|
||||
|
6
lib/Target/SystemZ/AsmPrinter/CMakeLists.txt
Normal file
6
lib/Target/SystemZ/AsmPrinter/CMakeLists.txt
Normal file
@ -0,0 +1,6 @@
|
||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
||||
|
||||
add_llvm_library(LLVMSystemZAsmPrinter
|
||||
SystemZAsmPrinter.cpp
|
||||
)
|
||||
add_dependencies(LLVMSystemZAsmPrinter SystemZCodeGenTable_gen)
|
23
lib/Target/SystemZ/CMakeLists.txt
Normal file
23
lib/Target/SystemZ/CMakeLists.txt
Normal file
@ -0,0 +1,23 @@
|
||||
set(LLVM_TARGET_DEFINITIONS SystemZ.td)
|
||||
|
||||
tablegen(SystemZGenRegisterInfo.h.inc -gen-register-desc-header)
|
||||
tablegen(SystemZGenRegisterNames.inc -gen-register-enums)
|
||||
tablegen(SystemZGenRegisterInfo.inc -gen-register-desc)
|
||||
tablegen(SystemZGenInstrNames.inc -gen-instr-enums)
|
||||
tablegen(SystemZGenInstrInfo.inc -gen-instr-desc)
|
||||
tablegen(SystemZGenAsmWriter.inc -gen-asm-writer)
|
||||
tablegen(SystemZGenDAGISel.inc -gen-dag-isel)
|
||||
tablegen(SystemZGenCallingConv.inc -gen-callingconv)
|
||||
tablegen(SystemZGenSubtarget.inc -gen-subtarget)
|
||||
|
||||
add_llvm_target(SystemZCodeGen
|
||||
SystemZISelDAGToDAG.cpp
|
||||
SystemZISelLowering.cpp
|
||||
SystemZInstrInfo.cpp
|
||||
SystemZRegisterInfo.cpp
|
||||
SystemZSubtarget.cpp
|
||||
SystemZTargetAsmInfo.cpp
|
||||
SystemZTargetMachine.cpp
|
||||
)
|
||||
|
||||
target_link_libraries (LLVMSystemZCodeGen LLVMSelectionDAG)
|
Loading…
Reference in New Issue
Block a user