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