mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
e0801b07e0
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. llvm-svn: 133782
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)
|