Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/llvm/dist/llvm Import LLVM 3.5svn r199312
details: https://anonhg.NetBSD.org/src/rev/54e2b98ff714
branches: trunk
changeset: 326011:54e2b98ff714
user: joerg <joerg%NetBSD.org@localhost>
date: Wed Jan 15 21:23:25 2014 +0000
description:
Import LLVM 3.5svn r199312
diffstat:
external/bsd/llvm/dist/llvm/CMakeLists.txt | 9 +-
external/bsd/llvm/dist/llvm/Makefile.rules | 2 +
external/bsd/llvm/dist/llvm/autoconf/configure.ac | 88 +-
external/bsd/llvm/dist/llvm/cmake/modules/AddLLVM.cmake | 67 +-
external/bsd/llvm/dist/llvm/cmake/modules/HandleLLVMOptions.cmake | 32 +-
external/bsd/llvm/dist/llvm/cmake/modules/TableGen.cmake | 2 +-
external/bsd/llvm/dist/llvm/configure | 1565 +++++----
external/bsd/llvm/dist/llvm/docs/BitCodeFormat.rst | 20 +-
external/bsd/llvm/dist/llvm/docs/CodeGenerator.rst | 10 +-
external/bsd/llvm/dist/llvm/docs/DeveloperPolicy.rst | 38 +-
external/bsd/llvm/dist/llvm/docs/LangRef.rst | 97 +-
external/bsd/llvm/dist/llvm/docs/ReleaseNotes.rst | 3 +
external/bsd/llvm/dist/llvm/docs/TestingGuide.rst | 16 +-
external/bsd/llvm/dist/llvm/examples/BrainF/BrainFDriver.cpp | 2 +-
external/bsd/llvm/dist/llvm/examples/ExceptionDemo/ExceptionDemo.cpp | 2 +-
external/bsd/llvm/dist/llvm/examples/Fibonacci/fibonacci.cpp | 2 +-
external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter3/toy.cpp | 2 +-
external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter4/toy.cpp | 2 +-
external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter5/toy.cpp | 2 +-
external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter6/toy.cpp | 2 +-
external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter7/toy.cpp | 2 +-
external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/cached/toy-jit.cpp | 4 +-
external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/cached/toy.cpp | 4 +-
external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/complete/toy.cpp | 4 +-
external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/initial/toy.cpp | 2 +-
external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/lazy/toy-jit.cpp | 2 +-
external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/lazy/toy.cpp | 2 +-
external/bsd/llvm/dist/llvm/include/llvm-c/Core.h | 4 +-
external/bsd/llvm/dist/llvm/include/llvm-c/Disassembler.h | 3 +
external/bsd/llvm/dist/llvm/include/llvm-c/TargetMachine.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm-c/lto.h | 15 +-
external/bsd/llvm/dist/llvm/include/llvm/ADT/DenseSet.h | 3 +
external/bsd/llvm/dist/llvm/include/llvm/ADT/MapVector.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm/ADT/Optional.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm/ADT/PointerUnion.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm/ADT/StringExtras.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm/Analysis/BranchProbabilityInfo.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm/Analysis/CFGPrinter.h | 5 +-
external/bsd/llvm/dist/llvm/include/llvm/Analysis/DominanceFrontier.h | 6 +-
external/bsd/llvm/dist/llvm/include/llvm/Analysis/LoopInfo.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm/Analysis/LoopInfoImpl.h | 4 +-
external/bsd/llvm/dist/llvm/include/llvm/Analysis/PostDominators.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm/Analysis/RegionPass.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm/Analysis/ScalarEvolution.h | 34 +-
external/bsd/llvm/dist/llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h | 18 +-
external/bsd/llvm/dist/llvm/include/llvm/AsmParser/Parser.h | 64 +
external/bsd/llvm/dist/llvm/include/llvm/Bitcode/BitcodeWriterPass.h | 51 +
external/bsd/llvm/dist/llvm/include/llvm/Bitcode/BitstreamWriter.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm/Bitcode/ReaderWriter.h | 27 +-
external/bsd/llvm/dist/llvm/include/llvm/CodeGen/CallingConvLower.h | 1 +
external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineBasicBlock.h | 5 +-
external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineDominators.h | 4 +-
external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachinePostDominators.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm/CodeGen/SelectionDAGNodes.h | 2 +
external/bsd/llvm/dist/llvm/include/llvm/CodeGen/StackProtector.h | 4 +-
external/bsd/llvm/dist/llvm/include/llvm/Config/config.h.in | 18 -
external/bsd/llvm/dist/llvm/include/llvm/DebugInfo.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DIContext.h | 1 +
external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h | 32 +
external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/RTDyldMemoryManager.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/RuntimeDyld.h | 10 +
external/bsd/llvm/dist/llvm/include/llvm/IR/AssemblyAnnotationWriter.h | 63 +
external/bsd/llvm/dist/llvm/include/llvm/IR/Constants.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm/IR/DataLayout.h | 10 +-
external/bsd/llvm/dist/llvm/include/llvm/IR/Dominators.h | 184 +
external/bsd/llvm/dist/llvm/include/llvm/IR/GlobalValue.h | 34 +-
external/bsd/llvm/dist/llvm/include/llvm/IR/IRBuilder.h | 4 +-
external/bsd/llvm/dist/llvm/include/llvm/IR/IRPrintingPasses.h | 85 +
external/bsd/llvm/dist/llvm/include/llvm/IR/IntrinsicsX86.td | 223 +-
external/bsd/llvm/dist/llvm/include/llvm/IR/LLVMContext.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm/IR/Mangler.h | 64 +
external/bsd/llvm/dist/llvm/include/llvm/IR/Module.h | 34 +-
external/bsd/llvm/dist/llvm/include/llvm/IR/Operator.h | 30 +
external/bsd/llvm/dist/llvm/include/llvm/IR/PassManager.h | 18 +-
external/bsd/llvm/dist/llvm/include/llvm/IR/Type.h | 4 +-
external/bsd/llvm/dist/llvm/include/llvm/IR/Use.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm/IR/Value.h | 12 +-
external/bsd/llvm/dist/llvm/include/llvm/IR/Verifier.h | 69 +
external/bsd/llvm/dist/llvm/include/llvm/InitializePasses.h | 6 +-
external/bsd/llvm/dist/llvm/include/llvm/LTO/LTOCodeGenerator.h | 27 +-
external/bsd/llvm/dist/llvm/include/llvm/LTO/LTOModule.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm/LinkAllIR.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm/LinkAllPasses.h | 8 +-
external/bsd/llvm/dist/llvm/include/llvm/MC/MCAsmBackend.h | 2 -
external/bsd/llvm/dist/llvm/include/llvm/MC/MCAsmInfo.h | 7 +
external/bsd/llvm/dist/llvm/include/llvm/MC/MCDisassembler.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm/MC/MCParser/MCAsmParser.h | 4 +
external/bsd/llvm/dist/llvm/include/llvm/MC/MCStreamer.h | 10 +-
external/bsd/llvm/dist/llvm/include/llvm/MC/MCTargetAsmParser.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm/Object/ELFObjectFile.h | 8 +-
external/bsd/llvm/dist/llvm/include/llvm/Object/RelocVisitor.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm/PassRegistry.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm/Support/ARMEHABI.h | 134 +
external/bsd/llvm/dist/llvm/include/llvm/Support/AlignOf.h | 20 +-
external/bsd/llvm/dist/llvm/include/llvm/Support/CommandLine.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm/Support/Compiler.h | 9 +
external/bsd/llvm/dist/llvm/include/llvm/Support/ELF.h | 59 +
external/bsd/llvm/dist/llvm/include/llvm/Support/ErrorOr.h | 43 +-
external/bsd/llvm/dist/llvm/include/llvm/Support/FileSystem.h | 16 -
external/bsd/llvm/dist/llvm/include/llvm/Support/FileUtilities.h | 6 +-
external/bsd/llvm/dist/llvm/include/llvm/Support/GenericDomTree.h | 718 ++++
external/bsd/llvm/dist/llvm/include/llvm/Support/GenericDomTreeConstruction.h | 289 +
external/bsd/llvm/dist/llvm/include/llvm/Support/MathExtras.h | 1 -
external/bsd/llvm/dist/llvm/include/llvm/Support/MemoryBuffer.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm/Support/PatternMatch.h | 90 +
external/bsd/llvm/dist/llvm/include/llvm/Support/Process.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm/Support/TargetRegistry.h | 2 +-
external/bsd/llvm/dist/llvm/include/llvm/Support/UnicodeCharRanges.h | 1 -
external/bsd/llvm/dist/llvm/include/llvm/Support/YAMLParser.h | 3 +-
external/bsd/llvm/dist/llvm/include/llvm/Target/Target.td | 5 -
external/bsd/llvm/dist/llvm/include/llvm/Target/TargetLowering.h | 4 +
external/bsd/llvm/dist/llvm/include/llvm/Target/TargetLoweringObjectFile.h | 6 +
external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO.h | 9 +-
external/bsd/llvm/dist/llvm/lib/Analysis/AliasAnalysis.cpp | 4 +-
external/bsd/llvm/dist/llvm/lib/Analysis/AliasAnalysisCounter.cpp | 7 +-
external/bsd/llvm/dist/llvm/lib/Analysis/AliasAnalysisEvaluator.cpp | 7 +-
external/bsd/llvm/dist/llvm/lib/Analysis/AliasSetTracker.cpp | 5 +-
external/bsd/llvm/dist/llvm/lib/Analysis/Analysis.cpp | 4 +-
external/bsd/llvm/dist/llvm/lib/Analysis/BasicAliasAnalysis.cpp | 8 +-
external/bsd/llvm/dist/llvm/lib/Analysis/CFG.cpp | 3 +-
external/bsd/llvm/dist/llvm/lib/Analysis/CaptureTracking.cpp | 1 +
external/bsd/llvm/dist/llvm/lib/Analysis/Delinearization.cpp | 10 +-
external/bsd/llvm/dist/llvm/lib/Analysis/DependenceAnalysis.cpp | 4 +-
external/bsd/llvm/dist/llvm/lib/Analysis/DomPrinter.cpp | 46 +-
external/bsd/llvm/dist/llvm/lib/Analysis/DominanceFrontier.cpp | 7 +-
external/bsd/llvm/dist/llvm/lib/Analysis/IPA/CallGraph.cpp | 6 +
external/bsd/llvm/dist/llvm/lib/Analysis/IPA/FindUsedTypes.cpp | 1 -
external/bsd/llvm/dist/llvm/lib/Analysis/IPA/IPA.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Analysis/IVUsers.cpp | 15 +-
external/bsd/llvm/dist/llvm/lib/Analysis/InstructionSimplify.cpp | 4 +-
external/bsd/llvm/dist/llvm/lib/Analysis/Lint.cpp | 11 +-
external/bsd/llvm/dist/llvm/lib/Analysis/LoopInfo.cpp | 9 +-
external/bsd/llvm/dist/llvm/lib/Analysis/LoopPass.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Analysis/MemDepPrinter.cpp | 3 +-
external/bsd/llvm/dist/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp | 6 +-
external/bsd/llvm/dist/llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp | 1 -
external/bsd/llvm/dist/llvm/lib/Analysis/PHITransAddr.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Analysis/PostDominators.cpp | 3 +-
external/bsd/llvm/dist/llvm/lib/Analysis/RegionInfo.cpp | 13 +-
external/bsd/llvm/dist/llvm/lib/Analysis/ScalarEvolution.cpp | 71 +-
external/bsd/llvm/dist/llvm/lib/Analysis/ScalarEvolutionExpander.cpp | 4 +-
external/bsd/llvm/dist/llvm/lib/Analysis/ScalarEvolutionNormalization.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Analysis/TargetTransformInfo.cpp | 6 +-
external/bsd/llvm/dist/llvm/lib/Analysis/Trace.cpp | 3 +-
external/bsd/llvm/dist/llvm/lib/AsmParser/LLLexer.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/AsmParser/LLParser.cpp | 93 +-
external/bsd/llvm/dist/llvm/lib/AsmParser/LLParser.h | 7 +-
external/bsd/llvm/dist/llvm/lib/AsmParser/Parser.cpp | 4 +-
external/bsd/llvm/dist/llvm/lib/Bitcode/Reader/BitReader.cpp | 23 +-
external/bsd/llvm/dist/llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 69 +-
external/bsd/llvm/dist/llvm/lib/Bitcode/Reader/BitcodeReader.h | 2 +-
external/bsd/llvm/dist/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 19 +-
external/bsd/llvm/dist/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp | 12 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ARMException.cpp | 4 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 29 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DIE.h | 2 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp | 1 -
external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 100 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | 17 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp | 21 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | 12 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/CodeGen.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/DwarfEHPrepare.cpp | 10 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/GCStrategy.cpp | 10 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/IfConversion.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/InlineSpiller.cpp | 9 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/LLVMTargetMachine.cpp | 4 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/MachineBasicBlock.cpp | 13 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/MachineBlockPlacement.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/MachineFunction.cpp | 3 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/MachineInstr.cpp | 11 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/MachineRegisterInfo.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/Passes.cpp | 13 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/PrologEpilogInserter.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/RegisterCoalescer.cpp | 9 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp | 8 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/ScheduleDAGPrinter.cpp | 1 -
external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 334 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp | 17 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 10 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 1 +
external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h | 8 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp | 7 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp | 1 -
external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 12 +
external/bsd/llvm/dist/llvm/lib/CodeGen/StackColoring.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/StackMaps.cpp | 9 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/StackProtector.cpp | 8 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/TargetOptionsImpl.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/CodeGen/UnreachableBlockElim.cpp | 4 +-
external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARFContext.cpp | 114 +-
external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARFContext.h | 26 +-
external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARFDebugFrame.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARFUnit.h | 2 +-
external/bsd/llvm/dist/llvm/lib/ExecutionEngine/ExecutionEngine.cpp | 8 +-
external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp | 5 +-
external/bsd/llvm/dist/llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp | 60 +-
external/bsd/llvm/dist/llvm/lib/ExecutionEngine/MCJIT/MCJIT.h | 8 +-
external/bsd/llvm/dist/llvm/lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp | 4 +-
external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RTDyldMemoryManager.cpp | 1 -
external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/ObjectImageCommon.h | 6 +
external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp | 36 +-
external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp | 40 +
external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h | 2 +
external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h | 7 +
external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp | 5 +
external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h | 1 +
external/bsd/llvm/dist/llvm/lib/IR/AsmWriter.cpp | 83 +-
external/bsd/llvm/dist/llvm/lib/IR/CMakeLists.txt | 3 +-
external/bsd/llvm/dist/llvm/lib/IR/Core.cpp | 20 +-
external/bsd/llvm/dist/llvm/lib/IR/DataLayout.cpp | 18 +-
external/bsd/llvm/dist/llvm/lib/IR/DiagnosticInfo.cpp | 1 -
external/bsd/llvm/dist/llvm/lib/IR/Dominators.cpp | 84 +-
external/bsd/llvm/dist/llvm/lib/IR/Function.cpp | 6 +-
external/bsd/llvm/dist/llvm/lib/IR/GCOV.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/IR/IRPrintingPasses.cpp | 127 +
external/bsd/llvm/dist/llvm/lib/IR/LegacyPassManager.cpp | 13 +-
external/bsd/llvm/dist/llvm/lib/IR/Mangler.cpp | 127 +
external/bsd/llvm/dist/llvm/lib/IR/Module.cpp | 65 +-
external/bsd/llvm/dist/llvm/lib/IR/Pass.cpp | 8 +-
external/bsd/llvm/dist/llvm/lib/IR/PassManager.cpp | 30 +-
external/bsd/llvm/dist/llvm/lib/IR/Verifier.cpp | 37 +-
external/bsd/llvm/dist/llvm/lib/IRReader/IRReader.cpp | 29 +-
external/bsd/llvm/dist/llvm/lib/LTO/LTOCodeGenerator.cpp | 33 +-
external/bsd/llvm/dist/llvm/lib/LTO/LTOModule.cpp | 12 +-
external/bsd/llvm/dist/llvm/lib/Linker/LinkModules.cpp | 12 +-
external/bsd/llvm/dist/llvm/lib/MC/ELFObjectWriter.cpp | 45 +-
external/bsd/llvm/dist/llvm/lib/MC/MCAsmInfo.cpp | 1 +
external/bsd/llvm/dist/llvm/lib/MC/MCAssembler.cpp | 22 +-
external/bsd/llvm/dist/llvm/lib/MC/MCContext.cpp | 1 -
external/bsd/llvm/dist/llvm/lib/MC/MCDisassembler/Disassembler.cpp | 1 +
external/bsd/llvm/dist/llvm/lib/MC/MCDwarf.cpp | 16 +-
external/bsd/llvm/dist/llvm/lib/MC/MCELFStreamer.cpp | 4 +-
external/bsd/llvm/dist/llvm/lib/MC/MCExternalSymbolizer.cpp | 3 +
external/bsd/llvm/dist/llvm/lib/MC/MCObjectFileInfo.cpp | 7 +-
external/bsd/llvm/dist/llvm/lib/MC/MCObjectStreamer.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/MC/MCObjectSymbolizer.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/MC/MCParser/AsmParser.cpp | 8 +-
external/bsd/llvm/dist/llvm/lib/MC/MCRelocationInfo.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/MC/MCStreamer.cpp | 5 +
external/bsd/llvm/dist/llvm/lib/MC/WinCOFFObjectWriter.cpp | 21 +-
external/bsd/llvm/dist/llvm/lib/Object/Binary.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Object/MachOUniversal.cpp | 1 -
external/bsd/llvm/dist/llvm/lib/Object/Object.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Support/DynamicLibrary.cpp | 4 +-
external/bsd/llvm/dist/llvm/lib/Support/ErrorHandling.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Support/FileOutputBuffer.cpp | 6 +-
external/bsd/llvm/dist/llvm/lib/Support/GraphWriter.cpp | 3 +-
external/bsd/llvm/dist/llvm/lib/Support/LockFileManager.cpp | 13 +-
external/bsd/llvm/dist/llvm/lib/Support/Path.cpp | 39 -
external/bsd/llvm/dist/llvm/lib/Support/PrettyStackTrace.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Support/ToolOutputFile.cpp | 6 +-
external/bsd/llvm/dist/llvm/lib/Support/Windows/Path.inc | 4 +-
external/bsd/llvm/dist/llvm/lib/Support/Windows/Process.inc | 4 +-
external/bsd/llvm/dist/llvm/lib/Support/Windows/Signals.inc | 5 +-
external/bsd/llvm/dist/llvm/lib/Support/YAMLTraits.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Support/raw_ostream.cpp | 11 +-
external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp | 4 +-
external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64BranchFixupPass.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64FrameLowering.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | 206 +-
external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64ISelLowering.h | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp | 92 +-
external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64InstrInfo.h | 5 +-
external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64InstrNEON.td | 171 +-
external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64MCInstLower.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp | 7 +-
external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64RegisterInfo.td | 3 +-
external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64Subtarget.cpp | 4 +-
external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp | 4 +-
external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64TargetObjectFile.h | 8 +-
external/bsd/llvm/dist/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp | 28 +-
external/bsd/llvm/dist/llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp | 8 +-
external/bsd/llvm/dist/llvm/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/A15SDOptimizer.cpp | 4 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMAsmPrinter.cpp | 49 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMAsmPrinter.h | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp | 6 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMFastISel.cpp | 10 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMFrameLowering.cpp | 12 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMISelLowering.cpp | 25 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMInstrFormats.td | 24 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMInstrInfo.td | 118 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMInstrThumb.td | 17 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMInstrThumb2.td | 4 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMInstrVFP.td | 11 +
external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMMCInstLower.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp | 4 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMSubtarget.cpp | 16 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMSubtarget.h | 10 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMTargetObjectFile.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 454 ++-
external/bsd/llvm/dist/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp | 33 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp | 23 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMBuildAttrs.cpp | 96 +
external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMBuildAttrs.h | 177 +
external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp | 109 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp | 25 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp | 8 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMMachORelocationInfo.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMUnwindOpAsm.cpp | 42 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMUnwindOpAsm.h | 5 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/CMakeLists.txt | 1 +
external/bsd/llvm/dist/llvm/lib/Target/ARM/Thumb1FrameLowering.cpp | 8 +-
external/bsd/llvm/dist/llvm/lib/Target/ARM/Thumb2SizeReduction.cpp | 3 +
external/bsd/llvm/dist/llvm/lib/Target/CMakeLists.txt | 1 -
external/bsd/llvm/dist/llvm/lib/Target/CppBackend/CPPBackend.cpp | 36 +-
external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonAsmPrinter.cpp | 7 +-
external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonCopyToCombine.cpp | 19 +-
external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonFixupHwLoops.cpp | 4 +-
external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp | 5 +-
external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonISelLowering.cpp | 3 +
external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonInstrInfo.h | 4 +-
external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonMCInstLower.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonMachineFunctionInfo.h | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonNewValueJump.cpp | 32 +-
external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp | 10 +-
external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonSplitConst32AndConst64.cpp | 10 +-
external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp | 41 +-
external/bsd/llvm/dist/llvm/lib/Target/Hexagon/InstPrinter/HexagonInstPrinter.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430AsmPrinter.cpp | 3 +-
external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp | 3 +
external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430MCInstLower.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp | 85 +-
external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp | 1 -
external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp | 87 +-
external/bsd/llvm/dist/llvm/lib/Target/Mips/Mips16HardFloat.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/Mips/Mips16ISelDAGToDAG.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/Mips/Mips16ISelLowering.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/Mips/Mips16RegisterInfo.cpp | 1 -
external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsAsmPrinter.cpp | 38 +-
external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsCodeEmitter.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsConstantIslandPass.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp | 6 +-
external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsISelLowering.cpp | 3 +
external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsISelLowering.h | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsMCInstLower.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsOptimizePICCall.cpp | 4 +-
external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsSubtarget.cpp | 4 +-
external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsSubtarget.h | 1 -
external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsTargetMachine.cpp | 16 +-
external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsTargetStreamer.h | 32 +-
external/bsd/llvm/dist/llvm/lib/Target/NVPTX/InstPrinter/NVPTXInstPrinter.cpp | 4 +-
external/bsd/llvm/dist/llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXMCTargetDesc.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp | 7 +-
external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXAsmPrinter.h | 1 -
external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXGenericToNVVM.cpp | 13 +-
external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXPrologEpilogPass.cpp | 6 +-
external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp | 4 +-
external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVVMReflect.cpp | 8 +-
external/bsd/llvm/dist/llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp | 76 +-
external/bsd/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.h | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp | 7 +-
external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp | 18 +-
external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCFastISel.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 3 +
external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCISelLowering.h | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCMCInstLower.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCRegisterInfo.h | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCSubtarget.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCTargetObjectFile.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/R600/AMDGPUAsmPrinter.cpp | 10 +-
external/bsd/llvm/dist/llvm/lib/Target/R600/AMDGPUTargetMachine.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/R600/AMDGPUTargetTransformInfo.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/R600/AMDILCFGStructurizer.cpp | 9 +-
external/bsd/llvm/dist/llvm/lib/Target/R600/R600OptimizeVectorRegisters.cpp | 4 +-
external/bsd/llvm/dist/llvm/lib/Target/R600/SIAnnotateControlFlow.cpp | 8 +-
external/bsd/llvm/dist/llvm/lib/Target/R600/SITypeRewriter.cpp | 1 -
external/bsd/llvm/dist/llvm/lib/Target/Sparc/AsmParser/CMakeLists.txt | 3 +
external/bsd/llvm/dist/llvm/lib/Target/Sparc/AsmParser/LLVMBuild.txt | 23 +
external/bsd/llvm/dist/llvm/lib/Target/Sparc/AsmParser/Makefile | 15 +
external/bsd/llvm/dist/llvm/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp | 811 +++++
external/bsd/llvm/dist/llvm/lib/Target/Sparc/CMakeLists.txt | 5 +
external/bsd/llvm/dist/llvm/lib/Target/Sparc/DelaySlotFiller.cpp | 49 +-
external/bsd/llvm/dist/llvm/lib/Target/Sparc/Disassembler/CMakeLists.txt | 12 +
external/bsd/llvm/dist/llvm/lib/Target/Sparc/Disassembler/LLVMBuild.txt | 23 +
external/bsd/llvm/dist/llvm/lib/Target/Sparc/Disassembler/Makefile | 16 +
external/bsd/llvm/dist/llvm/lib/Target/Sparc/Disassembler/SparcDisassembler.cpp | 228 +
external/bsd/llvm/dist/llvm/lib/Target/Sparc/InstPrinter/SparcInstPrinter.cpp | 41 +-
external/bsd/llvm/dist/llvm/lib/Target/Sparc/InstPrinter/SparcInstPrinter.h | 2 +
external/bsd/llvm/dist/llvm/lib/Target/Sparc/LLVMBuild.txt | 4 +-
external/bsd/llvm/dist/llvm/lib/Target/Sparc/MCTargetDesc/CMakeLists.txt | 5 +-
external/bsd/llvm/dist/llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp | 158 +
external/bsd/llvm/dist/llvm/lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp | 86 +
external/bsd/llvm/dist/llvm/lib/Target/Sparc/MCTargetDesc/SparcFixupKinds.h | 58 +
external/bsd/llvm/dist/llvm/lib/Target/Sparc/MCTargetDesc/SparcMCCodeEmitter.cpp | 167 +
external/bsd/llvm/dist/llvm/lib/Target/Sparc/MCTargetDesc/SparcMCExpr.cpp | 91 +-
external/bsd/llvm/dist/llvm/lib/Target/Sparc/MCTargetDesc/SparcMCExpr.h | 2 +
external/bsd/llvm/dist/llvm/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp | 34 +-
external/bsd/llvm/dist/llvm/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.h | 22 +
external/bsd/llvm/dist/llvm/lib/Target/Sparc/Makefile | 7 +-
external/bsd/llvm/dist/llvm/lib/Target/Sparc/Sparc.td | 11 +-
external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcAsmPrinter.cpp | 60 +-
external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcCallingConv.td | 11 +-
external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcCodeEmitter.cpp | 17 +
external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcISelLowering.cpp | 106 +-
external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcInstr64Bit.td | 139 +-
external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcInstrAliases.td | 136 +
external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcInstrFormats.td | 37 +-
external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcInstrInfo.td | 549 +-
external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcJITInfo.cpp | 1 -
external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcMCInstLower.cpp | 6 +-
external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcSubtarget.cpp | 9 +-
external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp | 18 +-
external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp | 36 +-
external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZISelLowering.h | 1 +
external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZMCInstLower.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZMCInstLower.h | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZSubtarget.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZTargetMachine.h | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/TargetLoweringObjectFile.cpp | 5 +-
external/bsd/llvm/dist/llvm/lib/Target/TargetMachineC.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/TargetSubtargetInfo.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp | 102 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoderCommon.h | 2 +
external/bsd/llvm/dist/llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp | 4 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp | 4 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp | 10 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h | 33 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp | 23 +
external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/X86ELFRelocationInfo.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp | 5 +
external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp | 195 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp | 8 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/X86MachORelocationInfo.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86.td | 4 +
external/bsd/llvm/dist/llvm/lib/Target/X86/X86AsmPrinter.cpp | 28 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86AsmPrinter.h | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86CallingConv.td | 11 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86CodeEmitter.cpp | 55 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86FastISel.cpp | 6 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86FloatingPoint.cpp | 6 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86FrameLowering.cpp | 15 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86ISelLowering.cpp | 76 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrAVX512.td | 680 ++-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrArithmetic.td | 96 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrCMovSetCC.td | 5 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrCompiler.td | 19 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrControl.td | 81 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrExtension.td | 20 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrFMA.td | 4 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrFormats.td | 196 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrFragmentsSIMD.td | 1 +
external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrInfo.cpp | 4 +
external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrInfo.td | 316 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrMMX.td | 6 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrSSE.td | 393 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrShiftRotate.td | 107 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrSystem.td | 153 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrVMX.td | 10 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86MCInstLower.cpp | 13 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86RegisterInfo.cpp | 50 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86Subtarget.cpp | 14 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86Subtarget.h | 18 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86TargetMachine.cpp | 51 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86TargetMachine.h | 76 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86TargetObjectFile.cpp | 54 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86TargetObjectFile.h | 6 +
external/bsd/llvm/dist/llvm/lib/Target/X86/X86TargetTransformInfo.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/X86/X86VZeroUpper.cpp | 23 +-
external/bsd/llvm/dist/llvm/lib/Target/XCore/CMakeLists.txt | 1 +
external/bsd/llvm/dist/llvm/lib/Target/XCore/XCore.h | 1 +
external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreAsmPrinter.cpp | 8 +-
external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreFrameLowering.cpp | 79 +-
external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreFrameToArgsOffsetElim.cpp | 62 +
external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreISelLowering.cpp | 98 +-
external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreISelLowering.h | 10 +
external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreInstrInfo.cpp | 33 +
external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreInstrInfo.h | 6 +
external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreInstrInfo.td | 18 +
external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreLowerThreadLocal.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreMCInstLower.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreMachineFunctionInfo.cpp | 30 +
external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreMachineFunctionInfo.h | 34 +-
external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreRegisterInfo.cpp | 54 +-
external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreTargetMachine.cpp | 6 +
external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreTargetTransformInfo.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Transforms/IPO/FunctionAttrs.cpp | 2 +
external/bsd/llvm/dist/llvm/lib/Transforms/IPO/GlobalOpt.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Transforms/IPO/Internalize.cpp | 43 +-
external/bsd/llvm/dist/llvm/lib/Transforms/IPO/LoopExtractor.cpp | 8 +-
external/bsd/llvm/dist/llvm/lib/Transforms/IPO/PartialInlining.cpp | 6 +-
external/bsd/llvm/dist/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp | 7 +-
external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp | 5 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/DebugIR.cpp | 20 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp | 8 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp | 18 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp | 10 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/EarlyCSE.cpp | 8 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/GVN.cpp | 19 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp | 39 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LICM.cpp | 8 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopDeletion.cpp | 10 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp | 11 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopInstSimplify.cpp | 10 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopRerollPass.cpp | 12 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopRotation.cpp | 39 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp | 33 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp | 4 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp | 10 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp | 8 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/Reassociate.cpp | 3 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/SROA.cpp | 20 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/SampleProfile.cpp | 965 ++++-
external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/Scalar.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp | 8 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/Sink.cpp | 15 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/StructurizeCFG.cpp | 8 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | 30 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp | 8 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Utils/CodeExtractor.cpp | 6 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Utils/DemoteRegToStack.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Utils/LCSSA.cpp | 10 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Utils/Local.cpp | 13 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Utils/LoopSimplify.cpp | 31 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Utils/LoopUnroll.cpp | 7 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Utils/Mem2Reg.cpp | 8 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Utils/SimplifyCFG.cpp | 45 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp | 6 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Utils/SimplifyInstructions.cpp | 6 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Utils/SpecialCaseList.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Utils/Utils.cpp | 2 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/BBVectorize.cpp | 12 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 520 ++-
external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 14 +-
external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/Vectorize.cpp | 2 +-
external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/zext-signed-addrec.ll | 81 +
external/bsd/llvm/dist/llvm/test/Analysis/TypeBasedAliasAnalysis/memcpyopt.ll | 4 +-
external/bsd/llvm/dist/llvm/test/Assembler/functionlocal-metadata.ll | 2 +-
external/bsd/llvm/dist/llvm/test/Assembler/getInt.ll | 3 +
external/bsd/llvm/dist/llvm/test/Bitcode/linkage-types-3.2.ll | 2 +-
external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/init-array.ll | 1 +
external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/mul-lohi.ll | 12 +
external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/neon-bitwise-instructions.ll | 557 +++-
external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/neon-copy.ll | 222 +
external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/neon-copyPhysReg-tuple.ll | 47 +
external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/neon-or-combine.ll | 29 +
external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/neon-perm.ll | 1441 +++++++++
external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/neon-vector-list-spill.ll | 41 +
external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/sext_inreg.ll | 198 +
external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/variadic.ll | 4 +-
external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2014-01-09-pseudo_expand_implicit_reg.ll | 55 +
external/bsd/llvm/dist/llvm/test/CodeGen/ARM/atomic-load-store.ll | 2 +-
external/bsd/llvm/dist/llvm/test/CodeGen/ARM/build-attributes-encoding.s | 10 +-
external/bsd/llvm/dist/llvm/test/CodeGen/ARM/build-attributes.ll | 4 +-
external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cse-ldrlit.ll | 12 +-
external/bsd/llvm/dist/llvm/test/CodeGen/ARM/divmod-eabi.ll | 4 +-
external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-crash2.ll | 4 +-
external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-frameaddr.ll | 16 +-
external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fold-stack-adjust.ll | 45 +-
external/bsd/llvm/dist/llvm/test/CodeGen/ARM/interrupt-attr.ll | 7 +-
external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ldm.ll | 4 +-
external/bsd/llvm/dist/llvm/test/CodeGen/ARM/longMAC.ll | 26 +
external/bsd/llvm/dist/llvm/test/CodeGen/ARM/memfunc.ll | 2 +-
external/bsd/llvm/dist/llvm/test/CodeGen/ARM/none-macho.ll | 101 +
external/bsd/llvm/dist/llvm/test/CodeGen/ARM/thumb-litpool.ll | 15 +
external/bsd/llvm/dist/llvm/test/CodeGen/Mips/blockaddr.ll | 4 +-
external/bsd/llvm/dist/llvm/test/CodeGen/Mips/const4a.ll | 2 +-
external/bsd/llvm/dist/llvm/test/CodeGen/Mips/fpneeded.ll | 16 +-
external/bsd/llvm/dist/llvm/test/CodeGen/Mips/fpnotneeded.ll | 10 +-
external/bsd/llvm/dist/llvm/test/CodeGen/Mips/helloworld.ll | 2 +-
external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-load-effective-address.ll | 29 +
external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips16_32_1.ll | 2 +-
external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips16_32_10.ll | 6 +-
external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips16_32_3.ll | 12 +-
external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips16_32_4.ll | 12 +-
external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips16_32_5.ll | 12 +-
external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips16_32_6.ll | 12 +-
external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips16_32_7.ll | 12 +-
external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips16_32_8.ll | 6 +-
external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips16_32_9.ll | 6 +-
external/bsd/llvm/dist/llvm/test/CodeGen/Mips/null.ll | 2 +-
external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/vec-param-load.ll | 6 +-
external/bsd/llvm/dist/llvm/test/CodeGen/R600/gep-address-space.ll | 2 +-
external/bsd/llvm/dist/llvm/test/CodeGen/R600/lds-output-queue.ll | 2 +-
external/bsd/llvm/dist/llvm/test/CodeGen/R600/llvm.SI.tbuffer.store.ll | 8 +-
external/bsd/llvm/dist/llvm/test/CodeGen/R600/local-memory.ll | 2 +-
external/bsd/llvm/dist/llvm/test/CodeGen/R600/private-memory.ll | 2 +-
external/bsd/llvm/dist/llvm/test/CodeGen/R600/vtx-schedule.ll | 4 +-
external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/2011-01-11-Call.ll | 8 +-
external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/2011-01-11-FrameAddr.ll | 39 +-
external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/2011-01-19-DelaySlot.ll | 18 +-
external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/64abi.ll | 8 +-
external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/64bit.ll | 16 +-
external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/64cond.ll | 2 +-
external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/constpool.ll | 16 +-
external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/ctpop.ll | 15 +-
external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/fp128.ll | 8 +-
external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/globals.ll | 10 +-
external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/leafproc.ll | 12 +-
external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/missinglabel.ll | 23 +
external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/rem.ll | 4 +-
external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/spillsize.ll | 25 +
external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/frame-11.ll | 13 +-
external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/risbg-01.ll | 11 +-
external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/rnsbg-01.ll | 11 +
external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/rosbg-01.ll | 11 +
external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/rxsbg-01.ll | 11 +
external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/shift-04.ll | 101 +
external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/shift-10.ll | 19 +-
external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/unord.ll | 4 +-
external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2011-12-16-T2SizeReduceAssert.ll | 22 +
external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/tail-call-r9.ll | 2 +-
external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-08-31-EH_RETURN64.ll | 2 +-
external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-10-19-widen_vselect.ll | 18 +-
external/bsd/llvm/dist/llvm/test/CodeGen/X86/MachineSink-DbgValue.ll | 4 +-
external/bsd/llvm/dist/llvm/test/CodeGen/X86/anyregcc.ll | 103 +
external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-cmp.ll | 41 +-
external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-cvt.ll | 8 +-
external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-intrinsics.ll | 262 +-
external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-trunc-ext.ll | 18 +-
external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-vselect-crash.ll | 2 +-
external/bsd/llvm/dist/llvm/test/CodeGen/X86/bt.ll | 2 +-
external/bsd/llvm/dist/llvm/test/CodeGen/X86/catch.ll | 21 +
external/bsd/llvm/dist/llvm/test/CodeGen/X86/dllexport-x86_64.ll | 104 +
external/bsd/llvm/dist/llvm/test/CodeGen/X86/dllexport.ll | 125 +-
external/bsd/llvm/dist/llvm/test/CodeGen/X86/dllimport-x86_64.ll | 48 +
external/bsd/llvm/dist/llvm/test/CodeGen/X86/dllimport.ll | 59 +
external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-x86.ll | 6 +-
external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-call-oper.ll | 48 +
external/bsd/llvm/dist/llvm/test/CodeGen/X86/i64-mem-copy.ll | 2 +-
external/bsd/llvm/dist/llvm/test/CodeGen/X86/misched-aa-mmos.ll | 37 +
external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr10420.ll | 48 +-
external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr16031.ll | 2 +-
external/bsd/llvm/dist/llvm/test/CodeGen/X86/setjmp-spills.ll | 141 +
external/bsd/llvm/dist/llvm/test/CodeGen/X86/shl_undef.ll | 4 +-
external/bsd/llvm/dist/llvm/test/CodeGen/X86/sibcall.ll | 4 +-
external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse2.ll | 6 +-
external/bsd/llvm/dist/llvm/test/CodeGen/X86/stackmap.ll | 50 +-
external/bsd/llvm/dist/llvm/test/CodeGen/X86/stdcall-notailcall.ll | 4 +-
external/bsd/llvm/dist/llvm/test/CodeGen/X86/stdcall.ll | 4 +-
external/bsd/llvm/dist/llvm/test/CodeGen/X86/v2f32.ll | 2 +-
external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_round.ll | 2 +-
external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-gep.ll | 31 +-
external/bsd/llvm/dist/llvm/test/CodeGen/X86/vselect.ll | 43 +
external/bsd/llvm/dist/llvm/test/CodeGen/X86/vshift-6.ll | 36 +
external/bsd/llvm/dist/llvm/test/CodeGen/X86/win32_sret.ll | 28 +-
external/bsd/llvm/dist/llvm/test/CodeGen/XCore/codemodel.ll | 41 +
external/bsd/llvm/dist/llvm/test/CodeGen/XCore/epilogue_prologue.ll | 14 +-
external/bsd/llvm/dist/llvm/test/CodeGen/XCore/llvm-intrinsics.ll | 230 +
external/bsd/llvm/dist/llvm/test/CodeGen/XCore/scavenging.ll | 5 +-
external/bsd/llvm/dist/llvm/test/DebugInfo/SystemZ/variable-loc.ll | 4 +-
external/bsd/llvm/dist/llvm/test/DebugInfo/X86/cu-ranges.ll | 57 +
external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarf-aranges.ll | 5 +-
external/bsd/llvm/dist/llvm/test/DebugInfo/X86/fission-cu.ll | 29 +-
external/bsd/llvm/dist/llvm/test/DebugInfo/X86/generate-odr-hash.ll | 54 +-
external/bsd/llvm/dist/llvm/test/DebugInfo/X86/multiple-aranges.ll | 10 +-
external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg | 2 +-
external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/load-object-a.ll | 24 +
external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-uxtl.s | 26 +
external/bsd/llvm/dist/llvm/test/MC/ARM/arm-memory-instructions.s | 11 +
external/bsd/llvm/dist/llvm/test/MC/ARM/arm-qualifier-diagnostics.s | 15 +
external/bsd/llvm/dist/llvm/test/MC/ARM/arm_addrmode2.s | 8 +
external/bsd/llvm/dist/llvm/test/MC/ARM/complex-operands.s | 40 +
external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv4.s | 10 +-
external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv6-m.s | 6 +-
external/bsd/llvm/dist/llvm/test/MC/ARM/directive-eabi_attribute-2.s | 91 +
external/bsd/llvm/dist/llvm/test/MC/ARM/directive-eabi_attribute-diagnostics.s | 36 +
external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-cantunwind-diagnostics.s | 8 +-
external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-fnstart-diagnostics.s | 2 +-
external/bsd/llvm/dist/llvm/test/MC/ARM/fconst.s | 22 +
external/bsd/llvm/dist/llvm/test/MC/ARM/fp-const-errors.s | 22 +
external/bsd/llvm/dist/llvm/test/MC/ARM/simple-fp-encoding.s | 43 +
external/bsd/llvm/dist/llvm/test/MC/ARM/target-expressions.s | 80 +
external/bsd/llvm/dist/llvm/test/MC/ARM/thumb2-cbn-to-next-inst.s | 33 +
external/bsd/llvm/dist/llvm/test/MC/ARM/thumb2-mclass.s | 15 +-
external/bsd/llvm/dist/llvm/test/MC/ARM/thumbv7m.s | 45 +
external/bsd/llvm/dist/llvm/test/MC/ARM/unwind-stack-diagnostics.s | 30 +
external/bsd/llvm/dist/llvm/test/MC/AsmParser/macro-irp.s | 2 +-
external/bsd/llvm/dist/llvm/test/MC/COFF/ir-to-imgrel.ll | 6 +
external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/addrmode2-reencoding.txt | 12 +
external/bsd/llvm/dist/llvm/test/MC/Disassembler/Sparc/lit.local.cfg | 4 +
external/bsd/llvm/dist/llvm/test/MC/Disassembler/Sparc/sparc-fp.txt | 142 +
external/bsd/llvm/dist/llvm/test/MC/Disassembler/Sparc/sparc.txt | 169 +
external/bsd/llvm/dist/llvm/test/MC/ELF/ifunc-reloc.s | 16 +
external/bsd/llvm/dist/llvm/test/MC/ELF/relocation-386.s | 6 +
external/bsd/llvm/dist/llvm/test/MC/ELF/relocation.s | 4 +
external/bsd/llvm/dist/llvm/test/MC/ELF/type.s | 197 +
external/bsd/llvm/dist/llvm/test/MC/Mips/elf_eflags.ll | 2 +-
external/bsd/llvm/dist/llvm/test/MC/Mips/elf_eflags.s | 9 +-
external/bsd/llvm/dist/llvm/test/MC/Mips/elf_st_other.ll | 3 +-
external/bsd/llvm/dist/llvm/test/MC/Mips/elf_st_other.s | 33 +-
external/bsd/llvm/dist/llvm/test/MC/Mips/mips_directives.s | 2 +
external/bsd/llvm/dist/llvm/test/MC/Mips/mips_directives_bad.s | 49 +
external/bsd/llvm/dist/llvm/test/MC/Sparc/lit.local.cfg | 4 +
external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc-alu-instructions.s | 72 +
external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc-ctrl-instructions.s | 160 +
external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc-fp-instructions.s | 113 +
external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc-mem-instructions.s | 58 +
external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc-relocations.s | 33 +
external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc64-alu-instructions.s | 38 +
external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc64-ctrl-instructions.s | 235 +
external/bsd/llvm/dist/llvm/test/MC/X86/address-size.s | 16 +-
external/bsd/llvm/dist/llvm/test/MC/X86/relax-insn.s | 5 +
external/bsd/llvm/dist/llvm/test/MC/X86/ret.s | 85 +
external/bsd/llvm/dist/llvm/test/MC/X86/x86-16.s | 952 ++++++
external/bsd/llvm/dist/llvm/test/MC/X86/x86-32.s | 38 +-
external/bsd/llvm/dist/llvm/test/MC/X86/x86-64.s | 16 +-
external/bsd/llvm/dist/llvm/test/MC/X86/x86-target-directives.s | 7 +
external/bsd/llvm/dist/llvm/test/MC/X86/x86_errors.s | 17 +-
external/bsd/llvm/dist/llvm/test/Other/new-pass-manager.ll | 39 +
external/bsd/llvm/dist/llvm/test/Other/pass-pipeline-parsing.ll | 110 +
external/bsd/llvm/dist/llvm/test/Transforms/FunctionAttrs/nocapture.ll | 15 +
external/bsd/llvm/dist/llvm/test/Transforms/GVN/unreachable_block_infinite_loop.ll | 2 +-
external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/iv-widen.ll | 7 +-
external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/lftr-extend-const.ll | 4 +-
external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/tripcount_compute.ll | 31 +
external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/getelementptr.ll | 9 +
external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/vec_phi_extract.ll | 2 +-
external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/vec_shuffle.ll | 17 +
external/bsd/llvm/dist/llvm/test/Transforms/LICM/volatile-alias.ll | 2 +-
external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/ashr-crash.ll | 80 +
external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/notify-scev.ll | 110 +
external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/lsr-expand-quadratic.ll | 2 +-
external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/induction.ll | 4 +-
external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/runtime-check-readonly.ll | 12 +-
external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/version-mem-access.ll | 87 +
external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/phi.ll | 2 +-
external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/bad_fn_header.prof | 3 -
external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/bad_sample_line.prof | 5 +-
external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/branch.prof | 5 +-
external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/calls.prof | 11 +
external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/propagate.prof | 17 +
external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/syntax.prof | 3 +
external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/branch.ll | 8 +-
external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/calls.ll | 107 +
external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/propagate.ll | 243 +
external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/syntax.ll | 14 +-
external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll | 86 +
external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/lit.local.cfg | 4 +
external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/unwind.s | 203 +
external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/dynamic-table-exe.mips | Bin
external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/dynamic-table-so.mips | Bin
external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/dynamic-table.c | 6 +-
external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/dynamic.test | 41 +-
external/bsd/llvm/dist/llvm/tools/bugpoint/CrashDebugger.cpp | 2 +-
external/bsd/llvm/dist/llvm/tools/bugpoint/ExtractFunction.cpp | 7 +-
external/bsd/llvm/dist/llvm/tools/bugpoint/Miscompilation.cpp | 2 +-
external/bsd/llvm/dist/llvm/tools/bugpoint/OptimizerDriver.cpp | 2 +-
external/bsd/llvm/dist/llvm/tools/bugpoint/bugpoint.cpp | 16 +-
external/bsd/llvm/dist/llvm/tools/gold/CMakeLists.txt | 4 +
external/bsd/llvm/dist/llvm/tools/gold/gold-plugin.cpp | 4 +-
external/bsd/llvm/dist/llvm/tools/llc/llc.cpp | 4 +-
external/bsd/llvm/dist/llvm/tools/lli/ChildTarget/ChildTarget.cpp | 57 +-
external/bsd/llvm/dist/llvm/tools/lli/ChildTarget/Unix/ChildTarget.inc | 2 +-
external/bsd/llvm/dist/llvm/tools/lli/RemoteMemoryManager.cpp | 10 +-
external/bsd/llvm/dist/llvm/tools/lli/RemoteMemoryManager.h | 3 +-
external/bsd/llvm/dist/llvm/tools/lli/RemoteTarget.cpp | 15 +-
external/bsd/llvm/dist/llvm/tools/lli/RemoteTarget.h | 16 +-
external/bsd/llvm/dist/llvm/tools/lli/RemoteTargetExternal.cpp | 337 +-
external/bsd/llvm/dist/llvm/tools/lli/RemoteTargetExternal.h | 59 +-
external/bsd/llvm/dist/llvm/tools/lli/RemoteTargetMessage.h | 54 +-
external/bsd/llvm/dist/llvm/tools/lli/Unix/RemoteTargetExternal.inc | 51 +-
external/bsd/llvm/dist/llvm/tools/lli/Windows/RemoteTargetExternal.inc | 11 +-
external/bsd/llvm/dist/llvm/tools/lli/lli.cpp | 164 +-
external/bsd/llvm/dist/llvm/tools/llvm-ar/llvm-ar.cpp | 21 +-
external/bsd/llvm/dist/llvm/tools/llvm-as/llvm-as.cpp | 4 +-
external/bsd/llvm/dist/llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp | 2 +-
external/bsd/llvm/dist/llvm/tools/llvm-c-test/CMakeLists.txt | 2 +-
external/bsd/llvm/dist/llvm/tools/llvm-dis/llvm-dis.cpp | 9 +-
external/bsd/llvm/dist/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp | 1 +
external/bsd/llvm/dist/llvm/tools/llvm-extract/llvm-extract.cpp | 8 +-
external/bsd/llvm/dist/llvm/tools/llvm-link/llvm-link.cpp | 2 +-
external/bsd/llvm/dist/llvm/tools/llvm-lto/llvm-lto.cpp | 2 +-
external/bsd/llvm/dist/llvm/tools/llvm-nm/llvm-nm.cpp | 19 +-
external/bsd/llvm/dist/llvm/tools/llvm-readobj/ARMEHABIPrinter.h | 271 +
external/bsd/llvm/dist/llvm/tools/llvm-readobj/COFFDumper.cpp | 7 +-
external/bsd/llvm/dist/llvm/tools/llvm-readobj/ELFDumper.cpp | 22 +-
external/bsd/llvm/dist/llvm/tools/llvm-readobj/MachODumper.cpp | 1 -
external/bsd/llvm/dist/llvm/tools/llvm-readobj/ObjDumper.cpp | 2 -
external/bsd/llvm/dist/llvm/tools/llvm-readobj/StreamWriter.h | 2 +-
external/bsd/llvm/dist/llvm/tools/llvm-readobj/llvm-readobj.cpp | 3 -
external/bsd/llvm/dist/llvm/tools/llvm-stress/llvm-stress.cpp | 8 +-
external/bsd/llvm/dist/llvm/tools/llvm-symbolizer/LLVMSymbolize.cpp | 7 +-
external/bsd/llvm/dist/llvm/tools/lto/lto.cpp | 11 +-
external/bsd/llvm/dist/llvm/tools/opt/CMakeLists.txt | 2 +
external/bsd/llvm/dist/llvm/tools/opt/GraphPrinters.cpp | 7 +-
external/bsd/llvm/dist/llvm/tools/opt/NewPMDriver.cpp | 62 +
external/bsd/llvm/dist/llvm/tools/opt/NewPMDriver.h | 50 +
external/bsd/llvm/dist/llvm/tools/opt/Passes.cpp | 191 +
external/bsd/llvm/dist/llvm/tools/opt/Passes.h | 56 +
external/bsd/llvm/dist/llvm/tools/opt/opt.cpp | 37 +-
external/bsd/llvm/dist/llvm/unittests/ADT/StringRefTest.cpp | 2 +-
external/bsd/llvm/dist/llvm/unittests/Analysis/CFGTest.cpp | 18 +-
external/bsd/llvm/dist/llvm/unittests/Bitcode/BitReaderTest.cpp | 7 +-
external/bsd/llvm/dist/llvm/unittests/CodeGen/DIEHashTest.cpp | 2 +-
external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp | 11 +-
external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/JIT/MultiJITTest.cpp | 2 +-
external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp | 2 +-
external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/MCJIT/MCJITObjectCacheTest.cpp | 2 +-
external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/MCJIT/MCJITTestBase.h | 2 +-
external/bsd/llvm/dist/llvm/unittests/IR/DominatorTreeTest.cpp | 11 +-
external/bsd/llvm/dist/llvm/unittests/IR/IRBuilderTest.cpp | 51 +
external/bsd/llvm/dist/llvm/unittests/IR/LegacyPassManagerTest.cpp | 4 +-
external/bsd/llvm/dist/llvm/unittests/IR/PassManagerTest.cpp | 12 +-
external/bsd/llvm/dist/llvm/unittests/IR/PatternMatch.cpp | 389 +-
external/bsd/llvm/dist/llvm/unittests/IR/ValueTest.cpp | 2 +-
external/bsd/llvm/dist/llvm/unittests/IR/VerifierTest.cpp | 2 +-
external/bsd/llvm/dist/llvm/unittests/Support/Casting.cpp | 2 +-
external/bsd/llvm/dist/llvm/unittests/Support/CommandLineTest.cpp | 2 +-
external/bsd/llvm/dist/llvm/unittests/Support/ErrorOrTest.cpp | 7 +-
external/bsd/llvm/dist/llvm/unittests/Support/FileOutputBufferTest.cpp | 7 +-
external/bsd/llvm/dist/llvm/unittests/Support/LockFileManagerTest.cpp | 5 +-
external/bsd/llvm/dist/llvm/unittests/Support/MemoryBufferTest.cpp | 2 +-
external/bsd/llvm/dist/llvm/unittests/Support/Path.cpp | 17 +-
external/bsd/llvm/dist/llvm/unittests/Support/ProgramTest.cpp | 1 -
external/bsd/llvm/dist/llvm/unittests/Transforms/DebugIR/DebugIR.cpp | 7 +-
external/bsd/llvm/dist/llvm/unittests/Transforms/Utils/ASanStackFrameLayoutTest.cpp | 2 +-
external/bsd/llvm/dist/llvm/unittests/Transforms/Utils/Cloning.cpp | 2 +-
external/bsd/llvm/dist/llvm/utils/TableGen/AsmWriterEmitter.cpp | 8 +-
external/bsd/llvm/dist/llvm/utils/TableGen/CallingConvEmitter.cpp | 19 +-
external/bsd/llvm/dist/llvm/utils/TableGen/DisassemblerEmitter.cpp | 7 +-
external/bsd/llvm/dist/llvm/utils/TableGen/TableGen.cpp | 9 +
external/bsd/llvm/dist/llvm/utils/TableGen/X86DisassemblerTables.cpp | 10 +-
external/bsd/llvm/dist/llvm/utils/TableGen/X86RecognizableInstr.cpp | 117 +-
external/bsd/llvm/dist/llvm/utils/TableGen/X86RecognizableInstr.h | 12 +-
external/bsd/llvm/dist/llvm/utils/lit/lit/TestingConfig.py | 22 +-
external/bsd/llvm/dist/llvm/utils/llvm-lit/llvm-lit.in | 5 +
external/bsd/llvm/dist/llvm/utils/unittest/CMakeLists.txt | 4 +-
external/bsd/llvm/dist/llvm/utils/unittest/UnitTestMain/CMakeLists.txt | 3 +
848 files changed, 23930 insertions(+), 6422 deletions(-)
diffs (truncated from 53063 to 300 lines):
diff -r b77db865487f -r 54e2b98ff714 external/bsd/llvm/dist/llvm/CMakeLists.txt
--- a/external/bsd/llvm/dist/llvm/CMakeLists.txt Wed Jan 15 21:20:53 2014 +0000
+++ b/external/bsd/llvm/dist/llvm/CMakeLists.txt Wed Jan 15 21:23:25 2014 +0000
@@ -1,7 +1,7 @@
# See docs/CMake.html for instructions about how to build LLVM with CMake.
project(LLVM)
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 2.8.8)
# Add path for custom modules
set(CMAKE_MODULE_PATH
@@ -37,6 +37,9 @@
set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
set(PACKAGE_BUGREPORT "http://llvm.org/bugs/")
+set(BUG_REPORT_URL "${PACKAGE_BUGREPORT}" CACHE STRING
+ "Default URL where bug reports are to be submitted.")
+
# Configure CPack.
set(CPACK_PACKAGE_INSTALL_DIRECTORY "LLVM")
set(CPACK_PACKAGE_VENDOR "LLVM")
@@ -182,6 +185,7 @@
endif()
option(LLVM_ENABLE_CXX11 "Compile with C++11 enabled." OFF)
+option(LLVM_ENABLE_LIBCXX "Use libc++ if available." OFF)
option(LLVM_ENABLE_PEDANTIC "Compile with pedantic enabled." ON)
option(LLVM_ENABLE_WERROR "Fail and stop if a warning is triggered." OFF)
@@ -191,6 +195,9 @@
option(LLVM_ENABLE_ASSERTIONS "Enable assertions" ON)
endif()
+option(LLVM_FORCE_USE_OLD_HOST_TOOLCHAIN
+ "Set to ON to force using an old, unsupported host toolchain." OFF)
+
option(LLVM_USE_INTEL_JITEVENTS
"Use Intel JIT API to inform Intel(R) VTune(TM) Amplifier XE 2011 about JIT code"
OFF)
diff -r b77db865487f -r 54e2b98ff714 external/bsd/llvm/dist/llvm/Makefile.rules
--- a/external/bsd/llvm/dist/llvm/Makefile.rules Wed Jan 15 21:20:53 2014 +0000
+++ b/external/bsd/llvm/dist/llvm/Makefile.rules Wed Jan 15 21:23:25 2014 +0000
@@ -611,9 +611,11 @@
# By default, strip dead symbols at link time
ifneq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW))
ifneq ($(HOST_OS),Darwin)
+ifneq ($(HOST_ARCH),Mips)
CXX.Flags += -ffunction-sections -fdata-sections
endif
endif
+endif
ifndef NO_DEAD_STRIP
ifeq ($(HOST_OS),Darwin)
LD.Flags += -Wl,-dead_strip
diff -r b77db865487f -r 54e2b98ff714 external/bsd/llvm/dist/llvm/autoconf/configure.ac
--- a/external/bsd/llvm/dist/llvm/autoconf/configure.ac Wed Jan 15 21:20:53 2014 +0000
+++ b/external/bsd/llvm/dist/llvm/autoconf/configure.ac Wed Jan 15 21:23:25 2014 +0000
@@ -66,8 +66,8 @@
dnl We need to check for the compiler up here to avoid anything else
dnl starting with a different one.
-AC_PROG_CC(clang llvm-gcc gcc)
-AC_PROG_CXX(clang++ llvm-g++ g++)
+AC_PROG_CC(clang gcc)
+AC_PROG_CXX(clang++ g++)
AC_PROG_CPP
dnl If CXX is Clang, check that it can find and parse C++ standard library
@@ -96,6 +96,75 @@
AC_LANG_POP([C++])
fi
+dnl Set up variables that track whether the host compiler is GCC or Clang where
+dnl we can effectively sanity check them. We don't try to sanity check all the
+dnl other possible compilers.
+AC_MSG_CHECKING([whether GCC or Clang is our host compiler])
+AC_LANG_PUSH([C++])
+llvm_cv_cxx_compiler=unknown
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#if ! __clang__
+ #error
+ #endif
+ ]])],
+ llvm_cv_cxx_compiler=clang,
+ [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#if ! __GNUC__
+ #error
+ #endif
+ ]])],
+ llvm_cv_cxx_compiler=gcc, [])])
+AC_LANG_POP([C++])
+AC_MSG_RESULT([${llvm_cv_cxx_compiler}])
+
+dnl Check both GCC and Clang for sufficiently modern versions. These checks can
+dnl be bypassed by passing a flag if necessary on a platform.
+AC_ARG_ENABLE(compiler-version-checks,
+ AS_HELP_STRING([--enable-compiler-version-checks],
+ [Check the version of the host compiler (default is YES)]),,
+ enableval=default)
+case "$enableval" in
+ no)
+ ;;
+ yes|default)
+ AC_LANG_PUSH([C++])
+ case "$llvm_cv_cxx_compiler" in
+ clang)
+ AC_MSG_CHECKING([whether Clang is new enough])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+#if __clang_major__ < 3 || (__clang_major__ == 3 && __clang_minor__ < 1)
+#error This version of Clang is too old to build LLVM
+#endif
+]])],
+ [AC_MSG_RESULT([yes])],
+ [AC_MSG_RESULT([no])
+ AC_MSG_ERROR([
+The selected Clang compiler is not new enough to build LLVM. Please upgrade to
+Clang 3.1. You may pass --disable-compiler-version-checks to configure to
+bypass these sanity checks.])])
+ ;;
+ gcc)
+ AC_MSG_CHECKING([whether GCC is new enough])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7)
+#error This version of GCC is too old to build LLVM
+#endif
+]])],
+ [AC_MSG_RESULT([yes])],
+ [AC_MSG_RESULT([no])
+ AC_MSG_ERROR([
+The selected GCC C++ compiler is not new enough to build LLVM. Please upgrade
+to GCC 4.7. You may pass --disable-compiler-version-checks to configure to
+bypass these sanity checks.])])
+ ;;
+ unknown)
+ ;;
+ esac
+ AC_LANG_POP([C++])
+ ;;
+ *)
+ AC_MSG_ERROR([Invalid setting for --enable-compiler-version-checks. Use "yes" or "no"])
+ ;;
+esac
+
dnl Configure all of the projects present in our source tree. While we could
dnl just AC_CONFIG_SUBDIRS on the set of directories in projects that have a
dnl configure script, that usage of the AC_CONFIG_SUBDIRS macro is deprecated.
@@ -109,11 +178,6 @@
dnl them.
dnl
-dnl Several projects use llvm-gcc, so configure that first
-if test -d ${srcdir}/projects/llvm-gcc ; then
- AC_CONFIG_SUBDIRS([projects/llvm-gcc])
-fi
-
dnl Several projects use the LLVM test suite, so configure it next.
if test -d ${srcdir}/projects/test-suite ; then
AC_CONFIG_SUBDIRS([projects/test-suite])
@@ -140,15 +204,8 @@
if test -d ${srcdir}/projects/${i} ; then
case ${i} in
sample) AC_CONFIG_SUBDIRS([projects/sample]) ;;
- privbracket) AC_CONFIG_SUBDIRS([projects/privbracket]) ;;
- llvm-stacker) AC_CONFIG_SUBDIRS([projects/llvm-stacker]) ;;
- llvm-reopt) AC_CONFIG_SUBDIRS([projects/llvm-reopt]);;
- llvm-java) AC_CONFIG_SUBDIRS([projects/llvm-java]) ;;
- llvm-tv) AC_CONFIG_SUBDIRS([projects/llvm-tv]) ;;
safecode) AC_CONFIG_SUBDIRS([projects/safecode]) ;;
- llvm-kernel) AC_CONFIG_SUBDIRS([projects/llvm-kernel]) ;;
compiler-rt) ;;
- llvm-gcc) ;;
test-suite) ;;
llvm-test) ;;
poolalloc) ;;
@@ -451,9 +508,6 @@
AC_SUBST(HOST_ARCH,$host_arch)
-dnl Check for the endianness of the target
-AC_C_BIGENDIAN(AC_SUBST([ENDIAN],[big]),AC_SUBST([ENDIAN],[little]))
-
dnl Check for build platform executable suffix if we're cross-compiling
if test "$cross_compiling" = yes; then
AC_SUBST(LLVM_CROSS_COMPILING, [1])
diff -r b77db865487f -r 54e2b98ff714 external/bsd/llvm/dist/llvm/cmake/modules/AddLLVM.cmake
--- a/external/bsd/llvm/dist/llvm/cmake/modules/AddLLVM.cmake Wed Jan 15 21:20:53 2014 +0000
+++ b/external/bsd/llvm/dist/llvm/cmake/modules/AddLLVM.cmake Wed Jan 15 21:23:25 2014 +0000
@@ -2,6 +2,24 @@
include(LLVMProcessSources)
include(LLVM-Config)
+function(llvm_update_compile_flags name)
+ get_property(target_compile_flags TARGET ${name} PROPERTY COMPILE_FLAGS)
+ if(NOT "${LLVM_COMPILE_FLAGS}" STREQUAL "")
+ set(target_compile_flags "${target_compile_flags} ${LLVM_COMPILE_FLAGS}")
+ endif()
+ if(LLVM_NO_RTTI)
+ list(APPEND LLVM_COMPILE_DEFINITIONS GTEST_HAS_RTTI=0)
+ if (LLVM_COMPILER_IS_GCC_COMPATIBLE)
+ set(target_compile_flags "${target_compile_flags} -fno-rtti")
+ elseif (MSVC)
+ llvm_replace_compiler_option(target_compile_flags "/GR" "/GR-")
+ endif ()
+ endif()
+
+ set_property(TARGET ${name} PROPERTY COMPILE_FLAGS "${target_compile_flags}")
+ set_property(TARGET ${name} APPEND PROPERTY COMPILE_DEFINITIONS ${LLVM_COMPILE_DEFINITIONS})
+endfunction()
+
function(add_llvm_symbol_exports target_name export_file)
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(native_export_file "${target_name}.exports")
@@ -77,6 +95,9 @@
endfunction(add_llvm_symbol_exports)
function(add_dead_strip target_name)
+ # FIXME: With MSVS, consider compiling with /Gy and linking with /OPT:REF?
+ # But MinSizeRel seems to add that automatically, so maybe disable these
+ # flags instead if LLVM_NO_DEAD_STRIP is set.
if(NOT CYGWIN AND NOT MINGW AND NOT MSVC)
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
SET(CMAKE_CXX_FLAGS
@@ -194,6 +215,10 @@
LINK_FLAGS " -Wl,-flat_namespace -Wl,-undefined -Wl,suppress")
endif()
+ if (MODULE)
+ set_property(TARGET ${name} PROPERTY SUFFIX ${LLVM_PLUGIN_EXT})
+ endif ()
+
if( EXCLUDE_FROM_ALL )
set_target_properties( ${name} PROPERTIES EXCLUDE_FROM_ALL ON)
else()
@@ -340,6 +365,23 @@
set(EXCLUDE_FROM_ALL ON)
endif()
+ # Visual Studio 2012 only supports up to 8 template parameters in
+ # std::tr1::tuple by default, but gtest requires 10
+ if (MSVC AND MSVC_VERSION EQUAL 1700)
+ list(APPEND LLVM_COMPILE_DEFINITIONS _VARIADIC_MAX=10)
+ endif ()
+
+ include_directories(${LLVM_MAIN_SRC_DIR}/utils/unittest/googletest/include)
+ if (NOT LLVM_ENABLE_THREADS)
+ list(APPEND LLVM_COMPILE_DEFINITIONS GTEST_HAS_PTHREAD=0)
+ endif ()
+
+ if (SUPPORTS_NO_VARIADIC_MACROS_FLAG)
+ set(LLVM_COMPILE_FLAGS "-Wno-variadic-macros")
+ endif ()
+
+ set(LLVM_NO_RTTI ON)
+
add_llvm_executable(${test_name} ${ARGN})
set(outdir ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR})
set_output_directory(${test_name} ${outdir} ${outdir})
@@ -354,30 +396,7 @@
if (NOT ${test_suite_folder} STREQUAL "NOTFOUND")
set_property(TARGET ${test_name} PROPERTY FOLDER "${test_suite_folder}")
endif ()
-
- # Visual Studio 2012 only supports up to 8 template parameters in
- # std::tr1::tuple by default, but gtest requires 10
- if (MSVC AND MSVC_VERSION EQUAL 1700)
- set_property(TARGET ${test_name} APPEND PROPERTY COMPILE_DEFINITIONS _VARIADIC_MAX=10)
- endif ()
-
- include_directories(${LLVM_MAIN_SRC_DIR}/utils/unittest/googletest/include)
- set_property(TARGET ${test_name} APPEND PROPERTY COMPILE_DEFINITIONS GTEST_HAS_RTTI=0)
- if (NOT LLVM_ENABLE_THREADS)
- set_property(TARGET ${test_name} APPEND PROPERTY COMPILE_DEFINITIONS GTEST_HAS_PTHREAD=0)
- endif ()
-
- get_property(target_compile_flags TARGET ${test_name} PROPERTY COMPILE_FLAGS)
- if (LLVM_COMPILER_IS_GCC_COMPATIBLE)
- set(target_compile_flags "${target_compile_flags} -fno-rtti")
- elseif (MSVC)
- llvm_replace_compiler_option(target_compile_flags "/GR" "/GR-")
- endif ()
-
- if (SUPPORTS_NO_VARIADIC_MACROS_FLAG)
- set(target_compile_flags "${target_compile_flags} -Wno-variadic-macros")
- endif ()
- set_property(TARGET ${test_name} PROPERTY COMPILE_FLAGS "${target_compile_flags}")
+ llvm_update_compile_flags(${test_name})
endfunction()
# This function provides an automatic way to 'configure'-like generate a file
diff -r b77db865487f -r 54e2b98ff714 external/bsd/llvm/dist/llvm/cmake/modules/HandleLLVMOptions.cmake
--- a/external/bsd/llvm/dist/llvm/cmake/modules/HandleLLVMOptions.cmake Wed Jan 15 21:20:53 2014 +0000
+++ b/external/bsd/llvm/dist/llvm/cmake/modules/HandleLLVMOptions.cmake Wed Jan 15 21:23:25 2014 +0000
@@ -14,6 +14,22 @@
set(LLVM_COMPILER_IS_GCC_COMPATIBLE ON)
endif()
+if(NOT LLVM_FORCE_USE_OLD_TOOLCHAIN)
+ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
+ if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.7)
+ message(FATAL_ERROR "Host GCC version must be at least 4.7!")
+ endif()
Home |
Main Index |
Thread Index |
Old Index