60 lines · plain
1add_llvm_component_group(LoongArch)2 3set(LLVM_TARGET_DEFINITIONS LoongArch.td)4 5tablegen(LLVM LoongArchGenAsmMatcher.inc -gen-asm-matcher)6tablegen(LLVM LoongArchGenAsmWriter.inc -gen-asm-writer)7tablegen(LLVM LoongArchGenDAGISel.inc -gen-dag-isel)8tablegen(LLVM LoongArchGenDisassemblerTables.inc -gen-disassembler)9tablegen(LLVM LoongArchGenInstrInfo.inc -gen-instr-info)10tablegen(LLVM LoongArchGenMCPseudoLowering.inc -gen-pseudo-lowering)11tablegen(LLVM LoongArchGenMCCodeEmitter.inc -gen-emitter)12tablegen(LLVM LoongArchGenRegisterInfo.inc -gen-register-info)13tablegen(LLVM LoongArchGenSDNodeInfo.inc -gen-sd-node-info)14tablegen(LLVM LoongArchGenSubtargetInfo.inc -gen-subtarget)15 16add_public_tablegen_target(LoongArchCommonTableGen)17 18add_llvm_target(LoongArchCodeGen19 LoongArchAsmPrinter.cpp20 LoongArchDeadRegisterDefinitions.cpp21 LoongArchExpandAtomicPseudoInsts.cpp22 LoongArchExpandPseudoInsts.cpp23 LoongArchFrameLowering.cpp24 LoongArchInstrInfo.cpp25 LoongArchISelDAGToDAG.cpp26 LoongArchISelLowering.cpp27 LoongArchMCInstLower.cpp28 LoongArchMergeBaseOffset.cpp29 LoongArchOptWInstrs.cpp30 LoongArchRegisterInfo.cpp31 LoongArchSelectionDAGInfo.cpp32 LoongArchSubtarget.cpp33 LoongArchTargetMachine.cpp34 LoongArchTargetTransformInfo.cpp35 36 LINK_COMPONENTS37 Analysis38 AsmPrinter39 CodeGen40 CodeGenTypes41 Core42 LoongArchDesc43 LoongArchInfo44 MC45 Scalar46 SelectionDAG47 Support48 Target49 TargetParser50 TransformUtils51 52 ADD_TO_COMPONENT53 LoongArch54 )55 56add_subdirectory(AsmParser)57add_subdirectory(Disassembler)58add_subdirectory(MCTargetDesc)59add_subdirectory(TargetInfo)60