Fix return sequence on armv4 thumb
[oota-llvm.git] / lib / Target / ARM / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS ARM.td)
2
3 tablegen(LLVM ARMGenRegisterInfo.inc -gen-register-info)
4 tablegen(LLVM ARMGenInstrInfo.inc -gen-instr-info)
5 tablegen(LLVM ARMGenCodeEmitter.inc -gen-emitter)
6 tablegen(LLVM ARMGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
7 tablegen(LLVM ARMGenMCPseudoLowering.inc -gen-pseudo-lowering)
8 tablegen(LLVM ARMGenAsmWriter.inc -gen-asm-writer)
9 tablegen(LLVM ARMGenAsmMatcher.inc -gen-asm-matcher)
10 tablegen(LLVM ARMGenDAGISel.inc -gen-dag-isel)
11 tablegen(LLVM ARMGenFastISel.inc -gen-fast-isel)
12 tablegen(LLVM ARMGenCallingConv.inc -gen-callingconv)
13 tablegen(LLVM ARMGenSubtargetInfo.inc -gen-subtarget)
14 tablegen(LLVM ARMGenDisassemblerTables.inc -gen-disassembler)
15 add_public_tablegen_target(ARMCommonTableGen)
16
17 add_llvm_target(ARMCodeGen
18   A15SDOptimizer.cpp
19   ARMAsmPrinter.cpp
20   ARMBaseInstrInfo.cpp
21   ARMBaseRegisterInfo.cpp
22   ARMCodeEmitter.cpp
23   ARMConstantIslandPass.cpp
24   ARMConstantPoolValue.cpp
25   ARMExpandPseudoInsts.cpp
26   ARMFastISel.cpp
27   ARMFrameLowering.cpp
28   ARMHazardRecognizer.cpp
29   ARMISelDAGToDAG.cpp
30   ARMISelLowering.cpp
31   ARMInstrInfo.cpp
32   ARMJITInfo.cpp
33   ARMLoadStoreOptimizer.cpp
34   ARMMCInstLower.cpp
35   ARMMachineFunctionInfo.cpp
36   ARMRegisterInfo.cpp
37   ARMOptimizeBarriersPass.cpp
38   ARMSelectionDAGInfo.cpp
39   ARMSubtarget.cpp
40   ARMTargetMachine.cpp
41   ARMTargetObjectFile.cpp
42   ARMTargetTransformInfo.cpp
43   MLxExpansionPass.cpp
44   Thumb1FrameLowering.cpp
45   Thumb1InstrInfo.cpp
46   Thumb1RegisterInfo.cpp
47   Thumb2ITBlockPass.cpp
48   Thumb2InstrInfo.cpp
49   Thumb2RegisterInfo.cpp
50   Thumb2SizeReduction.cpp
51   )
52
53 add_subdirectory(TargetInfo)
54 add_subdirectory(AsmParser)
55 add_subdirectory(Disassembler)
56 add_subdirectory(InstPrinter)
57 add_subdirectory(MCTargetDesc)