Reapply r110396, with fixes to appease the Linux buildbot gods.
[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 tablegen(ARMGenFastISel.inc -gen-fast-isel)
15
16 add_llvm_target(ARMCodeGen
17   ARMAsmPrinter.cpp
18   ARMBaseInstrInfo.cpp
19   ARMBaseRegisterInfo.cpp
20   ARMCodeEmitter.cpp
21   ARMConstantIslandPass.cpp
22   ARMConstantPoolValue.cpp
23   ARMExpandPseudoInsts.cpp
24   ARMFastISel.cpp
25   ARMGlobalMerge.cpp
26   ARMISelDAGToDAG.cpp
27   ARMISelLowering.cpp
28   ARMInstrInfo.cpp
29   ARMJITInfo.cpp
30   ARMLoadStoreOptimizer.cpp
31   ARMMCAsmInfo.cpp
32   ARMMCInstLower.cpp
33   ARMRegisterInfo.cpp
34   ARMSelectionDAGInfo.cpp
35   ARMSubtarget.cpp
36   ARMTargetMachine.cpp
37   ARMTargetObjectFile.cpp
38   NEONMoveFix.cpp
39   NEONPreAllocPass.cpp
40   Thumb1InstrInfo.cpp
41   Thumb1RegisterInfo.cpp
42   Thumb2HazardRecognizer.cpp
43   Thumb2ITBlockPass.cpp
44   Thumb2InstrInfo.cpp
45   Thumb2RegisterInfo.cpp
46   Thumb2SizeReduction.cpp
47   )
48
49 target_link_libraries (LLVMARMCodeGen LLVMARMAsmPrinter LLVMSelectionDAG)