Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / lib / Target / LoongArch / CMakeLists.txt
blob62e5a0ab61b3fdf1733080accd85ec4e5a6132c8
1 add_llvm_component_group(LoongArch)
3 set(LLVM_TARGET_DEFINITIONS LoongArch.td)
5 tablegen(LLVM LoongArchGenAsmMatcher.inc -gen-asm-matcher)
6 tablegen(LLVM LoongArchGenAsmWriter.inc -gen-asm-writer)
7 tablegen(LLVM LoongArchGenDAGISel.inc -gen-dag-isel)
8 tablegen(LLVM LoongArchGenDisassemblerTables.inc -gen-disassembler)
9 tablegen(LLVM LoongArchGenInstrInfo.inc -gen-instr-info)
10 tablegen(LLVM LoongArchGenMCPseudoLowering.inc -gen-pseudo-lowering)
11 tablegen(LLVM LoongArchGenMCCodeEmitter.inc -gen-emitter)
12 tablegen(LLVM LoongArchGenRegisterInfo.inc -gen-register-info)
13 tablegen(LLVM LoongArchGenSubtargetInfo.inc -gen-subtarget)
15 add_public_tablegen_target(LoongArchCommonTableGen)
17 add_llvm_target(LoongArchCodeGen
18   LoongArchAsmPrinter.cpp
19   LoongArchExpandAtomicPseudoInsts.cpp
20   LoongArchExpandPseudoInsts.cpp
21   LoongArchFrameLowering.cpp
22   LoongArchInstrInfo.cpp
23   LoongArchISelDAGToDAG.cpp
24   LoongArchISelLowering.cpp
25   LoongArchMCInstLower.cpp
26   LoongArchRegisterInfo.cpp
27   LoongArchSubtarget.cpp
28   LoongArchTargetMachine.cpp
29   LoongArchTargetTransformInfo.cpp
31   LINK_COMPONENTS
32   Analysis
33   AsmPrinter
34   CodeGen
35   CodeGenTypes
36   Core
37   LoongArchDesc
38   LoongArchInfo
39   MC
40   Scalar
41   SelectionDAG
42   Support
43   Target
44   TargetParser
46   ADD_TO_COMPONENT
47   LoongArch
48   )
50 add_subdirectory(AsmParser)
51 add_subdirectory(Disassembler)
52 add_subdirectory(MCTargetDesc)
53 add_subdirectory(TargetInfo)