diff options
-rw-r--r-- | Android.mk | 1 | ||||
-rw-r--r-- | lib/CodeGen/Android.mk | 6 | ||||
-rw-r--r-- | lib/CodeGen/SelectionDAG/Android.mk | 2 | ||||
-rw-r--r-- | lib/ExecutionEngine/JIT/Android.mk | 1 | ||||
-rw-r--r-- | lib/MC/Android.mk | 1 | ||||
-rw-r--r-- | lib/Support/Android.mk | 5 | ||||
-rw-r--r-- | lib/Support/LockFileManager.cpp | 3 | ||||
-rw-r--r-- | lib/TableGen/Android.mk | 1 | ||||
-rw-r--r-- | lib/Target/ARM/Android.mk | 1 | ||||
-rw-r--r-- | lib/Target/ARM/MCTargetDesc/Android.mk | 1 | ||||
-rw-r--r-- | lib/Target/Android.mk | 1 | ||||
-rw-r--r-- | lib/Target/Mips/Android.mk | 2 | ||||
-rw-r--r-- | lib/Target/Mips/MCTargetDesc/Android.mk | 1 | ||||
-rw-r--r-- | lib/Target/X86/Android.mk | 1 | ||||
-rw-r--r-- | lib/Target/X86/MCTargetDesc/Android.mk | 4 | ||||
-rw-r--r-- | lib/Transforms/Instrumentation/Android.mk | 3 | ||||
-rw-r--r-- | lib/Transforms/Utils/Android.mk | 1 | ||||
-rw-r--r-- | lib/Transforms/Vectorize/Android.mk | 31 | ||||
-rw-r--r-- | tools/llc/Android.mk | 1 | ||||
-rw-r--r-- | tools/llvm-ld/Android.mk | 1 | ||||
-rw-r--r-- | tools/opt/Android.mk | 1 | ||||
-rw-r--r-- | utils/TableGen/Android.mk | 2 |
22 files changed, 62 insertions, 9 deletions
@@ -27,6 +27,7 @@ subdirs := \ lib/Transforms/Instrumentation \ lib/Transforms/Scalar \ lib/Transforms/Utils \ + lib/Transforms/Vectorize \ lib/VMCore \ utils/FileCheck \ utils/TableGen diff --git a/lib/CodeGen/Android.mk b/lib/CodeGen/Android.mk index f10e2a3..fe1eff1 100644 --- a/lib/CodeGen/Android.mk +++ b/lib/CodeGen/Android.mk @@ -13,8 +13,6 @@ codegen_SRC_FILES := \ DFAPacketizer.cpp \ DeadMachineInstructionElim.cpp \ DwarfEHPrepare.cpp \ - ELFCodeEmitter.cpp \ - ELFWriter.cpp \ EdgeBundles.cpp \ ExecutionDepsFix.cpp \ ExpandISelPseudos.cpp \ @@ -43,6 +41,7 @@ codegen_SRC_FILES := \ MachineBlockPlacement.cpp \ MachineBranchProbabilityInfo.cpp \ MachineCSE.cpp \ + MachineCopyPropagation.cpp \ MachineDominators.cpp \ MachineFunction.cpp \ MachineFunctionAnalysis.cpp \ @@ -58,9 +57,9 @@ codegen_SRC_FILES := \ MachinePassRegistry.cpp \ MachineRegisterInfo.cpp \ MachineSSAUpdater.cpp \ + MachineScheduler.cpp \ MachineSink.cpp \ MachineVerifier.cpp \ - ObjectCodeEmitter.cpp \ OcamlGC.cpp \ OptimizePHIs.cpp \ PHIElimination.cpp \ @@ -71,6 +70,7 @@ codegen_SRC_FILES := \ ProcessImplicitDefs.cpp \ PrologEpilogInserter.cpp \ PseudoSourceValue.cpp \ + RegAllocBase.cpp \ RegAllocBasic.cpp \ RegAllocFast.cpp \ RegAllocGreedy.cpp \ diff --git a/lib/CodeGen/SelectionDAG/Android.mk b/lib/CodeGen/SelectionDAG/Android.mk index 4fc5cc9..329a82a 100644 --- a/lib/CodeGen/SelectionDAG/Android.mk +++ b/lib/CodeGen/SelectionDAG/Android.mk @@ -12,9 +12,11 @@ codegen_selectiondag_SRC_FILES := \ LegalizeTypesGeneric.cpp \ LegalizeVectorOps.cpp \ LegalizeVectorTypes.cpp \ + ResourcePriorityQueue.cpp \ ScheduleDAGFast.cpp \ ScheduleDAGRRList.cpp \ ScheduleDAGSDNodes.cpp \ + ScheduleDAGVLIW.cpp \ SelectionDAG.cpp \ SelectionDAGBuilder.cpp \ SelectionDAGISel.cpp \ diff --git a/lib/ExecutionEngine/JIT/Android.mk b/lib/ExecutionEngine/JIT/Android.mk index 7c1cfdd..c978266 100644 --- a/lib/ExecutionEngine/JIT/Android.mk +++ b/lib/ExecutionEngine/JIT/Android.mk @@ -7,7 +7,6 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := \ Intercept.cpp \ JIT.cpp \ - JITDebugRegisterer.cpp \ JITDwarfEmitter.cpp \ JITEmitter.cpp \ JITMemoryManager.cpp \ diff --git a/lib/MC/Android.mk b/lib/MC/Android.mk index b016dd8..71e331a 100644 --- a/lib/MC/Android.mk +++ b/lib/MC/Android.mk @@ -22,7 +22,6 @@ mc_SRC_FILES := \ MCInstPrinter.cpp \ MCInstrAnalysis.cpp \ MCLabel.cpp \ - MCLoggingStreamer.cpp \ MCMachObjectTargetWriter.cpp \ MCMachOStreamer.cpp \ MCNullStreamer.cpp \ diff --git a/lib/Support/Android.mk b/lib/Support/Android.mk index 4a36e4a..62400ba 100644 --- a/lib/Support/Android.mk +++ b/lib/Support/Android.mk @@ -12,6 +12,7 @@ support_SRC_FILES := \ ConstantRange.cpp \ CrashRecoveryContext.cpp \ DAGDeltaAlgorithm.cpp \ + DataStream.cpp \ Debug.cpp \ DeltaAlgorithm.cpp \ Dwarf.cpp \ @@ -22,11 +23,14 @@ support_SRC_FILES := \ FoldingSet.cpp \ FormattedStream.cpp \ GraphWriter.cpp \ + Hashing.cpp \ Host.cpp \ IntervalMap.cpp \ IntEqClasses.cpp \ + IntrusiveRefCntPtr.cpp \ IsInf.cpp \ IsNAN.cpp \ + LockFileManager.cpp \ ManagedStatic.cpp \ Memory.cpp \ MemoryBuffer.cpp \ @@ -46,6 +50,7 @@ support_SRC_FILES := \ SmallVector.cpp \ SourceMgr.cpp \ Statistic.cpp \ + StreamableMemoryObject.cpp \ StringExtras.cpp \ StringMap.cpp \ StringPool.cpp \ diff --git a/lib/Support/LockFileManager.cpp b/lib/Support/LockFileManager.cpp index 64404a1..8cb9857 100644 --- a/lib/Support/LockFileManager.cpp +++ b/lib/Support/LockFileManager.cpp @@ -49,7 +49,8 @@ LockFileManager::readLockFile(StringRef LockFileName) { } bool LockFileManager::processStillExecuting(StringRef Hostname, int PID) { -#if LLVM_ON_UNIX +// getsid not supported in Android bionic library +#if LLVM_ON_UNIX && !defined(ANDROID_TARGET_BUILD) char MyHostname[256]; MyHostname[255] = 0; MyHostname[0] = 0; diff --git a/lib/TableGen/Android.mk b/lib/TableGen/Android.mk index 6e8e7c7..4ef0dc0 100644 --- a/lib/TableGen/Android.mk +++ b/lib/TableGen/Android.mk @@ -4,6 +4,7 @@ libtablegen_SRC_FILES := \ Error.cpp \ Main.cpp \ Record.cpp \ + TableGenAction.cpp \ TableGenBackend.cpp \ TGLexer.cpp \ TGParser.cpp diff --git a/lib/Target/ARM/Android.mk b/lib/Target/ARM/Android.mk index f49d257..bf58f11 100644 --- a/lib/Target/ARM/Android.mk +++ b/lib/Target/ARM/Android.mk @@ -33,6 +33,7 @@ arm_codegen_SRC_FILES := \ ARMJITInfo.cpp \ ARMLoadStoreOptimizer.cpp \ ARMMCInstLower.cpp \ + ARMMachineFunctionInfo.cpp \ ARMRegisterInfo.cpp \ ARMSelectionDAGInfo.cpp \ ARMSubtarget.cpp \ diff --git a/lib/Target/ARM/MCTargetDesc/Android.mk b/lib/Target/ARM/MCTargetDesc/Android.mk index 3365b2c..48a1db0 100644 --- a/lib/Target/ARM/MCTargetDesc/Android.mk +++ b/lib/Target/ARM/MCTargetDesc/Android.mk @@ -8,6 +8,7 @@ arm_mc_desc_TBLGEN_TABLES := \ arm_mc_desc_SRC_FILES := \ ARMAsmBackend.cpp \ + ARMELFObjectWriter.cpp \ ARMMCAsmInfo.cpp \ ARMMCCodeEmitter.cpp \ ARMMCExpr.cpp \ diff --git a/lib/Target/Android.mk b/lib/Target/Android.mk index 45a313c..f27aa2e 100644 --- a/lib/Target/Android.mk +++ b/lib/Target/Android.mk @@ -7,6 +7,7 @@ target_SRC_FILES := \ TargetELFWriterInfo.cpp \ TargetInstrInfo.cpp \ TargetIntrinsicInfo.cpp \ + TargetJITInfo.cpp \ TargetLibraryInfo.cpp \ TargetLoweringObjectFile.cpp \ TargetMachine.cpp \ diff --git a/lib/Target/Mips/Android.mk b/lib/Target/Mips/Android.mk index acd2150..34cea3b 100644 --- a/lib/Target/Mips/Android.mk +++ b/lib/Target/Mips/Android.mk @@ -11,6 +11,7 @@ mips_codegen_TBLGEN_TABLES := \ MipsGenSubtargetInfo.inc mips_codegen_SRC_FILES := \ + MipsAnalyzeImmediate.cpp \ MipsAsmPrinter.cpp \ MipsCodeEmitter.cpp \ MipsDelaySlotFiller.cpp \ @@ -21,6 +22,7 @@ mips_codegen_SRC_FILES := \ MipsISelDAGToDAG.cpp \ MipsISelLowering.cpp \ MipsFrameLowering.cpp \ + MipsMachineFunction.cpp \ MipsMCInstLower.cpp \ MipsRegisterInfo.cpp \ MipsSubtarget.cpp \ diff --git a/lib/Target/Mips/MCTargetDesc/Android.mk b/lib/Target/Mips/MCTargetDesc/Android.mk index a728a80..fac9d33 100644 --- a/lib/Target/Mips/MCTargetDesc/Android.mk +++ b/lib/Target/Mips/MCTargetDesc/Android.mk @@ -8,6 +8,7 @@ mips_mc_desc_TBLGEN_TABLES := \ mips_mc_desc_SRC_FILES := \ MipsAsmBackend.cpp \ + MipsELFObjectWriter.cpp \ MipsMCAsmInfo.cpp \ MipsMCCodeEmitter.cpp \ MipsMCTargetDesc.cpp diff --git a/lib/Target/X86/Android.mk b/lib/Target/X86/Android.mk index 8432ad9..445dd5d 100644 --- a/lib/Target/X86/Android.mk +++ b/lib/Target/X86/Android.mk @@ -22,6 +22,7 @@ x86_codegen_SRC_FILES := \ X86ISelLowering.cpp \ X86InstrInfo.cpp \ X86JITInfo.cpp \ + X86MachineFunctionInfo.cpp \ X86MCInstLower.cpp \ X86RegisterInfo.cpp \ X86SelectionDAGInfo.cpp \ diff --git a/lib/Target/X86/MCTargetDesc/Android.mk b/lib/Target/X86/MCTargetDesc/Android.mk index b7ab1de..39478b3 100644 --- a/lib/Target/X86/MCTargetDesc/Android.mk +++ b/lib/Target/X86/MCTargetDesc/Android.mk @@ -7,10 +7,12 @@ x86_mc_desc_TBLGEN_TABLES := \ x86_mc_desc_SRC_FILES := \ X86AsmBackend.cpp \ + X86ELFObjectWriter.cpp \ X86MCTargetDesc.cpp \ X86MCAsmInfo.cpp \ X86MCCodeEmitter.cpp \ - X86MachObjectWriter.cpp + X86MachObjectWriter.cpp \ + X86WinCOFFObjectWriter.cpp # For the host # ===================================================== diff --git a/lib/Transforms/Instrumentation/Android.mk b/lib/Transforms/Instrumentation/Android.mk index b2e6c76..592e77e 100644 --- a/lib/Transforms/Instrumentation/Android.mk +++ b/lib/Transforms/Instrumentation/Android.mk @@ -7,7 +7,8 @@ instrumentation_SRC_FILES := \ Instrumentation.cpp \ OptimalEdgeProfiling.cpp \ PathProfiling.cpp \ - ProfilingUtils.cpp + ProfilingUtils.cpp \ + ThreadSanitizer.cpp # For the host # ===================================================== diff --git a/lib/Transforms/Utils/Android.mk b/lib/Transforms/Utils/Android.mk index e7334c0..de40f3e 100644 --- a/lib/Transforms/Utils/Android.mk +++ b/lib/Transforms/Utils/Android.mk @@ -8,6 +8,7 @@ transforms_utils_SRC_FILES := \ BuildLibCalls.cpp \ CloneFunction.cpp \ CloneModule.cpp \ + CmpInstAnalysis.cpp \ CodeExtractor.cpp \ DemoteRegToStack.cpp \ InlineFunction.cpp \ diff --git a/lib/Transforms/Vectorize/Android.mk b/lib/Transforms/Vectorize/Android.mk new file mode 100644 index 0000000..0e9f337 --- /dev/null +++ b/lib/Transforms/Vectorize/Android.mk @@ -0,0 +1,31 @@ +LOCAL_PATH:= $(call my-dir) + +transforms_vectorize_SRC_FILES := \ + BBVectorize.cpp \ + Vectorize.cpp + +# For the host +# ===================================================== +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := $(transforms_vectorize_SRC_FILES) +LOCAL_MODULE:= libLLVMVectorize + +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_vectorize_SRC_FILES) +LOCAL_MODULE:= libLLVMVectorize + +LOCAL_MODULE_TAGS := optional + +include $(LLVM_DEVICE_BUILD_MK) +include $(LLVM_GEN_INTRINSICS_MK) +include $(BUILD_STATIC_LIBRARY) diff --git a/tools/llc/Android.mk b/tools/llc/Android.mk index 86b79be..66a4026 100644 --- a/tools/llc/Android.mk +++ b/tools/llc/Android.mk @@ -48,6 +48,7 @@ llvm_llc_STATIC_LIBRARIES := \ libLLVMMCParser \ libLLVMScalarOpts \ libLLVMTransformUtils \ + libLLVMVectorize \ libLLVMAnalysis \ libLLVMTarget \ libLLVMCore \ diff --git a/tools/llvm-ld/Android.mk b/tools/llvm-ld/Android.mk index 22c65fb..bbdb7a7 100644 --- a/tools/llvm-ld/Android.mk +++ b/tools/llvm-ld/Android.mk @@ -13,6 +13,7 @@ llvm_ld_STATIC_LIBRARIES := \ libLLVMScalarOpts \ libLLVMInstCombine \ libLLVMTransformUtils \ + libLLVMVectorize \ libLLVMipa \ libLLVMAnalysis \ libLLVMTarget \ diff --git a/tools/opt/Android.mk b/tools/opt/Android.mk index f4388fe..f317b46 100644 --- a/tools/opt/Android.mk +++ b/tools/opt/Android.mk @@ -25,6 +25,7 @@ llvm_opt_STATIC_LIBRARIES := \ libLLVMipa \ libLLVMipo \ libLLVMTransformUtils \ + libLLVMVectorize \ libLLVMAnalysis \ libLLVMTarget \ libLLVMCore \ diff --git a/utils/TableGen/Android.mk b/utils/TableGen/Android.mk index e8562da..aa26ef6 100644 --- a/utils/TableGen/Android.mk +++ b/utils/TableGen/Android.mk @@ -20,7 +20,6 @@ tablegen_SRC_FILES := \ EDEmitter.cpp \ FastISelEmitter.cpp \ FixedLenDecoderEmitter.cpp \ - InstrEnumEmitter.cpp \ InstrInfoEmitter.cpp \ IntrinsicEmitter.cpp \ PseudoLoweringEmitter.cpp \ @@ -31,6 +30,7 @@ tablegen_SRC_FILES := \ TGValueTypes.cpp \ TableGen.cpp \ X86DisassemblerTables.cpp \ + X86ModRMFilters.cpp \ X86RecognizableInstr.cpp include $(CLEAR_VARS) |