Sink ARM mc routines into MCTargetDesc.
[oota-llvm.git] / lib / Target / ARM / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS ARM.td)
2
3 tablegen(ARMGenRegisterInfo.inc -gen-register-info)
4 tablegen(ARMGenInstrInfo.inc -gen-instr-info)
5 tablegen(ARMGenCodeEmitter.inc -gen-emitter)
6 tablegen(ARMGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
7 tablegen(ARMGenMCPseudoLowering.inc -gen-pseudo-lowering)
8 tablegen(ARMGenAsmWriter.inc -gen-asm-writer)
9 tablegen(ARMGenAsmMatcher.inc -gen-asm-matcher)
10 tablegen(ARMGenDAGISel.inc -gen-dag-isel)
11 tablegen(ARMGenFastISel.inc -gen-fast-isel)
12 tablegen(ARMGenCallingConv.inc -gen-callingconv)
13 tablegen(ARMGenSubtargetInfo.inc -gen-subtarget)
14 tablegen(ARMGenEDInfo.inc -gen-enhanced-disassembly-info)
15 tablegen(ARMGenDecoderTables.inc -gen-arm-decoder)
16
17 add_llvm_target(ARMCodeGen
18   ARMAsmPrinter.cpp
19   ARMBaseInstrInfo.cpp
20   ARMBaseRegisterInfo.cpp
21   ARMCodeEmitter.cpp
22   ARMConstantIslandPass.cpp
23   ARMConstantPoolValue.cpp
24   ARMELFWriterInfo.cpp
25   ARMExpandPseudoInsts.cpp
26   ARMFastISel.cpp
27   ARMFrameLowering.cpp
28   ARMGlobalMerge.cpp
29   ARMHazardRecognizer.cpp
30   ARMISelDAGToDAG.cpp
31   ARMISelLowering.cpp
32   ARMInstrInfo.cpp
33   ARMJITInfo.cpp
34   ARMLoadStoreOptimizer.cpp
35   ARMMCInstLower.cpp
36   ARMRegisterInfo.cpp
37   ARMSelectionDAGInfo.cpp
38   ARMSubtarget.cpp
39   ARMTargetMachine.cpp
40   ARMTargetObjectFile.cpp
41   MLxExpansionPass.cpp
42   NEONMoveFix.cpp
43   Thumb1InstrInfo.cpp
44   Thumb1FrameLowering.cpp
45   Thumb1RegisterInfo.cpp
46   Thumb2ITBlockPass.cpp
47   Thumb2InstrInfo.cpp
48   Thumb2RegisterInfo.cpp
49   Thumb2SizeReduction.cpp
50   )
51
52 # workaround for hanging compilation on MSVC10
53 if( MSVC_VERSION EQUAL 1600 )
54 set_property(
55   SOURCE ARMISelLowering.cpp
56   PROPERTY COMPILE_FLAGS "/Od"
57   )
58 endif()
59
60 add_subdirectory(TargetInfo)
61 add_subdirectory(AsmParser)
62 add_subdirectory(Disassembler)
63 add_subdirectory(InstPrinter)
64 add_subdirectory(MCTargetDesc)