CMakeLists.txt revision a460e4a1427260bd46171e674d0a4c41cdd6313f
1set(LLVM_TARGET_DEFINITIONS Sparc.td)
2
3tablegen(SparcGenRegisterInfo.h.inc -gen-register-desc-header)
4tablegen(SparcGenRegisterNames.inc -gen-register-enums)
5tablegen(SparcGenRegisterInfo.inc -gen-register-desc)
6tablegen(SparcGenInstrNames.inc -gen-instr-enums)
7tablegen(SparcGenInstrInfo.inc -gen-instr-desc)
8tablegen(SparcGenAsmWriter.inc -gen-asm-writer)
9tablegen(SparcGenDAGISel.inc -gen-dag-isel)
10tablegen(SparcGenSubtarget.inc -gen-subtarget)
11tablegen(SparcGenCallingConv.inc -gen-callingconv)
12
13add_llvm_target(SparcCodeGen
14  DelaySlotFiller.cpp
15  FPMover.cpp
16  SparcAsmPrinter.cpp
17  SparcInstrInfo.cpp
18  SparcISelDAGToDAG.cpp
19  SparcISelLowering.cpp
20  SparcFrameInfo.cpp
21  SparcMCAsmInfo.cpp
22  SparcRegisterInfo.cpp
23  SparcSubtarget.cpp
24  SparcTargetMachine.cpp
25  SparcSelectionDAGInfo.cpp
26  )
27