mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 12:50:00 +00:00
a347f85dbe
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
29 lines
829 B
CMake
29 lines
829 B
CMake
set(LLVM_TARGET_DEFINITIONS PTX.td)
|
|
|
|
tablegen(PTXGenAsmWriter.inc -gen-asm-writer)
|
|
tablegen(PTXGenCallingConv.inc -gen-callingconv)
|
|
tablegen(PTXGenDAGISel.inc -gen-dag-isel)
|
|
tablegen(PTXGenInstrInfo.inc -gen-instr-desc)
|
|
tablegen(PTXGenInstrNames.inc -gen-instr-enums)
|
|
tablegen(PTXGenRegisterDesc.inc -gen-register-desc)
|
|
tablegen(PTXGenRegisterInfo.inc -gen-register-info)
|
|
tablegen(PTXGenRegisterInfo.h.inc -gen-register-info-header)
|
|
tablegen(PTXGenRegisterNames.inc -gen-register-enums)
|
|
tablegen(PTXGenSubtarget.inc -gen-subtarget)
|
|
|
|
add_llvm_target(PTXCodeGen
|
|
PTXAsmPrinter.cpp
|
|
PTXISelDAGToDAG.cpp
|
|
PTXISelLowering.cpp
|
|
PTXInstrInfo.cpp
|
|
PTXFrameLowering.cpp
|
|
PTXMCAsmInfo.cpp
|
|
PTXMCAsmStreamer.cpp
|
|
PTXMFInfoExtract.cpp
|
|
PTXRegisterInfo.cpp
|
|
PTXSubtarget.cpp
|
|
PTXTargetMachine.cpp
|
|
)
|
|
|
|
add_subdirectory(TargetInfo)
|