1 set(LLVM_TARGET_DEFINITIONS Alpha.td) 2 3 llvm_tablegen(AlphaGenRegisterInfo.inc -gen-register-info) 4 llvm_tablegen(AlphaGenInstrInfo.inc -gen-instr-info) 5 llvm_tablegen(AlphaGenAsmWriter.inc -gen-asm-writer) 6 llvm_tablegen(AlphaGenDAGISel.inc -gen-dag-isel) 7 llvm_tablegen(AlphaGenCallingConv.inc -gen-callingconv) 8 llvm_tablegen(AlphaGenSubtargetInfo.inc -gen-subtarget) 9 add_public_tablegen_target(AlphaCommonTableGen) 10 11 add_llvm_target(AlphaCodeGen 12 AlphaAsmPrinter.cpp 13 AlphaBranchSelector.cpp 14 AlphaInstrInfo.cpp 15 AlphaISelDAGToDAG.cpp 16 AlphaISelLowering.cpp 17 AlphaFrameLowering.cpp 18 AlphaLLRP.cpp 19 AlphaRegisterInfo.cpp 20 AlphaSubtarget.cpp 21 AlphaTargetMachine.cpp 22 AlphaSelectionDAGInfo.cpp 23 ) 24 25 add_llvm_library_dependencies(LLVMAlphaCodeGen 26 LLVMAlphaDesc 27 LLVMAlphaInfo 28 LLVMAsmPrinter 29 LLVMCodeGen 30 LLVMCore 31 LLVMMC 32 LLVMSelectionDAG 33 LLVMSupport 34 LLVMTarget 35 ) 36 37 add_subdirectory(TargetInfo) 38 add_subdirectory(MCTargetDesc) 39