Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / lib / Target / XCore / CMakeLists.txt
blob447f5c54528850423f9452f9f5bbc577b241d165
1 add_llvm_component_group(XCore)
3 set(LLVM_TARGET_DEFINITIONS XCore.td)
5 tablegen(LLVM XCoreGenAsmWriter.inc -gen-asm-writer)
6 tablegen(LLVM XCoreGenCallingConv.inc -gen-callingconv)
7 tablegen(LLVM XCoreGenDAGISel.inc -gen-dag-isel)
8 tablegen(LLVM XCoreGenDisassemblerTables.inc -gen-disassembler)
9 tablegen(LLVM XCoreGenInstrInfo.inc -gen-instr-info)
10 tablegen(LLVM XCoreGenRegisterInfo.inc -gen-register-info)
11 tablegen(LLVM XCoreGenSubtargetInfo.inc -gen-subtarget)
13 add_public_tablegen_target(XCoreCommonTableGen)
15 add_llvm_target(XCoreCodeGen
16   XCoreAsmPrinter.cpp
17   XCoreFrameLowering.cpp
18   XCoreInstrInfo.cpp
19   XCoreISelDAGToDAG.cpp
20   XCoreISelLowering.cpp
21   XCoreLowerThreadLocal.cpp
22   XCoreMachineFunctionInfo.cpp
23   XCoreMCInstLower.cpp
24   XCoreRegisterInfo.cpp
25   XCoreSubtarget.cpp
26   XCoreTargetMachine.cpp
27   XCoreTargetObjectFile.cpp
28   XCoreSelectionDAGInfo.cpp
29   XCoreFrameToArgsOffsetElim.cpp
31   LINK_COMPONENTS
32   Analysis
33   AsmPrinter
34   CodeGen
35   CodeGenTypes
36   Core
37   MC
38   SelectionDAG
39   Support
40   Target
41   TargetParser
42   TransformUtils
43   XCoreDesc
44   XCoreInfo
46   ADD_TO_COMPONENT
47   XCore
48   )
50 add_subdirectory(Disassembler)
51 add_subdirectory(MCTargetDesc)
52 add_subdirectory(TargetInfo)