1LOCAL_PATH := $(call my-dir) 2 3aarch64_codegen_TBLGEN_TABLES := \ 4 AArch64GenRegisterInfo.inc \ 5 AArch64GenInstrInfo.inc \ 6 AArch64GenAsmWriter.inc \ 7 AArch64GenAsmWriter1.inc \ 8 AArch64GenDAGISel.inc \ 9 AArch64GenCallingConv.inc \ 10 AArch64GenAsmMatcher.inc \ 11 AArch64GenSubtargetInfo.inc \ 12 AArch64GenMCCodeEmitter.inc \ 13 AArch64GenFastISel.inc \ 14 AArch64GenDisassemblerTables.inc \ 15 AArch64GenMCPseudoLowering.inc \ 16 17aarch64_codegen_SRC_FILES := \ 18 AArch64A53Fix835769.cpp \ 19 AArch64A57FPLoadBalancing.cpp \ 20 AArch64AddressTypePromotion.cpp \ 21 AArch64AdvSIMDScalarPass.cpp \ 22 AArch64AsmPrinter.cpp \ 23 AArch64BranchRelaxation.cpp \ 24 AArch64CleanupLocalDynamicTLSPass.cpp \ 25 AArch64CollectLOH.cpp \ 26 AArch64ConditionalCompares.cpp \ 27 AArch64ConditionOptimizer.cpp \ 28 AArch64DeadRegisterDefinitionsPass.cpp \ 29 AArch64ExpandPseudoInsts.cpp \ 30 AArch64FastISel.cpp \ 31 AArch64FrameLowering.cpp \ 32 AArch64InstrInfo.cpp \ 33 AArch64ISelDAGToDAG.cpp \ 34 AArch64ISelLowering.cpp \ 35 AArch64LoadStoreOptimizer.cpp \ 36 AArch64MCInstLower.cpp \ 37 AArch64PBQPRegAlloc.cpp \ 38 AArch64PromoteConstant.cpp \ 39 AArch64RegisterInfo.cpp \ 40 AArch64SelectionDAGInfo.cpp \ 41 AArch64StorePairSuppress.cpp \ 42 AArch64Subtarget.cpp \ 43 AArch64TargetMachine.cpp \ 44 AArch64TargetObjectFile.cpp \ 45 AArch64TargetTransformInfo.cpp 46 47# For the host 48# ===================================================== 49include $(CLEAR_VARS) 50include $(CLEAR_TBLGEN_VARS) 51 52LOCAL_MODULE:= libLLVMAArch64CodeGen 53LOCAL_MODULE_TAGS := optional 54 55LOCAL_SRC_FILES := $(aarch64_codegen_SRC_FILES) 56LOCAL_C_INCLUDES := $(LOCAL_PATH)/MCTargetDesc 57TBLGEN_TABLES := $(aarch64_codegen_TBLGEN_TABLES) 58 59include $(LLVM_HOST_BUILD_MK) 60include $(LLVM_TBLGEN_RULES_MK) 61include $(LLVM_GEN_INTRINSICS_MK) 62include $(BUILD_HOST_STATIC_LIBRARY) 63 64# For the device only 65# ===================================================== 66ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 67include $(CLEAR_VARS) 68include $(CLEAR_TBLGEN_VARS) 69 70LOCAL_MODULE:= libLLVMAArch64CodeGen 71LOCAL_MODULE_TAGS := optional 72 73LOCAL_SRC_FILES := $(aarch64_codegen_SRC_FILES) 74LOCAL_C_INCLUDES := $(LOCAL_PATH)/MCTargetDesc 75TBLGEN_TABLES := $(aarch64_codegen_TBLGEN_TABLES) 76 77include $(LLVM_DEVICE_BUILD_MK) 78include $(LLVM_TBLGEN_RULES_MK) 79include $(LLVM_GEN_INTRINSICS_MK) 80include $(BUILD_STATIC_LIBRARY) 81endif 82