1add_llvm_component_group(Sparc HAS_JIT)
2
3set(LLVM_TARGET_DEFINITIONS Sparc.td)
4
5tablegen(LLVM SparcGenAsmMatcher.inc -gen-asm-matcher)
6tablegen(LLVM SparcGenAsmWriter.inc -gen-asm-writer)
7tablegen(LLVM SparcGenCallingConv.inc -gen-callingconv)
8tablegen(LLVM SparcGenDAGISel.inc -gen-dag-isel)
9tablegen(LLVM SparcGenDisassemblerTables.inc -gen-disassembler)
10tablegen(LLVM SparcGenInstrInfo.inc -gen-instr-info)
11tablegen(LLVM SparcGenMCCodeEmitter.inc -gen-emitter)
12tablegen(LLVM SparcGenRegisterInfo.inc -gen-register-info)
13tablegen(LLVM SparcGenSubtargetInfo.inc -gen-subtarget)
14
15add_public_tablegen_target(SparcCommonTableGen)
16
17add_llvm_target(SparcCodeGen
18  DelaySlotFiller.cpp
19  LeonPasses.cpp
20  SparcAsmPrinter.cpp
21  SparcInstrInfo.cpp
22  SparcISelDAGToDAG.cpp
23  SparcISelLowering.cpp
24  SparcFrameLowering.cpp
25  SparcMachineFunctionInfo.cpp
26  SparcRegisterInfo.cpp
27  SparcSubtarget.cpp
28  SparcTargetMachine.cpp
29  SparcMCInstLower.cpp
30  SparcTargetObjectFile.cpp
31
32  LINK_COMPONENTS
33  AsmPrinter
34  CodeGen
35  Core
36  MC
37  SelectionDAG
38  SparcDesc
39  SparcInfo
40  Support
41  Target
42
43  ADD_TO_COMPONENT
44  Sparc
45  )
46
47add_subdirectory(AsmParser)
48add_subdirectory(Disassembler)
49add_subdirectory(MCTargetDesc)
50add_subdirectory(TargetInfo)
51