1set(LLVM_TARGET_DEFINITIONS Sparc.td)
2
3tablegen(LLVM SparcGenRegisterInfo.inc -gen-register-info)
4tablegen(LLVM SparcGenInstrInfo.inc -gen-instr-info)
5tablegen(LLVM SparcGenDisassemblerTables.inc -gen-disassembler)
6tablegen(LLVM SparcGenMCCodeEmitter.inc -gen-emitter)
7tablegen(LLVM SparcGenAsmWriter.inc -gen-asm-writer)
8tablegen(LLVM SparcGenAsmMatcher.inc -gen-asm-matcher)
9tablegen(LLVM SparcGenDAGISel.inc -gen-dag-isel)
10tablegen(LLVM SparcGenSubtargetInfo.inc -gen-subtarget)
11tablegen(LLVM SparcGenCallingConv.inc -gen-callingconv)
12add_public_tablegen_target(SparcCommonTableGen)
13
14add_llvm_target(SparcCodeGen
15  DelaySlotFiller.cpp
16  SparcAsmPrinter.cpp
17  SparcInstrInfo.cpp
18  SparcISelDAGToDAG.cpp
19  SparcISelLowering.cpp
20  SparcFrameLowering.cpp
21  SparcMachineFunctionInfo.cpp
22  SparcRegisterInfo.cpp
23  SparcSubtarget.cpp
24  SparcTargetMachine.cpp
25  SparcSelectionDAGInfo.cpp
26  SparcMCInstLower.cpp
27  SparcTargetObjectFile.cpp
28  )
29
30add_subdirectory(TargetInfo)
31add_subdirectory(MCTargetDesc)
32add_subdirectory(InstPrinter)
33add_subdirectory(AsmParser)
34add_subdirectory(Disassembler)
35