diff options
author | Stephen Hines <srhines@google.com> | 2013-03-05 23:29:52 -0800 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2013-03-05 23:32:50 -0800 |
commit | 2123c1c0de9e6006dfffe9123b4b992703202e3e (patch) | |
tree | 581fcb48ae61d4b4b51aea677ba7227c67d0ef7d /lib | |
parent | 5adb136be579e8fff3734461580cb34d1d2983b8 (diff) | |
download | external_llvm-2123c1c0de9e6006dfffe9123b4b992703202e3e.zip external_llvm-2123c1c0de9e6006dfffe9123b4b992703202e3e.tar.gz external_llvm-2123c1c0de9e6006dfffe9123b4b992703202e3e.tar.bz2 |
Update build rules for LLVM merge to version 176139.
Change-Id: Ibb71ad9a6a2ed05dbf87f249ac42b1355e3fa41a
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Analysis/Android.mk | 1 | ||||
-rw-r--r-- | lib/Analysis/IPA/Android.mk | 4 | ||||
-rw-r--r-- | lib/Bitcode/Reader/Android.mk | 3 | ||||
-rw-r--r-- | lib/CodeGen/Android.mk | 3 | ||||
-rw-r--r-- | lib/Linker/Android.mk | 9 | ||||
-rw-r--r-- | lib/Support/Android.mk | 2 | ||||
-rw-r--r-- | lib/Target/Mips/MCTargetDesc/Android.mk | 4 | ||||
-rw-r--r-- | lib/Transforms/ObjCARC/Android.mk | 38 | ||||
-rw-r--r-- | lib/Transforms/Scalar/Android.mk | 1 |
9 files changed, 54 insertions, 11 deletions
diff --git a/lib/Analysis/Android.mk b/lib/Analysis/Android.mk index c2ff493..6153df4 100644 --- a/lib/Analysis/Android.mk +++ b/lib/Analysis/Android.mk @@ -20,7 +20,6 @@ analysis_SRC_FILES := \ DomPrinter.cpp \ DominanceFrontier.cpp \ IVUsers.cpp \ - InlineCost.cpp \ InstCount.cpp \ InstructionSimplify.cpp \ Interval.cpp \ diff --git a/lib/Analysis/IPA/Android.mk b/lib/Analysis/IPA/Android.mk index a1f47f3..ff8a4ae 100644 --- a/lib/Analysis/IPA/Android.mk +++ b/lib/Analysis/IPA/Android.mk @@ -3,9 +3,11 @@ LOCAL_PATH:= $(call my-dir) analysis_ipa_SRC_FILES := \ CallGraph.cpp \ CallGraphSCCPass.cpp \ + CallPrinter.cpp \ FindUsedTypes.cpp \ GlobalsModRef.cpp \ - IPA.cpp + IPA.cpp \ + InlineCost.cpp # For the host # ===================================================== diff --git a/lib/Bitcode/Reader/Android.mk b/lib/Bitcode/Reader/Android.mk index 9fbe9fc..6e95cbc 100644 --- a/lib/Bitcode/Reader/Android.mk +++ b/lib/Bitcode/Reader/Android.mk @@ -2,7 +2,8 @@ LOCAL_PATH:= $(call my-dir) bitcode_reader_SRC_FILES := \ BitReader.cpp \ - BitcodeReader.cpp + BitcodeReader.cpp \ + BitstreamReader.cpp # For the host # ===================================================== diff --git a/lib/CodeGen/Android.mk b/lib/CodeGen/Android.mk index 03a0f7d..3a06d4b 100644 --- a/lib/CodeGen/Android.mk +++ b/lib/CodeGen/Android.mk @@ -26,6 +26,7 @@ codegen_SRC_FILES := \ InlineSpiller.cpp \ InterferenceCache.cpp \ IntrinsicLowering.cpp \ + JITCodeEmitter.cpp \ LatencyPriorityQueue.cpp \ LexicalScopes.cpp \ LiveDebugVariables.cpp \ @@ -44,6 +45,7 @@ codegen_SRC_FILES := \ MachineBlockPlacement.cpp \ MachineBranchProbabilityInfo.cpp \ MachineCSE.cpp \ + MachineCodeEmitter.cpp \ MachineCopyPropagation.cpp \ MachineDominators.cpp \ MachineFunction.cpp \ @@ -101,6 +103,7 @@ codegen_SRC_FILES := \ TailDuplication.cpp \ TargetFrameLoweringImpl.cpp \ TargetInstrInfo.cpp \ + TargetLoweringBase.cpp \ TargetLoweringObjectFileImpl.cpp \ TargetOptionsImpl.cpp \ TargetRegisterInfo.cpp \ diff --git a/lib/Linker/Android.mk b/lib/Linker/Android.mk index 99c9a3f..17d9a39 100644 --- a/lib/Linker/Android.mk +++ b/lib/Linker/Android.mk @@ -1,18 +1,15 @@ LOCAL_PATH:= $(call my-dir) linker_SRC_FILES := \ - LinkModules.cpp + LinkModules.cpp \ + Linker.cpp # For the host # ===================================================== include $(CLEAR_VARS) include $(CLEAR_TBLGEN_VARS) -LOCAL_SRC_FILES := \ - $(linker_SRC_FILES)\ - LinkArchives.cpp \ - Linker.cpp \ - LinkItems.cpp +LOCAL_SRC_FILES := $(linker_SRC_FILES) LOCAL_MODULE:= libLLVMLinker LOCAL_MODULE_TAGS := optional diff --git a/lib/Support/Android.mk b/lib/Support/Android.mk index 6983b29..be3b2e6 100644 --- a/lib/Support/Android.mk +++ b/lib/Support/Android.mk @@ -10,6 +10,8 @@ support_SRC_FILES := \ BranchProbability.cpp \ CommandLine.cpp \ ConstantRange.cpp \ + ConvertUTF.c \ + ConvertUTFWrapper.cpp \ CrashRecoveryContext.cpp \ DAGDeltaAlgorithm.cpp \ DataStream.cpp \ diff --git a/lib/Target/Mips/MCTargetDesc/Android.mk b/lib/Target/Mips/MCTargetDesc/Android.mk index 83fe61e..733acdb 100644 --- a/lib/Target/Mips/MCTargetDesc/Android.mk +++ b/lib/Target/Mips/MCTargetDesc/Android.mk @@ -10,9 +10,11 @@ mips_mc_desc_SRC_FILES := \ MipsAsmBackend.cpp \ MipsDirectObjLower.cpp \ MipsELFObjectWriter.cpp \ + MipsELFStreamer.cpp \ MipsMCAsmInfo.cpp \ MipsMCCodeEmitter.cpp \ - MipsMCTargetDesc.cpp + MipsMCTargetDesc.cpp \ + MipsReginfo.cpp # For the host # ===================================================== diff --git a/lib/Transforms/ObjCARC/Android.mk b/lib/Transforms/ObjCARC/Android.mk new file mode 100644 index 0000000..126d7ee --- /dev/null +++ b/lib/Transforms/ObjCARC/Android.mk @@ -0,0 +1,38 @@ +LOCAL_PATH:= $(call my-dir) + +transforms_objcarc_SRC_FILES := \ + DependencyAnalysis.cpp \ + ObjCARCAliasAnalysis.cpp \ + ObjCARCAPElim.cpp \ + ObjCARCContract.cpp \ + ObjCARC.cpp \ + ObjCARCExpand.cpp \ + ObjCARCOpts.cpp \ + ObjCARCUtil.cpp \ + ProvenanceAnalysis.cpp + +# For the host +# ===================================================== +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := $(transforms_objcarc_SRC_FILES) +LOCAL_MODULE:= libLLVMTransformObjCARC + +LOCAL_MODULE_TAGS := optional + +include $(LLVM_HOST_BUILD_MK) +include $(LLVM_GEN_INTRINSICS_MK) +include $(BUILD_HOST_STATIC_LIBRARY) + +# For the device +# ===================================================== +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := $(transforms_objcarc_SRC_FILES) +LOCAL_MODULE:= libLLVMTransformObjCARC + +LOCAL_MODULE_TAGS := optional + +include $(LLVM_DEVICE_BUILD_MK) +include $(LLVM_GEN_INTRINSICS_MK) +include $(BUILD_STATIC_LIBRARY) diff --git a/lib/Transforms/Scalar/Android.mk b/lib/Transforms/Scalar/Android.mk index ac4a65e..c20b9d9 100644 --- a/lib/Transforms/Scalar/Android.mk +++ b/lib/Transforms/Scalar/Android.mk @@ -23,7 +23,6 @@ transforms_scalar_SRC_FILES := \ LoopUnswitch.cpp \ LowerAtomic.cpp \ MemCpyOptimizer.cpp \ - ObjCARC.cpp \ Reassociate.cpp \ Reg2Mem.cpp \ SCCP.cpp \ |