e071b6110ae97f1d62618898c50542cc04359b48
[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
14 add_llvm_target(ARMCodeGen
15   ARMBaseInstrInfo.cpp
16   ARMBaseRegisterInfo.cpp
17   ARMCodeEmitter.cpp
18   ARMConstantIslandPass.cpp
19   ARMConstantPoolValue.cpp
20   ARMISelDAGToDAG.cpp
21   ARMISelLowering.cpp
22   ARMInstrInfo.cpp
23   ARMJITInfo.cpp
24   ARMLoadStoreOptimizer.cpp
25   ARMMCAsmInfo.cpp
26   ARMRegisterInfo.cpp
27   ARMSubtarget.cpp
28   ARMTargetMachine.cpp
29   NEONMoveFix.cpp
30   NEONPreAllocPass.cpp
31   Thumb1InstrInfo.cpp
32   Thumb1RegisterInfo.cpp
33   Thumb2ITBlockPass.cpp
34   Thumb2InstrInfo.cpp
35   Thumb2RegisterInfo.cpp
36   Thumb2SizeReduction.cpp
37   )
38
39 target_link_libraries (LLVMARMCodeGen LLVMSelectionDAG)