1 set(LLVM_TARGET_DEFINITIONS ARM.td)
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)
17 add_llvm_target(ARMCodeGen
20 ARMBaseRegisterInfo.cpp
22 ARMConstantIslandPass.cpp
23 ARMConstantPoolValue.cpp
24 ARMExpandPseudoInsts.cpp
27 ARMHazardRecognizer.cpp
32 ARMLoadStoreOptimizer.cpp
34 ARMMachineFunctionInfo.cpp
36 ARMSelectionDAGInfo.cpp
39 ARMTargetObjectFile.cpp
40 ARMTargetTransformInfo.cpp
42 Thumb1FrameLowering.cpp
44 Thumb1RegisterInfo.cpp
47 Thumb2RegisterInfo.cpp
48 Thumb2SizeReduction.cpp
51 add_dependencies(LLVMARMCodeGen intrinsics_gen)
53 # workaround for hanging compilation on MSVC9, 10
54 if( MSVC_VERSION EQUAL 1600 OR MSVC_VERSION EQUAL 1500 )
56 SOURCE ARMISelLowering.cpp
57 PROPERTY COMPILE_FLAGS "/Od"
61 add_subdirectory(TargetInfo)
62 add_subdirectory(AsmParser)
63 add_subdirectory(Disassembler)
64 add_subdirectory(InstPrinter)
65 add_subdirectory(MCTargetDesc)