mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-31 12:30:06 +00:00
target machine from those that are only needed by codegen. The goal is to sink the essential target description into MC layer so we can start building MC based tools without needing to link in the entire codegen. First step is to refactor TargetRegisterInfo. This patch added a base class MCRegisterInfo which TargetRegisterInfo is derived from. Changed TableGen to separate register description from the rest of the stuff. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133782 91177308-0d34-0410-b5e6-96231b3b80d8
28 lines
897 B
CMake
28 lines
897 B
CMake
set(LLVM_TARGET_DEFINITIONS SystemZ.td)
|
|
|
|
tablegen(SystemZGenRegisterNames.inc -gen-register-enums)
|
|
tablegen(SystemZGenRegisterDesc.inc -gen-register-desc)
|
|
tablegen(SystemZGenRegisterInfo.h.inc -gen-register-info-header)
|
|
tablegen(SystemZGenRegisterInfo.inc -gen-register-info)
|
|
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
|
|
SystemZAsmPrinter.cpp
|
|
SystemZISelDAGToDAG.cpp
|
|
SystemZISelLowering.cpp
|
|
SystemZInstrInfo.cpp
|
|
SystemZFrameLowering.cpp
|
|
SystemZMCAsmInfo.cpp
|
|
SystemZRegisterInfo.cpp
|
|
SystemZSubtarget.cpp
|
|
SystemZTargetMachine.cpp
|
|
SystemZSelectionDAGInfo.cpp
|
|
)
|
|
|
|
add_subdirectory(TargetInfo)
|