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