1set(LLVM_TARGET_DEFINITIONS Hexagon.td)
2
3tablegen(LLVM HexagonGenAsmWriter.inc -gen-asm-writer)
4tablegen(LLVM HexagonGenCallingConv.inc -gen-callingconv)
5tablegen(LLVM HexagonGenDAGISel.inc -gen-dag-isel)
6tablegen(LLVM HexagonGenDFAPacketizer.inc -gen-dfa-packetizer)
7tablegen(LLVM HexagonGenDisassemblerTables.inc -gen-disassembler)
8tablegen(LLVM HexagonGenInstrInfo.inc -gen-instr-info)
9tablegen(LLVM HexagonGenMCCodeEmitter.inc -gen-emitter)
10tablegen(LLVM HexagonGenRegisterInfo.inc -gen-register-info)
11tablegen(LLVM HexagonGenSubtargetInfo.inc -gen-subtarget)
12add_public_tablegen_target(HexagonCommonTableGen)
13
14add_llvm_target(HexagonCodeGen
15  HexagonAsmPrinter.cpp
16  HexagonCFGOptimizer.cpp
17  HexagonCopyToCombine.cpp
18  HexagonExpandCondsets.cpp
19  HexagonExpandPredSpillCode.cpp
20  HexagonFixupHwLoops.cpp
21  HexagonFrameLowering.cpp
22  HexagonHardwareLoops.cpp
23  HexagonInstrInfo.cpp
24  HexagonISelDAGToDAG.cpp
25  HexagonISelLowering.cpp
26  HexagonMachineFunctionInfo.cpp
27  HexagonMachineScheduler.cpp
28  HexagonMCInstLower.cpp
29  HexagonNewValueJump.cpp
30  HexagonPeephole.cpp
31  HexagonRegisterInfo.cpp
32  HexagonRemoveSZExtArgs.cpp
33  HexagonSelectionDAGInfo.cpp
34  HexagonSplitConst32AndConst64.cpp
35  HexagonSubtarget.cpp
36  HexagonTargetMachine.cpp
37  HexagonTargetObjectFile.cpp
38  HexagonVLIWPacketizer.cpp
39)
40
41add_subdirectory(TargetInfo)
42add_subdirectory(MCTargetDesc)
43add_subdirectory(Disassembler)
44