OSDN Git Service

Rename createAsmInfo to createMCAsmInfo and move registration code to MCTargetDesc...
[android-x86/external-llvm.git] / lib / Target / Sparc / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS Sparc.td)
2
3 tablegen(SparcGenRegisterInfo.inc -gen-register-info)
4 tablegen(SparcGenInstrInfo.inc -gen-instr-info)
5 tablegen(SparcGenAsmWriter.inc -gen-asm-writer)
6 tablegen(SparcGenDAGISel.inc -gen-dag-isel)
7 tablegen(SparcGenSubtargetInfo.inc -gen-subtarget)
8 tablegen(SparcGenCallingConv.inc -gen-callingconv)
9
10 add_llvm_target(SparcCodeGen
11   DelaySlotFiller.cpp
12   FPMover.cpp
13   SparcAsmPrinter.cpp
14   SparcInstrInfo.cpp
15   SparcISelDAGToDAG.cpp
16   SparcISelLowering.cpp
17   SparcFrameLowering.cpp
18   SparcRegisterInfo.cpp
19   SparcSubtarget.cpp
20   SparcTargetMachine.cpp
21   SparcSelectionDAGInfo.cpp
22   )
23
24 add_subdirectory(TargetInfo)
25 add_subdirectory(MCTargetDesc)