Update CMake files.
[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   ARMAsmPrinter.cpp
17   ARMBaseInstrInfo.cpp
18   ARMBaseRegisterInfo.cpp
19   ARMCodeEmitter.cpp
20   ARMConstantIslandPass.cpp
21   ARMConstantPoolValue.cpp
22   ARMExpandPseudoInsts.cpp
23   ARMISelDAGToDAG.cpp
24   ARMISelLowering.cpp
25   ARMInstrInfo.cpp
26   ARMJITInfo.cpp
27   ARMLoadStoreOptimizer.cpp
28   ARMMCAsmInfo.cpp
29   ARMMCInstLower.cpp
30   ARMRegisterInfo.cpp
31   ARMSelectionDAGInfo.cpp
32   ARMSubtarget.cpp
33   ARMTargetMachine.cpp
34   ARMTargetObjectFile.cpp
35   NEONMoveFix.cpp
36   NEONPreAllocPass.cpp
37   Thumb1InstrInfo.cpp
38   Thumb1RegisterInfo.cpp
39   Thumb2HazardRecognizer.cpp
40   Thumb2ITBlockPass.cpp
41   Thumb2InstrInfo.cpp
42   Thumb2RegisterInfo.cpp
43   Thumb2SizeReduction.cpp
44   )
45
46 target_link_libraries (LLVMARMCodeGen LLVMSelectionDAG)