Update cmake list.
[oota-llvm.git] / lib / Target / ARM / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS ARM.td)
2
3 tablegen(ARMGenRegisterInfo.h.inc -gen-register-desc-header)
4 tablegen(ARMGenRegisterNames.inc -gen-register-enums)
5 tablegen(ARMGenRegisterInfo.inc -gen-register-desc)
6 tablegen(ARMGenInstrNames.inc -gen-instr-enums)
7 tablegen(ARMGenInstrInfo.inc -gen-instr-desc)
8 tablegen(ARMGenCodeEmitter.inc -gen-emitter)
9 tablegen(ARMGenAsmWriter.inc -gen-asm-writer)
10 tablegen(ARMGenDAGISel.inc -gen-dag-isel)
11 tablegen(ARMGenCallingConv.inc -gen-callingconv)
12 tablegen(ARMGenSubtarget.inc -gen-subtarget)
13 tablegen(ARMGenEDInfo.inc -gen-enhanced-disassembly-info)
14
15 add_llvm_target(ARMCodeGen
16   ARMBaseInstrInfo.cpp
17   ARMBaseRegisterInfo.cpp
18   ARMCodeEmitter.cpp
19   ARMConstantIslandPass.cpp
20   ARMConstantPoolValue.cpp
21   ARMExpandPseudoInsts.cpp
22   ARMISelDAGToDAG.cpp
23   ARMISelLowering.cpp
24   ARMInstrInfo.cpp
25   ARMJITInfo.cpp
26   ARMLoadStoreOptimizer.cpp
27   ARMMCAsmInfo.cpp
28   ARMRegisterInfo.cpp
29   ARMSubtarget.cpp
30   ARMTargetMachine.cpp
31   ARMTargetObjectFile.cpp
32   NEONMoveFix.cpp
33   NEONPreAllocPass.cpp
34   Thumb1InstrInfo.cpp
35   Thumb1RegisterInfo.cpp
36   Thumb2HazardRecognizer.cpp
37   Thumb2ITBlockPass.cpp
38   Thumb2InstrInfo.cpp
39   Thumb2RegisterInfo.cpp
40   Thumb2SizeReduction.cpp
41   ARMSelectionDAGInfo.cpp
42   )
43
44 target_link_libraries (LLVMARMCodeGen LLVMSelectionDAG)