llvm-6502/lib/Target/Alpha/CMakeLists.txt
Peter Collingbourne de8f33c199 Build system infrastructure for multiple tblgens.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141266 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-06 01:51:51 +00:00

39 lines
945 B
CMake

set(LLVM_TARGET_DEFINITIONS Alpha.td)
llvm_tablegen(AlphaGenRegisterInfo.inc -gen-register-info)
llvm_tablegen(AlphaGenInstrInfo.inc -gen-instr-info)
llvm_tablegen(AlphaGenAsmWriter.inc -gen-asm-writer)
llvm_tablegen(AlphaGenDAGISel.inc -gen-dag-isel)
llvm_tablegen(AlphaGenCallingConv.inc -gen-callingconv)
llvm_tablegen(AlphaGenSubtargetInfo.inc -gen-subtarget)
add_public_tablegen_target(AlphaCommonTableGen)
add_llvm_target(AlphaCodeGen
AlphaAsmPrinter.cpp
AlphaBranchSelector.cpp
AlphaInstrInfo.cpp
AlphaISelDAGToDAG.cpp
AlphaISelLowering.cpp
AlphaFrameLowering.cpp
AlphaLLRP.cpp
AlphaRegisterInfo.cpp
AlphaSubtarget.cpp
AlphaTargetMachine.cpp
AlphaSelectionDAGInfo.cpp
)
add_llvm_library_dependencies(LLVMAlphaCodeGen
LLVMAlphaDesc
LLVMAlphaInfo
LLVMAsmPrinter
LLVMCodeGen
LLVMCore
LLVMMC
LLVMSelectionDAG
LLVMSupport
LLVMTarget
)
add_subdirectory(TargetInfo)
add_subdirectory(MCTargetDesc)