Home | History | Annotate | Download | only in LLVM
      1 LOCAL_PATH:= $(call my-dir)
      2 include $(CLEAR_VARS)
      3 
      4 LOCAL_CLANG := true
      5 
      6 LOCAL_MODULE := libLLVM_swiftshader
      7 LOCAL_MODULE_TAGS := optional
      8 
      9 LOCAL_SRC_FILES := \
     10 	lib/Analysis/AliasAnalysis.cpp \
     11 	lib/Analysis/AliasSetTracker.cpp \
     12 	lib/Analysis/BasicAliasAnalysis.cpp \
     13 	lib/Analysis/BranchProbabilityInfo.cpp \
     14 	lib/Analysis/CaptureTracking.cpp \
     15 	lib/Analysis/ConstantFolding.cpp \
     16 	lib/Analysis/DebugInfo.cpp \
     17 	lib/Analysis/DIBuilder.cpp \
     18 	lib/Analysis/InstructionSimplify.cpp \
     19 	lib/Analysis/IVUsers.cpp \
     20 	lib/Analysis/Loads.cpp \
     21 	lib/Analysis/LoopInfo.cpp \
     22 	lib/Analysis/LoopPass.cpp \
     23 	lib/Analysis/MemoryBuiltins.cpp \
     24 	lib/Analysis/MemoryDependenceAnalysis.cpp \
     25 	lib/Analysis/NoAliasAnalysis.cpp \
     26 	lib/Analysis/PathNumbering.cpp \
     27 	lib/Analysis/PHITransAddr.cpp \
     28 	lib/Analysis/ProfileInfo.cpp \
     29 	lib/Analysis/ScalarEvolution.cpp \
     30 	lib/Analysis/ScalarEvolutionExpander.cpp \
     31 	lib/Analysis/ScalarEvolutionNormalization.cpp \
     32 	lib/Analysis/TypeBasedAliasAnalysis.cpp \
     33 	lib/Analysis/ValueTracking.cpp \
     34 
     35 LOCAL_SRC_FILES += \
     36 	lib/CodeGen/SelectionDAG/DAGCombiner.cpp \
     37 	lib/CodeGen/SelectionDAG/FastISel.cpp \
     38 	lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp \
     39 	lib/CodeGen/SelectionDAG/InstrEmitter.cpp \
     40 	lib/CodeGen/SelectionDAG/LegalizeDAG.cpp \
     41 	lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp \
     42 	lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp \
     43 	lib/CodeGen/SelectionDAG/LegalizeTypes.cpp \
     44 	lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp \
     45 	lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp \
     46 	lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp \
     47 	lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp \
     48 	lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp \
     49 	lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp \
     50 	lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp \
     51 	lib/CodeGen/SelectionDAG/SelectionDAG.cpp \
     52 	lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp \
     53 	lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp \
     54 	lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp \
     55 	lib/CodeGen/SelectionDAG/TargetLowering.cpp \
     56 	lib/CodeGen/SelectionDAG/TargetSelectionDAGInfo.cpp \
     57 	lib/CodeGen/AggressiveAntiDepBreaker.cpp \
     58 	lib/CodeGen/AllocationOrder.cpp \
     59 	lib/CodeGen/Analysis.cpp \
     60 	lib/CodeGen/BranchFolding.cpp \
     61 	lib/CodeGen/CalcSpillWeights.cpp \
     62 	lib/CodeGen/CallingConvLower.cpp \
     63 	lib/CodeGen/CodeGen.cpp \
     64 	lib/CodeGen/CodePlacementOpt.cpp \
     65 	lib/CodeGen/CriticalAntiDepBreaker.cpp \
     66 	lib/CodeGen/DeadMachineInstructionElim.cpp \
     67 	lib/CodeGen/DwarfEHPrepare.cpp \
     68 	lib/CodeGen/EdgeBundles.cpp \
     69 	lib/CodeGen/ELFCodeEmitter.cpp \
     70 	lib/CodeGen/ELFWriter.cpp \
     71 	lib/CodeGen/ExecutionDepsFix.cpp \
     72 	lib/CodeGen/ExpandISelPseudos.cpp \
     73 	lib/CodeGen/ExpandPostRAPseudos.cpp \
     74 	lib/CodeGen/GCMetadata.cpp \
     75 	lib/CodeGen/GCStrategy.cpp \
     76 	lib/CodeGen/IfConversion.cpp \
     77 	lib/CodeGen/InlineSpiller.cpp \
     78 	lib/CodeGen/InterferenceCache.cpp \
     79 	lib/CodeGen/IntrinsicLowering.cpp \
     80 	lib/CodeGen/LatencyPriorityQueue.cpp \
     81 	lib/CodeGen/LexicalScopes.cpp \
     82 	lib/CodeGen/LiveDebugVariables.cpp \
     83 	lib/CodeGen/LiveIntervalAnalysis.cpp \
     84 	lib/CodeGen/LiveInterval.cpp \
     85 	lib/CodeGen/LiveIntervalUnion.cpp \
     86 	lib/CodeGen/LiveRangeCalc.cpp \
     87 	lib/CodeGen/LiveRangeEdit.cpp \
     88 	lib/CodeGen/LiveStackAnalysis.cpp \
     89 	lib/CodeGen/LiveVariables.cpp \
     90 	lib/CodeGen/LLVMTargetMachine.cpp \
     91 	lib/CodeGen/LocalStackSlotAllocation.cpp \
     92 	lib/CodeGen/MachineBasicBlock.cpp \
     93 	lib/CodeGen/MachineBlockFrequencyInfo.cpp \
     94 	lib/CodeGen/MachineBranchProbabilityInfo.cpp \
     95 	lib/CodeGen/MachineCSE.cpp \
     96 	lib/CodeGen/MachineDominators.cpp \
     97 	lib/CodeGen/MachineFunctionAnalysis.cpp \
     98 	lib/CodeGen/MachineFunction.cpp \
     99 	lib/CodeGen/MachineFunctionPass.cpp \
    100 	lib/CodeGen/MachineFunctionPrinterPass.cpp \
    101 	lib/CodeGen/MachineInstr.cpp \
    102 	lib/CodeGen/MachineLICM.cpp \
    103 	lib/CodeGen/MachineLoopInfo.cpp \
    104 	lib/CodeGen/MachineLoopRanges.cpp \
    105 	lib/CodeGen/MachineModuleInfo.cpp \
    106 	lib/CodeGen/MachineModuleInfoImpls.cpp \
    107 	lib/CodeGen/MachinePassRegistry.cpp \
    108 	lib/CodeGen/MachineRegisterInfo.cpp \
    109 	lib/CodeGen/MachineSink.cpp \
    110 	lib/CodeGen/MachineSSAUpdater.cpp \
    111 	lib/CodeGen/MachineVerifier.cpp \
    112 	lib/CodeGen/ObjectCodeEmitter.cpp \
    113 	lib/CodeGen/OcamlGC.cpp \
    114 	lib/CodeGen/OptimizePHIs.cpp \
    115 	lib/CodeGen/Passes.cpp \
    116 	lib/CodeGen/PeepholeOptimizer.cpp \
    117 	lib/CodeGen/PHIElimination.cpp \
    118 	lib/CodeGen/PHIEliminationUtils.cpp \
    119 	lib/CodeGen/PostRASchedulerList.cpp \
    120 	lib/CodeGen/ProcessImplicitDefs.cpp \
    121 	lib/CodeGen/PrologEpilogInserter.cpp \
    122 	lib/CodeGen/PseudoSourceValue.cpp \
    123 	lib/CodeGen/RegAllocBasic.cpp \
    124 	lib/CodeGen/RegAllocFast.cpp \
    125 	lib/CodeGen/RegAllocGreedy.cpp \
    126 	lib/CodeGen/RegAllocLinearScan.cpp \
    127 	lib/CodeGen/RegAllocPBQP.cpp \
    128 	lib/CodeGen/RegisterClassInfo.cpp \
    129 	lib/CodeGen/RegisterCoalescer.cpp \
    130 	lib/CodeGen/RegisterScavenging.cpp \
    131 	lib/CodeGen/RenderMachineFunction.cpp \
    132 	lib/CodeGen/ScheduleDAG.cpp \
    133 	lib/CodeGen/ScheduleDAGEmit.cpp \
    134 	lib/CodeGen/ScheduleDAGInstrs.cpp \
    135 	lib/CodeGen/ScheduleDAGPrinter.cpp \
    136 	lib/CodeGen/ScoreboardHazardRecognizer.cpp \
    137 	lib/CodeGen/ShadowStackGC.cpp \
    138 	lib/CodeGen/ShrinkWrapping.cpp \
    139 	lib/CodeGen/SjLjEHPrepare.cpp \
    140 	lib/CodeGen/SlotIndexes.cpp \
    141 	lib/CodeGen/Spiller.cpp \
    142 	lib/CodeGen/SpillPlacement.cpp \
    143 	lib/CodeGen/SplitKit.cpp \
    144 	lib/CodeGen/Splitter.cpp \
    145 	lib/CodeGen/StackProtector.cpp \
    146 	lib/CodeGen/StackSlotColoring.cpp \
    147 	lib/CodeGen/StrongPHIElimination.cpp \
    148 	lib/CodeGen/TailDuplication.cpp \
    149 	lib/CodeGen/TargetInstrInfoImpl.cpp \
    150 	lib/CodeGen/TargetLoweringObjectFileImpl.cpp \
    151 	lib/CodeGen/TwoAddressInstructionPass.cpp \
    152 	lib/CodeGen/UnreachableBlockElim.cpp \
    153 	lib/CodeGen/VirtRegMap.cpp \
    154 	lib/CodeGen/VirtRegRewriter.cpp \
    155 
    156 LOCAL_SRC_FILES += \
    157 	lib/ExecutionEngine/JIT/Intercept.cpp \
    158 	lib/ExecutionEngine/JIT/JIT.cpp \
    159 	lib/ExecutionEngine/JIT/JITDebugRegisterer.cpp \
    160 	lib/ExecutionEngine/JIT/JITDwarfEmitter.cpp \
    161 	lib/ExecutionEngine/JIT/JITEmitter.cpp \
    162 	lib/ExecutionEngine/JIT/JITMemoryManager.cpp \
    163 	lib/ExecutionEngine/JIT/OProfileJITEventListener.cpp \
    164 	lib/ExecutionEngine/ExecutionEngine.cpp \
    165 	lib/ExecutionEngine/TargetSelect.cpp \
    166 
    167 LOCAL_SRC_FILES += \
    168 	lib/MC/ELFObjectWriter.cpp \
    169 	lib/MC/MachObjectWriter.cpp \
    170 	lib/MC/MCAsmBackend.cpp \
    171 	lib/MC/MCAsmInfoCOFF.cpp \
    172 	lib/MC/MCAsmInfo.cpp \
    173 	lib/MC/MCAsmInfoDarwin.cpp \
    174 	lib/MC/MCAsmStreamer.cpp \
    175 	lib/MC/MCAssembler.cpp \
    176 	lib/MC/MCAtom.cpp \
    177 	lib/MC/MCCodeEmitter.cpp \
    178 	lib/MC/MCCodeGenInfo.cpp \
    179 	lib/MC/MCContext.cpp \
    180 	lib/MC/MCDisassembler.cpp \
    181 	lib/MC/MCDwarf.cpp \
    182 	lib/MC/MCELF.cpp \
    183 	lib/MC/MCELFObjectTargetWriter.cpp \
    184 	lib/MC/MCELFStreamer.cpp \
    185 	lib/MC/MCExpr.cpp \
    186 	lib/MC/MCInst.cpp \
    187 	lib/MC/MCInstPrinter.cpp \
    188 	lib/MC/MCInstrAnalysis.cpp \
    189 	lib/MC/MCLabel.cpp \
    190 	lib/MC/MCLoggingStreamer.cpp \
    191 	lib/MC/MCMachObjectTargetWriter.cpp \
    192 	lib/MC/MCMachOStreamer.cpp \
    193 	lib/MC/MCModule.cpp \
    194 	lib/MC/MCNullStreamer.cpp \
    195 	lib/MC/MCObjectFileInfo.cpp \
    196 	lib/MC/MCObjectStreamer.cpp \
    197 	lib/MC/MCObjectWriter.cpp \
    198 	lib/MC/MCPureStreamer.cpp \
    199 	lib/MC/MCSectionCOFF.cpp \
    200 	lib/MC/MCSection.cpp \
    201 	lib/MC/MCSectionELF.cpp \
    202 	lib/MC/MCSectionMachO.cpp \
    203 	lib/MC/MCStreamer.cpp \
    204 	lib/MC/MCSubtargetInfo.cpp \
    205 	lib/MC/MCSymbol.cpp \
    206 	lib/MC/MCTargetAsmLexer.cpp \
    207 	lib/MC/MCValue.cpp \
    208 	lib/MC/MCWin64EH.cpp \
    209 	lib/MC/SubtargetFeature.cpp \
    210 	lib/MC/WinCOFFObjectWriter.cpp \
    211 	lib/MC/WinCOFFStreamer.cpp \
    212 
    213 LOCAL_SRC_FILES += \
    214 	lib/Support/Allocator.cpp \
    215 	lib/Support/APFloat.cpp \
    216 	lib/Support/APInt.cpp \
    217 	lib/Support/APSInt.cpp \
    218 	lib/Support/Atomic.cpp \
    219 	lib/Support/BlockFrequency.cpp \
    220 	lib/Support/BranchProbability.cpp \
    221 	lib/Support/circular_raw_ostream.cpp \
    222 	lib/Support/CommandLine.cpp \
    223 	lib/Support/ConstantRange.cpp \
    224 	lib/Support/CrashRecoveryContext.cpp \
    225 	lib/Support/DAGDeltaAlgorithm.cpp \
    226 	lib/Support/DataExtractor.cpp \
    227 	lib/Support/Debug.cpp \
    228 	lib/Support/DeltaAlgorithm.cpp \
    229 	lib/Support/Disassembler.cpp \
    230 	lib/Support/Dwarf.cpp \
    231 	lib/Support/DynamicLibrary.cpp \
    232 	lib/Support/Errno.cpp \
    233 	lib/Support/ErrorHandling.cpp \
    234 	lib/Support/FileUtilities.cpp \
    235 	lib/Support/FoldingSet.cpp \
    236 	lib/Support/FormattedStream.cpp \
    237 	lib/Support/GraphWriter.cpp \
    238 	lib/Support/Host.cpp \
    239 	lib/Support/IncludeFile.cpp \
    240 	lib/Support/IntEqClasses.cpp \
    241 	lib/Support/IntervalMap.cpp \
    242 	lib/Support/IsInf.cpp \
    243 	lib/Support/IsNAN.cpp \
    244 	lib/Support/ManagedStatic.cpp \
    245 	lib/Support/MemoryBuffer.cpp \
    246 	lib/Support/Memory.cpp \
    247 	lib/Support/MemoryObject.cpp \
    248 	lib/Support/Mutex.cpp \
    249 	lib/Support/Path.cpp \
    250 	lib/Support/PathV2.cpp \
    251 	lib/Support/PluginLoader.cpp \
    252 	lib/Support/PrettyStackTrace.cpp \
    253 	lib/Support/Process.cpp \
    254 	lib/Support/Program.cpp \
    255 	lib/Support/raw_os_ostream.cpp \
    256 	lib/Support/raw_ostream.cpp \
    257 	lib/Support/Regex.cpp \
    258 	lib/Support/RWMutex.cpp \
    259 	lib/Support/SearchForAddressOfSpecialSymbol.cpp \
    260 	lib/Support/Signals.cpp \
    261 	lib/Support/SmallPtrSet.cpp \
    262 	lib/Support/SmallVector.cpp \
    263 	lib/Support/SourceMgr.cpp \
    264 	lib/Support/Statistic.cpp \
    265 	lib/Support/StringExtras.cpp \
    266 	lib/Support/StringMap.cpp \
    267 	lib/Support/StringPool.cpp \
    268 	lib/Support/StringRef.cpp \
    269 	lib/Support/system_error.cpp \
    270 	lib/Support/SystemUtils.cpp \
    271 	lib/Support/TargetRegistry.cpp \
    272 	lib/Support/Threading.cpp \
    273 	lib/Support/ThreadLocal.cpp \
    274 	lib/Support/Timer.cpp \
    275 	lib/Support/TimeValue.cpp \
    276 	lib/Support/ToolOutputFile.cpp \
    277 	lib/Support/Triple.cpp \
    278 	lib/Support/Twine.cpp \
    279 	lib/Support/Valgrind.cpp \
    280 
    281 LOCAL_SRC_FILES += \
    282 	lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp \
    283 	lib/Target/X86/InstPrinter/X86InstComments.cpp \
    284 	lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp \
    285 	lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp \
    286 	lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp \
    287 	lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp \
    288 	lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp \
    289 	lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp \
    290 	lib/Target/X86/TargetInfo/X86TargetInfo.cpp \
    291 	lib/Target/X86/Utils/X86ShuffleDecode.cpp \
    292 	lib/Target/X86/X86CodeEmitter.cpp \
    293 	lib/Target/X86/X86ELFWriterInfo.cpp \
    294 	lib/Target/X86/X86FastISel.cpp \
    295 	lib/Target/X86/X86FloatingPoint.cpp \
    296 	lib/Target/X86/X86FrameLowering.cpp \
    297 	lib/Target/X86/X86InstrInfo.cpp \
    298 	lib/Target/X86/X86ISelDAGToDAG.cpp \
    299 	lib/Target/X86/X86ISelLowering.cpp \
    300 	lib/Target/X86/X86JITInfo.cpp \
    301 	lib/Target/X86/X86RegisterInfo.cpp \
    302 	lib/Target/X86/X86SelectionDAGInfo.cpp \
    303 	lib/Target/X86/X86Subtarget.cpp \
    304 	lib/Target/X86/X86TargetMachine.cpp \
    305 	lib/Target/X86/X86TargetObjectFile.cpp \
    306 	lib/Target/X86/X86VZeroUpper.cpp \
    307 	lib/Target/Mangler.cpp \
    308 	lib/Target/Target.cpp \
    309 	lib/Target/TargetData.cpp \
    310 	lib/Target/TargetELFWriterInfo.cpp \
    311 	lib/Target/TargetFrameLowering.cpp \
    312 	lib/Target/TargetInstrInfo.cpp \
    313 	lib/Target/TargetLibraryInfo.cpp \
    314 	lib/Target/TargetLoweringObjectFile.cpp \
    315 	lib/Target/TargetMachine.cpp \
    316 	lib/Target/TargetRegisterInfo.cpp \
    317 	lib/Target/TargetSubtargetInfo.cpp \
    318 
    319 LOCAL_SRC_FILES += \
    320 	lib/Transforms/InstCombine/InstCombineAddSub.cpp \
    321 	lib/Transforms/InstCombine/InstCombineAndOrXor.cpp \
    322 	lib/Transforms/InstCombine/InstCombineCalls.cpp \
    323 	lib/Transforms/InstCombine/InstCombineCasts.cpp \
    324 	lib/Transforms/InstCombine/InstCombineCompares.cpp \
    325 	lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp \
    326 	lib/Transforms/InstCombine/InstCombineMulDivRem.cpp \
    327 	lib/Transforms/InstCombine/InstCombinePHI.cpp \
    328 	lib/Transforms/InstCombine/InstCombineSelect.cpp \
    329 	lib/Transforms/InstCombine/InstCombineShifts.cpp \
    330 	lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp \
    331 	lib/Transforms/InstCombine/InstCombineVectorOps.cpp \
    332 	lib/Transforms/InstCombine/InstructionCombining.cpp \
    333 	lib/Transforms/Scalar/ADCE.cpp \
    334 	lib/Transforms/Scalar/CodeGenPrepare.cpp \
    335 	lib/Transforms/Scalar/DeadStoreElimination.cpp \
    336 	lib/Transforms/Scalar/GVN.cpp \
    337 	lib/Transforms/Scalar/LICM.cpp \
    338 	lib/Transforms/Scalar/LoopStrengthReduce.cpp \
    339 	lib/Transforms/Scalar/Reassociate.cpp \
    340 	lib/Transforms/Scalar/Reg2Mem.cpp \
    341 	lib/Transforms/Scalar/ScalarReplAggregates.cpp \
    342 	lib/Transforms/Scalar/SCCP.cpp \
    343 	lib/Transforms/Scalar/SimplifyCFGPass.cpp \
    344 	lib/Transforms/Utils/AddrModeMatcher.cpp \
    345 	lib/Transforms/Utils/BasicBlockUtils.cpp \
    346 	lib/Transforms/Utils/BreakCriticalEdges.cpp \
    347 	lib/Transforms/Utils/BuildLibCalls.cpp \
    348 	lib/Transforms/Utils/DemoteRegToStack.cpp \
    349 	lib/Transforms/Utils/InstructionNamer.cpp \
    350 	lib/Transforms/Utils/LCSSA.cpp \
    351 	lib/Transforms/Utils/Local.cpp \
    352 	lib/Transforms/Utils/LoopSimplify.cpp \
    353 	lib/Transforms/Utils/LowerInvoke.cpp \
    354 	lib/Transforms/Utils/LowerSwitch.cpp \
    355 	lib/Transforms/Utils/Mem2Reg.cpp \
    356 	lib/Transforms/Utils/PromoteMemoryToRegister.cpp \
    357 	lib/Transforms/Utils/SimplifyCFG.cpp \
    358 	lib/Transforms/Utils/SSAUpdater.cpp \
    359 	lib/Transforms/Utils/UnifyFunctionExitNodes.cpp \
    360 
    361 LOCAL_SRC_FILES += \
    362 	lib/VMCore/AsmWriter.cpp \
    363 	lib/VMCore/Attributes.cpp \
    364 	lib/VMCore/AutoUpgrade.cpp \
    365 	lib/VMCore/BasicBlock.cpp \
    366 	lib/VMCore/ConstantFold.cpp \
    367 	lib/VMCore/Constants.cpp \
    368 	lib/VMCore/Core.cpp \
    369 	lib/VMCore/DebugInfoProbe.cpp \
    370 	lib/VMCore/DebugLoc.cpp \
    371 	lib/VMCore/Dominators.cpp \
    372 	lib/VMCore/Function.cpp \
    373 	lib/VMCore/GCOV.cpp \
    374 	lib/VMCore/Globals.cpp \
    375 	lib/VMCore/GVMaterializer.cpp \
    376 	lib/VMCore/InlineAsm.cpp \
    377 	lib/VMCore/Instruction.cpp \
    378 	lib/VMCore/Instructions.cpp \
    379 	lib/VMCore/IntrinsicInst.cpp \
    380 	lib/VMCore/IRBuilder.cpp \
    381 	lib/VMCore/LeakDetector.cpp \
    382 	lib/VMCore/LLVMContext.cpp \
    383 	lib/VMCore/LLVMContextImpl.cpp \
    384 	lib/VMCore/Metadata.cpp \
    385 	lib/VMCore/Module.cpp \
    386 	lib/VMCore/Pass.cpp \
    387 	lib/VMCore/PassManager.cpp \
    388 	lib/VMCore/PassRegistry.cpp \
    389 	lib/VMCore/PrintModulePass.cpp \
    390 	lib/VMCore/Type.cpp \
    391 	lib/VMCore/Use.cpp \
    392 	lib/VMCore/User.cpp \
    393 	lib/VMCore/Value.cpp \
    394 	lib/VMCore/ValueSymbolTable.cpp \
    395 	lib/VMCore/ValueTypes.cpp \
    396 	lib/VMCore/Verifier.cpp \
    397 
    398 
    399 LOCAL_CFLAGS += -DLOG_TAG=\"libLLVM_swiftshader\" \
    400 	-Wno-unused-parameter \
    401 	-Wno-implicit-exception-spec-mismatch \
    402 	-Wno-overloaded-virtual
    403 
    404 ifneq (16,${PLATFORM_SDK_VERSION})
    405 LOCAL_CFLAGS += -Xclang -fuse-init-array
    406 else
    407 LOCAL_CFLAGS += -D__STDC_INT64__
    408 endif
    409 
    410 LOCAL_CFLAGS += -fomit-frame-pointer -Os -ffunction-sections -fdata-sections
    411 LOCAL_CFLAGS += -fno-operator-names -msse2 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS
    412 LOCAL_CFLAGS += -std=c++11
    413 LOCAL_CFLAGS += -DANDROID_PLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION)
    414 
    415 # Android's make system also uses NDEBUG, so we need to set/unset it forcefully
    416 # Uncomment for debug ON:
    417 # LOCAL_CFLAGS += -UNDEBUG -g -O0
    418 
    419 LOCAL_C_INCLUDES += \
    420 	bionic \
    421 	$(LOCAL_PATH)/include-android \
    422 	$(LOCAL_PATH)/include \
    423 	$(LOCAL_PATH)/lib/Target/X86 \
    424 
    425 # Marshmallow does not have stlport, but comes with libc++ by default
    426 ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 23 && echo PreMarshmallow),PreMarshmallow)
    427 LOCAL_C_INCLUDES += external/stlport/stlport
    428 endif
    429 
    430 include $(BUILD_STATIC_LIBRARY)
    431