From 63faed5b8e4f2755f127fcb8aa440480c0649327 Mon Sep 17 00:00:00 2001
From: Dimitry Andric
Date: Sat, 14 Apr 2012 13:54:10 +0000
Subject: [PATCH 1/2] Vendor import of llvm trunk r154661:
http://llvm.org/svn/llvm-project/llvm/trunk@r154661
---
.gitignore | 2 +
CMakeLists.txt | 277 +-
CREDITS.TXT | 29 +-
LICENSE.TXT | 3 +-
LLVMBuild.txt | 24 +
Makefile | 31 +-
Makefile.config.in | 38 +-
Makefile.rules | 192 +-
ModuleInfo.txt | 4 -
README.txt | 3 +
autoconf/AutoRegen.sh | 4 +-
autoconf/config.sub | 4 +-
autoconf/configure.ac | 309 +-
autoconf/ltmain.sh | 2 +-
autoconf/m4/cxx_flag_check.m4 | 2 +-
autoconf/m4/func_isinf.m4 | 2 +-
autoconf/m4/huge_val.m4 | 2 +-
autoconf/m4/libtool.m4 | 12 +-
autoconf/m4/link_options.m4 | 2 +-
autoconf/m4/path_perl.m4 | 16 -
autoconf/m4/visibility_inlines_hidden.m4 | 6 +-
bindings/LLVMBuild.txt | 21 +
bindings/ocaml/Makefile.ocaml | 8 +-
bindings/ocaml/llvm/META.llvm.in | 2 +-
bindings/ocaml/llvm/Makefile | 6 +-
bindings/ocaml/llvm/llvm.ml | 2 +
bindings/ocaml/llvm/llvm.mli | 1 +
bindings/ocaml/llvm/llvm_ocaml.c | 3 +-
bindings/python/README.txt | 67 +
bindings/python/llvm/__init__.py | 0
bindings/python/llvm/common.py | 106 +
bindings/python/llvm/core.py | 98 +
bindings/python/llvm/disassembler.py | 134 +
bindings/python/llvm/enumerations.py | 211 +
bindings/python/llvm/object.py | 523 +
bindings/python/llvm/tests/__init__.py | 0
bindings/python/llvm/tests/base.py | 32 +
bindings/python/llvm/tests/test_core.py | 23 +
.../python/llvm/tests/test_disassembler.py | 28 +
bindings/python/llvm/tests/test_object.py | 67 +
build-for-llvm-top.sh | 68 -
cmake/config-ix.cmake | 37 +-
cmake/modules/AddLLVM.cmake | 17 +-
cmake/modules/CMakeLists.txt | 6 +-
cmake/modules/ChooseMSVCCRT.cmake | 4 +-
...TargetTriple.cmake => GetHostTriple.cmake} | 4 +-
cmake/modules/HandleLLVMOptions.cmake | 36 +-
cmake/modules/LLVM-Config.cmake | 2 +-
cmake/modules/LLVMConfig.cmake.in | 2 +
cmake/modules/TableGen.cmake | 5 +-
cmake/modules/VersionFromVCS.cmake | 40 +-
configure | 4715 +++-
docs/AliasAnalysis.html | 7 +-
docs/Bugpoint.html | 2 +-
docs/CFEBuildInstrs.html | 29 -
docs/CMake.html | 22 +-
docs/CodeGenerator.html | 244 +-
docs/CodingStandards.html | 130 +-
docs/CommandGuide/Makefile | 2 +-
docs/CommandGuide/index.html | 8 +-
docs/CommandGuide/lit.pod | 70 +-
docs/CommandGuide/llc.pod | 2 +-
docs/CommandGuide/llvm-build.pod | 86 +
docs/CommandGuide/llvm-cov.pod | 45 +
docs/CommandGuide/llvm-stress.pod | 42 +
docs/CommandGuide/tblgen.pod | 54 +-
docs/CompilerWriterInfo.html | 14 +-
docs/DebuggingJITedCode.html | 2 +-
docs/DeveloperPolicy.html | 54 +-
docs/ExceptionHandling.html | 23 +-
docs/ExtendingLLVM.html | 15 +-
docs/FAQ.html | 26 +-
docs/GarbageCollection.html | 9 +-
docs/GetElementPtr.html | 10 +-
docs/GettingStarted.html | 309 +-
docs/GettingStartedVS.html | 15 +-
docs/GoldPlugin.html | 27 +-
docs/HowToAddABuilder.html | 142 +
docs/HowToReleaseLLVM.html | 2 +-
docs/HowToSubmitABug.html | 2 +-
docs/LLVMBuild.html | 363 +
docs/LLVMBuild.txt | 21 +
docs/LangRef.html | 921 +-
docs/Lexicon.html | 4 +-
docs/LinkTimeOptimization.html | 2 +-
docs/Packaging.html | 2 +-
docs/Passes.html | 23 +-
docs/ProgrammersManual.html | 95 +-
docs/Projects.html | 2 +-
docs/ReleaseNotes.html | 1211 +-
docs/SegmentedStacks.html | 8 +-
docs/SourceLevelDebugging.html | 1221 +-
docs/SystemLibrary.html | 2 +-
docs/TableGenFundamentals.html | 56 +-
docs/TestSuiteMakefileGuide.html | 351 +
docs/TestingGuide.html | 415 +-
docs/UsingLibraries.html | 448 -
docs/WritingAnLLVMBackend.html | 4 +-
docs/WritingAnLLVMPass.html | 140 +-
docs/doxygen.cfg.in | 2 +-
docs/doxygen.footer | 2 +-
docs/doxygen.header | 2 +-
docs/doxygen.intro | 4 +-
docs/index.html | 76 +-
docs/tutorial/LangImpl2.html | 2 +-
docs/tutorial/LangImpl3.html | 2 +-
docs/tutorial/LangImpl4.html | 2 +-
docs/tutorial/LangImpl5.html | 2 +-
docs/tutorial/LangImpl6.html | 2 +-
docs/tutorial/LangImpl7.html | 2 +-
examples/BrainF/BrainF.cpp | 3 +-
examples/ExceptionDemo/ExceptionDemo.cpp | 101 +-
examples/LLVMBuild.txt | 21 +
examples/ParallelJIT/ParallelJIT.cpp | 3 +-
include/llvm-c/Analysis.h | 10 +
include/llvm-c/BitReader.h | 10 +
include/llvm-c/BitWriter.h | 10 +
include/llvm-c/Core.h | 1756 +-
include/llvm-c/Disassembler.h | 11 +
include/llvm-c/EnhancedDisassembly.h | 17 +
include/llvm-c/ExecutionEngine.h | 11 +
include/llvm-c/Initialization.h | 14 +
include/llvm-c/LinkTimeOptimizer.h | 11 +
include/llvm-c/Object.h | 74 +-
include/llvm-c/Target.h | 65 +
include/llvm-c/TargetMachine.h | 142 +
include/llvm-c/Transforms/IPO.h | 11 +
.../llvm-c/Transforms/PassManagerBuilder.h | 11 +
include/llvm-c/Transforms/Scalar.h | 10 +
include/llvm-c/Transforms/Vectorize.h | 48 +
include/llvm-c/lto.h | 51 +-
include/llvm/ADT/APFloat.h | 13 +-
include/llvm/ADT/APInt.h | 41 +-
include/llvm/ADT/ArrayRef.h | 129 +-
include/llvm/ADT/BitVector.h | 92 +-
include/llvm/ADT/DAGDeltaAlgorithm.h | 1 +
include/llvm/ADT/DenseMap.h | 70 +-
include/llvm/ADT/DenseMapInfo.h | 2 +-
include/llvm/ADT/FoldingSet.h | 28 +-
include/llvm/ADT/GraphTraits.h | 5 +-
include/llvm/ADT/Hashing.h | 770 +
include/llvm/ADT/ImmutableSet.h | 16 +-
include/llvm/ADT/IntervalMap.h | 4 +-
include/llvm/ADT/IntrusiveRefCntPtr.h | 25 +-
include/llvm/ADT/PointerIntPair.h | 6 +-
include/llvm/ADT/PointerUnion.h | 21 +-
include/llvm/ADT/SetVector.h | 6 +
include/llvm/ADT/SmallBitVector.h | 6 +-
include/llvm/ADT/SmallPtrSet.h | 16 +
include/llvm/ADT/SmallSet.h | 4 +-
include/llvm/ADT/SmallString.h | 233 +-
include/llvm/ADT/SmallVector.h | 108 +-
include/llvm/ADT/SparseBitVector.h | 43 +-
include/llvm/ADT/SparseSet.h | 268 +
include/llvm/ADT/Statistic.h | 2 +
include/llvm/ADT/StringExtras.h | 37 -
include/llvm/ADT/StringMap.h | 67 +-
include/llvm/ADT/StringRef.h | 67 +-
include/llvm/ADT/TinyPtrVector.h | 42 +-
include/llvm/ADT/Trie.h | 6 +-
include/llvm/ADT/Triple.h | 206 +-
include/llvm/ADT/Twine.h | 3 +-
include/llvm/ADT/ValueMap.h | 24 +-
include/llvm/ADT/VariadicFunction.h | 331 +
include/llvm/ADT/VectorExtras.h | 41 -
include/llvm/ADT/edit_distance.h | 102 +
include/llvm/ADT/ilist.h | 4 -
include/llvm/Analysis/AliasAnalysis.h | 7 +-
include/llvm/Analysis/AliasSetTracker.h | 1 +
include/llvm/Analysis/BlockFrequencyImpl.h | 15 +-
include/llvm/Analysis/BlockFrequencyInfo.h | 2 +-
include/llvm/Analysis/BranchProbabilityInfo.h | 126 +-
include/llvm/Analysis/CFGPrinter.h | 12 +-
include/llvm/Analysis/CaptureTracking.h | 34 +-
include/llvm/Analysis/CodeMetrics.h | 87 +-
include/llvm/Analysis/ConstantFolding.h | 26 +-
include/llvm/Analysis/DIBuilder.h | 42 +-
include/llvm/Analysis/DOTGraphTraitsPass.h | 6 +-
include/llvm/Analysis/DebugInfo.h | 92 +-
include/llvm/Analysis/DominanceFrontier.h | 1 +
include/llvm/Analysis/DominatorInternals.h | 2 +-
include/llvm/Analysis/Dominators.h | 132 +-
include/llvm/Analysis/IVUsers.h | 6 +
include/llvm/Analysis/InlineCost.h | 195 +-
include/llvm/Analysis/InstructionSimplify.h | 99 +-
include/llvm/Analysis/IntervalIterator.h | 4 +-
include/llvm/Analysis/LazyValueInfo.h | 6 +-
include/llvm/Analysis/Loads.h | 8 +-
include/llvm/Analysis/LoopInfo.h | 74 +-
.../llvm/Analysis/MemoryDependenceAnalysis.h | 4 +
include/llvm/Analysis/PHITransAddr.h | 8 +-
include/llvm/Analysis/ProfileInfo.h | 9 +-
include/llvm/Analysis/RegionInfo.h | 2 +-
include/llvm/Analysis/ScalarEvolution.h | 26 +-
.../llvm/Analysis/ScalarEvolutionExpander.h | 37 +-
.../Analysis/ScalarEvolutionExpressions.h | 1 -
include/llvm/Analysis/ValueTracking.h | 58 +-
include/llvm/Argument.h | 1 +
.../llvm/Assembly/AssemblyAnnotationWriter.h | 20 +-
include/llvm/Assembly/Parser.h | 1 -
include/llvm/Assembly/Writer.h | 1 -
include/llvm/Attributes.h | 185 +-
include/llvm/AutoUpgrade.h | 8 -
include/llvm/BasicBlock.h | 7 +-
include/llvm/Bitcode/Archive.h | 2 +-
include/llvm/Bitcode/BitCodes.h | 13 +-
include/llvm/Bitcode/BitstreamReader.h | 103 +-
include/llvm/Bitcode/BitstreamWriter.h | 83 +-
include/llvm/Bitcode/LLVMBitCodes.h | 40 +-
include/llvm/Bitcode/ReaderWriter.h | 49 +-
include/llvm/CMakeLists.txt | 2 +-
include/llvm/CodeGen/Analysis.h | 7 +-
include/llvm/CodeGen/AsmPrinter.h | 32 +-
include/llvm/CodeGen/BinaryObject.h | 353 -
include/llvm/CodeGen/CallingConvLower.h | 12 +-
include/llvm/CodeGen/DFAPacketizer.h | 167 +
include/llvm/CodeGen/EdgeBundles.h | 3 +-
include/llvm/CodeGen/FastISel.h | 11 +-
include/llvm/CodeGen/FunctionLoweringInfo.h | 24 +-
include/llvm/CodeGen/GCStrategy.h | 13 +-
include/llvm/CodeGen/ISDOpcodes.h | 15 +-
include/llvm/CodeGen/JITCodeEmitter.h | 1 +
include/llvm/CodeGen/LatencyPriorityQueue.h | 4 +-
include/llvm/CodeGen/LexicalScopes.h | 3 +-
.../llvm/CodeGen/LinkAllCodegenComponents.h | 8 +-
include/llvm/CodeGen/LiveInterval.h | 54 +-
include/llvm/CodeGen/LiveIntervalAnalysis.h | 258 +-
{lib => include/llvm}/CodeGen/LiveRangeEdit.h | 69 +-
include/llvm/CodeGen/LiveVariables.h | 9 +-
include/llvm/CodeGen/MachineBasicBlock.h | 247 +-
.../llvm/CodeGen/MachineBlockFrequencyInfo.h | 6 +-
.../CodeGen/MachineBranchProbabilityInfo.h | 16 +-
include/llvm/CodeGen/MachineCodeEmitter.h | 3 +
include/llvm/CodeGen/MachineConstantPool.h | 1 +
include/llvm/CodeGen/MachineDominators.h | 3 +-
include/llvm/CodeGen/MachineFrameInfo.h | 2 +-
include/llvm/CodeGen/MachineFunction.h | 35 +-
.../llvm/CodeGen/MachineFunctionAnalysis.h | 5 +-
include/llvm/CodeGen/MachineInstr.h | 378 +-
include/llvm/CodeGen/MachineInstrBuilder.h | 52 +
include/llvm/CodeGen/MachineInstrBundle.h | 203 +
include/llvm/CodeGen/MachineJumpTableInfo.h | 7 +-
include/llvm/CodeGen/MachineMemOperand.h | 13 +-
include/llvm/CodeGen/MachineModuleInfo.h | 16 +-
include/llvm/CodeGen/MachineOperand.h | 72 +-
include/llvm/CodeGen/MachinePassRegistry.h | 1 +
include/llvm/CodeGen/MachineRegisterInfo.h | 180 +-
include/llvm/CodeGen/MachineScheduler.h | 91 +
include/llvm/CodeGen/ObjectCodeEmitter.h | 171 -
include/llvm/CodeGen/PBQP/Graph.h | 37 +
include/llvm/CodeGen/PBQP/HeuristicBase.h | 14 +-
include/llvm/CodeGen/PBQP/Heuristics/Briggs.h | 6 +
include/llvm/CodeGen/Passes.h | 371 +-
include/llvm/CodeGen/RegisterScavenging.h | 14 +-
include/llvm/CodeGen/ResourcePriorityQueue.h | 142 +
include/llvm/CodeGen/ScheduleDAG.h | 73 +-
include/llvm/CodeGen/ScheduleDAGInstrs.h | 344 +
include/llvm/CodeGen/SchedulerRegistry.h | 16 +-
include/llvm/CodeGen/SelectionDAG.h | 27 +-
include/llvm/CodeGen/SelectionDAGISel.h | 17 +-
include/llvm/CodeGen/SelectionDAGNodes.h | 37 +-
include/llvm/CodeGen/SlotIndexes.h | 126 +-
.../CodeGen/TargetLoweringObjectFileImpl.h | 13 +-
include/llvm/CodeGen/ValueTypes.h | 113 +-
include/llvm/CodeGen/ValueTypes.td | 62 +-
include/llvm/Config/Disassemblers.def.in | 2 +-
include/llvm/Config/config.h.cmake | 49 +-
include/llvm/Config/config.h.in | 51 +-
include/llvm/Config/llvm-config.h.cmake | 18 +-
include/llvm/Config/llvm-config.h.in | 18 +-
include/llvm/Constant.h | 23 +-
include/llvm/Constants.h | 326 +-
include/llvm/DebugInfoProbe.h | 67 -
include/llvm/DefaultPasses.h | 2 +
include/llvm/DerivedTypes.h | 10 +-
.../llvm/ExecutionEngine/ExecutionEngine.h | 59 +-
.../ExecutionEngine/IntelJITEventsWrapper.h | 102 +
.../llvm/ExecutionEngine/JITEventListener.h | 50 +-
.../llvm/ExecutionEngine/JITMemoryManager.h | 27 +
.../llvm/ExecutionEngine/OProfileWrapper.h | 124 +
include/llvm/ExecutionEngine/RuntimeDyld.h | 33 +-
include/llvm/Function.h | 8 +-
include/llvm/GlobalValue.h | 7 +-
include/llvm/InitializePasses.h | 27 +-
include/llvm/InlineAsm.h | 1 +
include/llvm/InstrTypes.h | 1 +
include/llvm/Instruction.def | 125 +-
include/llvm/Instruction.h | 26 +-
include/llvm/Instructions.h | 326 +-
include/llvm/IntrinsicInst.h | 28 -
include/llvm/Intrinsics.td | 11 +-
include/llvm/IntrinsicsAlpha.td | 18 -
include/llvm/IntrinsicsHexagon.td | 3671 +++
include/llvm/IntrinsicsX86.td | 1176 +-
include/llvm/LLVMContext.h | 11 +-
include/llvm/LinkAllPasses.h | 5 +-
include/llvm/Linker.h | 3 +-
include/llvm/MC/MCAsmBackend.h | 49 +-
include/llvm/MC/MCAsmInfo.h | 44 +-
include/llvm/MC/MCAsmInfoCOFF.h | 14 +-
include/llvm/MC/MCAsmInfoDarwin.h | 4 +-
include/llvm/MC/MCAsmLayout.h | 1 +
include/llvm/MC/MCAssembler.h | 47 +-
include/llvm/MC/MCCodeEmitter.h | 6 +-
include/llvm/MC/MCCodeGenInfo.h | 11 +-
include/llvm/MC/MCContext.h | 62 +-
include/llvm/MC/MCDisassembler.h | 2 +-
include/llvm/MC/MCDwarf.h | 67 +-
include/llvm/MC/MCELFObjectWriter.h | 75 +-
include/llvm/MC/MCExpr.h | 28 +-
include/llvm/MC/MCFixup.h | 19 +-
include/llvm/MC/MCInst.h | 28 +-
include/llvm/MC/MCInstPrinter.h | 11 +-
include/llvm/MC/MCInstrAnalysis.h | 2 +-
include/llvm/MC/MCInstrDesc.h | 208 +-
include/llvm/MC/MCInstrInfo.h | 17 +-
include/llvm/MC/MCObjectFileInfo.h | 44 +-
include/llvm/MC/MCObjectStreamer.h | 7 +-
include/llvm/MC/MCObjectWriter.h | 8 +-
include/llvm/MC/MCParser/MCAsmLexer.h | 1 +
include/llvm/MC/MCParser/MCAsmParser.h | 14 +-
include/llvm/MC/MCRegisterInfo.h | 184 +-
include/llvm/MC/MCSection.h | 2 -
include/llvm/MC/MCSectionCOFF.h | 2 +-
include/llvm/MC/MCSectionELF.h | 1 +
include/llvm/MC/MCSectionMachO.h | 1 +
include/llvm/MC/MCStreamer.h | 49 +-
include/llvm/MC/MCWinCOFFObjectWriter.h | 36 +
include/llvm/Metadata.h | 25 +-
include/llvm/Module.h | 64 +-
include/llvm/Object/Archive.h | 59 +-
include/llvm/Object/Binary.h | 51 +-
include/llvm/Object/COFF.h | 77 +-
include/llvm/Object/ELF.h | 2209 ++
include/llvm/Object/MachO.h | 37 +-
include/llvm/Object/MachOObject.h | 6 +-
include/llvm/Object/ObjectFile.h | 275 +-
include/llvm/Operator.h | 4 +-
include/llvm/Pass.h | 38 +-
include/llvm/PassAnalysisSupport.h | 1 +
include/llvm/PassManager.h | 22 +-
include/llvm/PassManagers.h | 75 +-
include/llvm/PassSupport.h | 7 +-
include/llvm/Support/BlockFrequency.h | 2 +
include/llvm/Support/BranchProbability.h | 31 +-
include/llvm/Support/CFG.h | 8 +
include/llvm/Support/COFF.h | 294 +-
include/llvm/Support/CallSite.h | 10 +
include/llvm/Support/Capacity.h | 2 +
include/llvm/Support/CodeGen.h | 20 +
include/llvm/Support/CommandLine.h | 154 +-
include/llvm/Support/Compiler.h | 27 +-
include/llvm/Support/DOTGraphTraits.h | 30 +-
include/llvm/Support/DataStream.h | 38 +
include/llvm/Support/DataTypes.h.cmake | 18 +
include/llvm/Support/DataTypes.h.in | 15 +
include/llvm/Support/Debug.h | 6 +-
include/llvm/Support/Dwarf.h | 6 +-
include/llvm/Support/DynamicLibrary.h | 3 +
include/llvm/Support/ELF.h | 50 +
include/llvm/Support/Endian.h | 12 +
include/llvm/Support/FileSystem.h | 230 +-
include/llvm/Support/GraphWriter.h | 14 +-
include/llvm/Support/Host.h | 6 +-
include/llvm/Support/IRReader.h | 10 +-
include/llvm/Support/InstVisitor.h | 105 +-
include/llvm/Support/JSONParser.h | 448 +
include/llvm/Support/LockFileManager.h | 74 +
include/llvm/Support/MachO.h | 7 +
include/llvm/Support/ManagedStatic.h | 5 +
include/llvm/Support/MathExtras.h | 14 +
include/llvm/Support/MemoryObject.h | 11 +-
include/llvm/Support/PathV1.h | 14 -
include/llvm/Support/PatternMatch.h | 91 +-
include/llvm/Support/Process.h | 3 -
include/llvm/Support/Program.h | 13 +-
include/llvm/Support/Recycler.h | 3 +-
include/llvm/Support/SMLoc.h | 22 +-
include/llvm/Support/SaveAndRestore.h | 47 +
include/llvm/Support/SourceMgr.h | 52 +-
include/llvm/Support/StreamableMemoryObject.h | 181 +
include/llvm/Support/TargetRegistry.h | 50 +-
include/llvm/Support/TargetSelect.h | 12 +
include/llvm/Support/Valgrind.h | 43 +
include/llvm/Support/ValueHandle.h | 43 +-
include/llvm/Support/YAMLParser.h | 549 +
include/llvm/Support/system_error.h | 15 +-
include/llvm/Support/type_traits.h | 95 +-
include/llvm/TableGen/Record.h | 230 +-
include/llvm/TableGen/TableGenAction.h | 1 +
include/llvm/TableGen/TableGenBackend.h | 4 +-
include/llvm/Target/Mangler.h | 4 +-
include/llvm/Target/Target.td | 62 +-
include/llvm/Target/TargetCallingConv.h | 4 +
include/llvm/Target/TargetCallingConv.td | 11 +
include/llvm/Target/TargetData.h | 34 +-
include/llvm/Target/TargetELFWriterInfo.h | 3 -
include/llvm/Target/TargetFrameLowering.h | 4 -
include/llvm/Target/TargetInstrInfo.h | 128 +-
include/llvm/Target/TargetJITInfo.h | 21 +-
include/llvm/Target/TargetLibraryInfo.h | 256 +-
include/llvm/Target/TargetLowering.h | 138 +-
.../llvm/Target/TargetLoweringObjectFile.h | 30 +-
include/llvm/Target/TargetMachine.h | 138 +-
include/llvm/Target/TargetOpcodes.h | 7 +-
include/llvm/Target/TargetOptions.h | 252 +-
include/llvm/Target/TargetRegisterInfo.h | 124 +-
include/llvm/Target/TargetSelectionDAG.td | 47 +
include/llvm/Target/TargetSubtargetInfo.h | 4 +-
include/llvm/Transforms/IPO.h | 1 +
include/llvm/Transforms/IPO/InlinerPass.h | 27 +-
.../llvm/Transforms/IPO/PassManagerBuilder.h | 20 +-
include/llvm/Transforms/Instrumentation.h | 9 +-
include/llvm/Transforms/Scalar.h | 14 +-
.../llvm/Transforms/Utils/BasicBlockUtils.h | 5 +-
include/llvm/Transforms/Utils/BasicInliner.h | 55 -
include/llvm/Transforms/Utils/BuildLibCalls.h | 8 +-
include/llvm/Transforms/Utils/Cloning.h | 23 +-
.../llvm/Transforms/Utils/CmpInstAnalysis.h | 66 +
include/llvm/Transforms/Utils/ModuleUtils.h | 33 +
include/llvm/Transforms/Utils/SSAUpdater.h | 21 +-
.../llvm/Transforms/Utils/SSAUpdaterImpl.h | 51 +-
.../llvm/Transforms/Utils/SimplifyIndVar.h | 18 +-
include/llvm/Transforms/Utils/UnrollLoop.h | 5 +-
include/llvm/Transforms/Utils/ValueMapper.h | 2 +-
include/llvm/Transforms/Vectorize.h | 106 +
include/llvm/Type.h | 150 +-
include/llvm/User.h | 6 +-
include/llvm/Value.h | 47 +-
lib/Analysis/AliasAnalysis.cpp | 16 +
lib/Analysis/AliasAnalysisCounter.cpp | 6 +-
lib/Analysis/AliasAnalysisEvaluator.cpp | 4 -
lib/Analysis/AliasSetTracker.cpp | 4 +-
lib/Analysis/BasicAliasAnalysis.cpp | 59 +-
lib/Analysis/BlockFrequencyInfo.cpp | 2 +-
lib/Analysis/BranchProbabilityInfo.cpp | 397 +-
lib/Analysis/CFGPrinter.cpp | 8 +-
lib/Analysis/CMakeLists.txt | 7 +-
lib/Analysis/CaptureTracking.cpp | 95 +-
lib/Analysis/CodeMetrics.cpp | 184 +
lib/Analysis/ConstantFolding.cpp | 373 +-
lib/Analysis/DIBuilder.cpp | 112 +-
lib/Analysis/DebugInfo.cpp | 110 +-
lib/Analysis/DominanceFrontier.cpp | 2 +
lib/Analysis/IPA/CMakeLists.txt | 6 -
lib/Analysis/IPA/CallGraph.cpp | 13 +-
lib/Analysis/IPA/GlobalsModRef.cpp | 6 +
lib/Analysis/IPA/LLVMBuild.txt | 23 +
lib/Analysis/IVUsers.cpp | 67 +-
lib/Analysis/InlineCost.cpp | 1499 +-
lib/Analysis/InstructionSimplify.cpp | 1167 +-
lib/Analysis/LLVMBuild.txt | 25 +
lib/Analysis/LazyValueInfo.cpp | 123 +-
lib/Analysis/Lint.cpp | 19 +-
lib/Analysis/Loads.cpp | 16 +-
lib/Analysis/LoopDependenceAnalysis.cpp | 2 -
lib/Analysis/LoopInfo.cpp | 127 +-
lib/Analysis/LoopPass.cpp | 23 +-
lib/Analysis/MemDepPrinter.cpp | 2 +-
lib/Analysis/MemoryBuiltins.cpp | 8 +-
lib/Analysis/MemoryDependenceAnalysis.cpp | 94 +-
lib/Analysis/PHITransAddr.cpp | 13 +-
lib/Analysis/PathNumbering.cpp | 4 +-
lib/Analysis/PathProfileVerifier.cpp | 16 +-
lib/Analysis/ProfileEstimatorPass.cpp | 2 +-
lib/Analysis/ProfileInfoLoaderPass.cpp | 4 +-
lib/Analysis/ProfileVerifierPass.cpp | 18 +-
lib/Analysis/RegionInfo.cpp | 8 +-
lib/Analysis/ScalarEvolution.cpp | 466 +-
lib/Analysis/ScalarEvolutionExpander.cpp | 513 +-
lib/Analysis/ScalarEvolutionNormalization.cpp | 2 -
lib/Analysis/SparsePropagation.cpp | 8 +-
lib/Analysis/Trace.cpp | 2 +-
lib/Analysis/ValueTracking.cpp | 985 +-
lib/Archive/ArchiveReader.cpp | 31 +-
lib/Archive/ArchiveWriter.cpp | 6 +-
lib/Archive/CMakeLists.txt | 6 -
lib/Archive/LLVMBuild.txt | 22 +
lib/AsmParser/CMakeLists.txt | 5 -
lib/AsmParser/LLLexer.cpp | 62 +-
lib/AsmParser/LLLexer.h | 1 -
lib/AsmParser/LLParser.cpp | 127 +-
lib/AsmParser/LLParser.h | 15 +-
lib/AsmParser/LLToken.h | 4 +-
lib/AsmParser/LLVMBuild.txt | 22 +
lib/AsmParser/Parser.cpp | 2 +-
lib/Bitcode/LLVMBuild.txt | 24 +
lib/Bitcode/Reader/BitcodeReader.cpp | 686 +-
lib/Bitcode/Reader/BitcodeReader.h | 40 +-
lib/Bitcode/Reader/CMakeLists.txt | 5 -
lib/Bitcode/Reader/LLVMBuild.txt | 22 +
lib/Bitcode/Writer/BitcodeWriter.cpp | 320 +-
lib/Bitcode/Writer/CMakeLists.txt | 5 -
lib/Bitcode/Writer/LLVMBuild.txt | 22 +
lib/Bitcode/Writer/ValueEnumerator.cpp | 44 +-
lib/Bitcode/Writer/ValueEnumerator.h | 4 +
lib/CodeGen/AggressiveAntiDepBreaker.cpp | 29 +-
lib/CodeGen/AllocationOrder.cpp | 2 +-
lib/CodeGen/AllocationOrder.h | 3 +-
lib/CodeGen/Analysis.cpp | 73 +-
lib/CodeGen/AsmPrinter/ARMException.cpp | 19 +-
lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 300 +-
lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp | 45 +-
.../AsmPrinter/AsmPrinterInlineAsm.cpp | 6 +-
lib/CodeGen/AsmPrinter/CMakeLists.txt | 11 +-
lib/CodeGen/AsmPrinter/DIE.cpp | 42 +-
lib/CodeGen/AsmPrinter/DIE.h | 87 +-
lib/CodeGen/AsmPrinter/DwarfAccelTable.cpp | 287 +
lib/CodeGen/AsmPrinter/DwarfAccelTable.h | 290 +
lib/CodeGen/AsmPrinter/DwarfCFIException.cpp | 6 +-
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | 299 +-
lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | 68 +-
lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 443 +-
lib/CodeGen/AsmPrinter/DwarfDebug.h | 56 +-
lib/CodeGen/AsmPrinter/DwarfException.cpp | 46 +-
lib/CodeGen/AsmPrinter/LLVMBuild.txt | 22 +
lib/CodeGen/BranchFolding.cpp | 129 +-
lib/CodeGen/CMakeLists.txt | 27 +-
lib/CodeGen/CallingConvLower.cpp | 2 +-
lib/CodeGen/CodeGen.cpp | 17 +-
lib/CodeGen/CodePlacementOpt.cpp | 9 +-
lib/CodeGen/CriticalAntiDepBreaker.cpp | 72 +-
lib/CodeGen/CriticalAntiDepBreaker.h | 3 +-
lib/CodeGen/DFAPacketizer.cpp | 223 +
lib/CodeGen/DeadMachineInstructionElim.cpp | 31 +-
lib/CodeGen/DwarfEHPrepare.cpp | 701 +-
lib/CodeGen/ELF.h | 227 -
lib/CodeGen/ELFCodeEmitter.cpp | 205 -
lib/CodeGen/ELFCodeEmitter.h | 78 -
lib/CodeGen/ELFWriter.cpp | 1105 -
lib/CodeGen/ELFWriter.h | 251 -
lib/CodeGen/EdgeBundles.cpp | 2 +-
lib/CodeGen/ExecutionDepsFix.cpp | 524 +-
lib/CodeGen/ExpandISelPseudos.cpp | 14 +-
lib/CodeGen/ExpandPostRAPseudos.cpp | 12 +-
lib/CodeGen/GCMetadata.cpp | 6 +-
lib/CodeGen/GCStrategy.cpp | 162 +-
lib/CodeGen/IfConversion.cpp | 132 +-
lib/CodeGen/InlineSpiller.cpp | 191 +-
lib/CodeGen/InterferenceCache.cpp | 35 +-
lib/CodeGen/InterferenceCache.h | 15 +-
lib/CodeGen/IntrinsicLowering.cpp | 5 -
lib/CodeGen/JITCodeEmitter.cpp | 14 +
lib/CodeGen/LLVMBuild.txt | 25 +
lib/CodeGen/LLVMTargetMachine.cpp | 440 +-
lib/CodeGen/LatencyPriorityQueue.cpp | 6 +-
lib/CodeGen/LexicalScopes.cpp | 2 +
lib/CodeGen/LiveDebugVariables.cpp | 23 +-
lib/CodeGen/LiveInterval.cpp | 36 +-
lib/CodeGen/LiveIntervalAnalysis.cpp | 2146 +-
lib/CodeGen/LiveIntervalUnion.cpp | 2 +
lib/CodeGen/LiveIntervalUnion.h | 2 -
lib/CodeGen/LiveRangeCalc.cpp | 4 +-
lib/CodeGen/LiveRangeEdit.cpp | 110 +-
lib/CodeGen/LiveVariables.cpp | 114 +-
lib/CodeGen/LocalStackSlotAllocation.cpp | 10 +-
lib/CodeGen/MachineBasicBlock.cpp | 219 +-
lib/CodeGen/MachineBlockFrequencyInfo.cpp | 2 +-
lib/CodeGen/MachineBlockPlacement.cpp | 1001 +
lib/CodeGen/MachineBranchProbabilityInfo.cpp | 65 +-
lib/CodeGen/MachineCSE.cpp | 108 +-
lib/CodeGen/MachineCodeEmitter.cpp | 14 +
lib/CodeGen/MachineCopyPropagation.cpp | 340 +
lib/CodeGen/MachineFunction.cpp | 93 +-
lib/CodeGen/MachineFunctionAnalysis.cpp | 5 +-
lib/CodeGen/MachineInstr.cpp | 252 +-
lib/CodeGen/MachineInstrBundle.cpp | 278 +
lib/CodeGen/MachineLICM.cpp | 616 +-
lib/CodeGen/MachineModuleInfo.cpp | 18 +-
lib/CodeGen/MachinePassRegistry.cpp | 1 +
lib/CodeGen/MachineRegisterInfo.cpp | 65 +-
lib/CodeGen/MachineSSAUpdater.cpp | 7 +-
lib/CodeGen/MachineScheduler.cpp | 614 +
lib/CodeGen/MachineSink.cpp | 286 +-
lib/CodeGen/MachineVerifier.cpp | 462 +-
lib/CodeGen/ObjectCodeEmitter.cpp | 141 -
lib/CodeGen/OptimizePHIs.cpp | 9 +-
lib/CodeGen/PHIElimination.cpp | 13 +-
lib/CodeGen/Passes.cpp | 611 +-
lib/CodeGen/PeepholeOptimizer.cpp | 35 +-
lib/CodeGen/PostRASchedulerList.cpp | 256 +-
lib/CodeGen/ProcessImplicitDefs.cpp | 36 +-
lib/CodeGen/PrologEpilogInserter.cpp | 41 +-
lib/CodeGen/PrologEpilogInserter.h | 4 -
lib/CodeGen/PseudoSourceValue.cpp | 2 -
lib/CodeGen/RegAllocBase.cpp | 280 +
lib/CodeGen/RegAllocBase.h | 36 +-
lib/CodeGen/RegAllocBasic.cpp | 316 +-
lib/CodeGen/RegAllocFast.cpp | 323 +-
lib/CodeGen/RegAllocGreedy.cpp | 110 +-
lib/CodeGen/RegAllocLinearScan.cpp | 1543 --
lib/CodeGen/RegAllocPBQP.cpp | 171 +-
lib/CodeGen/RegisterClassInfo.cpp | 16 +-
lib/CodeGen/RegisterClassInfo.h | 2 +-
lib/CodeGen/RegisterCoalescer.cpp | 252 +-
lib/CodeGen/RegisterCoalescer.h | 6 +-
lib/CodeGen/RegisterScavenging.cpp | 67 +-
lib/CodeGen/RenderMachineFunction.cpp | 19 +-
lib/CodeGen/ScheduleDAG.cpp | 62 +-
lib/CodeGen/ScheduleDAGEmit.cpp | 68 -
lib/CodeGen/ScheduleDAGInstrs.cpp | 654 +-
lib/CodeGen/ScheduleDAGInstrs.h | 212 -
lib/CodeGen/ScheduleDAGPrinter.cpp | 24 +-
lib/CodeGen/ScoreboardHazardRecognizer.cpp | 4 -
lib/CodeGen/SelectionDAG/CMakeLists.txt | 14 +-
lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 1120 +-
lib/CodeGen/SelectionDAG/FastISel.cpp | 215 +-
.../SelectionDAG/FunctionLoweringInfo.cpp | 67 +-
lib/CodeGen/SelectionDAG/InstrEmitter.cpp | 117 +-
lib/CodeGen/SelectionDAG/LLVMBuild.txt | 22 +
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 1255 +-
.../SelectionDAG/LegalizeFloatTypes.cpp | 10 +-
.../SelectionDAG/LegalizeIntegerTypes.cpp | 134 +-
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp | 20 +-
lib/CodeGen/SelectionDAG/LegalizeTypes.h | 2 +
.../SelectionDAG/LegalizeTypesGeneric.cpp | 13 +-
.../SelectionDAG/LegalizeVectorOps.cpp | 140 +-
.../SelectionDAG/LegalizeVectorTypes.cpp | 163 +-
.../SelectionDAG/ResourcePriorityQueue.cpp | 657 +
lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp | 30 +-
.../SelectionDAG/ScheduleDAGRRList.cpp | 650 +-
.../SelectionDAG/ScheduleDAGSDNodes.cpp | 130 +-
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h | 40 +-
...cheduleDAGList.cpp => ScheduleDAGVLIW.cpp} | 85 +-
lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 1050 +-
.../SelectionDAG/SelectionDAGBuilder.cpp | 629 +-
.../SelectionDAG/SelectionDAGBuilder.h | 18 +-
.../SelectionDAG/SelectionDAGDumper.cpp | 631 +
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 268 +-
.../SelectionDAG/SelectionDAGPrinter.cpp | 4 +-
lib/CodeGen/SelectionDAG/TargetLowering.cpp | 215 +-
lib/CodeGen/ShadowStackGC.cpp | 3 +-
lib/CodeGen/ShrinkWrapping.cpp | 7 +-
lib/CodeGen/SjLjEHPrepare.cpp | 775 +-
lib/CodeGen/SlotIndexes.cpp | 12 +-
lib/CodeGen/Spiller.cpp | 81 +-
lib/CodeGen/Spiller.h | 1 +
lib/CodeGen/SplitKit.cpp | 85 +-
lib/CodeGen/SplitKit.h | 15 +-
lib/CodeGen/Splitter.cpp | 827 -
lib/CodeGen/Splitter.h | 101 -
lib/CodeGen/StackProtector.cpp | 7 +-
lib/CodeGen/StackSlotColoring.cpp | 358 +-
lib/CodeGen/StrongPHIElimination.cpp | 18 +-
lib/CodeGen/TailDuplication.cpp | 39 +-
.../TargetFrameLoweringImpl.cpp} | 2 +-
lib/CodeGen/TargetInstrInfoImpl.cpp | 106 +-
lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 123 +-
lib/CodeGen/TargetOptionsImpl.cpp | 52 +
lib/CodeGen/TwoAddressInstructionPass.cpp | 525 +-
lib/CodeGen/VirtRegMap.cpp | 168 +-
lib/CodeGen/VirtRegMap.h | 335 +-
lib/CodeGen/VirtRegRewriter.cpp | 2633 ---
lib/CodeGen/VirtRegRewriter.h | 32 -
lib/DebugInfo/CMakeLists.txt | 4 -
lib/DebugInfo/DWARFContext.cpp | 2 +
lib/DebugInfo/DWARFContext.h | 1 +
lib/DebugInfo/DWARFDebugAbbrev.cpp | 2 +-
lib/DebugInfo/DWARFDebugAbbrev.h | 6 +-
lib/DebugInfo/DWARFDebugArangeSet.cpp | 5 +-
lib/DebugInfo/DWARFDebugAranges.cpp | 7 +-
lib/DebugInfo/DWARFDebugInfoEntry.cpp | 4 +-
lib/DebugInfo/DWARFDebugInfoEntry.h | 4 +-
lib/DebugInfo/DWARFDebugLine.cpp | 7 +-
lib/DebugInfo/DWARFFormValue.cpp | 20 +-
lib/DebugInfo/LLVMBuild.txt | 22 +
lib/ExecutionEngine/CMakeLists.txt | 17 +-
lib/ExecutionEngine/EventListenerCommon.h | 67 +
lib/ExecutionEngine/ExecutionEngine.cpp | 108 +-
.../ExecutionEngineBindings.cpp | 2 -
.../IntelJITEvents/CMakeLists.txt | 11 +
.../IntelJITEvents/IntelJITEventListener.cpp | 183 +
.../IntelJITEvents/LLVMBuild.txt | 23 +
lib/ExecutionEngine/IntelJITEvents/Makefile | 17 +
.../Interpreter/CMakeLists.txt | 8 -
lib/ExecutionEngine/Interpreter/Execution.cpp | 29 +-
.../Interpreter/ExternalFunctions.cpp | 31 +-
lib/ExecutionEngine/Interpreter/Interpreter.h | 7 +-
lib/ExecutionEngine/Interpreter/LLVMBuild.txt | 22 +
lib/ExecutionEngine/JIT/CMakeLists.txt | 11 -
lib/ExecutionEngine/JIT/Intercept.cpp | 162 -
lib/ExecutionEngine/JIT/JIT.cpp | 45 +-
lib/ExecutionEngine/JIT/JIT.h | 11 +-
.../JIT/JITDebugRegisterer.cpp | 211 -
lib/ExecutionEngine/JIT/JITDebugRegisterer.h | 116 -
lib/ExecutionEngine/JIT/JITDwarfEmitter.cpp | 2 +-
lib/ExecutionEngine/JIT/JITEmitter.cpp | 43 +-
lib/ExecutionEngine/JIT/JITMemoryManager.cpp | 194 +
lib/ExecutionEngine/JIT/LLVMBuild.txt | 22 +
lib/ExecutionEngine/LLVMBuild.txt | 25 +
lib/ExecutionEngine/MCJIT/CMakeLists.txt | 10 +-
lib/ExecutionEngine/MCJIT/Intercept.cpp | 162 -
lib/ExecutionEngine/MCJIT/LLVMBuild.txt | 22 +
lib/ExecutionEngine/MCJIT/MCJIT.cpp | 41 +-
lib/ExecutionEngine/MCJIT/MCJIT.h | 17 +-
.../MCJIT/MCJITMemoryManager.cpp | 14 +
.../MCJIT/MCJITMemoryManager.h | 47 +-
lib/ExecutionEngine/Makefile | 13 +-
.../OProfileJIT/CMakeLists.txt | 7 +
lib/ExecutionEngine/OProfileJIT/LLVMBuild.txt | 23 +
lib/ExecutionEngine/OProfileJIT/Makefile | 18 +
.../OProfileJITEventListener.cpp | 101 +-
.../OProfileJIT/OProfileWrapper.cpp | 263 +
.../RuntimeDyld/CMakeLists.txt | 6 +-
lib/ExecutionEngine/RuntimeDyld/LLVMBuild.txt | 22 +
.../RuntimeDyld/RuntimeDyld.cpp | 446 +-
.../RuntimeDyld/RuntimeDyldELF.cpp | 262 +
.../RuntimeDyld/RuntimeDyldELF.h | 62 +
.../RuntimeDyld/RuntimeDyldImpl.h | 236 +-
.../RuntimeDyld/RuntimeDyldMachO.cpp | 577 +-
.../RuntimeDyld/RuntimeDyldMachO.h | 70 +
lib/ExecutionEngine/TargetSelect.cpp | 41 +-
lib/LLVMBuild.txt | 24 +
lib/Linker/CMakeLists.txt | 8 -
lib/Linker/LLVMBuild.txt | 22 +
lib/Linker/LinkArchives.cpp | 5 +-
lib/Linker/LinkModules.cpp | 513 +-
lib/Linker/Linker.cpp | 1 -
lib/MC/CMakeLists.txt | 6 -
lib/MC/ELFObjectWriter.cpp | 935 +-
lib/MC/ELFObjectWriter.h | 446 -
lib/MC/LLVMBuild.txt | 25 +
lib/MC/MCAsmBackend.cpp | 21 +-
lib/MC/MCAsmInfo.cpp | 4 +-
lib/MC/MCAsmInfoCOFF.cpp | 15 +-
lib/MC/MCAsmInfoDarwin.cpp | 7 +-
lib/MC/MCAsmStreamer.cpp | 106 +-
lib/MC/MCAssembler.cpp | 124 +-
lib/MC/MCCodeGenInfo.cpp | 4 +-
lib/MC/MCContext.cpp | 60 +-
lib/MC/MCDisassembler/CMakeLists.txt | 24 +-
lib/MC/MCDisassembler/Disassembler.cpp | 18 +-
lib/MC/MCDisassembler/Disassembler.h | 10 +
lib/MC/MCDisassembler/EDDisassembler.cpp | 114 +-
lib/MC/MCDisassembler/EDDisassembler.h | 23 +-
.../edis => lib/MC/MCDisassembler}/EDMain.cpp | 14 +-
lib/MC/MCDisassembler/EDOperand.cpp | 20 +-
lib/MC/MCDisassembler/LLVMBuild.txt | 22 +
lib/MC/MCDwarf.cpp | 459 +-
lib/MC/MCELF.cpp | 4 +-
lib/MC/MCELFObjectTargetWriter.cpp | 29 +-
lib/MC/MCELFStreamer.cpp | 158 +-
lib/MC/MCELFStreamer.h | 141 -
lib/MC/MCExpr.cpp | 42 +-
lib/MC/MCInst.cpp | 2 +
lib/MC/MCInstPrinter.cpp | 6 +-
lib/MC/MCLoggingStreamer.cpp | 250 -
lib/MC/MCMachOStreamer.cpp | 27 +-
lib/MC/MCModule.cpp | 2 +-
lib/MC/MCNullStreamer.cpp | 14 +-
lib/MC/MCObjectFileInfo.cpp | 101 +-
lib/MC/MCObjectStreamer.cpp | 52 +-
lib/MC/MCObjectWriter.cpp | 14 +-
lib/MC/MCParser/AsmParser.cpp | 277 +-
lib/MC/MCParser/CMakeLists.txt | 5 -
lib/MC/MCParser/COFFAsmParser.cpp | 17 +
lib/MC/MCParser/ELFAsmParser.cpp | 1 +
lib/MC/MCParser/LLVMBuild.txt | 22 +
lib/MC/MCParser/MCAsmLexer.cpp | 4 +
lib/MC/MCParser/MCAsmParser.cpp | 4 +-
lib/MC/MCPureStreamer.cpp | 15 +-
lib/MC/MCStreamer.cpp | 109 +-
lib/MC/MCSymbol.cpp | 7 +-
lib/MC/MachObjectWriter.cpp | 15 +-
lib/MC/SubtargetFeature.cpp | 24 +-
lib/MC/WinCOFFObjectWriter.cpp | 89 +-
lib/MC/WinCOFFStreamer.cpp | 20 +-
lib/Object/Archive.cpp | 142 +-
lib/Object/CMakeLists.txt | 5 -
lib/Object/COFFObjectFile.cpp | 295 +-
lib/Object/ELFObjectFile.cpp | 1425 +-
lib/Object/LLVMBuild.txt | 22 +
lib/Object/MachOObject.cpp | 37 +-
lib/Object/MachOObjectFile.cpp | 694 +-
lib/Object/Object.cpp | 150 +
lib/Object/ObjectFile.cpp | 4 +-
lib/Support/APFloat.cpp | 123 +-
lib/Support/APInt.cpp | 221 +-
lib/Support/Allocator.cpp | 4 +-
lib/Support/Atomic.cpp | 2 +-
lib/Support/BlockFrequency.cpp | 12 +-
lib/Support/BranchProbability.cpp | 13 +-
lib/Support/CMakeLists.txt | 7 +
lib/Support/CommandLine.cpp | 26 +-
lib/Support/ConstantRange.cpp | 104 +-
lib/Support/CrashRecoveryContext.cpp | 1 -
lib/Support/DAGDeltaAlgorithm.cpp | 3 +
lib/Support/DataExtractor.cpp | 2 +-
lib/Support/DataStream.cpp | 98 +
lib/Support/Dwarf.cpp | 2 +
lib/Support/FileUtilities.cpp | 1 -
lib/Support/FoldingSet.cpp | 26 +-
lib/Support/GraphWriter.cpp | 77 +-
lib/Support/Hashing.cpp | 29 +
lib/Support/Host.cpp | 13 +-
lib/Support/IntrusiveRefCntPtr.cpp | 14 +
lib/Support/JSONParser.cpp | 302 +
lib/Support/LLVMBuild.txt | 21 +
lib/Support/LockFileManager.cpp | 216 +
lib/Support/ManagedStatic.cpp | 8 +-
lib/Support/MemoryBuffer.cpp | 38 +-
lib/Support/Mutex.cpp | 109 +-
lib/Support/Path.cpp | 36 +-
lib/Support/PathV2.cpp | 179 +-
lib/Support/Program.cpp | 1 +
lib/Support/RWMutex.cpp | 96 +-
lib/Support/SmallPtrSet.cpp | 51 +
lib/Support/SourceMgr.cpp | 141 +-
lib/Support/Statistic.cpp | 16 +-
lib/Support/StreamableMemoryObject.cpp | 140 +
lib/Support/StringExtras.cpp | 21 -
lib/Support/StringMap.cpp | 61 +-
lib/Support/StringRef.cpp | 168 +-
lib/Support/TargetRegistry.cpp | 2 +-
lib/Support/ThreadLocal.cpp | 2 +-
lib/Support/Threading.cpp | 8 +-
lib/Support/Timer.cpp | 16 +-
lib/Support/Triple.cpp | 636 +-
lib/Support/Unix/Host.inc | 13 +-
lib/Support/Unix/Path.inc | 16 +-
lib/Support/Unix/PathV2.inc | 85 +-
lib/Support/Unix/Process.inc | 8 +-
lib/Support/Unix/Program.inc | 12 +-
lib/Support/Unix/Signals.inc | 20 +
lib/Support/Valgrind.cpp | 13 +
lib/Support/Windows/Host.inc | 5 +-
lib/Support/Windows/Path.inc | 35 +-
lib/Support/Windows/PathV2.inc | 170 +-
lib/Support/Windows/Process.inc | 4 -
lib/Support/Windows/Program.inc | 36 +-
lib/Support/Windows/Signals.inc | 4 +-
lib/Support/Windows/Windows.h | 122 +-
lib/Support/YAMLParser.cpp | 2117 ++
lib/Support/raw_ostream.cpp | 1 +
lib/TableGen/CMakeLists.txt | 5 +-
lib/TableGen/Error.cpp | 4 +-
lib/TableGen/LLVMBuild.txt | 22 +
lib/TableGen/Record.cpp | 173 +-
lib/TableGen/TGLexer.cpp | 57 +-
lib/TableGen/TGLexer.h | 6 +-
lib/TableGen/TGParser.cpp | 554 +-
lib/TableGen/TGParser.h | 73 +-
lib/TableGen/TableGenAction.cpp | 15 +
lib/TableGen/TableGenBackend.cpp | 4 +-
lib/Target/ARM/ARM.h | 4 +-
lib/Target/ARM/ARM.td | 20 +-
lib/Target/ARM/ARMAsmPrinter.cpp | 165 +-
lib/Target/ARM/ARMAsmPrinter.h | 5 +-
lib/Target/ARM/ARMBaseInstrInfo.cpp | 665 +-
lib/Target/ARM/ARMBaseInstrInfo.h | 18 +-
lib/Target/ARM/ARMBaseRegisterInfo.cpp | 220 +-
lib/Target/ARM/ARMBaseRegisterInfo.h | 28 +-
lib/Target/ARM/ARMBuildAttrs.h | 2 +-
lib/Target/ARM/ARMCallingConv.h | 21 +-
lib/Target/ARM/ARMCallingConv.td | 38 +-
lib/Target/ARM/ARMCodeEmitter.cpp | 25 +-
lib/Target/ARM/ARMConstantIslandPass.cpp | 1323 +-
lib/Target/ARM/ARMConstantPoolValue.cpp | 8 +-
lib/Target/ARM/ARMConstantPoolValue.h | 2 +-
lib/Target/ARM/ARMELFWriterInfo.cpp | 33 +-
lib/Target/ARM/ARMELFWriterInfo.h | 1 +
lib/Target/ARM/ARMExpandPseudoInsts.cpp | 539 +-
lib/Target/ARM/ARMFastISel.cpp | 1353 +-
lib/Target/ARM/ARMFrameLowering.cpp | 454 +-
lib/Target/ARM/ARMFrameLowering.h | 5 +-
lib/Target/ARM/ARMHazardRecognizer.cpp | 28 +-
lib/Target/ARM/ARMHazardRecognizer.h | 8 +-
lib/Target/ARM/ARMISelDAGToDAG.cpp | 284 +-
lib/Target/ARM/ARMISelLowering.cpp | 1152 +-
lib/Target/ARM/ARMISelLowering.h | 29 +-
lib/Target/ARM/ARMInstrFormats.td | 112 +-
lib/Target/ARM/ARMInstrInfo.cpp | 19 +-
lib/Target/ARM/ARMInstrInfo.h | 8 +-
lib/Target/ARM/ARMInstrInfo.td | 759 +-
lib/Target/ARM/ARMInstrNEON.td | 3113 ++-
lib/Target/ARM/ARMInstrThumb.td | 127 +-
lib/Target/ARM/ARMInstrThumb2.td | 405 +-
lib/Target/ARM/ARMInstrVFP.td | 492 +-
lib/Target/ARM/ARMJITInfo.cpp | 6 +-
lib/Target/ARM/ARMJITInfo.h | 2 +-
lib/Target/ARM/ARMLoadStoreOptimizer.cpp | 214 +-
lib/Target/ARM/ARMMCInstLower.cpp | 10 +-
lib/Target/ARM/ARMMachineFunctionInfo.cpp | 14 +
lib/Target/ARM/ARMMachineFunctionInfo.h | 19 +-
lib/Target/ARM/ARMPerfectShuffle.h | 2 +-
lib/Target/ARM/ARMRegisterInfo.cpp | 6 +-
lib/Target/ARM/ARMRegisterInfo.h | 6 +-
lib/Target/ARM/ARMRegisterInfo.td | 196 +-
lib/Target/ARM/ARMRelocations.h | 2 +-
lib/Target/ARM/ARMSchedule.td | 10 +-
lib/Target/ARM/ARMScheduleA8.td | 19 +
lib/Target/ARM/ARMScheduleA9.td | 36 +
lib/Target/ARM/ARMScheduleV6.td | 12 +-
lib/Target/ARM/ARMSelectionDAGInfo.cpp | 10 +-
lib/Target/ARM/ARMSubtarget.cpp | 12 +-
lib/Target/ARM/ARMSubtarget.h | 18 +-
lib/Target/ARM/ARMTargetMachine.cpp | 108 +-
lib/Target/ARM/ARMTargetMachine.h | 24 +-
lib/Target/ARM/ARMTargetObjectFile.cpp | 34 +-
lib/Target/ARM/ARMTargetObjectFile.h | 4 +
lib/Target/ARM/AsmParser/ARMAsmLexer.cpp | 9 +-
lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 3564 ++-
lib/Target/ARM/AsmParser/CMakeLists.txt | 8 -
lib/Target/ARM/AsmParser/LLVMBuild.txt | 23 +
lib/Target/ARM/CMakeLists.txt | 46 +-
.../ARM/Disassembler/ARMDisassembler.cpp | 1413 +-
lib/Target/ARM/Disassembler/CMakeLists.txt | 8 -
lib/Target/ARM/Disassembler/LLVMBuild.txt | 23 +
lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp | 192 +-
lib/Target/ARM/InstPrinter/ARMInstPrinter.h | 34 +-
lib/Target/ARM/InstPrinter/CMakeLists.txt | 5 -
lib/Target/ARM/InstPrinter/LLVMBuild.txt | 23 +
lib/Target/ARM/LLVMBuild.txt | 35 +
.../ARM/MCTargetDesc/ARMAddressingModes.h | 11 +-
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp | 180 +-
lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h | 36 +-
.../ARM/MCTargetDesc/ARMELFObjectWriter.cpp | 283 +
lib/Target/ARM/MCTargetDesc/ARMFixupKinds.h | 24 +-
lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp | 6 +-
lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.h | 10 +-
.../ARM/MCTargetDesc/ARMMCCodeEmitter.cpp | 76 +-
lib/Target/ARM/MCTargetDesc/ARMMCExpr.cpp | 5 +-
lib/Target/ARM/MCTargetDesc/ARMMCExpr.h | 2 +-
.../ARM/MCTargetDesc/ARMMCTargetDesc.cpp | 24 +-
lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.h | 4 +
.../ARM/MCTargetDesc/ARMMachObjectWriter.cpp | 116 +-
lib/Target/ARM/MCTargetDesc/CMakeLists.txt | 9 +-
lib/Target/ARM/MCTargetDesc/LLVMBuild.txt | 23 +
lib/Target/ARM/MLxExpansionPass.cpp | 10 +-
lib/Target/ARM/README.txt | 21 +-
lib/Target/ARM/TargetInfo/CMakeLists.txt | 6 -
lib/Target/ARM/TargetInfo/LLVMBuild.txt | 23 +
lib/Target/ARM/Thumb1FrameLowering.cpp | 19 +-
lib/Target/ARM/Thumb1InstrInfo.cpp | 22 +-
lib/Target/ARM/Thumb1InstrInfo.h | 8 +-
lib/Target/ARM/Thumb1RegisterInfo.cpp | 35 +-
lib/Target/ARM/Thumb1RegisterInfo.h | 3 +-
lib/Target/ARM/Thumb2ITBlockPass.cpp | 21 +-
lib/Target/ARM/Thumb2InstrInfo.cpp | 31 +-
lib/Target/ARM/Thumb2InstrInfo.h | 8 +-
lib/Target/ARM/Thumb2RegisterInfo.cpp | 8 +-
lib/Target/ARM/Thumb2RegisterInfo.h | 3 +-
lib/Target/ARM/Thumb2SizeReduction.cpp | 141 +-
lib/Target/Alpha/Alpha.h | 43 -
lib/Target/Alpha/Alpha.td | 68 -
lib/Target/Alpha/AlphaAsmPrinter.cpp | 166 -
lib/Target/Alpha/AlphaBranchSelector.cpp | 66 -
lib/Target/Alpha/AlphaCallingConv.td | 38 -
lib/Target/Alpha/AlphaFrameLowering.cpp | 143 -
lib/Target/Alpha/AlphaFrameLowering.h | 43 -
lib/Target/Alpha/AlphaISelDAGToDAG.cpp | 425 -
lib/Target/Alpha/AlphaISelLowering.cpp | 962 -
lib/Target/Alpha/AlphaISelLowering.h | 142 -
lib/Target/Alpha/AlphaInstrFormats.td | 268 -
lib/Target/Alpha/AlphaInstrInfo.cpp | 382 -
lib/Target/Alpha/AlphaInstrInfo.h | 85 -
lib/Target/Alpha/AlphaInstrInfo.td | 1159 -
lib/Target/Alpha/AlphaLLRP.cpp | 158 -
lib/Target/Alpha/AlphaMachineFunctionInfo.h | 62 -
lib/Target/Alpha/AlphaRegisterInfo.cpp | 199 -
lib/Target/Alpha/AlphaRegisterInfo.h | 56 -
lib/Target/Alpha/AlphaRegisterInfo.td | 133 -
lib/Target/Alpha/AlphaRelocations.h | 31 -
lib/Target/Alpha/AlphaSchedule.td | 85 -
lib/Target/Alpha/AlphaSelectionDAGInfo.cpp | 23 -
lib/Target/Alpha/AlphaSelectionDAGInfo.h | 31 -
lib/Target/Alpha/AlphaSubtarget.cpp | 35 -
lib/Target/Alpha/AlphaSubtarget.h | 49 -
lib/Target/Alpha/AlphaTargetMachine.cpp | 51 -
lib/Target/Alpha/AlphaTargetMachine.h | 66 -
lib/Target/Alpha/CMakeLists.txt | 38 -
.../Alpha/MCTargetDesc/AlphaMCAsmInfo.cpp | 23 -
.../Alpha/MCTargetDesc/AlphaMCTargetDesc.cpp | 78 -
lib/Target/Alpha/MCTargetDesc/CMakeLists.txt | 11 -
lib/Target/Alpha/Makefile | 21 -
lib/Target/Alpha/README.txt | 42 -
.../Alpha/TargetInfo/AlphaTargetInfo.cpp | 20 -
lib/Target/Alpha/TargetInfo/CMakeLists.txt | 13 -
lib/Target/Blackfin/Blackfin.h | 31 -
lib/Target/Blackfin/Blackfin.td | 202 -
lib/Target/Blackfin/BlackfinAsmPrinter.cpp | 156 -
lib/Target/Blackfin/BlackfinCallingConv.td | 30 -
lib/Target/Blackfin/BlackfinFrameLowering.cpp | 130 -
lib/Target/Blackfin/BlackfinFrameLowering.h | 47 -
lib/Target/Blackfin/BlackfinISelDAGToDAG.cpp | 180 -
lib/Target/Blackfin/BlackfinISelLowering.cpp | 645 -
lib/Target/Blackfin/BlackfinISelLowering.h | 83 -
lib/Target/Blackfin/BlackfinInstrFormats.td | 34 -
lib/Target/Blackfin/BlackfinInstrInfo.cpp | 256 -
lib/Target/Blackfin/BlackfinInstrInfo.h | 81 -
lib/Target/Blackfin/BlackfinInstrInfo.td | 862 -
lib/Target/Blackfin/BlackfinIntrinsicInfo.cpp | 104 -
lib/Target/Blackfin/BlackfinIntrinsicInfo.h | 32 -
lib/Target/Blackfin/BlackfinIntrinsics.td | 34 -
lib/Target/Blackfin/BlackfinRegisterInfo.cpp | 344 -
lib/Target/Blackfin/BlackfinRegisterInfo.h | 77 -
lib/Target/Blackfin/BlackfinRegisterInfo.td | 277 -
.../Blackfin/BlackfinSelectionDAGInfo.cpp | 24 -
.../Blackfin/BlackfinSelectionDAGInfo.h | 31 -
lib/Target/Blackfin/BlackfinSubtarget.cpp | 44 -
lib/Target/Blackfin/BlackfinSubtarget.h | 49 -
lib/Target/Blackfin/BlackfinTargetMachine.cpp | 43 -
lib/Target/Blackfin/BlackfinTargetMachine.h | 68 -
lib/Target/Blackfin/CMakeLists.txt | 38 -
.../MCTargetDesc/BlackfinMCAsmInfo.cpp | 22 -
.../Blackfin/MCTargetDesc/BlackfinMCAsmInfo.h | 29 -
.../MCTargetDesc/BlackfinMCTargetDesc.cpp | 81 -
.../MCTargetDesc/BlackfinMCTargetDesc.h | 38 -
.../Blackfin/MCTargetDesc/CMakeLists.txt | 11 -
lib/Target/Blackfin/Makefile | 23 -
lib/Target/Blackfin/README.txt | 244 -
.../TargetInfo/BlackfinTargetInfo.cpp | 21 -
lib/Target/Blackfin/TargetInfo/CMakeLists.txt | 13 -
lib/Target/CBackend/CBackend.cpp | 3617 ---
lib/Target/CBackend/CMakeLists.txt | 17 -
lib/Target/CBackend/CTargetMachine.h | 42 -
.../TargetInfo/CBackendTargetInfo.cpp | 21 -
lib/Target/CBackend/TargetInfo/CMakeLists.txt | 11 -
lib/Target/CMakeLists.txt | 46 +-
lib/Target/CellSPU/CMakeLists.txt | 27 +-
lib/Target/CellSPU/CellSDKIntrinsics.td | 2 +-
lib/Target/CellSPU/LLVMBuild.txt | 32 +
.../CellSPU/MCTargetDesc/CMakeLists.txt | 5 -
lib/Target/CellSPU/MCTargetDesc/LLVMBuild.txt | 23 +
.../CellSPU/MCTargetDesc/SPUMCAsmInfo.cpp | 2 +
.../CellSPU/MCTargetDesc/SPUMCAsmInfo.h | 4 +-
.../CellSPU/MCTargetDesc/SPUMCTargetDesc.cpp | 8 +-
.../CellSPU/MCTargetDesc/SPUMCTargetDesc.h | 2 -
lib/Target/CellSPU/SPU.h | 2 +-
lib/Target/CellSPU/SPU.td | 4 +-
lib/Target/CellSPU/SPU128InstrInfo.td | 4 +-
lib/Target/CellSPU/SPU64InstrInfo.td | 2 +-
lib/Target/CellSPU/SPUAsmPrinter.cpp | 3 +-
lib/Target/CellSPU/SPUCallingConv.td | 4 +-
lib/Target/CellSPU/SPUFrameLowering.cpp | 5 +-
lib/Target/CellSPU/SPUFrameLowering.h | 2 +-
lib/Target/CellSPU/SPUISelDAGToDAG.cpp | 18 +-
lib/Target/CellSPU/SPUISelLowering.cpp | 140 +-
lib/Target/CellSPU/SPUISelLowering.h | 5 +-
lib/Target/CellSPU/SPUInstrBuilder.h | 2 +-
lib/Target/CellSPU/SPUInstrFormats.td | 6 +-
lib/Target/CellSPU/SPUInstrInfo.cpp | 2 +-
lib/Target/CellSPU/SPUInstrInfo.h | 4 +-
lib/Target/CellSPU/SPUMachineFunction.cpp | 14 +
lib/Target/CellSPU/SPUMachineFunction.h | 3 +-
lib/Target/CellSPU/SPUMathInstr.td | 2 +-
lib/Target/CellSPU/SPUNodes.td | 2 +-
lib/Target/CellSPU/SPUNopFiller.cpp | 2 +-
lib/Target/CellSPU/SPUOperands.td | 6 +-
lib/Target/CellSPU/SPURegisterInfo.cpp | 8 +-
lib/Target/CellSPU/SPURegisterInfo.h | 4 +-
lib/Target/CellSPU/SPURegisterInfo.td | 6 +-
lib/Target/CellSPU/SPUSchedule.td | 6 +-
lib/Target/CellSPU/SPUSubtarget.cpp | 3 +-
lib/Target/CellSPU/SPUTargetMachine.cpp | 41 +-
lib/Target/CellSPU/SPUTargetMachine.h | 20 +-
lib/Target/CellSPU/TargetInfo/CMakeLists.txt | 6 -
lib/Target/CellSPU/TargetInfo/LLVMBuild.txt | 23 +
lib/Target/CppBackend/CMakeLists.txt | 9 +-
lib/Target/CppBackend/CPPBackend.cpp | 124 +-
lib/Target/CppBackend/CPPTargetMachine.h | 8 +-
lib/Target/CppBackend/LLVMBuild.txt | 31 +
lib/Target/CppBackend/Makefile | 2 +-
.../CppBackend/TargetInfo/CMakeLists.txt | 5 -
.../CppBackend/TargetInfo/LLVMBuild.txt | 23 +
lib/Target/Hexagon/CMakeLists.txt | 37 +
lib/Target/Hexagon/Hexagon.h | 74 +
lib/Target/Hexagon/Hexagon.td | 72 +
lib/Target/Hexagon/HexagonAsmPrinter.cpp | 313 +
lib/Target/Hexagon/HexagonAsmPrinter.h | 165 +
lib/Target/Hexagon/HexagonCFGOptimizer.cpp | 235 +
lib/Target/Hexagon/HexagonCallingConv.td | 35 +
.../Hexagon/HexagonCallingConvLower.cpp | 207 +
lib/Target/Hexagon/HexagonCallingConvLower.h | 189 +
.../Hexagon/HexagonExpandPredSpillCode.cpp | 177 +
lib/Target/Hexagon/HexagonFrameLowering.cpp | 332 +
lib/Target/Hexagon/HexagonFrameLowering.h | 50 +
lib/Target/Hexagon/HexagonHardwareLoops.cpp | 644 +
lib/Target/Hexagon/HexagonISelDAGToDAG.cpp | 1485 ++
lib/Target/Hexagon/HexagonISelLowering.cpp | 1496 ++
lib/Target/Hexagon/HexagonISelLowering.h | 162 +
lib/Target/Hexagon/HexagonImmediates.td | 508 +
lib/Target/Hexagon/HexagonInstrFormats.td | 308 +
lib/Target/Hexagon/HexagonInstrFormatsV4.td | 67 +
lib/Target/Hexagon/HexagonInstrInfo.cpp | 2732 +++
lib/Target/Hexagon/HexagonInstrInfo.h | 185 +
lib/Target/Hexagon/HexagonInstrInfo.td | 3052 +++
lib/Target/Hexagon/HexagonInstrInfoV3.td | 137 +
lib/Target/Hexagon/HexagonInstrInfoV4.td | 5746 +++++
lib/Target/Hexagon/HexagonIntrinsics.td | 3462 +++
.../Hexagon/HexagonIntrinsicsDerived.td | 29 +
lib/Target/Hexagon/HexagonIntrinsicsV3.td | 50 +
lib/Target/Hexagon/HexagonIntrinsicsV4.td | 369 +
lib/Target/Hexagon/HexagonMCInst.h | 41 +
lib/Target/Hexagon/HexagonMCInstLower.cpp | 93 +
.../Hexagon/HexagonMachineFunctionInfo.h | 75 +
lib/Target/Hexagon/HexagonPeephole.cpp | 288 +
lib/Target/Hexagon/HexagonRegisterInfo.cpp | 315 +
lib/Target/Hexagon/HexagonRegisterInfo.h | 90 +
lib/Target/Hexagon/HexagonRegisterInfo.td | 167 +
lib/Target/Hexagon/HexagonRemoveSZExtArgs.cpp | 82 +
lib/Target/Hexagon/HexagonSchedule.td | 54 +
lib/Target/Hexagon/HexagonScheduleV4.td | 59 +
lib/Target/Hexagon/HexagonSelectCCInfo.td | 121 +
.../Hexagon/HexagonSelectionDAGInfo.cpp | 46 +
lib/Target/Hexagon/HexagonSelectionDAGInfo.h | 40 +
.../Hexagon/HexagonSplitTFRCondSets.cpp | 129 +
lib/Target/Hexagon/HexagonSubtarget.cpp | 62 +
lib/Target/Hexagon/HexagonSubtarget.h | 74 +
lib/Target/Hexagon/HexagonTargetMachine.cpp | 145 +
lib/Target/Hexagon/HexagonTargetMachine.h | 83 +
.../Hexagon/HexagonTargetObjectFile.cpp | 94 +
lib/Target/Hexagon/HexagonTargetObjectFile.h | 40 +
lib/Target/Hexagon/HexagonVLIWPacketizer.cpp | 3642 +++
.../Hexagon/HexagonVarargsCallingConvention.h | 141 +
lib/Target/Hexagon/InstPrinter/CMakeLists.txt | 5 +
.../InstPrinter/HexagonInstPrinter.cpp | 198 +
.../Hexagon/InstPrinter/HexagonInstPrinter.h | 75 +
lib/Target/Hexagon/InstPrinter/LLVMBuild.txt | 23 +
.../InstPrinter}/Makefile | 6 +-
lib/Target/Hexagon/LLVMBuild.txt | 32 +
.../Hexagon/MCTargetDesc/CMakeLists.txt | 6 +
.../Hexagon/MCTargetDesc/HexagonBaseInfo.h | 70 +
.../Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp | 36 +
.../MCTargetDesc/HexagonMCAsmInfo.h} | 13 +-
.../MCTargetDesc/HexagonMCTargetDesc.cpp | 95 +
.../MCTargetDesc/HexagonMCTargetDesc.h} | 21 +-
lib/Target/Hexagon/MCTargetDesc/LLVMBuild.txt | 23 +
.../{Alpha => Hexagon}/MCTargetDesc/Makefile | 4 +-
lib/Target/Hexagon/Makefile | 23 +
lib/Target/Hexagon/TargetInfo/CMakeLists.txt | 8 +
.../TargetInfo/HexagonTargetInfo.cpp} | 10 +-
lib/Target/Hexagon/TargetInfo/LLVMBuild.txt | 23 +
.../{SystemZ => Hexagon}/TargetInfo/Makefile | 4 +-
lib/Target/LLVMBuild.txt | 56 +
lib/Target/MBlaze/AsmParser/CMakeLists.txt | 7 -
lib/Target/MBlaze/AsmParser/LLVMBuild.txt | 23 +
.../MBlaze/AsmParser/MBlazeAsmLexer.cpp | 10 +-
.../MBlaze/AsmParser/MBlazeAsmParser.cpp | 3 -
lib/Target/MBlaze/CMakeLists.txt | 34 +-
lib/Target/MBlaze/Disassembler/CMakeLists.txt | 8 -
lib/Target/MBlaze/Disassembler/LLVMBuild.txt | 23 +
.../Disassembler/MBlazeDisassembler.cpp | 31 +-
.../MBlaze/Disassembler/MBlazeDisassembler.h | 6 +-
lib/Target/MBlaze/InstPrinter/CMakeLists.txt | 5 -
lib/Target/MBlaze/InstPrinter/LLVMBuild.txt | 23 +
.../MBlaze/InstPrinter/MBlazeInstPrinter.h | 8 +-
lib/Target/MBlaze/LLVMBuild.txt | 34 +
lib/Target/MBlaze/MBlaze.td | 2 +-
lib/Target/MBlaze/MBlazeAsmPrinter.cpp | 8 +-
lib/Target/MBlaze/MBlazeDelaySlotFiller.cpp | 22 +-
lib/Target/MBlaze/MBlazeELFWriterInfo.cpp | 12 +-
lib/Target/MBlaze/MBlazeELFWriterInfo.h | 1 +
lib/Target/MBlaze/MBlazeFrameLowering.cpp | 39 +-
lib/Target/MBlaze/MBlazeFrameLowering.h | 3 +-
lib/Target/MBlaze/MBlazeISelLowering.cpp | 24 +-
lib/Target/MBlaze/MBlazeISelLowering.h | 6 +-
lib/Target/MBlaze/MBlazeInstrFPU.td | 2 +-
lib/Target/MBlaze/MBlazeInstrFSL.td | 2 +-
lib/Target/MBlaze/MBlazeInstrFormats.td | 26 +-
lib/Target/MBlaze/MBlazeInstrInfo.cpp | 2 +-
lib/Target/MBlaze/MBlazeInstrInfo.h | 4 +-
lib/Target/MBlaze/MBlazeInstrInfo.td | 171 +-
lib/Target/MBlaze/MBlazeIntrinsicInfo.cpp | 16 +-
lib/Target/MBlaze/MBlazeIntrinsicInfo.h | 2 +-
lib/Target/MBlaze/MBlazeIntrinsics.td | 2 +-
lib/Target/MBlaze/MBlazeMCInstLower.cpp | 11 +-
lib/Target/MBlaze/MBlazeMCInstLower.h | 3 +-
lib/Target/MBlaze/MBlazeMachineFunction.cpp | 14 +
lib/Target/MBlaze/MBlazeMachineFunction.h | 5 +-
lib/Target/MBlaze/MBlazeRegisterInfo.cpp | 10 +-
lib/Target/MBlaze/MBlazeRegisterInfo.h | 4 +-
lib/Target/MBlaze/MBlazeRegisterInfo.td | 2 +-
lib/Target/MBlaze/MBlazeRelocations.h | 2 +-
lib/Target/MBlaze/MBlazeSchedule.td | 2 +-
lib/Target/MBlaze/MBlazeSchedule3.td | 2 +-
lib/Target/MBlaze/MBlazeSchedule5.td | 2 +-
lib/Target/MBlaze/MBlazeSubtarget.cpp | 2 +-
lib/Target/MBlaze/MBlazeSubtarget.h | 2 +-
lib/Target/MBlaze/MBlazeTargetMachine.cpp | 51 +-
lib/Target/MBlaze/MBlazeTargetMachine.h | 9 +-
lib/Target/MBlaze/MCTargetDesc/CMakeLists.txt | 8 +-
lib/Target/MBlaze/MCTargetDesc/LLVMBuild.txt | 23 +
.../MBlaze/MCTargetDesc/MBlazeAsmBackend.cpp | 53 +-
.../MBlaze/MCTargetDesc/MBlazeBaseInfo.h | 5 +-
.../MCTargetDesc/MBlazeELFObjectWriter.cpp | 77 +
.../MBlaze/MCTargetDesc/MBlazeMCAsmInfo.cpp | 2 +
.../MBlaze/MCTargetDesc/MBlazeMCAsmInfo.h | 4 +-
.../MCTargetDesc/MBlazeMCCodeEmitter.cpp | 19 +-
.../MCTargetDesc/MBlazeMCTargetDesc.cpp | 13 +-
.../MBlaze/MCTargetDesc/MBlazeMCTargetDesc.h | 8 +-
lib/Target/MBlaze/TargetInfo/CMakeLists.txt | 6 -
lib/Target/MBlaze/TargetInfo/LLVMBuild.txt | 23 +
lib/Target/MSP430/CMakeLists.txt | 26 +-
lib/Target/MSP430/InstPrinter/CMakeLists.txt | 5 -
lib/Target/MSP430/InstPrinter/LLVMBuild.txt | 23 +
.../MSP430/InstPrinter/MSP430InstPrinter.cpp | 1 -
.../MSP430/InstPrinter/MSP430InstPrinter.h | 7 +-
lib/Target/MSP430/LLVMBuild.txt | 32 +
lib/Target/MSP430/MCTargetDesc/CMakeLists.txt | 6 -
lib/Target/MSP430/MCTargetDesc/LLVMBuild.txt | 23 +
.../MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp | 3 +
.../MSP430/MCTargetDesc/MSP430MCAsmInfo.h | 8 +-
.../MCTargetDesc/MSP430MCTargetDesc.cpp | 11 +-
.../MSP430/MCTargetDesc/MSP430MCTargetDesc.h | 2 -
lib/Target/MSP430/MSP430.td | 2 +-
lib/Target/MSP430/MSP430AsmPrinter.cpp | 2 +-
lib/Target/MSP430/MSP430BranchSelector.cpp | 2 +-
lib/Target/MSP430/MSP430FrameLowering.cpp | 6 +-
lib/Target/MSP430/MSP430ISelLowering.cpp | 40 +-
lib/Target/MSP430/MSP430ISelLowering.h | 6 +-
lib/Target/MSP430/MSP430InstrFormats.td | 2 +-
lib/Target/MSP430/MSP430InstrInfo.cpp | 32 +-
lib/Target/MSP430/MSP430InstrInfo.h | 4 +-
lib/Target/MSP430/MSP430InstrInfo.td | 2 +-
lib/Target/MSP430/MSP430MCInstLower.cpp | 11 +-
lib/Target/MSP430/MSP430MCInstLower.h | 3 +-
.../MSP430/MSP430MachineFunctionInfo.cpp | 14 +
lib/Target/MSP430/MSP430MachineFunctionInfo.h | 2 +
lib/Target/MSP430/MSP430RegisterInfo.cpp | 14 +-
lib/Target/MSP430/MSP430RegisterInfo.h | 11 +-
lib/Target/MSP430/MSP430RegisterInfo.td | 2 +-
lib/Target/MSP430/MSP430Subtarget.cpp | 4 +-
lib/Target/MSP430/MSP430Subtarget.h | 6 +-
lib/Target/MSP430/MSP430TargetMachine.cpp | 35 +-
lib/Target/MSP430/MSP430TargetMachine.h | 10 +-
lib/Target/MSP430/TargetInfo/CMakeLists.txt | 6 -
lib/Target/MSP430/TargetInfo/LLVMBuild.txt | 23 +
lib/Target/Mangler.cpp | 11 +-
lib/Target/Mips/AsmParser/CMakeLists.txt | 6 +
lib/Target/Mips/AsmParser/LLVMBuild.txt | 23 +
.../MCTargetDesc => Mips/AsmParser}/Makefile | 7 +-
lib/Target/Mips/AsmParser/MipsAsmParser.cpp | 66 +
lib/Target/Mips/CMakeLists.txt | 32 +-
lib/Target/Mips/InstPrinter/CMakeLists.txt | 5 -
lib/Target/Mips/InstPrinter/LLVMBuild.txt | 23 +
lib/Target/Mips/InstPrinter/Makefile | 2 +-
.../Mips/InstPrinter/MipsInstPrinter.cpp | 70 +-
lib/Target/Mips/InstPrinter/MipsInstPrinter.h | 16 +-
lib/Target/Mips/LLVMBuild.txt | 34 +
lib/Target/Mips/MCTargetDesc/CMakeLists.txt | 8 +-
lib/Target/Mips/MCTargetDesc/LLVMBuild.txt | 23 +
.../Mips/MCTargetDesc/MipsAsmBackend.cpp | 270 +-
lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h | 126 +-
.../Mips/MCTargetDesc/MipsELFObjectWriter.cpp | 249 +
lib/Target/Mips/MCTargetDesc/MipsFixupKinds.h | 122 +-
.../Mips/MCTargetDesc/MipsMCAsmInfo.cpp | 7 +-
lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.h | 5 +-
.../Mips/MCTargetDesc/MipsMCCodeEmitter.cpp | 256 +-
.../Mips/MCTargetDesc/MipsMCTargetDesc.cpp | 45 +-
.../Mips/MCTargetDesc/MipsMCTargetDesc.h | 25 +-
lib/Target/Mips/Makefile | 4 +-
lib/Target/Mips/Mips.h | 2 -
lib/Target/Mips/Mips.td | 10 +-
lib/Target/Mips/Mips64InstrInfo.td | 235 +-
lib/Target/Mips/MipsAnalyzeImmediate.cpp | 153 +
lib/Target/Mips/MipsAnalyzeImmediate.h | 63 +
lib/Target/Mips/MipsAsmPrinter.cpp | 230 +-
lib/Target/Mips/MipsAsmPrinter.h | 20 +-
lib/Target/Mips/MipsCallingConv.td | 56 +-
lib/Target/Mips/MipsCodeEmitter.cpp | 223 +-
lib/Target/Mips/MipsCondMov.td | 194 +
lib/Target/Mips/MipsDelaySlotFiller.cpp | 33 +-
lib/Target/Mips/MipsEmitGPRestore.cpp | 13 +-
lib/Target/Mips/MipsExpandPseudo.cpp | 20 +-
lib/Target/Mips/MipsFrameLowering.cpp | 200 +-
lib/Target/Mips/MipsFrameLowering.h | 2 +-
lib/Target/Mips/MipsISelDAGToDAG.cpp | 466 +-
lib/Target/Mips/MipsISelLowering.cpp | 1289 +-
lib/Target/Mips/MipsISelLowering.h | 25 +-
lib/Target/Mips/MipsInstrFPU.td | 268 +-
lib/Target/Mips/MipsInstrFormats.td | 41 +-
lib/Target/Mips/MipsInstrInfo.cpp | 107 +-
lib/Target/Mips/MipsInstrInfo.h | 91 +-
lib/Target/Mips/MipsInstrInfo.td | 650 +-
lib/Target/Mips/MipsJITInfo.cpp | 17 +-
lib/Target/Mips/MipsJITInfo.h | 4 +-
lib/Target/Mips/MipsMCInstLower.cpp | 325 +-
lib/Target/Mips/MipsMCInstLower.h | 20 +-
lib/Target/Mips/MipsMCSymbolRefExpr.cpp | 70 -
lib/Target/Mips/MipsMCSymbolRefExpr.h | 67 -
lib/Target/Mips/MipsMachineFunction.cpp | 50 +
lib/Target/Mips/MipsMachineFunction.h | 26 +-
lib/Target/Mips/MipsRegisterInfo.cpp | 258 +-
lib/Target/Mips/MipsRegisterInfo.h | 7 +-
lib/Target/Mips/MipsRegisterInfo.td | 136 +-
lib/Target/Mips/MipsRelocations.h | 10 +-
lib/Target/Mips/MipsSchedule.td | 2 +-
lib/Target/Mips/MipsSubtarget.cpp | 22 +-
lib/Target/Mips/MipsSubtarget.h | 8 +-
lib/Target/Mips/MipsTargetMachine.cpp | 120 +-
lib/Target/Mips/MipsTargetMachine.h | 42 +-
lib/Target/Mips/MipsTargetObjectFile.cpp | 2 +-
lib/Target/Mips/TargetInfo/CMakeLists.txt | 6 -
lib/Target/Mips/TargetInfo/LLVMBuild.txt | 23 +
lib/Target/PTX/CMakeLists.txt | 24 +-
lib/Target/PTX/InstPrinter/CMakeLists.txt | 5 -
lib/Target/PTX/InstPrinter/LLVMBuild.txt | 23 +
lib/Target/PTX/InstPrinter/PTXInstPrinter.cpp | 77 +-
lib/Target/PTX/InstPrinter/PTXInstPrinter.h | 8 +-
lib/Target/PTX/LLVMBuild.txt | 32 +
lib/Target/PTX/MCTargetDesc/CMakeLists.txt | 7 -
lib/Target/PTX/MCTargetDesc/LLVMBuild.txt | 23 +
lib/Target/PTX/MCTargetDesc/PTXBaseInfo.h | 71 +
lib/Target/PTX/MCTargetDesc/PTXMCAsmInfo.cpp | 2 +
lib/Target/PTX/MCTargetDesc/PTXMCAsmInfo.h | 6 +-
.../PTX/MCTargetDesc/PTXMCTargetDesc.cpp | 11 +-
lib/Target/PTX/MCTargetDesc/PTXMCTargetDesc.h | 2 -
lib/Target/PTX/PTX.h | 1 -
lib/Target/PTX/PTX.td | 2 +-
lib/Target/PTX/PTXAsmPrinter.cpp | 344 +-
lib/Target/PTX/PTXAsmPrinter.h | 4 +-
lib/Target/PTX/PTXFPRoundingModePass.cpp | 6 +-
lib/Target/PTX/PTXFrameLowering.cpp | 2 +-
lib/Target/PTX/PTXFrameLowering.h | 2 +-
lib/Target/PTX/PTXISelLowering.cpp | 168 +-
lib/Target/PTX/PTXISelLowering.h | 9 +-
lib/Target/PTX/PTXInstrFormats.td | 2 +-
lib/Target/PTX/PTXInstrInfo.cpp | 25 +-
lib/Target/PTX/PTXInstrInfo.h | 2 +-
lib/Target/PTX/PTXInstrInfo.td | 46 +-
lib/Target/PTX/PTXInstrLoadStore.td | 2 +-
lib/Target/PTX/PTXIntrinsicInstrInfo.td | 2 +-
lib/Target/PTX/PTXMCAsmStreamer.cpp | 30 +-
lib/Target/PTX/PTXMFInfoExtract.cpp | 23 +-
lib/Target/PTX/PTXMachineFunctionInfo.cpp | 14 +
lib/Target/PTX/PTXMachineFunctionInfo.h | 158 +-
lib/Target/PTX/PTXParamManager.cpp | 4 +-
lib/Target/PTX/PTXParamManager.h | 3 +-
lib/Target/PTX/PTXRegAlloc.cpp | 7 +-
lib/Target/PTX/PTXRegisterInfo.cpp | 46 +-
lib/Target/PTX/PTXRegisterInfo.h | 7 +-
lib/Target/PTX/PTXRegisterInfo.td | 3 +-
lib/Target/PTX/PTXSelectionDAGInfo.cpp | 5 +-
lib/Target/PTX/PTXSubtarget.cpp | 6 +-
lib/Target/PTX/PTXSubtarget.h | 3 +-
lib/Target/PTX/PTXTargetMachine.cpp | 342 +-
lib/Target/PTX/PTXTargetMachine.h | 35 +-
lib/Target/PTX/TargetInfo/CMakeLists.txt | 6 -
lib/Target/PTX/TargetInfo/LLVMBuild.txt | 23 +
lib/Target/PowerPC/CMakeLists.txt | 31 +-
lib/Target/PowerPC/InstPrinter/CMakeLists.txt | 5 -
lib/Target/PowerPC/InstPrinter/LLVMBuild.txt | 23 +
.../PowerPC/InstPrinter/PPCInstPrinter.cpp | 9 +-
.../PowerPC/InstPrinter/PPCInstPrinter.h | 10 +-
lib/Target/PowerPC/LLVMBuild.txt | 33 +
.../PowerPC/MCTargetDesc/CMakeLists.txt | 8 +-
lib/Target/PowerPC/MCTargetDesc/LLVMBuild.txt | 23 +
.../PowerPC/MCTargetDesc/PPCAsmBackend.cpp | 75 +-
lib/Target/PowerPC/MCTargetDesc/PPCBaseInfo.h | 2 +-
.../MCTargetDesc/PPCELFObjectWriter.cpp | 103 +
.../PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp | 6 +-
.../PowerPC/MCTargetDesc/PPCMCAsmInfo.h | 10 +-
.../PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp | 2 +-
.../PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp | 12 +-
.../PowerPC/MCTargetDesc/PPCMCTargetDesc.h | 10 +-
lib/Target/PowerPC/PPC.h | 5 +-
lib/Target/PowerPC/PPC.td | 16 +-
lib/Target/PowerPC/PPCAsmPrinter.cpp | 52 +-
lib/Target/PowerPC/PPCBranchSelector.cpp | 2 +-
lib/Target/PowerPC/PPCCallingConv.td | 35 +-
lib/Target/PowerPC/PPCCodeEmitter.cpp | 10 +-
lib/Target/PowerPC/PPCFrameLowering.cpp | 38 +-
lib/Target/PowerPC/PPCFrameLowering.h | 2 +-
lib/Target/PowerPC/PPCHazardRecognizers.cpp | 189 +-
lib/Target/PowerPC/PPCHazardRecognizers.h | 30 +-
lib/Target/PowerPC/PPCISelDAGToDAG.cpp | 12 +-
lib/Target/PowerPC/PPCISelLowering.cpp | 252 +-
lib/Target/PowerPC/PPCISelLowering.h | 36 +-
lib/Target/PowerPC/PPCInstr64Bit.td | 102 +-
lib/Target/PowerPC/PPCInstrAltivec.td | 54 +-
lib/Target/PowerPC/PPCInstrFormats.td | 63 +-
lib/Target/PowerPC/PPCInstrInfo.cpp | 129 +-
lib/Target/PowerPC/PPCInstrInfo.h | 13 +-
lib/Target/PowerPC/PPCInstrInfo.td | 97 +-
lib/Target/PowerPC/PPCJITInfo.cpp | 8 +-
lib/Target/PowerPC/PPCJITInfo.h | 2 +-
lib/Target/PowerPC/PPCMCInstLower.cpp | 4 +-
lib/Target/PowerPC/PPCMachineFunctionInfo.cpp | 15 +
lib/Target/PowerPC/PPCMachineFunctionInfo.h | 3 +-
lib/Target/PowerPC/PPCPerfectShuffle.h | 2 +-
lib/Target/PowerPC/PPCRegisterInfo.cpp | 286 +-
lib/Target/PowerPC/PPCRegisterInfo.h | 10 +-
lib/Target/PowerPC/PPCRegisterInfo.td | 6 +-
lib/Target/PowerPC/PPCRelocations.h | 6 +-
lib/Target/PowerPC/PPCSchedule.td | 71 +-
lib/Target/PowerPC/PPCSchedule440.td | 616 +
lib/Target/PowerPC/PPCScheduleA2.td | 652 +
lib/Target/PowerPC/PPCScheduleG3.td | 9 +-
lib/Target/PowerPC/PPCScheduleG4.td | 9 +-
lib/Target/PowerPC/PPCScheduleG4Plus.td | 9 +-
lib/Target/PowerPC/PPCScheduleG5.td | 9 +-
lib/Target/PowerPC/PPCSubtarget.cpp | 24 +-
lib/Target/PowerPC/PPCSubtarget.h | 12 +-
lib/Target/PowerPC/PPCTargetMachine.cpp | 75 +-
lib/Target/PowerPC/PPCTargetMachine.h | 33 +-
lib/Target/PowerPC/TargetInfo/CMakeLists.txt | 6 -
lib/Target/PowerPC/TargetInfo/LLVMBuild.txt | 23 +
lib/Target/README.txt | 40 +-
lib/Target/Sparc/CMakeLists.txt | 25 +-
lib/Target/Sparc/DelaySlotFiller.cpp | 18 +-
lib/Target/Sparc/FPMover.cpp | 8 +-
lib/Target/Sparc/LLVMBuild.txt | 32 +
lib/Target/Sparc/MCTargetDesc/CMakeLists.txt | 6 -
lib/Target/Sparc/MCTargetDesc/LLVMBuild.txt | 23 +
.../Sparc/MCTargetDesc/SparcMCAsmInfo.cpp | 2 +
.../Sparc/MCTargetDesc/SparcMCAsmInfo.h | 8 +-
.../Sparc/MCTargetDesc/SparcMCTargetDesc.cpp | 8 +-
.../Sparc/MCTargetDesc/SparcMCTargetDesc.h | 2 -
lib/Target/Sparc/Sparc.h | 5 +-
lib/Target/Sparc/Sparc.td | 6 +-
lib/Target/Sparc/SparcAsmPrinter.cpp | 22 +-
lib/Target/Sparc/SparcCallingConv.td | 6 +-
lib/Target/Sparc/SparcFrameLowering.cpp | 2 +-
lib/Target/Sparc/SparcFrameLowering.h | 2 +-
lib/Target/Sparc/SparcISelDAGToDAG.cpp | 1 -
lib/Target/Sparc/SparcISelLowering.cpp | 50 +-
lib/Target/Sparc/SparcISelLowering.h | 8 +-
lib/Target/Sparc/SparcInstrFormats.td | 6 +-
lib/Target/Sparc/SparcInstrInfo.cpp | 19 +-
lib/Target/Sparc/SparcInstrInfo.h | 11 +-
lib/Target/Sparc/SparcInstrInfo.td | 6 +-
lib/Target/Sparc/SparcMachineFunctionInfo.cpp | 14 +
lib/Target/Sparc/SparcMachineFunctionInfo.h | 1 +
lib/Target/Sparc/SparcRegisterInfo.cpp | 12 +-
lib/Target/Sparc/SparcRegisterInfo.h | 4 +-
lib/Target/Sparc/SparcRegisterInfo.td | 7 +-
lib/Target/Sparc/SparcSubtarget.cpp | 4 +-
lib/Target/Sparc/SparcSubtarget.h | 3 +-
lib/Target/Sparc/SparcTargetMachine.cpp | 65 +-
lib/Target/Sparc/SparcTargetMachine.h | 18 +-
lib/Target/Sparc/TargetInfo/CMakeLists.txt | 6 -
lib/Target/Sparc/TargetInfo/LLVMBuild.txt | 23 +
lib/Target/SystemZ/CMakeLists.txt | 36 -
.../SystemZ/MCTargetDesc/CMakeLists.txt | 14 -
.../SystemZ/MCTargetDesc/SystemZMCAsmInfo.cpp | 32 -
.../SystemZ/MCTargetDesc/SystemZMCAsmInfo.h | 30 -
.../MCTargetDesc/SystemZMCTargetDesc.cpp | 81 -
.../MCTargetDesc/SystemZMCTargetDesc.h | 38 -
lib/Target/SystemZ/Makefile | 22 -
lib/Target/SystemZ/SystemZ.h | 52 -
lib/Target/SystemZ/SystemZ.td | 61 -
lib/Target/SystemZ/SystemZAsmPrinter.cpp | 221 -
lib/Target/SystemZ/SystemZCallingConv.td | 46 -
lib/Target/SystemZ/SystemZFrameLowering.cpp | 386 -
lib/Target/SystemZ/SystemZFrameLowering.h | 57 -
lib/Target/SystemZ/SystemZISelDAGToDAG.cpp | 779 -
lib/Target/SystemZ/SystemZISelLowering.cpp | 868 -
lib/Target/SystemZ/SystemZISelLowering.h | 145 -
lib/Target/SystemZ/SystemZInstrBuilder.h | 128 -
lib/Target/SystemZ/SystemZInstrFP.td | 340 -
lib/Target/SystemZ/SystemZInstrFormats.td | 133 -
lib/Target/SystemZ/SystemZInstrInfo.cpp | 439 -
lib/Target/SystemZ/SystemZInstrInfo.h | 113 -
lib/Target/SystemZ/SystemZInstrInfo.td | 1147 -
.../SystemZ/SystemZMachineFunctionInfo.h | 51 -
lib/Target/SystemZ/SystemZOperands.td | 325 -
lib/Target/SystemZ/SystemZRegisterInfo.cpp | 143 -
lib/Target/SystemZ/SystemZRegisterInfo.h | 60 -
lib/Target/SystemZ/SystemZRegisterInfo.td | 205 -
.../SystemZ/SystemZSelectionDAGInfo.cpp | 23 -
lib/Target/SystemZ/SystemZSelectionDAGInfo.h | 31 -
lib/Target/SystemZ/SystemZSubtarget.cpp | 54 -
lib/Target/SystemZ/SystemZSubtarget.h | 48 -
lib/Target/SystemZ/SystemZTargetMachine.cpp | 40 -
lib/Target/SystemZ/SystemZTargetMachine.h | 68 -
lib/Target/SystemZ/TargetInfo/CMakeLists.txt | 13 -
lib/Target/TargetData.cpp | 123 +-
lib/Target/TargetInstrInfo.cpp | 42 -
lib/Target/TargetJITInfo.cpp | 14 +
lib/Target/TargetLibraryInfo.cpp | 112 +
lib/Target/TargetLoweringObjectFile.cpp | 38 +-
lib/Target/TargetMachine.cpp | 228 +-
lib/Target/TargetMachineC.cpp | 197 +
lib/Target/TargetRegisterInfo.cpp | 4 +-
lib/Target/X86/AsmParser/CMakeLists.txt | 8 -
lib/Target/X86/AsmParser/LLVMBuild.txt | 23 +
lib/Target/X86/AsmParser/X86AsmLexer.cpp | 7 +-
lib/Target/X86/AsmParser/X86AsmParser.cpp | 730 +-
lib/Target/X86/CMakeLists.txt | 36 +-
lib/Target/X86/Disassembler/CMakeLists.txt | 6 -
lib/Target/X86/Disassembler/LLVMBuild.txt | 23 +
.../X86/Disassembler/X86Disassembler.cpp | 235 +-
lib/Target/X86/Disassembler/X86Disassembler.h | 46 +-
.../X86/Disassembler/X86DisassemblerDecoder.c | 80 +-
.../X86/Disassembler/X86DisassemblerDecoder.h | 15 +-
.../X86DisassemblerDecoderCommon.h | 23 +-
lib/Target/X86/InstPrinter/CMakeLists.txt | 6 -
lib/Target/X86/InstPrinter/LLVMBuild.txt | 23 +
.../X86/InstPrinter/X86ATTInstPrinter.cpp | 80 +-
.../X86/InstPrinter/X86ATTInstPrinter.h | 10 +-
.../X86/InstPrinter/X86InstComments.cpp | 329 +-
lib/Target/X86/InstPrinter/X86InstComments.h | 2 +-
.../X86/InstPrinter/X86IntelInstPrinter.cpp | 72 +-
.../X86/InstPrinter/X86IntelInstPrinter.h | 9 +-
lib/Target/X86/LLVMBuild.txt | 35 +
lib/Target/X86/MCTargetDesc/CMakeLists.txt | 12 +-
lib/Target/X86/MCTargetDesc/LLVMBuild.txt | 23 +
lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp | 80 +-
lib/Target/X86/MCTargetDesc/X86BaseInfo.h | 111 +-
.../X86/MCTargetDesc/X86ELFObjectWriter.cpp | 224 +
lib/Target/X86/MCTargetDesc/X86FixupKinds.h | 2 +-
lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp | 25 +-
lib/Target/X86/MCTargetDesc/X86MCAsmInfo.h | 22 +-
.../X86/MCTargetDesc/X86MCCodeEmitter.cpp | 375 +-
.../X86/MCTargetDesc/X86MCTargetDesc.cpp | 107 +-
lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h | 11 +
.../MCTargetDesc/X86WinCOFFObjectWriter.cpp | 65 +
lib/Target/X86/README-SSE.txt | 20 +-
lib/Target/X86/README.txt | 40 +-
lib/Target/X86/TargetInfo/CMakeLists.txt | 6 -
lib/Target/X86/TargetInfo/LLVMBuild.txt | 23 +
lib/Target/X86/Utils/CMakeLists.txt | 5 -
lib/Target/X86/Utils/LLVMBuild.txt | 23 +
lib/Target/X86/Utils/X86ShuffleDecode.cpp | 193 +-
lib/Target/X86/Utils/X86ShuffleDecode.h | 84 +-
lib/Target/X86/X86.h | 2 -
lib/Target/X86/X86.td | 114 +-
lib/Target/X86/X86AsmPrinter.cpp | 48 +-
lib/Target/X86/X86AsmPrinter.h | 5 -
lib/Target/X86/X86COFFMachineModuleInfo.cpp | 2 +-
lib/Target/X86/X86COFFMachineModuleInfo.h | 4 +-
lib/Target/X86/X86CallingConv.td | 58 +-
lib/Target/X86/X86CodeEmitter.cpp | 18 +-
lib/Target/X86/X86ELFWriterInfo.cpp | 8 +-
lib/Target/X86/X86FastISel.cpp | 75 +-
lib/Target/X86/X86FloatingPoint.cpp | 33 +-
lib/Target/X86/X86FrameLowering.cpp | 384 +-
lib/Target/X86/X86FrameLowering.h | 2 +-
lib/Target/X86/X86ISelDAGToDAG.cpp | 548 +-
lib/Target/X86/X86ISelLowering.cpp | 5367 +++--
lib/Target/X86/X86ISelLowering.h | 202 +-
lib/Target/X86/X86Instr3DNow.td | 2 +-
lib/Target/X86/X86InstrArithmetic.td | 319 +-
lib/Target/X86/X86InstrBuilder.h | 1 -
lib/Target/X86/X86InstrCMovSetCC.td | 28 +-
lib/Target/X86/X86InstrCompiler.td | 290 +-
lib/Target/X86/X86InstrControl.td | 196 +-
lib/Target/X86/X86InstrExtension.td | 84 +-
lib/Target/X86/X86InstrFMA.td | 206 +-
lib/Target/X86/X86InstrFPStack.td | 63 +-
lib/Target/X86/X86InstrFormats.td | 340 +-
lib/Target/X86/X86InstrFragmentsSIMD.td | 215 +-
lib/Target/X86/X86InstrInfo.cpp | 441 +-
lib/Target/X86/X86InstrInfo.h | 9 +-
lib/Target/X86/X86InstrInfo.td | 221 +-
lib/Target/X86/X86InstrMMX.td | 30 +-
lib/Target/X86/X86InstrSSE.td | 6039 +++--
lib/Target/X86/X86InstrSVM.td | 62 +
lib/Target/X86/X86InstrShiftRotate.td | 548 +-
lib/Target/X86/X86InstrSystem.td | 72 +-
lib/Target/X86/X86InstrVMX.td | 38 +-
lib/Target/X86/X86InstrXOP.td | 307 +
lib/Target/X86/X86JITInfo.cpp | 8 +-
lib/Target/X86/X86JITInfo.h | 2 +-
lib/Target/X86/X86MCInstLower.cpp | 45 +-
lib/Target/X86/X86MCInstLower.h | 2 +-
lib/Target/X86/X86MachineFunctionInfo.cpp | 14 +
lib/Target/X86/X86MachineFunctionInfo.h | 8 +-
lib/Target/X86/X86RegisterInfo.cpp | 216 +-
lib/Target/X86/X86RegisterInfo.h | 5 +-
lib/Target/X86/X86RegisterInfo.td | 2 +-
lib/Target/X86/X86Relocations.h | 2 +-
lib/Target/X86/X86Schedule.td | 273 +
lib/Target/X86/X86ScheduleAtom.td | 305 +
lib/Target/X86/X86SelectionDAGInfo.cpp | 3 +-
lib/Target/X86/X86Subtarget.cpp | 131 +-
lib/Target/X86/X86Subtarget.h | 82 +-
lib/Target/X86/X86TargetMachine.cpp | 77 +-
lib/Target/X86/X86TargetMachine.h | 44 +-
lib/Target/X86/X86TargetObjectFile.cpp | 3 +-
lib/Target/X86/X86TargetObjectFile.h | 3 +-
lib/Target/X86/X86VZeroUpper.cpp | 244 +-
lib/Target/XCore/CMakeLists.txt | 25 +-
lib/Target/XCore/LLVMBuild.txt | 32 +
lib/Target/XCore/MCTargetDesc/CMakeLists.txt | 5 -
lib/Target/XCore/MCTargetDesc/LLVMBuild.txt | 23 +
.../XCore/MCTargetDesc/XCoreMCAsmInfo.cpp | 3 +
.../XCore/MCTargetDesc/XCoreMCAsmInfo.h | 5 +-
.../XCore/MCTargetDesc/XCoreMCTargetDesc.cpp | 8 +-
.../XCore/MCTargetDesc/XCoreMCTargetDesc.h | 2 -
lib/Target/XCore/TargetInfo/CMakeLists.txt | 6 -
lib/Target/XCore/TargetInfo/LLVMBuild.txt | 23 +
lib/Target/XCore/XCore.h | 3 +-
lib/Target/XCore/XCore.td | 3 +-
lib/Target/XCore/XCoreFrameLowering.cpp | 11 +-
lib/Target/XCore/XCoreFrameLowering.h | 2 +-
lib/Target/XCore/XCoreISelDAGToDAG.cpp | 13 +-
lib/Target/XCore/XCoreISelLowering.cpp | 69 +-
lib/Target/XCore/XCoreISelLowering.h | 8 +-
lib/Target/XCore/XCoreInstrFormats.td | 2 +-
lib/Target/XCore/XCoreInstrInfo.cpp | 4 +-
lib/Target/XCore/XCoreInstrInfo.h | 4 +-
lib/Target/XCore/XCoreInstrInfo.td | 2 +-
lib/Target/XCore/XCoreMachineFunctionInfo.cpp | 14 +
lib/Target/XCore/XCoreMachineFunctionInfo.h | 4 +-
lib/Target/XCore/XCoreRegisterInfo.cpp | 24 +-
lib/Target/XCore/XCoreRegisterInfo.h | 13 +-
lib/Target/XCore/XCoreRegisterInfo.td | 2 +-
lib/Target/XCore/XCoreSubtarget.cpp | 4 +-
lib/Target/XCore/XCoreSubtarget.h | 3 +-
lib/Target/XCore/XCoreTargetMachine.cpp | 31 +-
lib/Target/XCore/XCoreTargetMachine.h | 11 +-
lib/Target/XCore/XCoreTargetObjectFile.h | 2 +-
lib/Transforms/CMakeLists.txt | 1 +
lib/Transforms/IPO/CMakeLists.txt | 10 -
lib/Transforms/IPO/ConstantMerge.cpp | 14 +-
.../IPO/DeadArgumentElimination.cpp | 2 +-
lib/Transforms/IPO/FunctionAttrs.cpp | 227 +-
lib/Transforms/IPO/GlobalOpt.cpp | 715 +-
lib/Transforms/IPO/InlineAlways.cpp | 102 +-
lib/Transforms/IPO/InlineSimple.cpp | 58 +-
lib/Transforms/IPO/Inliner.cpp | 149 +-
lib/Transforms/IPO/Internalize.cpp | 7 +-
lib/Transforms/IPO/LLVMBuild.txt | 23 +
lib/Transforms/IPO/PassManagerBuilder.cpp | 27 +-
lib/Transforms/IPO/PruneEH.cpp | 3 +-
lib/Transforms/InstCombine/CMakeLists.txt | 8 -
lib/Transforms/InstCombine/InstCombine.h | 10 +-
.../InstCombine/InstCombineAddSub.cpp | 74 +-
.../InstCombine/InstCombineAndOrXor.cpp | 243 +-
.../InstCombine/InstCombineCalls.cpp | 160 +-
.../InstCombine/InstCombineCasts.cpp | 44 +-
.../InstCombine/InstCombineCompares.cpp | 89 +-
.../InstCombineLoadStoreAlloca.cpp | 71 +-
.../InstCombine/InstCombineMulDivRem.cpp | 58 +-
.../InstCombine/InstCombineSelect.cpp | 39 +-
.../InstCombine/InstCombineShifts.cpp | 83 +-
.../InstCombineSimplifyDemanded.cpp | 99 +-
.../InstCombine/InstCombineVectorOps.cpp | 373 +-
.../InstCombine/InstCombineWorklist.h | 4 +-
.../InstCombine/InstructionCombining.cpp | 85 +-
lib/Transforms/InstCombine/LLVMBuild.txt | 22 +
.../Instrumentation/AddressSanitizer.cpp | 937 +
lib/Transforms/Instrumentation/CMakeLists.txt | 10 +-
.../Instrumentation/FunctionBlackList.cpp | 79 +
.../Instrumentation/FunctionBlackList.h | 37 +
.../Instrumentation/GCOVProfiling.cpp | 145 +-
.../Instrumentation/Instrumentation.cpp | 2 +
lib/Transforms/Instrumentation/LLVMBuild.txt | 22 +
.../Instrumentation/OptimalEdgeProfiling.cpp | 4 +-
.../Instrumentation/PathProfiling.cpp | 13 +-
.../Instrumentation/ThreadSanitizer.cpp | 311 +
lib/Transforms/LLVMBuild.txt | 24 +
lib/Transforms/Makefile | 2 +-
lib/Transforms/Scalar/CMakeLists.txt | 10 +-
lib/Transforms/Scalar/CodeGenPrepare.cpp | 47 +-
lib/Transforms/Scalar/ConstantProp.cpp | 13 +-
.../Scalar/CorrelatedValuePropagation.cpp | 92 +-
.../Scalar/DeadStoreElimination.cpp | 287 +-
lib/Transforms/Scalar/EarlyCSE.cpp | 146 +-
lib/Transforms/Scalar/GVN.cpp | 339 +-
.../Scalar/GlobalMerge.cpp} | 39 +-
lib/Transforms/Scalar/IndVarSimplify.cpp | 553 +-
lib/Transforms/Scalar/JumpThreading.cpp | 35 +-
lib/Transforms/Scalar/LICM.cpp | 17 +-
lib/Transforms/Scalar/LLVMBuild.txt | 23 +
lib/Transforms/Scalar/LoopInstSimplify.cpp | 6 +-
lib/Transforms/Scalar/LoopRotation.cpp | 166 +-
lib/Transforms/Scalar/LoopStrengthReduce.cpp | 985 +-
lib/Transforms/Scalar/LoopUnrollPass.cpp | 58 +-
lib/Transforms/Scalar/LoopUnswitch.cpp | 467 +-
lib/Transforms/Scalar/MemCpyOptimizer.cpp | 36 +-
lib/Transforms/Scalar/ObjCARC.cpp | 1258 +-
lib/Transforms/Scalar/Reassociate.cpp | 10 +-
lib/Transforms/Scalar/SCCP.cpp | 500 +-
lib/Transforms/Scalar/Scalar.cpp | 1 +
.../Scalar/ScalarReplAggregates.cpp | 70 +-
lib/Transforms/Scalar/SimplifyLibCalls.cpp | 182 +-
lib/Transforms/Scalar/Sink.cpp | 3 +-
lib/Transforms/Utils/AddrModeMatcher.cpp | 9 +-
lib/Transforms/Utils/BasicBlockUtils.cpp | 16 +-
lib/Transforms/Utils/BasicInliner.cpp | 182 -
lib/Transforms/Utils/BreakCriticalEdges.cpp | 3 +-
lib/Transforms/Utils/BuildLibCalls.cpp | 34 +-
lib/Transforms/Utils/CMakeLists.txt | 12 +-
lib/Transforms/Utils/CloneFunction.cpp | 206 +-
lib/Transforms/Utils/CmpInstAnalysis.cpp | 96 +
lib/Transforms/Utils/CodeExtractor.cpp | 7 +-
lib/Transforms/Utils/DemoteRegToStack.cpp | 57 +-
lib/Transforms/Utils/InlineFunction.cpp | 607 +-
lib/Transforms/Utils/LLVMBuild.txt | 22 +
lib/Transforms/Utils/Local.cpp | 111 +-
lib/Transforms/Utils/LoopSimplify.cpp | 61 +-
lib/Transforms/Utils/LoopUnroll.cpp | 40 +-
lib/Transforms/Utils/LoopUnrollRuntime.cpp | 372 +
lib/Transforms/Utils/LowerExpectIntrinsic.cpp | 22 +-
lib/Transforms/Utils/LowerInvoke.cpp | 28 +-
lib/Transforms/Utils/LowerSwitch.cpp | 10 +-
lib/Transforms/Utils/ModuleUtils.cpp | 64 +
.../Utils/PromoteMemoryToRegister.cpp | 9 +-
lib/Transforms/Utils/SSAUpdater.cpp | 7 +
lib/Transforms/Utils/SimplifyCFG.cpp | 619 +-
lib/Transforms/Utils/SimplifyIndVar.cpp | 45 +-
lib/Transforms/Utils/SimplifyInstructions.cpp | 12 +-
.../Utils/UnifyFunctionExitNodes.cpp | 20 -
lib/Transforms/Vectorize/BBVectorize.cpp | 1907 ++
lib/Transforms/Vectorize/CMakeLists.txt | 4 +
lib/Transforms/Vectorize/LLVMBuild.txt | 24 +
.../Vectorize}/Makefile | 7 +-
lib/Transforms/Vectorize/Vectorize.cpp | 39 +
lib/VMCore/AsmWriter.cpp | 133 +-
lib/VMCore/Attributes.cpp | 8 +-
lib/VMCore/AutoUpgrade.cpp | 594 +-
lib/VMCore/BasicBlock.cpp | 3 +
lib/VMCore/CMakeLists.txt | 3 -
lib/VMCore/ConstantFold.cpp | 544 +-
lib/VMCore/Constants.cpp | 1221 +-
lib/VMCore/ConstantsContext.h | 234 +-
lib/VMCore/Core.cpp | 73 +-
lib/VMCore/DebugInfoProbe.cpp | 225 -
lib/VMCore/DebugLoc.cpp | 5 +-
lib/VMCore/Dominators.cpp | 202 +-
lib/VMCore/Function.cpp | 52 +-
lib/VMCore/GCOV.cpp | 2 +-
lib/VMCore/IRBuilder.cpp | 4 +-
lib/VMCore/Instruction.cpp | 56 -
lib/VMCore/Instructions.cpp | 257 +-
lib/VMCore/LLVMBuild.txt | 22 +
lib/VMCore/LLVMContext.cpp | 18 +-
lib/VMCore/LLVMContextImpl.cpp | 51 +-
lib/VMCore/LLVMContextImpl.h | 162 +-
lib/VMCore/Metadata.cpp | 89 +-
lib/VMCore/Module.cpp | 56 +
lib/VMCore/Pass.cpp | 24 +-
lib/VMCore/PassManager.cpp | 161 +-
lib/VMCore/Type.cpp | 187 +-
lib/VMCore/Use.cpp | 1 +
lib/VMCore/User.cpp | 2 +
lib/VMCore/Value.cpp | 127 +-
lib/VMCore/ValueTypes.cpp | 12 +-
lib/VMCore/Verifier.cpp | 284 +-
llvm.spec.in | 2 +-
projects/LLVMBuild.txt | 21 +
projects/sample/Makefile.common.in | 12 +-
projects/sample/Makefile.llvm.config.in | 313 +
projects/sample/Makefile.llvm.rules | 2250 ++
projects/sample/autoconf/AutoRegen.sh | 13 +-
projects/sample/autoconf/ExportMap.map | 7 +
projects/sample/autoconf/configure.ac | 1476 +-
projects/sample/autoconf/install-sh | 322 +
projects/sample/autoconf/ltmain.sh | 6863 ++++++
projects/sample/autoconf/m4/build_exeext.m4 | 42 +
projects/sample/autoconf/m4/c_printf_a.m4 | 31 +
projects/sample/autoconf/m4/check_gnu_make.m4 | 26 +
.../sample/autoconf/m4/config_makefile.m4 | 9 +
projects/sample/autoconf/m4/config_project.m4 | 14 +
projects/sample/autoconf/m4/cxx_flag_check.m4 | 2 +
.../sample/autoconf/m4/find_std_program.m4 | 118 +
projects/sample/autoconf/m4/func_isinf.m4 | 36 +
projects/sample/autoconf/m4/func_isnan.m4 | 27 +
projects/sample/autoconf/m4/func_mmap_file.m4 | 26 +
.../autoconf/m4/header_mmap_anonymous.m4 | 21 +
projects/sample/autoconf/m4/huge_val.m4 | 20 +
projects/sample/autoconf/m4/libtool.m4 | 6389 +++++
projects/sample/autoconf/m4/link_options.m4 | 108 +
.../sample/autoconf/m4/linux_mixed_64_32.m4 | 17 +
projects/sample/autoconf/m4/ltdl.m4 | 418 +
.../autoconf/m4/need_dev_zero_for_mmap.m4 | 17 +
projects/sample/autoconf/m4/path_tclsh.m4 | 39 +
projects/sample/autoconf/m4/rand48.m4 | 12 +
projects/sample/autoconf/m4/sanity_check.m4 | 31 +
.../sample/autoconf/m4/single_cxx_check.m4 | 10 +
.../autoconf/m4/visibility_inlines_hidden.m4 | 22 +
projects/sample/autoconf/mkinstalldirs | 150 +
projects/sample/configure | 19645 +++++++++++++++-
runtime/LLVMBuild.txt | 21 +
runtime/libprofile/CommonProfiling.c | 4 +-
runtime/libprofile/GCDAProfiling.c | 12 +
runtime/libprofile/PathProfiling.c | 9 +-
.../BasicAA/2007-08-05-GetOverloadedModRef.ll | 4 +-
test/Analysis/BasicAA/aligned-overread.ll | 25 +
test/Analysis/BasicAA/constant-over-index.ll | 4 +-
test/Analysis/BasicAA/dg.exp | 3 -
test/Analysis/BasicAA/lit.local.cfg | 1 +
test/Analysis/BasicAA/phi-and-select.ll | 16 +-
test/Analysis/BlockFrequencyInfo/dg.exp | 3 -
.../Analysis/BlockFrequencyInfo/lit.local.cfg | 1 +
test/Analysis/BranchProbabilityInfo/basic.ll | 90 +
.../BranchProbabilityInfo/lit.local.cfg | 1 +
test/Analysis/BranchProbabilityInfo/loop.ll | 365 +
.../BranchProbabilityInfo/noreturn.ll | 79 +
test/Analysis/CallGraph/dg.exp | 3 -
test/Analysis/CallGraph/lit.local.cfg | 1 +
test/Analysis/Dominators/dg.exp | 3 -
test/Analysis/Dominators/invoke.ll | 19 +
test/Analysis/Dominators/lit.local.cfg | 1 +
test/Analysis/GlobalsModRef/dg.exp | 3 -
test/Analysis/GlobalsModRef/lit.local.cfg | 1 +
test/Analysis/GlobalsModRef/pr12351.ll | 33 +
test/Analysis/LoopDependenceAnalysis/dg.exp | 3 -
.../LoopDependenceAnalysis/lit.local.cfg | 1 +
test/Analysis/LoopInfo/dg.exp | 3 -
test/Analysis/LoopInfo/lit.local.cfg | 1 +
test/Analysis/PostDominators/dg.exp | 3 -
test/Analysis/PostDominators/lit.local.cfg | 1 +
test/Analysis/Profiling/dg.exp | 4 -
test/Analysis/Profiling/lit.local.cfg | 1 +
test/Analysis/RegionInfo/dg.exp | 3 -
test/Analysis/RegionInfo/lit.local.cfg | 1 +
.../2008-02-12-SMAXTripCount.ll | 3 +-
.../2012-03-26-LoadConstant.ll | 47 +
test/Analysis/ScalarEvolution/avoid-smax-1.ll | 18 +-
test/Analysis/ScalarEvolution/dg.exp | 3 -
test/Analysis/ScalarEvolution/lit.local.cfg | 1 +
test/Analysis/ScalarEvolution/load.ll | 65 +
test/Analysis/ScalarEvolution/nsw-offset.ll | 6 +-
test/Analysis/ScalarEvolution/nsw.ll | 24 +-
test/Analysis/ScalarEvolution/trip-count11.ll | 29 +
test/Analysis/ScalarEvolution/trip-count12.ll | 35 +
test/Analysis/TypeBasedAliasAnalysis/dg.exp | 3 -
.../TypeBasedAliasAnalysis/functionattrs.ll | 2 +-
.../TypeBasedAliasAnalysis/lit.local.cfg | 1 +
test/Archive/dg.exp | 3 -
test/Archive/lit.local.cfg | 1 +
test/Assembler/AutoUpgradeIntrinsics.ll | 55 -
test/Assembler/aggregate-constant-values.ll | 25 +-
test/Assembler/auto_upgrade_intrinsics.ll | 44 +
test/Assembler/bcwrap.ll | 6 +-
test/Assembler/dg.exp | 3 -
test/Assembler/extractvalue-invalid-idx.ll | 4 +-
test/Assembler/getelementptr_struct.ll | 4 +-
test/Assembler/huge-array.ll | 4 +-
test/Assembler/insertextractvalue.ll | 25 +-
test/Assembler/insertvalue-invalid-idx.ll | 8 +-
test/Assembler/invalid_cast.ll | 4 +-
test/Assembler/invalid_cast2.ll | 4 +-
test/Assembler/lit.local.cfg | 1 +
test/Assembler/metadata.ll | 11 +-
test/Assembler/vbool-cmp.ll | 17 +-
test/Assembler/vector-cmp.ll | 10 +-
test/Assembler/vector-select.ll | 12 +-
test/Assembler/vector-shift.ll | 31 +-
test/Bindings/Ocaml/dg.exp | 5 -
test/Bindings/Ocaml/lit.local.cfg | 6 +
test/Bitcode/AutoUpgradeGlobals.ll | 4 -
test/Bitcode/AutoUpgradeGlobals.ll.bc | Bin 312 -> 0 bytes
test/Bitcode/dg.exp | 3 -
test/Bitcode/lit.local.cfg | 1 +
test/Bitcode/null-type.ll | 4 +-
test/Bitcode/shuffle.ll | 31 +
test/Bitcode/sse42_crc32.ll | 28 -
test/Bitcode/sse42_crc32.ll.bc | Bin 480 -> 0 bytes
test/Bitcode/ssse3_palignr.ll | 82 +-
test/Bitcode/ssse3_palignr.ll.bc | Bin 1504 -> 0 bytes
test/BugPoint/dg.exp | 3 -
test/BugPoint/lit.local.cfg | 1 +
test/CMakeLists.txt | 138 +-
test/CodeGen/ARM/2007-01-19-InfiniteLoop.ll | 2 +-
.../ARM/2008-03-07-RegScavengerAssert.ll | 2 +-
test/CodeGen/ARM/2009-08-31-LSDA-Name.ll | 11 +-
test/CodeGen/ARM/2009-09-09-fpcmp-ole.ll | 2 +-
test/CodeGen/ARM/2009-09-24-spill-align.ll | 2 +-
.../ARM/2009-11-07-SubRegAsmPrinting.ll | 2 +-
test/CodeGen/ARM/2010-05-18-PostIndexBug.ll | 2 +-
test/CodeGen/ARM/2010-05-20-NEONSpillCrash.ll | 2 +-
test/CodeGen/ARM/2010-05-21-BuildVector.ll | 8 +-
.../ARM/2010-06-29-PartialRedefFastAlloc.ll | 2 +-
test/CodeGen/ARM/2010-07-26-GlobalMerge.ll | 11 +-
test/CodeGen/ARM/2010-08-04-EHCrash.ll | 12 +-
.../ARM/2010-11-15-SpillEarlyClobber.ll | 2 +-
test/CodeGen/ARM/2010-11-29-PrologueBug.ll | 4 +-
test/CodeGen/ARM/2010-12-07-PEIBug.ll | 30 +-
.../CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll | 13 +-
.../CodeGen/ARM/2011-03-15-LdStMultipleBug.ll | 2 +-
.../ARM/2011-05-04-MultipleLandingPadSuccs.ll | 25 +-
test/CodeGen/ARM/2011-06-16-TailCallByVal.ll | 2 +-
.../ARM/2011-06-29-MergeGlobalsAlign.ll | 4 +-
.../CodeGen/ARM/2011-08-02-MergedGlobalDbg.ll | 3 +-
test/CodeGen/ARM/2011-08-25-ldmia_ret.ll | 2 +-
.../2011-10-26-ExpandUnalignedLoadCrash.ll | 22 +
test/CodeGen/ARM/2011-10-26-memset-inline.ll | 21 +
.../ARM/2011-10-26-memset-with-neon.ll | 20 +
.../ARM/2011-11-07-PromoteVectorLoadStore.ll | 24 +
.../ARM/2011-11-09-BitcastVectorDouble.ll | 15 +
.../2011-11-09-IllegalVectorFPIntConvert.ll | 37 +
test/CodeGen/ARM/2011-11-14-EarlyClobber.ll | 62 +
test/CodeGen/ARM/2011-11-28-DAGCombineBug.ll | 38 +
.../ARM/2011-11-29-128bitArithmetics.ll | 302 +
test/CodeGen/ARM/2011-11-30-MergeAlignment.ll | 24 +
test/CodeGen/ARM/2011-12-14-machine-sink.ll | 48 +
test/CodeGen/ARM/2011-12-19-sjlj-clobber.ll | 55 +
test/CodeGen/ARM/2012-01-23-PostRA-LICM.ll | 105 +
.../ARM/2012-01-24-RegSequenceLiveRange.ll | 67 +
test/CodeGen/ARM/2012-01-26-CoalescerBug.ll | 21 +
test/CodeGen/ARM/2012-01-26-CopyPropKills.ll | 121 +
test/CodeGen/ARM/2012-02-01-CoalescerBug.ll | 26 +
test/CodeGen/ARM/2012-03-05-FPSCR-bug.ll | 36 +
test/CodeGen/ARM/2012-03-13-DAGCombineBug.ll | 15 +
test/CodeGen/ARM/2012-03-26-FoldImmBug.ll | 33 +
.../ARM/2012-04-02-TwoAddrInstrCrash.ll | 24 +
test/CodeGen/ARM/2012-04-10-DAGCombine.ll | 31 +
test/CodeGen/ARM/arm-returnaddr.ll | 8 +-
test/CodeGen/ARM/atomic-op.ll | 88 +-
test/CodeGen/ARM/avoid-cpsr-rmw.ll | 44 +-
test/CodeGen/ARM/call-tc.ll | 71 +-
test/CodeGen/ARM/call.ll | 2 +-
test/CodeGen/ARM/clz.ll | 4 +-
test/CodeGen/ARM/code-placement.ll | 6 +-
test/CodeGen/ARM/commute-movcc.ll | 67 +
test/CodeGen/ARM/cse-call.ll | 31 +
test/CodeGen/ARM/cse-libcalls.ll | 4 +-
test/CodeGen/ARM/ctor_order.ll | 30 +
test/CodeGen/ARM/ctz.ll | 4 +-
.../CodeGen/ARM/dagcombine-anyexttozeroext.ll | 30 +
test/CodeGen/ARM/debug-info-arg.ll | 2 +-
test/CodeGen/ARM/debug-info-blocks.ll | 4 +-
test/CodeGen/ARM/debug-info-d16-reg.ll | 2 +-
test/CodeGen/ARM/debug-info-qreg.ll | 6 +-
test/CodeGen/ARM/debug-info-s16-reg.ll | 3 +-
test/CodeGen/ARM/debug-info-sreg2.ll | 8 +-
test/CodeGen/ARM/dg.exp | 5 -
test/CodeGen/ARM/eh-resume-darwin.ll | 13 +-
test/CodeGen/ARM/ehabi-unwind.ll | 16 +
test/CodeGen/ARM/fast-isel-GEP-coalesce.ll | 65 +
test/CodeGen/ARM/fast-isel-binary.ll | 116 +
test/CodeGen/ARM/fast-isel-br-const.ll | 48 +
test/CodeGen/ARM/fast-isel-br-phi.ll | 44 +
test/CodeGen/ARM/fast-isel-call.ll | 128 +
test/CodeGen/ARM/fast-isel-cmp-imm.ll | 250 +
test/CodeGen/ARM/fast-isel-conversion.ll | 242 +
test/CodeGen/ARM/fast-isel-deadcode.ll | 22 +
test/CodeGen/ARM/fast-isel-fold.ll | 80 +
test/CodeGen/ARM/fast-isel-icmp.ll | 47 +
test/CodeGen/ARM/fast-isel-indirectbr.ll | 17 +
test/CodeGen/ARM/fast-isel-intrinsic.ll | 110 +
test/CodeGen/ARM/fast-isel-ldr-str-arm.ll | 55 +
.../ARM/fast-isel-ldr-str-thumb-neg-index.ll | 168 +
test/CodeGen/ARM/fast-isel-ldrh-strh-arm.ll | 149 +
test/CodeGen/ARM/fast-isel-mvn.ll | 107 +
test/CodeGen/ARM/fast-isel-redefinition.ll | 2 +-
test/CodeGen/ARM/fast-isel-ret.ll | 57 +
test/CodeGen/ARM/fast-isel-select.ll | 99 +
test/CodeGen/ARM/fast-isel.ll | 96 +-
test/CodeGen/ARM/fcopysign.ll | 26 +-
test/CodeGen/ARM/fold-const.ll | 4 +-
test/CodeGen/ARM/fp.ll | 2 +-
test/CodeGen/ARM/fpcmp-opt.ll | 63 +-
test/CodeGen/ARM/fpcmp_ueq.ll | 2 +-
test/CodeGen/ARM/fpmem.ll | 8 +-
test/CodeGen/ARM/fusedMAC.ll | 185 +
test/CodeGen/ARM/global-merge.ll | 2 +-
test/CodeGen/ARM/globals.ll | 1 -
test/CodeGen/ARM/hello.ll | 2 +-
test/CodeGen/ARM/ifcvt1.ll | 6 +-
test/CodeGen/ARM/ifcvt10.ll | 2 +-
test/CodeGen/ARM/ifcvt11.ll | 4 +-
test/CodeGen/ARM/ifcvt3.ll | 7 +-
test/CodeGen/ARM/ifcvt5.ll | 2 +-
test/CodeGen/ARM/ifcvt6.ll | 2 +-
test/CodeGen/ARM/inlineasm3.ll | 10 +
test/CodeGen/ARM/insn-sched1.ll | 2 +-
test/CodeGen/ARM/ldrd-memoper.ll | 15 +
test/CodeGen/ARM/ldrd.ll | 68 +-
test/CodeGen/ARM/lit.local.cfg | 6 +
test/CodeGen/ARM/load_i1_select.ll | 19 +
test/CodeGen/ARM/log2_not_readnone.ll | 15 +
test/CodeGen/ARM/long_shift.ll | 4 +-
test/CodeGen/ARM/lsr-icmp-imm.ll | 33 +
test/CodeGen/ARM/lsr-on-unrolled-loops.ll | 640 -
test/CodeGen/ARM/lsr-unfolded-offset.ll | 2 +-
test/CodeGen/ARM/machine-cse-cmp.ll | 33 +-
test/CodeGen/ARM/memcpy-inline.ll | 3 +-
test/CodeGen/ARM/memfunc.ll | 3 +
test/CodeGen/ARM/mul_const.ll | 42 +
test/CodeGen/ARM/neon_ld1.ll | 14 +-
test/CodeGen/ARM/neon_ld2.ll | 15 +-
test/CodeGen/ARM/neon_spill.ll | 54 +
test/CodeGen/ARM/odr_comdat.ll | 16 +
test/CodeGen/ARM/opt-shuff-tstore.ll | 19 +
test/CodeGen/ARM/peephole-bitcast.ll | 4 +-
test/CodeGen/ARM/reg_asc_order.ll | 16 +
test/CodeGen/ARM/reg_sequence.ll | 8 +-
test/CodeGen/ARM/rev.ll | 4 +-
test/CodeGen/ARM/select-imm.ll | 4 +-
test/CodeGen/ARM/select.ll | 10 +-
test/CodeGen/ARM/select_xform.ll | 46 +
test/CodeGen/ARM/shifter_operand.ll | 4 +
test/CodeGen/ARM/spill-q.ll | 2 +-
test/CodeGen/ARM/str_pre-2.ll | 1 -
test/CodeGen/ARM/subreg-remat.ll | 16 +-
test/CodeGen/ARM/tail-dup.ll | 44 +
test/CodeGen/ARM/test-sharedidx.ll | 96 +
test/CodeGen/ARM/vbsl-constant.ll | 18 +-
test/CodeGen/ARM/vdiv_combine.ll | 12 +-
test/CodeGen/ARM/vdup.ll | 2 +-
test/CodeGen/ARM/vector-DAGCombine.ll | 16 +-
test/CodeGen/ARM/vector-extend-narrow.ll | 46 +
test/CodeGen/ARM/vext.ll | 2 +-
test/CodeGen/ARM/vlddup.ll | 4 +-
test/CodeGen/ARM/vldlane.ll | 14 +-
test/CodeGen/ARM/vmov.ll | 63 +-
test/CodeGen/ARM/vmul.ll | 11 +
test/CodeGen/ARM/vrev.ll | 6 +-
test/CodeGen/ARM/vst2.ll | 18 +
test/CodeGen/ARM/vstlane.ll | 9 +-
test/CodeGen/ARM/widen-vmovs.ll | 8 +-
test/CodeGen/Alpha/2005-12-12-MissingFCMov.ll | 40 -
test/CodeGen/Alpha/2006-01-18-MissedGlobal.ll | 27 -
test/CodeGen/Alpha/2006-01-26-VaargBreak.ll | 14 -
test/CodeGen/Alpha/2006-04-04-zextload.ll | 30 -
.../Alpha/2006-07-03-ASMFormalLowering.ll | 18 -
test/CodeGen/Alpha/2006-11-01-vastart.ll | 15 -
test/CodeGen/Alpha/2007-11-27-mulneg3.ll | 13 -
test/CodeGen/Alpha/2008-11-10-smul_lohi.ll | 22 -
test/CodeGen/Alpha/2008-11-12-Add128.ll | 14 -
.../Alpha/2009-07-16-PromoteFloatCompare.ll | 6 -
.../Alpha/2010-04-07-DbgValueOtherTargets.ll | 28 -
test/CodeGen/Alpha/2010-08-01-mulreduce64.ll | 11 -
test/CodeGen/Alpha/add.ll | 178 -
test/CodeGen/Alpha/add128.ll | 9 -
test/CodeGen/Alpha/bic.ll | 9 -
test/CodeGen/Alpha/bsr.ll | 12 -
test/CodeGen/Alpha/call_adj.ll | 13 -
test/CodeGen/Alpha/cmov.ll | 23 -
test/CodeGen/Alpha/cmpbge.ll | 16 -
test/CodeGen/Alpha/ctlz.ll | 14 -
test/CodeGen/Alpha/ctlz_e.ll | 11 -
test/CodeGen/Alpha/ctpop.ll | 17 -
test/CodeGen/Alpha/dg.exp | 5 -
test/CodeGen/Alpha/eqv.ll | 10 -
test/CodeGen/Alpha/i32_sub_1.ll | 9 -
test/CodeGen/Alpha/illegal-element-type.ll | 23 -
test/CodeGen/Alpha/jmp_table.ll | 99 -
test/CodeGen/Alpha/mb.ll | 6 -
test/CodeGen/Alpha/mul128.ll | 7 -
test/CodeGen/Alpha/mul5.ll | 33 -
test/CodeGen/Alpha/neg1.ll | 7 -
test/CodeGen/Alpha/not.ll | 8 -
test/CodeGen/Alpha/ornot.ll | 10 -
test/CodeGen/Alpha/private.ll | 19 -
test/CodeGen/Alpha/rpcc.ll | 9 -
test/CodeGen/Alpha/srl_and.ll | 10 -
test/CodeGen/Alpha/sub128.ll | 9 -
test/CodeGen/Alpha/weak.ll | 16 -
test/CodeGen/Alpha/zapnot.ll | 9 -
test/CodeGen/Alpha/zapnot2.ll | 9 -
test/CodeGen/Alpha/zapnot3.ll | 15 -
test/CodeGen/Alpha/zapnot4.ll | 7 -
.../Blackfin/2009-08-04-LowerExtract-Live.ll | 16 -
.../Blackfin/2009-08-11-RegScavenger-CSR.ll | 17 -
.../Blackfin/2009-08-15-LiveIn-SubReg.ll | 19 -
.../Blackfin/2009-08-15-MissingDead.ll | 25 -
.../Blackfin/2009-08-15-SetCC-Undef.ll | 16 -
test/CodeGen/Blackfin/add-overflow.ll | 18 -
test/CodeGen/Blackfin/add.ll | 5 -
test/CodeGen/Blackfin/addsub-i128.ll | 42 -
test/CodeGen/Blackfin/basic-i1.ll | 51 -
test/CodeGen/Blackfin/basic-i16.ll | 36 -
test/CodeGen/Blackfin/basic-i32.ll | 51 -
test/CodeGen/Blackfin/basic-i64.ll | 51 -
test/CodeGen/Blackfin/basic-i8.ll | 51 -
test/CodeGen/Blackfin/basictest.ll | 19 -
test/CodeGen/Blackfin/cmp-small-imm.ll | 6 -
test/CodeGen/Blackfin/cmp64.ll | 17 -
test/CodeGen/Blackfin/ct32.ll | 20 -
test/CodeGen/Blackfin/ct64.ll | 20 -
test/CodeGen/Blackfin/ctlz16.ll | 18 -
test/CodeGen/Blackfin/ctlz64.ll | 15 -
test/CodeGen/Blackfin/ctpop16.ll | 18 -
test/CodeGen/Blackfin/cttz16.ll | 18 -
test/CodeGen/Blackfin/cycles.ll | 17 -
test/CodeGen/Blackfin/dg.exp | 5 -
test/CodeGen/Blackfin/double-cast.ll | 8 -
test/CodeGen/Blackfin/frameindex.ll | 10 -
test/CodeGen/Blackfin/i17mem.ll | 9 -
test/CodeGen/Blackfin/i1mem.ll | 9 -
test/CodeGen/Blackfin/i1ops.ll | 10 -
test/CodeGen/Blackfin/i216mem.ll | 9 -
test/CodeGen/Blackfin/i248mem.ll | 9 -
test/CodeGen/Blackfin/i256mem.ll | 9 -
test/CodeGen/Blackfin/i256param.ll | 7 -
test/CodeGen/Blackfin/i56param.ll | 8 -
test/CodeGen/Blackfin/i8mem.ll | 10 -
test/CodeGen/Blackfin/inline-asm.ll | 38 -
test/CodeGen/Blackfin/int-setcc.ll | 80 -
test/CodeGen/Blackfin/invalid-apint.ll | 15 -
test/CodeGen/Blackfin/jumptable.ll | 53 -
test/CodeGen/Blackfin/large-switch.ll | 187 -
test/CodeGen/Blackfin/load-i16.ll | 13 -
test/CodeGen/Blackfin/logic-i16.ll | 16 -
test/CodeGen/Blackfin/many-args.ll | 23 -
test/CodeGen/Blackfin/mulhu.ll | 106 -
test/CodeGen/Blackfin/printf.ll | 10 -
test/CodeGen/Blackfin/printf2.ll | 8 -
test/CodeGen/Blackfin/promote-logic.ll | 42 -
test/CodeGen/Blackfin/promote-setcc.ll | 37 -
test/CodeGen/Blackfin/sdiv.ll | 5 -
test/CodeGen/Blackfin/simple-select.ll | 11 -
test/CodeGen/Blackfin/switch.ll | 18 -
test/CodeGen/Blackfin/switch2.ll | 16 -
test/CodeGen/Blackfin/sync-intr.ll | 16 -
.../CBackend/2002-05-16-NameCollide.ll | 8 -
.../CBackend/2002-05-21-MissingReturn.ll | 20 -
.../CBackend/2002-08-19-ConstPointerRef.ll | 7 -
.../CBackend/2002-08-19-ConstantExpr.ll | 8 -
.../CBackend/2002-08-19-DataPointer.ll | 4 -
.../CBackend/2002-08-19-FunctionPointer.ll | 5 -
.../CBackend/2002-08-19-HardConstantExpr.ll | 5 -
.../CBackend/2002-08-20-UnnamedArgument.ll | 10 -
.../CBackend/2002-08-26-IndirectCallTest.ll | 17 -
.../2002-08-30-StructureOrderingTest.ll | 8 -
.../CBackend/2002-09-20-ArrayTypeFailure.ll | 7 -
.../CBackend/2002-09-20-VarArgPrototypes.ll | 6 -
test/CodeGen/CBackend/2002-10-16-External.ll | 4 -
.../CBackend/2002-11-06-PrintEscaped.ll | 11 -
.../CBackend/2003-05-12-IntegerSizeWarning.ll | 8 -
.../CBackend/2003-05-13-VarArgFunction.ll | 11 -
.../CBackend/2003-05-31-MissingStructName.ll | 5 -
.../CBackend/2003-06-01-NullPointerType.ll | 9 -
.../CBackend/2003-06-11-HexConstant.ll | 4 -
.../2003-06-11-LiteralStringProblem.ll | 3 -
.../CBackend/2003-06-28-InvokeSupport.ll | 17 -
.../CBackend/2003-06-28-LinkOnceGlobalVars.ll | 3 -
.../CBackend/2003-10-12-NANGlobalInits.ll | 5 -
.../CodeGen/CBackend/2003-10-23-UnusedType.ll | 8 -
.../CBackend/2003-10-28-CastToPtrToStruct.ll | 12 -
.../CBackend/2003-11-21-ConstantShiftExpr.ll | 13 -
.../CBackend/2004-02-13-FrameReturnAddress.ll | 16 -
.../2004-02-15-PreexistingExternals.ll | 18 -
.../2004-02-26-FPNotPrintableConstants.ll | 11 -
.../CBackend/2004-02-26-LinkOnceFunctions.ll | 6 -
.../CBackend/2004-08-09-va-end-null.ll | 10 -
.../2004-11-13-FunctionPointerCast.ll | 12 -
.../CBackend/2004-12-03-ExternStatics.ll | 10 -
.../2004-12-28-LogicalConstantExprs.ll | 5 -
.../CBackend/2005-02-14-VolatileOperations.ll | 8 -
.../2005-07-14-NegationToMinusMinus.ll | 18 -
test/CodeGen/CBackend/2005-08-23-Fmod.ll | 7 -
.../CBackend/2005-09-27-VolatileFuncPtr.ll | 10 -
.../CBackend/2006-12-11-Float-Bitcast.ll | 49 -
.../CBackend/2007-01-08-ParamAttr-ICmp.ll | 26 -
.../CBackend/2007-01-17-StackSaveNRestore.ll | 12 -
test/CodeGen/CBackend/2007-02-05-memset.ll | 13 -
.../CBackend/2007-02-23-NameConflicts.ll | 14 -
.../CBackend/2007-07-11-PackedStruct.ll | 9 -
.../CBackend/2008-02-01-UnalignedLoadStore.ll | 15 -
.../CBackend/2008-05-31-BoolOverflow.ll | 14 -
.../2008-10-21-PPCLongDoubleConstant.ll | 29 -
.../CBackend/2011-06-08-addWithOverflow.ll | 35 -
.../CBackend/X86/2008-06-04-IndirectMem.ll | 12 -
test/CodeGen/CBackend/X86/dg.exp | 5 -
test/CodeGen/CBackend/dg.exp | 5 -
test/CodeGen/CBackend/fneg.ll | 7 -
test/CodeGen/CBackend/pr2408.ll | 12 -
test/CodeGen/CBackend/vectors.ll | 37 -
test/CodeGen/CPP/2012-02-05-UnitVarCrash.ll | 6 +
test/CodeGen/CPP/dg.exp | 5 -
test/CodeGen/CPP/lit.local.cfg | 6 +
test/CodeGen/CellSPU/and_ops.ll | 3 +
test/CodeGen/CellSPU/call.ll | 4 -
test/CodeGen/CellSPU/call_indirect.ll | 49 -
test/CodeGen/CellSPU/dg.exp | 5 -
test/CodeGen/CellSPU/lit.local.cfg | 6 +
test/CodeGen/CellSPU/nand.ll | 4 +
test/CodeGen/CellSPU/or_ops.ll | 3 +
test/CodeGen/CellSPU/rotate_ops.ll | 2 +-
test/CodeGen/CellSPU/select_bits.ll | 3 +
test/CodeGen/CellSPU/shift_ops.ll | 12 +-
test/CodeGen/CellSPU/shuffles.ll | 12 +-
test/CodeGen/CellSPU/struct_1.ll | 3 +
test/CodeGen/CellSPU/v2i32.ll | 20 +-
.../Generic/2007-12-31-UnusedSelector.ll | 2 -
test/CodeGen/Generic/2008-02-04-Ctlz.ll | 8 +-
.../Generic/2009-11-16-BadKillsCrash.ll | 2 -
test/CodeGen/Generic/bool-vector.ll | 11 -
test/CodeGen/Generic/dbg-declare.ll | 59 +
test/CodeGen/Generic/dg.exp | 3 -
test/CodeGen/Generic/lit.local.cfg | 1 +
test/CodeGen/Generic/llvm-ct-intrinsics.ll | 32 +-
test/CodeGen/Generic/pr12507.ll | 18 +
test/CodeGen/Generic/select.ll | 8 +
test/CodeGen/Hexagon/args.ll | 19 +
test/CodeGen/Hexagon/combine.ll | 18 +
test/CodeGen/Hexagon/double.ll | 23 +
test/CodeGen/Hexagon/float.ll | 23 +
test/CodeGen/Hexagon/frame.ll | 24 +
test/CodeGen/Hexagon/lit.local.cfg | 6 +
test/CodeGen/Hexagon/mpy.ll | 20 +
test/CodeGen/Hexagon/static.ll | 21 +
test/CodeGen/Hexagon/struct_args.ll | 16 +
test/CodeGen/Hexagon/struct_args_large.ll | 17 +
test/CodeGen/Hexagon/vaddh.ll | 17 +
test/CodeGen/MBlaze/cc.ll | 12 +-
test/CodeGen/MBlaze/dg.exp | 5 -
test/CodeGen/MBlaze/div.ll | 18 +-
test/CodeGen/MBlaze/lit.local.cfg | 6 +
test/CodeGen/MSP430/2009-05-10-CyclicDAG.ll | 4 +-
.../MSP430/2009-08-25-DynamicStackAlloc.ll | 8 +-
.../CodeGen/MSP430/2009-09-18-AbsoluteAddr.ll | 4 +-
test/CodeGen/MSP430/2009-10-10-OrImpDef.ll | 4 +-
test/CodeGen/MSP430/AddrMode-bis-rx.ll | 2 +-
test/CodeGen/MSP430/AddrMode-bis-xr.ll | 4 +-
test/CodeGen/MSP430/AddrMode-mov-rx.ll | 2 +-
test/CodeGen/MSP430/AddrMode-mov-xr.ll | 2 +-
test/CodeGen/MSP430/Inst16mm.ll | 2 +-
test/CodeGen/MSP430/dg.exp | 5 -
test/CodeGen/MSP430/indirectbr2.ll | 2 +-
test/CodeGen/MSP430/lit.local.cfg | 6 +
test/CodeGen/Mips/2008-06-05-Carry.ll | 19 +-
test/CodeGen/Mips/2008-07-03-SRet.ll | 23 +-
test/CodeGen/Mips/2008-07-07-Float2Int.ll | 17 +-
test/CodeGen/Mips/2008-07-16-SignExtInReg.ll | 12 +-
test/CodeGen/Mips/2008-07-22-Cstpool.ll | 17 +-
test/CodeGen/Mips/2008-08-01-AsmInline.ll | 58 +-
test/CodeGen/Mips/2008-08-04-Bitconvert.ll | 17 +-
test/CodeGen/Mips/2008-08-06-Alloca.ll | 20 +-
test/CodeGen/Mips/2008-08-08-ctlz.ll | 10 +-
test/CodeGen/Mips/2008-11-10-xint_to_fp.ll | 3 +-
test/CodeGen/Mips/2009-11-16-CstPoolLoad.ll | 23 +-
test/CodeGen/Mips/2010-07-20-Switch.ll | 46 +-
test/CodeGen/Mips/2010-11-09-CountLeading.ll | 10 +-
test/CodeGen/Mips/blockaddr.ll | 40 +-
test/CodeGen/Mips/br-jmp.ll | 13 +
test/CodeGen/Mips/bswap.ll | 25 +
test/CodeGen/Mips/cmov.ll | 23 +-
test/CodeGen/Mips/cprestore.ll | 8 +-
test/CodeGen/Mips/dg.exp | 5 -
test/CodeGen/Mips/eh.ll | 10 -
test/CodeGen/Mips/extins.ll | 2 +-
test/CodeGen/Mips/fabs.ll | 52 +
test/CodeGen/Mips/fcopysign-f32-f64.ll | 50 +
test/CodeGen/Mips/fcopysign.ll | 80 +-
test/CodeGen/Mips/fmadd1.ll | 88 +
test/CodeGen/Mips/fneg.ll | 17 +
test/CodeGen/Mips/fp-indexed-ls.ll | 98 +
test/CodeGen/Mips/fpcmp.ll | 18 -
test/CodeGen/Mips/frem.ll | 13 +
test/CodeGen/Mips/global-address.ll | 46 +
test/CodeGen/Mips/global-pointer-reg.ll | 22 +
test/CodeGen/Mips/i64arg.ll | 8 +-
test/CodeGen/Mips/imm.ll | 38 +
test/CodeGen/Mips/indirectcall.ll | 8 +
test/CodeGen/Mips/inlineasm64.ll | 17 +
test/CodeGen/Mips/inlineasmmemop.ll | 2 +-
test/CodeGen/Mips/largeimmprinting.ll | 10 +-
test/CodeGen/Mips/lit.local.cfg | 6 +
test/CodeGen/Mips/mips64-fp-indexed-ls.ll | 110 +
test/CodeGen/Mips/mips64countleading.ll | 19 +
test/CodeGen/Mips/mips64directive.ll | 11 +
test/CodeGen/Mips/mips64ext.ll | 26 +
test/CodeGen/Mips/mips64extins.ll | 55 +
test/CodeGen/Mips/mips64fpimm0.ll | 7 +
test/CodeGen/Mips/mips64fpldst.ll | 12 +-
test/CodeGen/Mips/mips64imm.ll | 52 +
test/CodeGen/Mips/mips64instrs.ll | 8 +-
test/CodeGen/Mips/mips64intldst.ll | 26 +-
test/CodeGen/Mips/mips64lea.ll | 12 +
test/CodeGen/Mips/mips64muldiv.ll | 49 +
test/CodeGen/Mips/mips64shift.ll | 8 +-
test/CodeGen/Mips/mipslopat.ll | 2 +-
test/CodeGen/Mips/o32_cc_byval.ll | 54 +-
test/CodeGen/Mips/private.ll | 19 +-
test/CodeGen/Mips/rotate.ll | 2 +-
test/CodeGen/Mips/swzero.ll | 19 +
test/CodeGen/Mips/tls.ll | 27 +-
test/CodeGen/Mips/unalignedload.ll | 14 +-
test/CodeGen/Mips/zeroreg.ll | 27 +
test/CodeGen/PTX/cvt.ll | 12 +-
test/CodeGen/PTX/dg.exp | 5 -
test/CodeGen/PTX/ld.ll | 30 +-
test/CodeGen/PTX/lit.local.cfg | 6 +
test/CodeGen/PTX/mad-disabling.ll | 12 +-
test/CodeGen/PTX/mov.ll | 10 +-
test/CodeGen/PTX/parameter-order.ll | 2 +-
test/CodeGen/PTX/printf.ll | 25 +
test/CodeGen/PTX/st.ll | 30 +-
.../2006-10-11-combiner-aa-regression.ll | 23 -
test/CodeGen/PowerPC/2007-03-24-cntlzd.ll | 4 +-
.../PowerPC/2008-03-05-RegScavengerAssert.ll | 2 +-
.../PowerPC/2008-03-17-RegScavengerCrash.ll | 2 +-
.../PowerPC/2008-03-18-RegScavengerAssert.ll | 2 +-
.../PowerPC/2008-04-23-CoalescerCrash.ll | 6 +-
test/CodeGen/PowerPC/2010-02-12-saveCR.ll | 22 +-
.../PowerPC/2011-12-05-NoSpillDupCR.ll | 191 +
.../PowerPC/2011-12-06-SpillAndRestoreCR.ll | 225 +
.../2011-12-08-DemandedBitsMiscompile.ll | 16 +
test/CodeGen/PowerPC/Frames-alloca.ll | 6 +-
test/CodeGen/PowerPC/Frames-large.ll | 11 +-
test/CodeGen/PowerPC/LargeAbsoluteAddr.ll | 6 +-
test/CodeGen/PowerPC/a2-fp-basic.ll | 33 +
.../CodeGen/PowerPC/big-endian-formal-args.ll | 2 +-
test/CodeGen/PowerPC/bl8_elf_nop.ll | 16 +
test/CodeGen/PowerPC/can-lower-ret.ll | 19 +
test/CodeGen/PowerPC/cttz.ll | 4 +-
test/CodeGen/PowerPC/dbg.ll | 40 +
test/CodeGen/PowerPC/dg.exp | 5 -
test/CodeGen/PowerPC/indirectbr.ll | 14 +-
test/CodeGen/PowerPC/lit.local.cfg | 6 +
test/CodeGen/PowerPC/ppc32-vaarg.ll | 167 -
test/CodeGen/PowerPC/ppc440-fp-basic.ll | 33 +
test/CodeGen/PowerPC/ppc440-msync.ll | 27 +
test/CodeGen/PowerPC/ppc64-ind-call.ll | 16 +
test/CodeGen/PowerPC/ppc64-linux-func-size.ll | 21 +
test/CodeGen/PowerPC/ppc64-prefetch.ll | 15 +
test/CodeGen/PowerPC/ppc64-vaarg-int.ll | 20 +
.../SPARC/2011-12-03-TailDuplication.ll | 25 +
test/CodeGen/SPARC/dg.exp | 5 -
test/CodeGen/SPARC/lit.local.cfg | 6 +
test/CodeGen/SystemZ/00-RetVoid.ll | 6 -
test/CodeGen/SystemZ/01-RetArg.ll | 6 -
test/CodeGen/SystemZ/01-RetImm.ll | 49 -
test/CodeGen/SystemZ/02-MemArith.ll | 133 -
test/CodeGen/SystemZ/02-RetAdd.ll | 6 -
test/CodeGen/SystemZ/02-RetAddImm.ll | 6 -
test/CodeGen/SystemZ/02-RetAnd.ll | 7 -
test/CodeGen/SystemZ/02-RetAndImm.ll | 28 -
test/CodeGen/SystemZ/02-RetNeg.ll | 7 -
test/CodeGen/SystemZ/02-RetOr.ll | 6 -
test/CodeGen/SystemZ/02-RetOrImm.ll | 28 -
test/CodeGen/SystemZ/02-RetSub.ll | 7 -
test/CodeGen/SystemZ/02-RetSubImm.ll | 7 -
test/CodeGen/SystemZ/02-RetXor.ll | 6 -
test/CodeGen/SystemZ/02-RetXorImm.ll | 6 -
test/CodeGen/SystemZ/03-RetAddImmSubreg.ll | 42 -
test/CodeGen/SystemZ/03-RetAddSubreg.ll | 22 -
test/CodeGen/SystemZ/03-RetAndImmSubreg.ll | 38 -
test/CodeGen/SystemZ/03-RetAndSubreg.ll | 21 -
test/CodeGen/SystemZ/03-RetArgSubreg.ll | 19 -
test/CodeGen/SystemZ/03-RetImmSubreg.ll | 42 -
test/CodeGen/SystemZ/03-RetNegImmSubreg.ll | 8 -
test/CodeGen/SystemZ/03-RetOrImmSubreg.ll | 60 -
test/CodeGen/SystemZ/03-RetOrSubreg.ll | 23 -
test/CodeGen/SystemZ/03-RetSubImmSubreg.ll | 42 -
test/CodeGen/SystemZ/03-RetSubSubreg.ll | 22 -
test/CodeGen/SystemZ/03-RetXorImmSubreg.ll | 58 -
test/CodeGen/SystemZ/03-RetXorSubreg.ll | 23 -
test/CodeGen/SystemZ/04-RetShifts.ll | 121 -
test/CodeGen/SystemZ/05-LoadAddr.ll | 11 -
test/CodeGen/SystemZ/05-MemImmStores.ll | 50 -
test/CodeGen/SystemZ/05-MemLoadsStores.ll | 44 -
test/CodeGen/SystemZ/05-MemLoadsStores16.ll | 85 -
test/CodeGen/SystemZ/05-MemRegLoads.ll | 75 -
test/CodeGen/SystemZ/05-MemRegStores.ll | 79 -
test/CodeGen/SystemZ/06-CallViaStack.ll | 17 -
test/CodeGen/SystemZ/06-FrameIdxLoad.ll | 16 -
test/CodeGen/SystemZ/06-LocalFrame.ll | 13 -
test/CodeGen/SystemZ/06-SimpleCall.ll | 12 -
test/CodeGen/SystemZ/07-BrCond.ll | 141 -
test/CodeGen/SystemZ/07-BrCond32.ll | 142 -
test/CodeGen/SystemZ/07-BrUnCond.ll | 18 -
test/CodeGen/SystemZ/07-CmpImm.ll | 137 -
test/CodeGen/SystemZ/07-CmpImm32.ll | 139 -
test/CodeGen/SystemZ/07-SelectCC.ll | 11 -
test/CodeGen/SystemZ/08-DivRem.ll | 55 -
test/CodeGen/SystemZ/08-DivRemMemOp.ll | 64 -
test/CodeGen/SystemZ/08-SimpleMuls.ll | 29 -
test/CodeGen/SystemZ/09-DynamicAlloca.ll | 14 -
test/CodeGen/SystemZ/09-Globals.ll | 23 -
test/CodeGen/SystemZ/09-Switches.ll | 39 -
test/CodeGen/SystemZ/10-FuncsPic.ll | 27 -
test/CodeGen/SystemZ/10-GlobalsPic.ll | 29 -
test/CodeGen/SystemZ/11-BSwap.ll | 74 -
.../SystemZ/2009-05-29-InvalidRetResult.ll | 12 -
test/CodeGen/SystemZ/2009-06-02-And32Imm.ll | 14 -
test/CodeGen/SystemZ/2009-06-02-Rotate.ll | 13 -
.../SystemZ/2009-06-05-InvalidArgLoad.ll | 19 -
test/CodeGen/SystemZ/2009-07-04-Shl32.ll | 27 -
test/CodeGen/SystemZ/2009-07-05-Shifts.ll | 25 -
.../2009-07-10-BadIncomingArgOffset.ll | 25 -
.../SystemZ/2009-07-11-FloatBitConvert.ll | 16 -
.../SystemZ/2009-07-11-InvalidRIISel.ll | 32 -
.../2009-08-21-InlineAsmRConstraint.ll | 21 -
test/CodeGen/SystemZ/2009-08-22-FCopySign.ll | 22 -
test/CodeGen/SystemZ/2010-01-04-DivMem.ll | 50 -
.../2010-04-07-DbgValueOtherTargets.ll | 28 -
test/CodeGen/SystemZ/dg.exp | 5 -
test/CodeGen/Thumb/2011-05-11-DAGLegalizer.ll | 6 +-
test/CodeGen/Thumb/dg.exp | 5 -
test/CodeGen/Thumb/large-stack.ll | 2 +-
test/CodeGen/Thumb/lit.local.cfg | 6 +
test/CodeGen/Thumb/vargs.ll | 4 +-
test/CodeGen/Thumb2/2009-07-21-ISelBug.ll | 2 +-
test/CodeGen/Thumb2/2009-12-01-LoopIVUsers.ll | 2 +-
.../CodeGen/Thumb2/2010-03-15-AsmCCClobber.ll | 4 +-
.../Thumb2/2010-06-14-NEONCoalescer.ll | 2 +-
test/CodeGen/Thumb2/2010-11-22-EpilogueBug.ll | 2 +-
.../Thumb2/2011-12-16-T2SizeReduceAssert.ll | 28 +
test/CodeGen/Thumb2/2012-01-13-CBNZBug.ll | 103 +
test/CodeGen/Thumb2/aligned-constants.ll | 26 +
test/CodeGen/Thumb2/aligned-spill.ll | 95 +
test/CodeGen/Thumb2/constant-islands.ll | 1400 ++
test/CodeGen/Thumb2/crash.ll | 31 +-
test/CodeGen/Thumb2/dg.exp | 5 -
test/CodeGen/Thumb2/large-call.ll | 29 +
test/CodeGen/Thumb2/ldr-str-imm12.ll | 10 +-
test/CodeGen/Thumb2/lit.local.cfg | 6 +
test/CodeGen/Thumb2/lsr-deficiency.ll | 11 +-
test/CodeGen/Thumb2/machine-licm.ll | 7 +-
test/CodeGen/Thumb2/thumb2-cbnz.ll | 5 +-
test/CodeGen/Thumb2/thumb2-clz.ll | 4 +-
test/CodeGen/Thumb2/thumb2-ifcvt2.ll | 2 +-
test/CodeGen/Thumb2/thumb2-ldm.ll | 2 +-
test/CodeGen/Thumb2/thumb2-ldrd.ll | 5 +-
test/CodeGen/Thumb2/thumb2-mls.ll | 2 +-
test/CodeGen/Thumb2/thumb2-mul.ll | 2 +-
test/CodeGen/Thumb2/thumb2-select_xform.ll | 2 +-
.../X86/2004-04-09-SameValueCoalescing.ll | 13 -
test/CodeGen/X86/2006-05-11-InstrSched.ll | 6 +-
test/CodeGen/X86/2007-01-08-InstrSched.ll | 2 +-
test/CodeGen/X86/2007-05-05-Personality.ll | 14 +-
test/CodeGen/X86/2007-11-06-InstrSched.ll | 2 +-
test/CodeGen/X86/2007-12-18-LoadCSEBug.ll | 2 +-
test/CodeGen/X86/2008-01-16-Trampoline.ll | 14 -
test/CodeGen/X86/2008-02-22-ReMatBug.ll | 49 -
test/CodeGen/X86/2008-03-18-CoalescerBug.ll | 51 -
test/CodeGen/X86/2008-05-21-CoalescerBug.ll | 2 +-
.../X86/2008-05-28-LocalRegAllocBug.ll | 2 -
.../X86/2008-06-13-NotVolatileLoadStore.ll | 2 +-
.../X86/2008-06-13-VolatileLoadStore.ll | 10 +-
.../X86/2008-08-25-AsmRegTypeMismatch.ll | 4 +-
test/CodeGen/X86/2008-09-05-sinttofp-2xi32.ll | 4 +-
test/CodeGen/X86/2008-09-18-inline-asm-2.ll | 1 -
test/CodeGen/X86/2008-09-29-VolatileBug.ll | 2 +-
test/CodeGen/X86/2008-12-16-BadShift.ll | 19 -
.../CodeGen/X86/2008-12-19-EarlyClobberBug.ll | 2 +-
test/CodeGen/X86/2009-01-31-BigShift2.ll | 2 +-
test/CodeGen/X86/2009-02-05-CoalescerBug.ll | 14 -
test/CodeGen/X86/2009-03-16-SpillerBug.ll | 167 -
test/CodeGen/X86/2009-03-23-MultiUseSched.ll | 50 +-
test/CodeGen/X86/2009-04-21-NoReloadImpDef.ll | 3 +-
.../CodeGen/X86/2009-05-11-tailmerge-crash.ll | 2 +-
test/CodeGen/X86/2009-06-03-Win64SpillXMM.ll | 2 +-
test/CodeGen/X86/2009-06-05-VZextByteShort.ll | 2 +-
.../X86/2009-06-07-ExpandMMXBitcast.ll | 2 +-
.../X86/2009-07-17-StackColoringBug.ll | 55 -
.../CodeGen/X86/2009-08-23-SubRegReuseUndo.ll | 6 +-
.../X86/2010-02-19-TailCallRetAddrBug.ll | 2 +-
test/CodeGen/X86/2010-04-23-mmx-movdq2q.ll | 12 +-
.../X86/2010-04-30-LocalAlloc-LandingPad.ll | 21 +-
.../X86/2010-05-03-CoalescerSubRegClobber.ll | 2 +-
test/CodeGen/X86/2010-06-28-DbgEntryPC.ll | 108 -
test/CodeGen/X86/2010-08-04-MingWCrash.ll | 13 +-
test/CodeGen/X86/2010-08-10-DbgConstant.ll | 4 +-
.../X86/2011-01-24-DbgValue-Before-Use.ll | 3 +-
test/CodeGen/X86/2011-08-29-InitOrder.ll | 30 +-
.../X86/2011-10-18-FastISel-VectorParams.ll | 29 +
test/CodeGen/X86/2011-10-19-LegelizeLoad.ll | 28 +
test/CodeGen/X86/2011-10-19-widen_vselect.ll | 68 +
test/CodeGen/X86/2011-10-21-widen-cmp.ll | 45 +
test/CodeGen/X86/2011-10-27-tstore.ll | 16 +
test/CodeGen/X86/2011-10-30-padd.ll | 20 +
.../X86/2011-11-07-LegalizeBuildVector.ll | 14 +
test/CodeGen/X86/2011-11-22-AVX2-Domains.ll | 99 +
test/CodeGen/X86/2011-11-30-or.ll | 25 +
.../X86/2011-12-06-AVXVectorExtractCombine.ll | 18 +
.../X86/2011-12-06-BitcastVectorGlobal.ll | 5 +
test/CodeGen/X86/2011-12-08-AVXISelBugs.ll | 80 +
test/CodeGen/X86/2011-12-15-vec_shift.ll | 19 +
...011-12-26-extractelement-duplicate-load.ll | 16 +
test/CodeGen/X86/2011-12-28-vselecti8.ll | 20 +
test/CodeGen/X86/2011-12-8-bitcastintprom.ll | 15 +
test/CodeGen/X86/2011-20-21-zext-ui2fp.ll | 19 +
.../X86/2012-01-10-UndefExceptionEdge.ll | 155 +
test/CodeGen/X86/2012-01-11-split-cv.ll | 12 +
test/CodeGen/X86/2012-01-12-extract-sv.ll | 12 +
.../X86/2012-01-16-mfence-nosse-flags.ll | 34 +
test/CodeGen/X86/2012-01-18-vbitcast.ll | 14 +
test/CodeGen/X86/2012-02-12-dagco.ll | 16 +
test/CodeGen/X86/2012-02-14-scalar.ll | 13 +
test/CodeGen/X86/2012-02-20-MachineCPBug.ll | 78 +
test/CodeGen/X86/2012-02-23-mmx-inlineasm.ll | 12 +
test/CodeGen/X86/2012-02-29-CoalescerBug.ll | 58 +
.../CodeGen/X86/2012-03-15-build_vector_wl.ll | 10 +
.../X86/2012-03-20-LargeConstantExpr.ll | 17 +
test/CodeGen/X86/2012-03-26-PostRALICMBug.ll | 59 +
test/CodeGen/X86/2012-04-09-TwoAddrPassBug.ll | 34 +
test/CodeGen/X86/2012-1-10-buildvector.ll | 26 +
test/CodeGen/X86/GC/dg.exp | 5 -
test/CodeGen/X86/GC/lit.local.cfg | 6 +
test/CodeGen/X86/SwizzleShuff.ll | 68 +
test/CodeGen/X86/abi-isel.ll | 20 +-
test/CodeGen/X86/add.ll | 6 +-
test/CodeGen/X86/apm.ll | 4 +-
test/CodeGen/X86/atom-lea-sp.ll | 48 +
test/CodeGen/X86/atom-sched.ll | 28 +
test/CodeGen/X86/avx-arith.ll | 11 +
test/CodeGen/X86/avx-basic.ll | 18 +-
test/CodeGen/X86/avx-cast.ll | 2 +-
test/CodeGen/X86/avx-cvt.ll | 2 +-
test/CodeGen/X86/avx-fp2int.ll | 19 +
test/CodeGen/X86/avx-intrinsics-x86.ll | 389 +-
test/CodeGen/X86/avx-load-store.ll | 12 +-
test/CodeGen/X86/avx-logic.ll | 40 +-
test/CodeGen/X86/avx-minmax.ll | 8 +-
test/CodeGen/X86/avx-sext.ll | 17 +
test/CodeGen/X86/avx-shift.ll | 63 +
test/CodeGen/X86/avx-shuffle-x86_32.ll | 8 +
test/CodeGen/X86/avx-shuffle.ll | 196 +-
test/CodeGen/X86/avx-splat.ll | 4 +-
test/CodeGen/X86/avx-trunc.ll | 15 +
test/CodeGen/X86/avx-unpack.ll | 72 +
test/CodeGen/X86/avx-varargs-x86_64.ll | 15 +
test/CodeGen/X86/avx-vbroadcast.ll | 32 +-
test/CodeGen/X86/avx-vextractf128.ll | 88 +
test/CodeGen/X86/avx-vinsertf128.ll | 73 +
test/CodeGen/X86/avx-vperm2f128.ll | 9 +-
test/CodeGen/X86/avx-vpermil.ll | 11 +-
test/CodeGen/X86/avx-vshufp.ll | 128 +
test/CodeGen/X86/avx-vzeroupper.ll | 91 +-
test/CodeGen/X86/avx-win64-args.ll | 18 +
test/CodeGen/X86/avx-win64.ll | 47 +
test/CodeGen/X86/avx-zext.ll | 30 +
test/CodeGen/X86/avx2-arith.ll | 76 +
test/CodeGen/X86/avx2-cmp.ll | 58 +
test/CodeGen/X86/avx2-intrinsics-x86.ll | 994 +
test/CodeGen/X86/avx2-logic.ll | 96 +
test/CodeGen/X86/avx2-nontemporal.ll | 22 +
test/CodeGen/X86/avx2-palignr.ll | 57 +
test/CodeGen/X86/avx2-phaddsub.ll | 73 +
test/CodeGen/X86/avx2-shift.ll | 268 +
test/CodeGen/X86/avx2-unpack.ll | 86 +
test/CodeGen/X86/avx2-vbroadcast.ll | 187 +
test/CodeGen/X86/avx2-vperm2i128.ll | 47 +
test/CodeGen/X86/bc-extract.ll | 2 +-
test/CodeGen/X86/blend-msb.ll | 37 +
test/CodeGen/X86/block-placement.ll | 930 +
test/CodeGen/X86/bmi.ll | 184 +-
test/CodeGen/X86/brcond.ll | 4 +-
test/CodeGen/X86/btq.ll | 35 +
test/CodeGen/X86/byval6.ll | 2 +-
test/CodeGen/X86/cfstring.ll | 36 +
test/CodeGen/X86/change-compare-stride-0.ll | 83 -
test/CodeGen/X86/change-compare-stride-1.ll | 4 +
test/CodeGen/X86/clz.ll | 159 +-
test/CodeGen/X86/cmov.ll | 4 +-
test/CodeGen/X86/cmpxchg16b.ll | 2 +-
test/CodeGen/X86/coalescer-commute1.ll | 2 +-
test/CodeGen/X86/crash.ll | 6 +-
test/CodeGen/X86/dbg-file-name.ll | 4 +-
test/CodeGen/X86/dbg-inline.ll | 140 -
test/CodeGen/X86/dbg-merge-loc-entry.ll | 2 +-
test/CodeGen/X86/dbg-subrange.ll | 37 +
.../X86/dbg-value-inlined-parameter.ll | 2 +-
test/CodeGen/X86/dbg-value-location.ll | 3 +-
test/CodeGen/X86/dg.exp | 5 -
test/CodeGen/X86/divide-by-constant.ll | 2 +-
test/CodeGen/X86/dwarf-comp-dir.ll | 16 +
test/CodeGen/X86/empty-functions.ll | 4 -
test/CodeGen/X86/epilogue.ll | 4 +-
test/CodeGen/X86/f16c-intrinsics.ll | 32 +
test/CodeGen/X86/fast-cc-merge-stack-adj.ll | 2 +-
test/CodeGen/X86/fast-isel-bc.ll | 2 +-
test/CodeGen/X86/fast-isel-gep.ll | 5 +-
test/CodeGen/X86/fast-isel-x86-64.ll | 16 +-
test/CodeGen/X86/fast-isel-x86.ll | 2 +-
test/CodeGen/X86/fast-isel.ll | 11 +-
test/CodeGen/X86/fdiv.ll | 41 +
test/CodeGen/X86/fltused.ll | 2 +
test/CodeGen/X86/fltused_function_pointer.ll | 19 +
test/CodeGen/X86/fma4-intrinsics-x86_64.ll | 295 +
test/CodeGen/X86/fold-and-shift.ll | 82 +-
test/CodeGen/X86/fold-load.ll | 2 +-
test/CodeGen/X86/fold-pcmpeqd-0.ll | 4 +-
test/CodeGen/X86/fold-pcmpeqd-2.ll | 11 +-
test/CodeGen/X86/fp-stack-O0.ll | 2 +-
test/CodeGen/X86/fp-stack-ret-conv.ll | 2 +-
test/CodeGen/X86/fsgsbase.ll | 57 +
test/CodeGen/X86/gcc_except_table.ll | 27 +
test/CodeGen/X86/haddsub.ll | 91 +
test/CodeGen/X86/hoist-invariant-load.ll | 29 +
test/CodeGen/X86/i128-sdiv.ll | 24 +
test/CodeGen/X86/inline-asm-fpstack.ll | 2 +-
test/CodeGen/X86/inline-asm-q-regs.ll | 17 +-
test/CodeGen/X86/inline-asm-tied.ll | 4 +-
test/CodeGen/X86/iv-users-in-other-loops.ll | 300 -
test/CodeGen/X86/jump_sign.ll | 16 +-
test/CodeGen/X86/legalize-libcalls.ll | 35 +
test/CodeGen/X86/legalize-shift-64.ll | 56 +
test/CodeGen/X86/lit.local.cfg | 6 +
test/CodeGen/X86/log2_not_readnone.ll | 15 +
test/CodeGen/X86/loop-strength-reduce3.ll | 37 -
test/CodeGen/X86/loop-strength-reduce5.ll | 4 +-
test/CodeGen/X86/lsr-loop-exit-cond.ll | 45 +-
test/CodeGen/X86/lsr-nonaffine.ll | 2 +-
test/CodeGen/X86/lsr-reuse.ll | 1 +
test/CodeGen/X86/lsr-sort.ll | 2 +-
test/CodeGen/X86/lzcnt.ll | 58 +-
test/CodeGen/X86/machine-cp.ll | 36 +
test/CodeGen/X86/machine-cse.ll | 24 +-
test/CodeGen/X86/masked-iv-safe.ll | 6 +-
test/CodeGen/X86/mcinst-avx-lowering.ll | 19 +
test/CodeGen/X86/memcpy.ll | 13 +
test/CodeGen/X86/misched-new.ll | 27 +
test/CodeGen/X86/mmx-builtins.ll | 1 +
test/CodeGen/X86/mmx-pinsrw.ll | 2 +-
test/CodeGen/X86/mmx-vzmovl-2.ll | 29 -
test/CodeGen/X86/mmx-vzmovl.ll | 15 -
test/CodeGen/X86/movmsk.ll | 16 +
test/CodeGen/X86/multiple-loop-post-inc.ll | 4 +
test/CodeGen/X86/nancvt.ll | 12 +-
test/CodeGen/X86/narrow-shl-load.ll | 2 +-
test/CodeGen/X86/negate-add-zero.ll | 4 -
test/CodeGen/X86/no-cfi.ll | 8 +-
test/CodeGen/X86/nontemporal.ll | 9 +-
test/CodeGen/X86/null-streamer.ll | 11 +
test/CodeGen/X86/objc-gc-module-flags.ll | 13 +
test/CodeGen/X86/object-size.ll | 6 +-
test/CodeGen/X86/odr_comdat.ll | 16 +
test/CodeGen/X86/optimize-max-3.ll | 4 +-
test/CodeGen/X86/overlap-shift.ll | 2 +-
test/CodeGen/X86/peep-test-3.ll | 2 +-
.../CodeGen/X86/peep-vector-extract-insert.ll | 2 +-
test/CodeGen/X86/personality_size.ll | 28 +
test/CodeGen/X86/phaddsub.ll | 170 +
test/CodeGen/X86/pic.ll | 2 +-
test/CodeGen/X86/pointer-vector.ll | 138 +
test/CodeGen/X86/pr11202.ll | 19 +
test/CodeGen/X86/pr11415.ll | 23 +
test/CodeGen/X86/pr12360.ll | 46 +
test/CodeGen/X86/pr1505b.ll | 4 +-
test/CodeGen/X86/pr2182.ll | 16 +-
test/CodeGen/X86/pr3495-2.ll | 54 -
test/CodeGen/X86/pr3495.ll | 81 -
test/CodeGen/X86/prefetch.ll | 3 +
test/CodeGen/X86/promote.ll | 42 +
test/CodeGen/X86/rd-mod-wr-eflags.ll | 179 +
test/CodeGen/X86/red-zone.ll | 2 +-
test/CodeGen/X86/red-zone2.ll | 2 +-
test/CodeGen/X86/reghinting.ll | 2 +-
test/CodeGen/X86/remat-scalar-zero.ll | 1 +
test/CodeGen/X86/rounding-ops.ll | 132 +
test/CodeGen/X86/scalar_widen_div.ll | 38 +-
test/CodeGen/X86/segmented-stacks-dynamic.ll | 64 +
test/CodeGen/X86/segmented-stacks.ll | 410 +-
test/CodeGen/X86/sext-subreg.ll | 6 +-
test/CodeGen/X86/shift-and.ll | 18 +-
test/CodeGen/X86/shift-combine.ll | 24 +-
test/CodeGen/X86/shift-folding.ll | 76 +-
test/CodeGen/X86/shl-i64.ll | 20 +
test/CodeGen/X86/sibcall-5.ll | 29 +
test/CodeGen/X86/splat-scalar-load.ll | 2 +-
test/CodeGen/X86/sret.ll | 23 -
test/CodeGen/X86/sse-align-3.ll | 4 +-
test/CodeGen/X86/sse-domains.ll | 87 +
test/CodeGen/X86/sse-minmax.ll | 80 +-
test/CodeGen/X86/sse2-blend.ll | 28 +-
test/CodeGen/X86/sse2.ll | 8 +-
test/CodeGen/X86/sse3.ll | 33 +-
test/CodeGen/X86/sse41.ll | 18 +-
test/CodeGen/X86/stack-align.ll | 6 +-
test/CodeGen/X86/stack-align2.ll | 25 +
test/CodeGen/X86/store-empty-member.ll | 2 +-
test/CodeGen/X86/store_op_load_fold2.ll | 14 +-
test/CodeGen/X86/stride-reuse.ll | 4 +-
test/CodeGen/X86/sub-with-overflow.ll | 2 +-
test/CodeGen/X86/tail-dup-addr.ll | 2 +-
test/CodeGen/X86/tail-opts.ll | 20 +-
test/CodeGen/X86/tailcall-disable.ll | 40 +
test/CodeGen/X86/tailcallbyval64.ll | 2 +-
test/CodeGen/X86/tailcallstack64.ll | 4 +-
test/CodeGen/X86/thiscall-struct-return.ll | 47 +
test/CodeGen/X86/tls-pie.ll | 63 +
test/CodeGen/X86/tls.ll | 329 +
test/CodeGen/X86/tls1.ll | 12 -
test/CodeGen/X86/tls10.ll | 13 -
test/CodeGen/X86/tls11.ll | 12 -
test/CodeGen/X86/tls12.ll | 12 -
test/CodeGen/X86/tls13.ll | 24 -
test/CodeGen/X86/tls14.ll | 24 -
test/CodeGen/X86/tls15.ll | 18 -
test/CodeGen/X86/tls2.ll | 13 -
test/CodeGen/X86/tls3.ll | 14 -
test/CodeGen/X86/tls4.ll | 13 -
test/CodeGen/X86/tls5.ll | 12 -
test/CodeGen/X86/tls6.ll | 13 -
test/CodeGen/X86/tls7.ll | 12 -
test/CodeGen/X86/tls8.ll | 13 -
test/CodeGen/X86/tls9.ll | 12 -
test/CodeGen/X86/twoaddr-lea.ll | 4 +-
test/CodeGen/X86/uint64-to-float.ll | 35 +-
.../X86/unreachable-stack-protector.ll | 2 +-
test/CodeGen/X86/utf16-cfstrings.ll | 35 +
test/CodeGen/X86/utf8.ll | 4 +
test/CodeGen/X86/v-binop-widen.ll | 2 +-
test/CodeGen/X86/vec_call.ll | 4 +-
test/CodeGen/X86/vec_compare-2.ll | 9 +-
test/CodeGen/X86/vec_ctbits.ll | 8 +-
test/CodeGen/X86/vec_extract-sse4.ll | 2 +-
test/CodeGen/X86/vec_fpext.ll | 14 +
test/CodeGen/X86/vec_return.ll | 12 +-
test/CodeGen/X86/vec_shuffle-20.ll | 2 +-
test/CodeGen/X86/vec_shuffle-23.ll | 2 +-
test/CodeGen/X86/vec_shuffle-24.ll | 2 +-
test/CodeGen/X86/vec_shuffle-37.ll | 18 +-
test/CodeGen/X86/vec_shuffle-38.ll | 24 +-
test/CodeGen/X86/vec_shuffle-39.ll | 86 +
test/CodeGen/X86/vec_shuffle.ll | 15 +-
test/CodeGen/X86/vec_udiv_to_shift.ll | 15 +
test/CodeGen/X86/vec_zero.ll | 12 +
test/CodeGen/X86/vec_zero_cse.ll | 2 +-
test/CodeGen/X86/vector-gep.ll | 88 +
test/CodeGen/X86/vector-variable-idx2.ll | 26 +
test/CodeGen/X86/volatile.ll | 10 +-
test/CodeGen/X86/vsplit-and.ll | 13 +-
test/CodeGen/X86/widen_arith-1.ll | 8 +-
test/CodeGen/X86/widen_arith-2.ll | 2 +-
test/CodeGen/X86/widen_arith-3.ll | 9 +-
test/CodeGen/X86/widen_cast-1.ll | 2 +-
test/CodeGen/X86/widen_cast-4.ll | 14 +-
test/CodeGen/X86/widen_conv-1.ll | 3 +-
test/CodeGen/X86/widen_conv-4.ll | 2 +-
test/CodeGen/X86/widen_load-0.ll | 20 +-
test/CodeGen/X86/widen_load-1.ll | 1 +
test/CodeGen/X86/widen_load-2.ll | 37 +-
test/CodeGen/X86/widen_shuffle-1.ll | 17 +-
test/CodeGen/X86/win32_sret.ll | 28 +
test/CodeGen/X86/win64_alloca_dynalloca.ll | 6 +-
test/CodeGen/X86/win64_vararg.ll | 2 +-
test/CodeGen/X86/win_ftol2.ll | 144 +
test/CodeGen/X86/x86-shifts.ll | 58 +-
test/CodeGen/X86/xop-intrinsics-x86_64.ll | 969 +
test/CodeGen/X86/xor.ll | 2 +-
test/CodeGen/X86/zero-remat.ll | 8 +-
test/CodeGen/X86/zext-fold.ll | 4 +-
test/CodeGen/X86/zext-sext.ll | 1 +
.../XCore/2011-08-01-DynamicAllocBug.ll | 4 +-
test/CodeGen/XCore/cos.ll | 16 -
test/CodeGen/XCore/dg.exp | 5 -
test/CodeGen/XCore/exp.ll | 16 -
test/CodeGen/XCore/exp2.ll | 16 -
test/CodeGen/XCore/float-intrinsics.ll | 171 +
test/CodeGen/XCore/fneg.ll | 4 +-
test/CodeGen/XCore/getid.ll | 6 +-
test/CodeGen/XCore/global_negative_offset.ll | 25 +
test/CodeGen/XCore/ladd_lsub_combine.ll | 2 +-
test/CodeGen/XCore/licm-ldwcp.ll | 2 +-
test/CodeGen/XCore/lit.local.cfg | 6 +
test/CodeGen/XCore/load.ll | 20 +-
test/CodeGen/XCore/log.ll | 16 -
test/CodeGen/XCore/log10.ll | 16 -
test/CodeGen/XCore/log2.ll | 16 -
test/CodeGen/XCore/pow.ll | 16 -
test/CodeGen/XCore/powi.ll | 16 -
test/CodeGen/XCore/private.ll | 12 +-
test/CodeGen/XCore/scavenging.ll | 48 +-
test/CodeGen/XCore/sin.ll | 16 -
test/CodeGen/XCore/sqrt.ll | 16 -
test/CodeGen/XCore/store.ll | 16 +-
test/CodeGen/XCore/trap.ll | 7 +-
test/CodeGen/XCore/unaligned_store_combine.ll | 7 +-
test/DebugInfo/2009-01-15-dbg_declare.ll | 16 -
test/DebugInfo/2010-04-25-CU-entry_pc.ll | 9 -
test/DebugInfo/2010-05-03-OriginDIE.ll | 4 +-
.../DebugInfo/2010-06-29-InlinedFnLocalVar.ll | 1 -
.../{ => X86}/2011-09-26-GlobalVarContext.ll | 22 +-
test/DebugInfo/X86/2011-12-16-BadStructRef.ll | 172 +
test/DebugInfo/X86/DW_AT_byte_size.ll | 45 +
test/DebugInfo/X86/DW_AT_specification.ll | 43 +
test/DebugInfo/X86/DW_TAG_friend.ll | 47 +
test/DebugInfo/X86/block-capture.ll | 127 +
test/DebugInfo/X86/concrete_out_of_line.ll | 96 +
test/DebugInfo/X86/dg.exp | 5 -
test/DebugInfo/X86/ending-run.ll | 49 +
test/DebugInfo/X86/lit.local.cfg | 5 +
test/DebugInfo/X86/low-pc-cu.ll | 31 +
test/DebugInfo/X86/objc-fwd-decl.ll | 27 +
test/DebugInfo/X86/pointer-type-size.ll | 25 +
test/DebugInfo/X86/pr11300.ll | 65 +
test/DebugInfo/X86/stringpool.ll | 44 +
test/DebugInfo/X86/struct-loc.ll | 26 +
test/DebugInfo/bug_null_debuginfo.ll | 6 +
test/DebugInfo/dg.exp | 3 -
test/DebugInfo/lit.local.cfg | 1 +
test/ExecutionEngine/2002-12-16-ArgTest.ll | 2 +-
.../ExecutionEngine/2003-01-04-ArgumentBug.ll | 2 +-
test/ExecutionEngine/2003-01-04-LoopTest.ll | 2 +-
test/ExecutionEngine/2003-01-04-PhiTest.ll | 2 +-
test/ExecutionEngine/2003-01-09-SARTest.ll | 2 +-
test/ExecutionEngine/2003-01-10-FUCOM.ll | 2 +-
.../2003-01-15-AlignmentTest.ll | 2 +-
.../2003-05-06-LivenessClobber.ll | 2 +-
.../2003-05-07-ArgumentTest.ll | 2 +-
.../2003-05-11-PHIRegAllocBug.ll | 2 +-
test/ExecutionEngine/2003-06-04-bzip2-bug.ll | 2 +-
test/ExecutionEngine/2003-06-05-PHIBug.ll | 2 +-
.../2003-08-15-AllocaAssertion.ll | 2 +-
.../2003-08-21-EnvironmentTest.ll | 2 +-
.../2003-08-23-RegisterAllocatePhysReg.ll | 2 +-
...8-PHINode-ConstantExpr-CondCode-Failure.ll | 2 +-
.../ExecutionEngine/2005-12-02-TailCallBug.ll | 2 +-
.../2007-12-10-APIntLoadStore.ll | 2 +-
.../2008-06-05-APInt-OverAShr.ll | 2 +-
test/ExecutionEngine/2010-01-15-UndefValue.ll | 2 +-
test/ExecutionEngine/dg.exp | 3 -
test/ExecutionEngine/fpbitcast.ll | 2 +-
test/ExecutionEngine/hello.ll | 2 +-
test/ExecutionEngine/hello2.ll | 2 +-
test/ExecutionEngine/lit.local.cfg | 1 +
test/ExecutionEngine/simplesttest.ll | 2 +-
test/ExecutionEngine/simpletest.ll | 2 +-
test/ExecutionEngine/stubs.ll | 2 +-
test/ExecutionEngine/test-arith.ll | 2 +-
test/ExecutionEngine/test-branch.ll | 2 +-
.../test-call-no-external-funcs.ll | 15 +
test/ExecutionEngine/test-call.ll | 2 +-
test/ExecutionEngine/test-cast.ll | 2 +-
test/ExecutionEngine/test-common-symbols.ll | 89 +
test/ExecutionEngine/test-constantexpr.ll | 2 +-
.../test-fp-no-external-funcs.ll | 21 +
test/ExecutionEngine/test-fp.ll | 2 +-
.../test-global-init-nonzero.ll | 35 +
test/ExecutionEngine/test-global.ll | 35 +
test/ExecutionEngine/test-loadstore.ll | 2 +-
test/ExecutionEngine/test-local.ll | 35 +
test/ExecutionEngine/test-logical.ll | 2 +-
test/ExecutionEngine/test-loop.ll | 2 +-
test/ExecutionEngine/test-phi.ll | 2 +-
test/ExecutionEngine/test-ret.ll | 2 +-
test/ExecutionEngine/test-return.ll | 8 +
test/ExecutionEngine/test-setcond-fp.ll | 2 +-
test/ExecutionEngine/test-setcond-int.ll | 2 +-
test/ExecutionEngine/test-shift.ll | 2 +-
test/Feature/const_pv.ll | 8 +
test/Feature/dg.exp | 3 -
test/Feature/float.ll | 1 +
test/Feature/global_pv.ll | 14 +
test/Feature/intrinsics.ll | 34 +-
test/Feature/lit.local.cfg | 1 +
test/Feature/llvm2cpp.exp | 3 -
.../AddressSanitizer/X86/bug_11395.ll | 71 +
.../AddressSanitizer/X86/lit.local.cfg | 13 +
.../AddressSanitizer/asan-vs-gvn.ll | 56 +
.../do-not-touch-odr-global.ll | 6 +
.../do-not-touch-threadlocal.ll | 6 +
.../AddressSanitizer/instrument-no-return.ll | 17 +
.../AddressSanitizer/instrument_global.ll | 20 +
.../instrument_load_then_store.ll | 25 +
.../AddressSanitizer/lit.local.cfg | 1 +
.../AddressSanitizer/test64.ll | 14 +
.../ThreadSanitizer/lit.local.cfg | 1 +
.../ThreadSanitizer/read_before_write.ll | 32 +
.../ThreadSanitizer/read_from_global.ll | 61 +
.../ThreadSanitizer/tsan_basic.ll | 22 +
.../ThreadSanitizer/vptr_update.ll | 13 +
test/Integer/dg.exp | 3 -
test/Integer/lit.local.cfg | 1 +
test/Linker/2004-05-07-TypeResolution1.ll | 2 +-
test/Linker/2004-05-07-TypeResolution2.ll | 2 +-
test/Linker/2011-08-18-unique-debug-type.ll | 2 +-
test/Linker/dg.exp | 3 -
test/Linker/link-type-names.ll | 10 +
test/Linker/lit.local.cfg | 1 +
test/Linker/module-flags-1-a.ll | 16 +
test/Linker/module-flags-1-b.ll | 8 +
test/Linker/module-flags-2-a.ll | 10 +
test/Linker/module-flags-2-b.ll | 6 +
test/Linker/module-flags-3-a.ll | 14 +
test/Linker/module-flags-3-b.ll | 8 +
test/Linker/module-flags-4-a.ll | 10 +
test/Linker/module-flags-4-b.ll | 8 +
test/Linker/module-flags-5-a.ll | 9 +
test/Linker/module-flags-5-b.ll | 6 +
test/Linker/module-flags-6-a.ll | 9 +
test/Linker/module-flags-6-b.ll | 6 +
test/Linker/multiple-merged-structs.ll | 19 +
test/Linker/visibility1.ll | 46 +
test/Linker/visibility2.ll | 27 +
test/MC/ARM/arm-aliases.s | 17 +
test/MC/ARM/arm-it-block.s | 11 +
test/MC/ARM/arm-memory-instructions.s | 7 +-
test/MC/ARM/arm_fixups.s | 2 +-
test/MC/ARM/basic-arm-instructions.s | 110 +-
test/MC/ARM/basic-thumb-instructions.s | 24 +
test/MC/ARM/basic-thumb2-instructions.s | 195 +-
test/MC/ARM/cxx-global-constructor.ll | 12 +
test/MC/ARM/dg.exp | 5 -
test/MC/ARM/diagnostics.s | 2 +-
test/MC/ARM/dot-req.s | 11 +
test/MC/ARM/elf-reloc-01.ll | 12 +-
test/MC/ARM/elf-reloc-condcall.s | 23 +
test/MC/ARM/elf-thumbfunc-reloc.s | 23 +
test/MC/ARM/lit.local.cfg | 6 +
test/MC/ARM/mode-switch.s | 11 +
test/MC/ARM/neon-add-encoding.s | 114 +-
test/MC/ARM/neon-bitwise-encoding.s | 218 +-
test/MC/ARM/neon-cmp-encoding.s | 63 +
test/MC/ARM/neon-minmax-encoding.s | 176 +-
test/MC/ARM/neon-mov-encoding.s | 17 +-
test/MC/ARM/neon-mul-accum-encoding.s | 92 +-
test/MC/ARM/neon-mul-encoding.s | 214 +-
test/MC/ARM/neon-pairwise-encoding.s | 10 +
test/MC/ARM/neon-shift-encoding.s | 444 +-
test/MC/ARM/neon-shiftaccum-encoding.s | 98 -
test/MC/ARM/neon-shuffle-encoding.s | 134 +-
test/MC/ARM/neon-sub-encoding.s | 46 +-
test/MC/ARM/neon-table-encoding.s | 21 +-
test/MC/ARM/neon-vld-encoding.s | 504 +-
test/MC/ARM/neon-vst-encoding.s | 351 +-
test/MC/ARM/neon-vswp.s | 7 +
test/MC/ARM/neont2-minmax-encoding.s | 176 +-
test/MC/ARM/neont2-mov-encoding.s | 128 +-
test/MC/ARM/neont2-mul-accum-encoding.s | 16 +
test/MC/ARM/neont2-mul-encoding.s | 74 +-
test/MC/ARM/neont2-table-encoding.s | 21 +-
test/MC/ARM/neont2-vst-encoding.s | 4 +
test/MC/ARM/pr11877.s | 6 +
test/MC/ARM/prefetch.ll | 58 -
test/MC/ARM/simple-fp-encoding.s | 158 +-
test/MC/ARM/thumb-diagnostics.s | 8 +-
test/MC/ARM/vfp4.s | 50 +
test/MC/ARM/vpush-vpop.s | 15 +
test/MC/AsmParser/2011-09-06-NoNewline.s | 7 -
test/MC/AsmParser/cfi-unfinished-frame.s | 5 +
test/MC/AsmParser/dg.exp | 5 -
test/MC/AsmParser/directive_file-errors.s | 9 +
test/MC/AsmParser/directive_file.s | 3 +-
test/MC/AsmParser/directive_incbin.s | 6 +
test/MC/AsmParser/incbin_abcd | 1 +
test/MC/AsmParser/lit.local.cfg | 6 +
test/MC/AsmParser/macro-args.s | 10 +
test/MC/AsmParser/pr11865.s | 6 +
test/MC/AsmParser/variables-invalid.s | 13 +-
test/MC/COFF/dg.exp | 5 -
test/MC/COFF/global_ctors.ll | 28 +
test/MC/COFF/lit.local.cfg | 6 +
test/MC/COFF/secrel32.s | 14 +
test/MC/COFF/symbol-mangling.ll | 17 +
test/MC/Disassembler/ARM/arm-tests.txt | 8 +-
test/MC/Disassembler/ARM/dg.exp | 6 -
test/MC/Disassembler/ARM/fp-encoding.txt | 32 +-
.../MC/Disassembler/ARM/invalid-CPS3p-arm.txt | 2 +-
test/MC/Disassembler/ARM/invalid-IT-CC15.txt | 18 +
test/MC/Disassembler/ARM/invalid-LDRT-arm.txt | 12 -
.../ARM/invalid-VST1d8Twb_register-thumb.txt | 13 +
test/MC/Disassembler/ARM/ldrd-armv4.txt | 15 +
test/MC/Disassembler/ARM/lit.local.cfg | 6 +
test/MC/Disassembler/ARM/neon-tests.txt | 6 +-
test/MC/Disassembler/ARM/neon.txt | 407 +-
test/MC/Disassembler/ARM/neont2.txt | 396 +-
.../ARM/unpredictable-ADC-arm.txt | 17 +
.../ARM/unpredictable-ADDREXT3-arm.txt | 16 +
.../ARM/unpredictable-LDR-arm.txt | 22 +
...DRD-arm.txt => unpredictable-LDRD-arm.txt} | 5 +-
...form.txt => unpredictable-LSL-regform.txt} | 4 +-
.../ARM/unpredictable-MUL-arm.txt | 17 +
...-RSC-arm.txt => unpredictable-RSC-arm.txt} | 4 +-
.../ARM/unpredictable-SHADD16-arm.txt | 7 +
...SAT-arm.txt => unpredictable-SSAT-arm.txt} | 4 +-
...s-arm.txt => unpredictable-STRBrs-arm.txt} | 4 +-
...8-arm.txt => unpredictable-UQADD8-arm.txt} | 6 +-
.../Disassembler/ARM/unpredictables-thumb.txt | 5 +
test/MC/Disassembler/ARM/vfp4.txt | 37 +
test/MC/Disassembler/MBlaze/dg.exp | 6 -
test/MC/Disassembler/MBlaze/lit.local.cfg | 6 +
test/MC/Disassembler/MBlaze/mblaze_mbar.txt | 14 +
.../MC/Disassembler/MBlaze/mblaze_pattern.txt | 3 +
test/MC/Disassembler/X86/dg.exp | 6 -
test/MC/Disassembler/X86/intel-syntax.txt | 28 +
test/MC/Disassembler/X86/invalid-cmp-imm.txt | 10 +
test/MC/Disassembler/X86/lit.local.cfg | 6 +
test/MC/Disassembler/X86/simple-tests.txt | 211 +
test/MC/Disassembler/X86/x86-32.txt | 117 +
test/MC/Disassembler/X86/x86-64.txt | 63 +
test/MC/ELF/cfi-escape.s | 42 +
test/MC/ELF/cfi-restore.s | 42 +
test/MC/ELF/cfi-signal-frame.s | 23 +
test/MC/ELF/dg.exp | 5 -
test/MC/ELF/gen-dwarf.s | 70 +
test/MC/ELF/global-offset.s | 6 +-
test/MC/ELF/lit.local.cfg | 6 +
test/MC/ELF/many-section.s | 2 +-
test/MC/ELF/relocation-386.s | 14 +
test/MC/ELF/tls-i386.s | 71 +
test/MC/ELF/tls.s | 33 +-
test/MC/ELF/type.s | 14 +
test/MC/MBlaze/dg.exp | 5 -
test/MC/MBlaze/lit.local.cfg | 6 +
test/MC/{ => MachO}/ARM/darwin-ARM-reloc.s | 8 +-
test/MC/{ => MachO}/ARM/darwin-Thumb-reloc.s | 0
test/MC/MachO/ARM/empty-function-nop.ll | 15 +
test/MC/MachO/ARM/lit.local.cfg | 6 +
test/MC/MachO/ARM/no-subsections-reloc.s | 18 +
test/MC/{ => MachO}/ARM/nop-armv4-padding.s | 0
test/MC/{ => MachO}/ARM/nop-armv6t2-padding.s | 2 +-
test/MC/{ => MachO}/ARM/nop-thumb-padding.s | 0
test/MC/{ => MachO}/ARM/nop-thumb2-padding.s | 0
test/MC/MachO/ARM/relax-thumb-ldr-literal.s | 13 +
test/MC/MachO/ARM/relax-thumb2-branches.s | 14 +
test/MC/MachO/ARM/static-movt-relocs.s | 23 +
.../MachO/ARM/thumb2-function-relative-load.s | 13 +
test/MC/{ => MachO}/ARM/thumb2-movt-fixup.s | 0
.../MachO/darwin-x86_64-diff-reloc-assign.s | 27 +
test/MC/MachO/dg.exp | 6 -
test/MC/MachO/file.s | 22 +
test/MC/MachO/gen-dwarf.s | 122 +
test/MC/MachO/lit.local.cfg | 6 +
test/MC/MachO/reloc-pcrel-offset.s | 3 +
test/MC/MachO/reloc-pcrel.s | 13 +-
test/MC/Mips/elf-bigendian.ll | 45 +
test/MC/Mips/elf-relsym.ll | 29 +
test/MC/Mips/elf-tls.ll | 36 +
test/MC/Mips/elf_basic.s | 32 +
test/MC/Mips/lit.local.cfg | 6 +
test/MC/Mips/pr11877.s | 6 +
test/MC/X86/2011-09-06-NoNewline.s | 3 +
test/MC/X86/address-size.s | 13 +
test/MC/X86/dg.exp | 5 -
test/MC/X86/intel-syntax-2.s | 7 +
test/MC/X86/intel-syntax-encoding.s | 57 +
test/MC/X86/intel-syntax.s | 66 +
test/MC/X86/lit.local.cfg | 12 +
test/MC/X86/x86-32-coverage.s | 34 +
test/MC/X86/x86-32.s | 44 +-
test/MC/X86/x86-64.s | 49 +-
test/MC/X86/x86_64-avx-encoding.s | 775 +
test/MC/X86/x86_64-bmi-encoding.s | 202 +
test/MC/X86/x86_64-fma4-encoding.s | 391 +
test/MC/X86/x86_64-xop-encoding.s | 584 +
test/MC/X86/x86_errors.s | 13 +
test/Makefile | 21 +-
.../archive-test.a-coff-i386 | Bin
test/Object/Inputs/elf-versioning-test.i386 | Bin 0 -> 4832 bytes
test/Object/Inputs/elf-versioning-test.x86_64 | Bin 0 -> 5200 bytes
test/Object/Inputs/elfver.S | 31 +
test/Object/Inputs/elfver.script | 10 +
.../Object/Inputs/shared-object-test.elf-i386 | Bin 0 -> 1848 bytes
.../Inputs/shared-object-test.elf-x86-64 | Bin 0 -> 2760 bytes
test/Object/Inputs/shared.ll | 33 +
.../trivial-object-test.coff-i386 | Bin
.../trivial-object-test.coff-x86-64 | Bin
.../trivial-object-test.elf-i386 | Bin
.../trivial-object-test.elf-x86-64 | Bin
.../trivial-object-test.macho-i386 | Bin
.../trivial-object-test.macho-x86-64 | Bin
test/Object/Inputs/trivial.ll | 12 +
.../TestObjectFiles/archive-test.a-bitcode | Bin 790 -> 0 bytes
test/Object/X86/lit.local.cfg | 6 +
...bjdump-disassembly-inline-relocations.test | 4 +-
.../{ => X86}/objdump-trivial-object.test | 8 +-
test/Object/dg.exp | 3 -
test/Object/lit.local.cfg | 1 +
test/Object/nm-archive.test | 7 +-
test/Object/nm-shared-object.test | 15 +
test/Object/nm-trivial-object.test | 22 +-
test/Object/objdump-file-header.test | 18 +
test/Object/objdump-relocations.test | 8 +-
test/Object/objdump-section-content.test | 20 +
test/Object/objdump-sectionheaders.test | 2 +-
test/Object/objdump-symbol-table.test | 33 +
test/Object/readobj-elf-versioning.test | 15 +
test/Object/readobj-shared-object.test | 59 +
test/Other/2009-03-31-CallGraph.ll | 3 +
test/Other/X86/dg.exp | 5 -
test/Other/X86/lit.local.cfg | 6 +
test/Other/constant-fold-gep.ll | 7 +-
test/Other/dg.exp | 3 -
test/Other/lint.ll | 2 +-
test/Other/lit.local.cfg | 1 +
test/TableGen/Dag.td | 2 +
test/TableGen/ForeachList.td | 76 +
test/TableGen/ForeachLoop.td | 43 +
test/TableGen/NestedForeach.td | 74 +
test/TableGen/Paste.td | 36 +
test/TableGen/SetTheory.td | 7 +
test/TableGen/SiblingForeach.td | 277 +
test/TableGen/TwoLevelName.td | 46 +
test/TableGen/dg.exp | 3 -
test/TableGen/foreach.td | 2 +-
test/TableGen/lit.local.cfg | 1 +
test/Transforms/ADCE/dg.exp | 3 -
test/Transforms/ADCE/lit.local.cfg | 1 +
test/Transforms/ArgumentPromotion/dg.exp | 3 -
.../ArgumentPromotion/lit.local.cfg | 1 +
test/Transforms/BBVectorize/cycle.ll | 112 +
test/Transforms/BBVectorize/func-alias.ll | 244 +
test/Transforms/BBVectorize/ld1.ll | 41 +
test/Transforms/BBVectorize/lit.local.cfg | 1 +
test/Transforms/BBVectorize/loop1.ll | 93 +
test/Transforms/BBVectorize/mem-op-depth.ll | 22 +
test/Transforms/BBVectorize/req-depth.ll | 17 +
test/Transforms/BBVectorize/search-limit.ll | 46 +
test/Transforms/BBVectorize/simple-int.ll | 103 +
test/Transforms/BBVectorize/simple-ldstr.ll | 110 +
test/Transforms/BBVectorize/simple.ll | 152 +
test/Transforms/BlockPlacement/dg.exp | 3 -
test/Transforms/BlockPlacement/lit.local.cfg | 1 +
test/Transforms/CodeExtractor/dg.exp | 3 -
test/Transforms/CodeExtractor/lit.local.cfg | 1 +
test/Transforms/CodeGenPrepare/dg.exp | 3 -
test/Transforms/CodeGenPrepare/lit.local.cfg | 1 +
test/Transforms/ConstProp/2007-11-23-cttz.ll | 4 +-
test/Transforms/ConstProp/basictest.ll | 11 +
test/Transforms/ConstProp/bswap.ll | 18 +-
test/Transforms/ConstProp/calls.ll | 88 +
test/Transforms/ConstProp/dg.exp | 3 -
test/Transforms/ConstProp/lit.local.cfg | 1 +
test/Transforms/ConstantMerge/dg.exp | 3 -
.../ConstantMerge/linker-private.ll | 23 +
test/Transforms/ConstantMerge/lit.local.cfg | 1 +
.../CorrelatedValuePropagation/basic.ll | 101 +-
.../CorrelatedValuePropagation/dg.exp | 3 -
.../CorrelatedValuePropagation/lit.local.cfg | 1 +
.../CorrelatedValuePropagation/range.ll | 43 +
test/Transforms/DeadArgElim/deadexternal.ll | 4 +-
test/Transforms/DeadArgElim/dg.exp | 3 -
test/Transforms/DeadArgElim/lit.local.cfg | 1 +
.../DeadStoreElimination/OverwriteStoreEnd.ll | 95 +
test/Transforms/DeadStoreElimination/dg.exp | 3 -
.../DeadStoreElimination/dominate.ll | 25 +
test/Transforms/DeadStoreElimination/free.ll | 36 +-
.../DeadStoreElimination/lit.local.cfg | 1 +
.../DeadStoreElimination/pr11390.ll | 38 +
.../Transforms/DeadStoreElimination/simple.ll | 7 +
test/Transforms/EarlyCSE/basic.ll | 10 +-
test/Transforms/EarlyCSE/dg.exp | 3 -
test/Transforms/EarlyCSE/instsimplify-dom.ll | 19 +
test/Transforms/EarlyCSE/lit.local.cfg | 1 +
.../FunctionAttrs/2008-09-13-VolatileRead.ll | 2 +-
.../FunctionAttrs/2010-10-30-volatile.ll | 2 +-
test/Transforms/FunctionAttrs/dg.exp | 3 -
test/Transforms/FunctionAttrs/lit.local.cfg | 1 +
.../{2008-12-31-NoCapture.ll => nocapture.ll} | 77 +-
test/Transforms/GVN/commute.ll | 23 +
test/Transforms/GVN/condprop.ll | 157 +-
test/Transforms/GVN/dg.exp | 3 -
test/Transforms/GVN/lit.local.cfg | 1 +
test/Transforms/GVN/pre-compare.ll | 68 +
test/Transforms/GVN/rle.ll | 34 +
.../Transforms/GlobalDCE/2009-09-03-MDNode.ll | 264 -
test/Transforms/GlobalDCE/dg.exp | 3 -
test/Transforms/GlobalDCE/lit.local.cfg | 1 +
.../GlobalOpt/2008-01-29-VolatileGlobal.ll | 2 +-
.../GlobalOpt/2008-02-16-NestAttr.ll | 57 -
test/Transforms/GlobalOpt/atomic.ll | 10 +
.../GlobalOpt/constantfold-initializers.ll | 43 +
.../GlobalOpt/ctor-list-opt-constexpr.ll | 19 +-
test/Transforms/GlobalOpt/cxx-dtor.ll | 6 +-
test/Transforms/GlobalOpt/deadfunction.ll | 27 +
test/Transforms/GlobalOpt/dg.exp | 3 -
test/Transforms/GlobalOpt/invariant.ll | 59 +
test/Transforms/GlobalOpt/invoke.ll | 27 +
test/Transforms/GlobalOpt/lit.local.cfg | 1 +
.../GlobalOpt/zeroinitializer-gep-load.ll | 11 +
.../IPConstantProp/dangling-block-address.ll | 2 +-
test/Transforms/IPConstantProp/dg.exp | 3 -
test/Transforms/IPConstantProp/lit.local.cfg | 1 +
.../IndVarSimplify/2011-09-10-widen-nsw.ll | 4 +-
.../IndVarSimplify/2011-10-27-lftrnull.ll | 59 +
.../IndVarSimplify/2011-11-01-lftrptr.ll | 140 +
.../IndVarSimplify/2011-11-15-multiexit.ll | 40 +
.../IndVarSimplify/2011-11-17-selfphi.ll | 29 +
test/Transforms/IndVarSimplify/ada-loops.ll | 1 -
test/Transforms/IndVarSimplify/avoid-i0.ll | 2 +-
.../Transforms/IndVarSimplify/complex-scev.ll | 31 -
test/Transforms/IndVarSimplify/dg.exp | 3 -
test/Transforms/IndVarSimplify/elim-extend.ll | 2 +-
.../IndVarSimplify/gep-with-mul-base.ll | 68 -
test/Transforms/IndVarSimplify/iv-fold.ll | 2 +-
test/Transforms/IndVarSimplify/iv-zext.ll | 1 -
test/Transforms/IndVarSimplify/lftr-reuse.ll | 2 +-
test/Transforms/IndVarSimplify/lit.local.cfg | 1 +
.../IndVarSimplify/loop_evaluate10.ll | 8 +-
.../IndVarSimplify/loop_evaluate9.ll | 7 +-
.../IndVarSimplify/no-iv-rewrite.ll | 6 +-
.../IndVarSimplify/preserve-gep-nested.ll | 76 -
.../IndVarSimplify/preserve-gep-remainder.ll | 20 -
.../Transforms/IndVarSimplify/preserve-gep.ll | 39 -
.../IndVarSimplify/preserve-signed-wrap.ll | 1 -
test/Transforms/IndVarSimplify/sink-alloca.ll | 47 +-
.../IndVarSimplify/variable-stride-ivs-0.ll | 1 -
test/Transforms/Inline/2007-06-06-NoInline.ll | 46 -
.../Inline/2008-09-02-AlwaysInline.ll | 10 -
.../Inline/2008-10-30-AlwaysInline.ll | 14 -
.../Inline/2008-11-04-AlwaysInline.ll | 7 -
test/Transforms/Inline/alloca-bonus.ll | 155 +
test/Transforms/Inline/always-inline.ll | 125 +
.../Inline/always_inline_dyn_alloca.ll | 15 -
test/Transforms/Inline/blockaddress.ll | 27 +
test/Transforms/Inline/dg.exp | 3 -
test/Transforms/Inline/dynamic_alloca_test.ll | 48 +-
test/Transforms/Inline/inline-invoke-tail.ll | 8 +-
test/Transforms/Inline/inline_cleanup.ll | 158 +-
test/Transforms/Inline/inline_constprop.ll | 116 +-
.../Transforms/Inline/inline_returns_twice.ll | 41 +
test/Transforms/Inline/lit.local.cfg | 1 +
.../Inline/noinline-recursive-fn.ll | 43 +-
test/Transforms/Inline/ptr-diff.ll | 58 +
.../2003-09-09-VolatileLoadElim.ll | 2 +-
.../InstCombine/2007-09-11-Trampoline.ll | 24 -
.../InstCombine/2007-10-28-stacksave.ll | 2 +-
.../InstCombine/2008-01-14-DoubleNest.ll | 24 -
.../InstCombine/2008-04-28-VolatileStore.ll | 2 +-
.../2008-04-29-VolatileLoadDontMerge.ll | 6 +-
.../2008-04-29-VolatileLoadMerge.ll | 4 +-
.../InstCombine/2008-06-24-StackRestore.ll | 4 +-
.../2008-07-08-VolatileLoadMerge.ll | 6 +-
.../2012-01-11-OpaqueBitcastCrash.ll | 12 +
.../Transforms/InstCombine/2012-02-13-FCmp.ll | 35 +
.../Transforms/InstCombine/2012-02-28-ICmp.ll | 19 +
.../InstCombine/2012-03-10-InstCombine.ll | 35 +
.../InstCombine/2012-3-15-or-xor-constant.ll | 12 +
.../InstCombine/LandingPadClauses.ll | 52 +
test/Transforms/InstCombine/align-external.ll | 13 +-
test/Transforms/InstCombine/alloca.ll | 44 +
.../Transforms/InstCombine/apint-shl-trunc.ll | 15 +-
test/Transforms/InstCombine/bitcount.ll | 8 +-
.../InstCombine/constant-fold-gep.ll | 6 +-
test/Transforms/InstCombine/crash.ll | 15 +-
test/Transforms/InstCombine/dg.exp | 3 -
test/Transforms/InstCombine/extractvalue.ll | 6 +-
.../Transforms/InstCombine/fold-sqrt-sqrtf.ll | 17 +
test/Transforms/InstCombine/icmp.ll | 84 +-
test/Transforms/InstCombine/intrinsics.ll | 46 +-
test/Transforms/InstCombine/lit.local.cfg | 1 +
test/Transforms/InstCombine/mul.ll | 80 +-
test/Transforms/InstCombine/overflow.ll | 22 +
test/Transforms/InstCombine/pr12251.ll | 15 +
test/Transforms/InstCombine/select.ll | 20 +
test/Transforms/InstCombine/sext.ll | 8 +-
test/Transforms/InstCombine/shift.ll | 72 +
.../InstCombine/sign-test-and-or.ll | 100 +
test/Transforms/InstCombine/sub-xor.ll | 37 +
test/Transforms/InstCombine/sub.ll | 26 +
test/Transforms/InstCombine/vec_shuffle.ll | 46 +
test/Transforms/InstCombine/vector_gep1.ll | 37 +
test/Transforms/InstCombine/volatile_store.ll | 4 +-
.../InstSimplify/2011-10-27-BinOpCrash.ll | 12 +
.../2011-11-23-MaskedBitsCrash.ll | 17 +
test/Transforms/InstSimplify/AndOrXor.ll | 22 +
test/Transforms/InstSimplify/compare.ll | 275 +
test/Transforms/InstSimplify/dg.exp | 3 -
test/Transforms/InstSimplify/lit.local.cfg | 1 +
test/Transforms/InstSimplify/phi.ll | 22 +
test/Transforms/InstSimplify/ptr_diff.ll | 48 +
test/Transforms/InstSimplify/reassociate.ll | 9 +
test/Transforms/InstSimplify/undef.ll | 28 +
test/Transforms/InstSimplify/vector_gep.ll | 8 +
test/Transforms/Internalize/dg.exp | 3 -
test/Transforms/Internalize/lit.local.cfg | 1 +
.../JumpThreading/2011-04-14-InfLoop.ll | 2 +-
test/Transforms/JumpThreading/crash.ll | 2 +-
test/Transforms/JumpThreading/dg.exp | 3 -
test/Transforms/JumpThreading/lit.local.cfg | 1 +
.../JumpThreading/no-irreducible-loops.ll | 4 +-
test/Transforms/JumpThreading/thread-loads.ll | 48 +-
test/Transforms/LCSSA/dg.exp | 3 -
test/Transforms/LCSSA/lit.local.cfg | 1 +
.../LICM/2007-05-22-VolatileSink.ll | 4 +-
.../LICM/2011-04-06-HoistMissedASTUpdate.ll | 2 +-
test/Transforms/LICM/crash.ll | 2 +-
test/Transforms/LICM/dg.exp | 3 -
test/Transforms/LICM/hoist-invariant-load.ll | 39 +
test/Transforms/LICM/lit.local.cfg | 1 +
test/Transforms/LICM/scalar_promote.ll | 4 +-
test/Transforms/LICM/speculate.ll | 167 +
test/Transforms/LoopDeletion/dg.exp | 3 -
test/Transforms/LoopDeletion/lit.local.cfg | 1 +
test/Transforms/LoopIdiom/dg.exp | 3 -
test/Transforms/LoopIdiom/lit.local.cfg | 1 +
test/Transforms/LoopRotate/alloca.ll | 33 +
test/Transforms/LoopRotate/dbgvalue.ll | 48 +-
test/Transforms/LoopRotate/dg.exp | 3 -
test/Transforms/LoopRotate/lit.local.cfg | 1 +
test/Transforms/LoopRotate/simplifylatch.ll | 39 +
.../2011-12-14-LandingpadHeader.ll | 45 +
.../LoopSimplify/2012-03-20-indirectbr.ll | 41 +
test/Transforms/LoopSimplify/dg.exp | 3 -
test/Transforms/LoopSimplify/lit.local.cfg | 1 +
.../2008-08-13-CmpStride.ll | 4 +-
.../2011-12-19-PostincQuadratic.ll | 39 +
.../2012-01-02-nopreheader.ll | 88 +
.../2012-01-16-nopreheader.ll | 113 +
.../2012-03-15-nopreheader.ll | 155 +
.../2012-03-26-constexpr.ll | 49 +
.../LoopStrengthReduce/ARM/ivchain-ARM.ll | 292 +
.../LoopStrengthReduce/ARM/lit.local.cfg | 6 +
.../X86/2011-11-29-postincphi.ll | 36 +
.../X86/2011-12-04-loserreg.ll | 96 +
.../X86/2012-01-13-phielim.ll | 92 +
test/Transforms/LoopStrengthReduce/X86/dg.exp | 5 -
.../LoopStrengthReduce/X86/ivchain-X86.ll | 300 +
.../X86/ivchain-stress-X86.ll | 96 +
.../LoopStrengthReduce/X86/lit.local.cfg | 6 +
.../addrec-gep.ll | 12 +-
test/Transforms/LoopStrengthReduce/dg.exp | 3 -
.../LoopStrengthReduce/dominate-assert.ll | 70 +
.../exit_compare_live_range.ll | 2 +-
test/Transforms/LoopStrengthReduce/ivchain.ll | 43 +
.../LoopStrengthReduce/lit.local.cfg | 1 +
.../LoopStrengthReduce/post-inc-icmpzero.ll | 10 +-
test/Transforms/LoopStrengthReduce/pr12018.ll | 38 +
test/Transforms/LoopStrengthReduce/pr12048.ll | 38 +
test/Transforms/LoopStrengthReduce/pr3399.ll | 2 +-
.../preserve-gep-loop-variant.ll | 2 +-
.../LoopUnroll/2011-08-09-IVSimplify.ll | 2 +-
.../2012-04-09-unroll-indirectbr.ll | 40 +
test/Transforms/LoopUnroll/dg.exp | 3 -
test/Transforms/LoopUnroll/lit.local.cfg | 1 +
.../LoopUnroll/partial-unroll-optsize.ll | 35 +
test/Transforms/LoopUnroll/pr11361.ll | 42 +
test/Transforms/LoopUnroll/runtime-loop.ll | 109 +
test/Transforms/LoopUnroll/runtime-loop1.ll | 30 +
test/Transforms/LoopUnroll/runtime-loop2.ll | 31 +
test/Transforms/LoopUnroll/runtime-loop3.ll | 44 +
test/Transforms/LoopUnroll/unloop.ll | 41 +
.../LoopUnswitch/2011-11-18-SimpleSwitch.ll | 91 +
.../2011-11-18-TwoSwitches-Threshold.ll | 84 +
.../LoopUnswitch/2011-11-18-TwoSwitches.ll | 138 +
.../LoopUnswitch/2012-04-02-IndirectBr.ll | 41 +
test/Transforms/LoopUnswitch/dg.exp | 3 -
test/Transforms/LoopUnswitch/lit.local.cfg | 1 +
test/Transforms/LowerAtomic/dg.exp | 3 -
test/Transforms/LowerAtomic/lit.local.cfg | 1 +
test/Transforms/LowerExpectIntrinsic/dg.exp | 3 -
.../LowerExpectIntrinsic/lit.local.cfg | 1 +
test/Transforms/LowerInvoke/dg.exp | 3 -
test/Transforms/LowerInvoke/lit.local.cfg | 1 +
test/Transforms/LowerSwitch/dg.exp | 3 -
test/Transforms/LowerSwitch/lit.local.cfg | 1 +
.../Mem2Reg/2007-08-27-VolatileLoadsStores.ll | 8 +-
test/Transforms/Mem2Reg/dg.exp | 3 -
test/Transforms/Mem2Reg/lit.local.cfg | 1 +
test/Transforms/MemCpyOpt/dg.exp | 3 -
test/Transforms/MemCpyOpt/form-memset.ll | 30 +-
test/Transforms/MemCpyOpt/lit.local.cfg | 1 +
test/Transforms/MemCpyOpt/memcpy.ll | 20 +-
.../MergeFunc/2011-02-08-RemoveEqual.ll | 20 +-
test/Transforms/MergeFunc/dg.exp | 3 -
test/Transforms/MergeFunc/lit.local.cfg | 1 +
test/Transforms/ObjCARC/apelim.ll | 53 +
test/Transforms/ObjCARC/basic.ll | 216 +-
.../ObjCARC/contract-storestrong-ivar.ll | 2 +-
.../ObjCARC/contract-storestrong.ll | 6 +-
test/Transforms/ObjCARC/contract.ll | 18 +
test/Transforms/ObjCARC/dg.exp | 3 -
test/Transforms/ObjCARC/invoke.ll | 145 +
test/Transforms/ObjCARC/lit.local.cfg | 1 +
test/Transforms/ObjCARC/nested.ll | 141 +-
.../ObjCARC/no-objc-arc-exceptions.ll | 122 +
test/Transforms/ObjCARC/pointer-types.ll | 31 +
test/Transforms/ObjCARC/pr12270.ll | 21 +
.../Transforms/ObjCARC/retain-block-alloca.ll | 46 +-
test/Transforms/ObjCARC/retain-block-load.ll | 51 +
test/Transforms/ObjCARC/retain-block.ll | 138 +
.../Transforms/ObjCARC/retain-not-declared.ll | 2 +-
test/Transforms/PhaseOrdering/dg.exp | 3 -
test/Transforms/PhaseOrdering/lit.local.cfg | 1 +
test/Transforms/PruneEH/dg.exp | 3 -
test/Transforms/PruneEH/lit.local.cfg | 1 +
test/Transforms/Reassociate/dg.exp | 3 -
test/Transforms/Reassociate/lit.local.cfg | 1 +
.../SCCP/2008-05-23-UndefCallFold.ll | 4 +-
.../SCCP/2009-01-14-IPSCCP-Invoke.ll | 4 -
test/Transforms/SCCP/dg.exp | 3 -
test/Transforms/SCCP/lit.local.cfg | 1 +
test/Transforms/SCCP/phitest.ll | 20 -
.../ScalarRepl/2009-03-05-Aggre2Scalar-dbg.ll | 184 -
.../ScalarRepl/2011-10-22-VectorCrash.ll | 19 +
.../ScalarRepl/2011-11-11-EmptyStruct.ll | 26 +
test/Transforms/ScalarRepl/debuginfo.ll | 107 -
test/Transforms/ScalarRepl/dg.exp | 3 -
test/Transforms/ScalarRepl/lit.local.cfg | 1 +
test/Transforms/ScalarRepl/negative-memset.ll | 20 +
test/Transforms/ScalarRepl/phi-cycle.ll | 77 +
test/Transforms/ScalarRepl/volatile.ll | 4 +-
...01-19-UnconditionalTrappingConstantExpr.ll | 12 +-
.../2010-10-24-OnlyUnwindInEntry.ll | 6 -
.../Transforms/SimplifyCFG/SpeculativeExec.ll | 31 +-
.../SimplifyCFG/branch-branch-dbginfo.ll | 70 -
test/Transforms/SimplifyCFG/branch-fold.ll | 16 +-
.../Transforms/SimplifyCFG/branch_fold_dbg.ll | 122 -
test/Transforms/SimplifyCFG/dg.exp | 3 -
.../SimplifyCFG/hoist-common-code.dbg.ll | 33 -
test/Transforms/SimplifyCFG/lit.local.cfg | 1 +
test/Transforms/SimplifyCFG/multiple-phis.ll | 39 +
.../SimplifyCFG/preserve-branchweights.ll | 88 +
test/Transforms/SimplifyCFG/select-gep.ll | 4 +-
.../SimplifyCFG/switch-masked-bits.ll | 4 +-
.../SimplifyCFG/switch-on-const-select.ll | 2 +-
.../SimplifyCFG/switch_formation.dbg.ll | 50 -
.../SimplifyCFG/switch_switch_fold_dbginfo.ll | 116 -
.../SimplifyCFG/two-entry-phi-return.dbg.ll | 28 -
.../SimplifyCFG/unreachable-blocks.ll | 28 +
test/Transforms/SimplifyLibCalls/PR7357.ll | 2 +-
test/Transforms/SimplifyLibCalls/Printf.ll | 5 +-
test/Transforms/SimplifyLibCalls/StrLen.ll | 6 +
test/Transforms/SimplifyLibCalls/cos.ll | 14 +
test/Transforms/SimplifyLibCalls/dg.exp | 3 -
test/Transforms/SimplifyLibCalls/fwrite.ll | 13 +
.../Transforms/SimplifyLibCalls/lit.local.cfg | 1 +
test/Transforms/SimplifyLibCalls/osx-names.ll | 30 +
test/Transforms/Sink/basic.ll | 2 +-
test/Transforms/Sink/dg.exp | 3 -
test/Transforms/Sink/lit.local.cfg | 1 +
test/Transforms/StripSymbols/dg.exp | 3 -
test/Transforms/StripSymbols/lit.local.cfg | 1 +
test/Transforms/TailCallElim/dg.exp | 3 -
.../TailCallElim/dont_reorder_load.ll | 4 +-
test/Transforms/TailCallElim/lit.local.cfg | 1 +
test/Transforms/TailCallElim/setjmp.ll | 2 +-
test/Transforms/TailDup/X86/dg.exp | 5 -
test/Transforms/TailDup/X86/lit.local.cfg | 6 +
test/Transforms/TailDup/dg.exp | 3 -
test/Transforms/TailDup/lit.local.cfg | 5 +
test/Unit/lit.site.cfg.in | 1 -
test/Verifier/cttz-undef-arg.ll | 16 +
test/Verifier/dg.exp | 3 -
test/Verifier/fpaccuracy.ll | 31 +
test/Verifier/lit.local.cfg | 1 +
test/Verifier/range-1.ll | 78 +
test/Verifier/range-2.ll | 22 +
test/YAMLParser/LICENSE.txt | 19 +
test/YAMLParser/bool.data | 6 +
test/YAMLParser/construct-bool.data | 11 +
test/YAMLParser/construct-custom.data | 28 +
test/YAMLParser/construct-float.data | 8 +
test/YAMLParser/construct-int.data | 8 +
test/YAMLParser/construct-map.data | 8 +
test/YAMLParser/construct-merge.data | 29 +
test/YAMLParser/construct-null.data | 20 +
test/YAMLParser/construct-omap.data | 10 +
test/YAMLParser/construct-pairs.data | 9 +
test/YAMLParser/construct-seq.data | 17 +
test/YAMLParser/construct-set.data | 9 +
test/YAMLParser/construct-str-ascii.data | 3 +
test/YAMLParser/construct-str.data | 3 +
test/YAMLParser/construct-timestamp.data | 7 +
test/YAMLParser/construct-value.data | 12 +
.../duplicate-key.former-loader-error.data | 5 +
...icate-mapping-key.former-loader-error.data | 8 +
...plicate-merge-key.former-loader-error.data | 6 +
...plicate-value-key.former-loader-error.data | 6 +
...lock-scalar-in-simple-key-context-bug.data | 6 +
test/YAMLParser/empty-document-bug.data | 2 +
test/YAMLParser/float.data | 8 +
test/YAMLParser/int.data | 8 +
test/YAMLParser/invalid-single-quote-bug.data | 4 +
test/YAMLParser/merge.data | 3 +
test/YAMLParser/more-floats.data | 3 +
test/YAMLParser/negative-float-bug.data | 3 +
test/YAMLParser/null.data | 5 +
test/YAMLParser/resolver.data | 32 +
test/YAMLParser/run-parser-crash-bug.data | 10 +
test/YAMLParser/scan-document-end-bug.data | 5 +
test/YAMLParser/scan-line-break-bug.data | 5 +
.../single-dot-is-not-float-bug.data | 3 +
test/YAMLParser/sloppy-indentation.data | 19 +
test/YAMLParser/spec-02-01.data | 5 +
test/YAMLParser/spec-02-02.data | 5 +
test/YAMLParser/spec-02-03.data | 10 +
test/YAMLParser/spec-02-04.data | 10 +
test/YAMLParser/spec-02-05.data | 5 +
test/YAMLParser/spec-02-06.data | 7 +
test/YAMLParser/spec-02-07.data | 12 +
test/YAMLParser/spec-02-08.data | 12 +
test/YAMLParser/spec-02-09.data | 10 +
test/YAMLParser/spec-02-10.data | 10 +
test/YAMLParser/spec-02-11.data | 11 +
test/YAMLParser/spec-02-12.data | 10 +
test/YAMLParser/spec-02-13.data | 6 +
test/YAMLParser/spec-02-14.data | 6 +
test/YAMLParser/spec-02-15.data | 10 +
test/YAMLParser/spec-02-16.data | 9 +
test/YAMLParser/spec-02-17.data | 16 +
test/YAMLParser/spec-02-18.data | 8 +
test/YAMLParser/spec-02-19.data | 7 +
test/YAMLParser/spec-02-20.data | 8 +
test/YAMLParser/spec-02-21.data | 6 +
test/YAMLParser/spec-02-22.data | 6 +
test/YAMLParser/spec-02-23.data | 15 +
test/YAMLParser/spec-02-24.data | 16 +
test/YAMLParser/spec-02-25.data | 9 +
test/YAMLParser/spec-02-26.data | 9 +
test/YAMLParser/spec-02-27.data | 31 +
test/YAMLParser/spec-02-28.data | 28 +
test/YAMLParser/spec-05-01-utf8.data | 3 +
test/YAMLParser/spec-05-02-utf8.data | 7 +
test/YAMLParser/spec-05-03.data | 9 +
test/YAMLParser/spec-05-04.data | 4 +
test/YAMLParser/spec-05-05.data | 3 +
test/YAMLParser/spec-05-06.data | 4 +
test/YAMLParser/spec-05-07.data | 6 +
test/YAMLParser/spec-05-08.data | 4 +
test/YAMLParser/spec-05-09.data | 4 +
test/YAMLParser/spec-05-10.data | 6 +
test/YAMLParser/spec-05-11.data | 5 +
test/YAMLParser/spec-05-12.data | 16 +
test/YAMLParser/spec-05-13.data | 5 +
test/YAMLParser/spec-05-14.data | 9 +
test/YAMLParser/spec-05-15.data | 7 +
test/YAMLParser/spec-06-01.data | 16 +
test/YAMLParser/spec-06-02.data | 5 +
test/YAMLParser/spec-06-03.data | 4 +
test/YAMLParser/spec-06-04.data | 6 +
test/YAMLParser/spec-06-05.data | 8 +
test/YAMLParser/spec-06-06.data | 9 +
test/YAMLParser/spec-06-07.data | 10 +
test/YAMLParser/spec-06-08.data | 4 +
test/YAMLParser/spec-07-01.data | 5 +
test/YAMLParser/spec-07-02.data | 6 +
test/YAMLParser/spec-07-03.data | 7 +
test/YAMLParser/spec-07-04.data | 5 +
test/YAMLParser/spec-07-05.data | 10 +
test/YAMLParser/spec-07-06.data | 7 +
test/YAMLParser/spec-07-07a.data | 4 +
test/YAMLParser/spec-07-07b.data | 6 +
test/YAMLParser/spec-07-08.data | 11 +
test/YAMLParser/spec-07-09.data | 13 +
test/YAMLParser/spec-07-10.data | 13 +
test/YAMLParser/spec-07-11.data | 4 +
test/YAMLParser/spec-07-12a.data | 5 +
test/YAMLParser/spec-07-12b.data | 6 +
test/YAMLParser/spec-07-13.data | 11 +
test/YAMLParser/spec-08-01.data | 4 +
test/YAMLParser/spec-08-02.data | 4 +
test/YAMLParser/spec-08-03.data | 4 +
test/YAMLParser/spec-08-04.data | 9 +
test/YAMLParser/spec-08-05.data | 7 +
test/YAMLParser/spec-08-06.data | 12 +
test/YAMLParser/spec-08-07.data | 6 +
test/YAMLParser/spec-08-08.data | 15 +
test/YAMLParser/spec-08-09.data | 13 +
test/YAMLParser/spec-08-10.data | 17 +
test/YAMLParser/spec-08-11.data | 4 +
test/YAMLParser/spec-08-12.data | 10 +
test/YAMLParser/spec-08-13.data | 6 +
test/YAMLParser/spec-08-14.data | 7 +
test/YAMLParser/spec-08-15.data | 7 +
test/YAMLParser/spec-09-01.data | 8 +
test/YAMLParser/spec-09-02.data | 14 +
test/YAMLParser/spec-09-03.data | 8 +
test/YAMLParser/spec-09-04.data | 6 +
test/YAMLParser/spec-09-05.data | 10 +
test/YAMLParser/spec-09-06.data | 3 +
test/YAMLParser/spec-09-07.data | 8 +
test/YAMLParser/spec-09-08.data | 3 +
test/YAMLParser/spec-09-09.data | 8 +
test/YAMLParser/spec-09-10.data | 5 +
test/YAMLParser/spec-09-11.data | 7 +
test/YAMLParser/spec-09-12.data | 10 +
test/YAMLParser/spec-09-13.data | 8 +
test/YAMLParser/spec-09-14.data | 21 +
test/YAMLParser/spec-09-15.data | 15 +
test/YAMLParser/spec-09-16.data | 5 +
test/YAMLParser/spec-09-17.data | 5 +
test/YAMLParser/spec-09-18.data | 11 +
test/YAMLParser/spec-09-19.data | 6 +
test/YAMLParser/spec-09-20.data | 13 +
test/YAMLParser/spec-09-21.data | 12 +
test/YAMLParser/spec-09-22.data | 6 +
test/YAMLParser/spec-09-23.data | 13 +
test/YAMLParser/spec-09-24.data | 8 +
test/YAMLParser/spec-09-25.data | 5 +
test/YAMLParser/spec-09-26.data | 10 +
test/YAMLParser/spec-09-27.data | 10 +
test/YAMLParser/spec-09-28.data | 10 +
test/YAMLParser/spec-09-29.data | 6 +
test/YAMLParser/spec-09-30.data | 16 +
test/YAMLParser/spec-09-31.data | 16 +
test/YAMLParser/spec-09-32.data | 16 +
test/YAMLParser/spec-09-33.data | 16 +
test/YAMLParser/spec-10-01.data | 4 +
test/YAMLParser/spec-10-02.data | 10 +
test/YAMLParser/spec-10-03.data | 6 +
test/YAMLParser/spec-10-04.data | 6 +
test/YAMLParser/spec-10-05.data | 9 +
test/YAMLParser/spec-10-06.data | 4 +
test/YAMLParser/spec-10-07.data | 9 +
test/YAMLParser/spec-10-08.data | 13 +
test/YAMLParser/spec-10-09.data | 6 +
test/YAMLParser/spec-10-10.data | 10 +
test/YAMLParser/spec-10-11.data | 9 +
test/YAMLParser/spec-10-12.data | 5 +
test/YAMLParser/spec-10-13.data | 7 +
test/YAMLParser/spec-10-14.data | 6 +
test/YAMLParser/spec-10-15.data | 5 +
test/YAMLParser/str.data | 3 +
test/YAMLParser/timestamp-bugs.data | 8 +
test/YAMLParser/timestamp.data | 7 +
test/YAMLParser/utf8-implicit.data | 3 +
test/YAMLParser/utf8.data | 3 +
test/YAMLParser/value.data | 3 +
test/YAMLParser/yaml.data | 5 +
test/lib/llvm.exp | 285 -
test/lib/llvm2cpp.exp | 100 -
test/lit.cfg | 141 +-
test/lit.site.cfg.in | 3 +-
test/site.exp.in | 12 -
tools/CMakeLists.txt | 20 +-
tools/LLVMBuild.txt | 24 +
tools/Makefile | 24 +-
tools/bugpoint-passes/Makefile | 8 +-
tools/bugpoint/BugDriver.cpp | 4 +-
tools/bugpoint/CMakeLists.txt | 2 +-
tools/bugpoint/CrashDebugger.cpp | 11 +-
tools/bugpoint/ExecutionDriver.cpp | 50 +-
tools/bugpoint/ExtractFunction.cpp | 62 +-
tools/bugpoint/LLVMBuild.txt | 22 +
tools/bugpoint/Makefile | 9 +-
tools/bugpoint/Miscompilation.cpp | 3 +-
tools/bugpoint/OptimizerDriver.cpp | 12 +-
tools/bugpoint/ToolRunner.cpp | 93 +-
tools/bugpoint/ToolRunner.h | 1 +
tools/bugpoint/bugpoint.cpp | 1 +
tools/edis/CMakeLists.txt | 21 -
tools/edis/Makefile | 53 -
tools/gold/CMakeLists.txt | 3 +-
tools/gold/Makefile | 18 +-
tools/gold/gold-plugin.cpp | 2 +-
tools/llc/LLVMBuild.txt | 22 +
tools/llc/Makefile | 14 +-
tools/llc/llc.cpp | 224 +-
tools/lli/CMakeLists.txt | 17 +
tools/lli/LLVMBuild.txt | 22 +
tools/lli/Makefile | 20 +-
tools/lli/lli.cpp | 38 +-
tools/llvm-ar/LLVMBuild.txt | 22 +
tools/llvm-ar/Makefile | 15 +-
tools/llvm-as/LLVMBuild.txt | 22 +
tools/llvm-as/Makefile | 6 +-
tools/llvm-as/llvm-as.cpp | 2 +-
tools/llvm-bcanalyzer/LLVMBuild.txt | 22 +
tools/llvm-bcanalyzer/Makefile | 6 +-
tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp | 123 +-
tools/llvm-config/BuildVariables.inc.in | 27 +
tools/llvm-config/CMakeLists.txt | 154 +-
tools/llvm-config/Makefile | 134 +-
tools/llvm-config/find-cycles.pl | 170 -
tools/llvm-config/llvm-config.cpp | 342 +
tools/llvm-config/llvm-config.in.in | 463 -
tools/llvm-cov/LLVMBuild.txt | 22 +
tools/llvm-cov/Makefile | 7 +-
tools/llvm-diff/DiffConsumer.cpp | 6 +
tools/llvm-diff/DiffConsumer.h | 1 +
tools/llvm-diff/DifferenceEngine.cpp | 18 +-
tools/llvm-diff/DifferenceEngine.h | 4 +-
tools/llvm-diff/LLVMBuild.txt | 22 +
tools/llvm-diff/Makefile | 6 +-
tools/llvm-diff/llvm-diff.cpp | 2 +-
tools/llvm-dis/LLVMBuild.txt | 22 +
tools/llvm-dis/Makefile | 6 +-
tools/llvm-dis/llvm-dis.cpp | 19 +-
tools/llvm-dwarfdump/LLVMBuild.txt | 22 +
tools/llvm-dwarfdump/Makefile | 8 +-
tools/llvm-extract/LLVMBuild.txt | 22 +
tools/llvm-extract/Makefile | 7 +-
tools/llvm-extract/llvm-extract.cpp | 12 +-
tools/llvm-ld/CMakeLists.txt | 2 +-
tools/llvm-ld/LLVMBuild.txt | 22 +
tools/llvm-ld/Makefile | 7 +-
tools/llvm-ld/llvm-ld.cpp | 4 +-
tools/llvm-link/LLVMBuild.txt | 22 +
tools/llvm-link/Makefile | 8 +-
tools/llvm-link/llvm-link.cpp | 2 +-
tools/llvm-mc/Disassembler.cpp | 36 +-
tools/llvm-mc/LLVMBuild.txt | 22 +
tools/llvm-mc/Makefile | 17 +-
tools/llvm-mc/llvm-mc.cpp | 49 +-
tools/llvm-nm/LLVMBuild.txt | 22 +
tools/llvm-nm/Makefile | 8 +-
tools/llvm-nm/llvm-nm.cpp | 102 +-
tools/llvm-objdump/LLVMBuild.txt | 22 +
tools/llvm-objdump/MachODump.cpp | 404 +-
tools/llvm-objdump/Makefile | 9 +-
tools/llvm-objdump/llvm-objdump.cpp | 228 +-
tools/llvm-objdump/llvm-objdump.h | 2 +-
tools/llvm-prof/LLVMBuild.txt | 22 +
tools/llvm-prof/Makefile | 6 +-
tools/llvm-prof/llvm-prof.cpp | 18 +-
tools/llvm-ranlib/LLVMBuild.txt | 22 +
tools/llvm-ranlib/Makefile | 8 +-
tools/llvm-readobj/CMakeLists.txt | 5 +
tools/llvm-readobj/LLVMBuild.txt | 22 +
tools/llvm-readobj/Makefile | 18 +
tools/llvm-readobj/llvm-readobj.cpp | 218 +
tools/llvm-rtdyld/LLVMBuild.txt | 22 +
tools/llvm-rtdyld/Makefile | 16 +-
tools/llvm-rtdyld/llvm-rtdyld.cpp | 31 +-
tools/llvm-shlib/Makefile | 14 +-
tools/llvm-size/LLVMBuild.txt | 22 +
tools/llvm-size/Makefile | 6 +-
tools/llvm-size/llvm-size.cpp | 10 +-
tools/llvm-stress/CMakeLists.txt | 5 +
tools/llvm-stress/LLVMBuild.txt | 22 +
.../llvm-stress}/Makefile | 12 +-
tools/llvm-stress/llvm-stress.cpp | 702 +
tools/llvm-stub/LLVMBuild.txt | 22 +
tools/llvm-stub/Makefile | 6 +-
tools/lto/CMakeLists.txt | 2 +-
tools/lto/LTOCodeGenerator.cpp | 338 +-
tools/lto/LTOCodeGenerator.h | 113 +-
tools/lto/LTOModule.cpp | 443 +-
tools/lto/LTOModule.h | 230 +-
tools/lto/Makefile | 19 +-
tools/lto/lto.cpp | 348 +-
tools/lto/lto.exports | 1 +
tools/macho-dump/LLVMBuild.txt | 22 +
tools/macho-dump/Makefile | 18 +-
tools/opt/CMakeLists.txt | 2 +-
tools/opt/LLVMBuild.txt | 22 +
tools/opt/Makefile | 6 +-
tools/opt/PrintSCC.cpp | 4 +-
tools/opt/opt.cpp | 9 +-
unittests/ADT/APFloatTest.cpp | 24 +
unittests/ADT/APIntTest.cpp | 42 +-
unittests/ADT/BitVectorTest.cpp | 46 +
unittests/ADT/DenseMapTest.cpp | 41 +
unittests/ADT/HashingTest.cpp | 424 +
unittests/ADT/IntrusiveRefCntPtrTest.cpp | 64 +
unittests/ADT/SmallPtrSetTest.cpp | 72 +
unittests/ADT/SmallStringTest.cpp | 148 +
unittests/ADT/SparseSetTest.cpp | 186 +
unittests/ADT/StringRefTest.cpp | 143 +
unittests/ADT/TripleTest.cpp | 143 +-
unittests/ADT/VariadicFunctionTest.cpp | 110 +
unittests/Bitcode/BitReaderTest.cpp | 65 +
unittests/Bitcode/Makefile | 15 +
unittests/CMakeLists.txt | 37 +-
.../ExecutionEngine/ExecutionEngineTest.cpp | 8 +-
.../JIT/IntelJITEventListenerTest.cpp | 110 +
.../JIT/JITEventListenerTestCommon.h | 209 +
unittests/ExecutionEngine/JIT/JITTest.cpp | 14 +-
unittests/ExecutionEngine/JIT/Makefile | 24 +
.../ExecutionEngine/JIT/MultiJITTest.cpp | 19 +-
.../JIT/OProfileJITEventListenerTest.cpp | 166 +
unittests/ExecutionEngine/Makefile | 4 +-
unittests/Makefile | 2 +-
unittests/Makefile.unittest | 2 +-
unittests/Support/AllocatorTest.cpp | 8 +
unittests/Support/BlockFrequencyTest.cpp | 29 +
unittests/Support/Casting.cpp | 5 +-
unittests/Support/IRBuilderTest.cpp | 2 +
unittests/Support/JSONParserTest.cpp | 191 +
unittests/Support/ManagedStatic.cpp | 44 +
unittests/Support/Path.cpp | 62 +
unittests/Support/YAMLParserTest.cpp | 179 +
unittests/Transforms/Utils/Cloning.cpp | 2 +
unittests/VMCore/DominatorTreeTest.cpp | 195 +
unittests/VMCore/InstructionsTest.cpp | 97 +
unittests/VMCore/Makefile | 2 +-
unittests/VMCore/MetadataTest.cpp | 7 +
unittests/VMCore/ValueMapTest.cpp | 4 +-
utils/FileCheck/FileCheck.cpp | 73 +-
utils/GenLibDeps.pl | 2 -
utils/KillTheDoctor/KillTheDoctor.cpp | 46 -
utils/LLVMBuild.txt | 29 +
utils/Makefile | 11 +-
utils/NLT.schema | 8 -
utils/NewNightlyTest.pl | 836 -
utils/NightlyTest.gnuplot | 214 -
utils/NightlyTestTemplate.html | 244 -
utils/TableGen/ARMDecoderEmitter.cpp | 1790 --
utils/TableGen/ARMDecoderEmitter.h | 49 -
utils/TableGen/AsmMatcherEmitter.cpp | 447 +-
utils/TableGen/AsmWriterEmitter.cpp | 189 +-
utils/TableGen/AsmWriterEmitter.h | 2 -
utils/TableGen/CMakeLists.txt | 5 +-
utils/TableGen/CallingConvEmitter.cpp | 6 +-
utils/TableGen/CodeEmitterGen.cpp | 26 +-
utils/TableGen/CodeGenDAGPatterns.cpp | 22 +-
utils/TableGen/CodeGenDAGPatterns.h | 10 +-
utils/TableGen/CodeGenInstruction.cpp | 45 +-
utils/TableGen/CodeGenRegisters.cpp | 1024 +-
utils/TableGen/CodeGenRegisters.h | 247 +-
utils/TableGen/CodeGenTarget.cpp | 29 +-
utils/TableGen/CodeGenTarget.h | 10 +
utils/TableGen/DAGISelMatcher.cpp | 6 +
utils/TableGen/DAGISelMatcher.h | 3 +
utils/TableGen/DAGISelMatcherEmitter.cpp | 11 +-
utils/TableGen/DAGISelMatcherGen.cpp | 2 +-
utils/TableGen/DFAPacketizerEmitter.cpp | 512 +
utils/TableGen/DFAPacketizerEmitter.h | 52 +
utils/TableGen/DisassemblerEmitter.cpp | 1 -
utils/TableGen/EDEmitter.cpp | 36 +-
utils/TableGen/FastISelEmitter.cpp | 3 +-
utils/TableGen/FixedLenDecoderEmitter.cpp | 334 +-
utils/TableGen/FixedLenDecoderEmitter.h | 18 +-
utils/TableGen/InstrEnumEmitter.cpp | 48 -
utils/TableGen/InstrEnumEmitter.h | 33 -
utils/TableGen/InstrInfoEmitter.cpp | 49 +-
utils/TableGen/InstrInfoEmitter.h | 10 +-
utils/TableGen/IntrinsicEmitter.cpp | 141 +-
utils/TableGen/IntrinsicEmitter.h | 2 -
utils/TableGen/LLVMBuild.txt | 22 +
utils/TableGen/PseudoLoweringEmitter.cpp | 9 +-
utils/TableGen/RegisterInfoEmitter.cpp | 831 +-
utils/TableGen/RegisterInfoEmitter.h | 6 +
utils/TableGen/SequenceToOffsetTable.h | 139 +
utils/TableGen/SetTheory.cpp | 23 +
utils/TableGen/SetTheory.h | 8 +-
utils/TableGen/StringToOffsetTable.h | 13 +-
utils/TableGen/SubtargetEmitter.cpp | 82 +-
utils/TableGen/TableGen.cpp | 173 +-
utils/TableGen/X86DisassemblerTables.cpp | 148 +-
utils/TableGen/X86ModRMFilters.cpp | 26 +
utils/TableGen/X86ModRMFilters.h | 15 +-
utils/TableGen/X86RecognizableInstr.cpp | 236 +-
utils/TableGen/X86RecognizableInstr.h | 10 +-
utils/buildit/GNUmakefile | 9 +-
utils/buildit/build_llvm | 54 +-
utils/cgiplotNLT.pl | 68 -
utils/clang-parse-diagnostics-file | 78 +
utils/emacs/tablegen-mode.el | 2 +-
utils/importNLT.pl | 86 -
utils/json-bench/CMakeLists.txt | 5 +
utils/json-bench/JSONBench.cpp | 85 +
.../TargetInfo => utils/json-bench}/Makefile | 16 +-
.../lit/ExampleTests/LLVM.InTree/test/lit.cfg | 14 -
.../ExampleTests/LLVM.InTree/test/site.exp | 20 +-
.../LLVM.OutOfTree/obj/test/site.exp | 20 +-
.../LLVM.OutOfTree/src/test/lit.cfg | 14 -
utils/lit/lit/LitConfig.py | 2 +
utils/lit/lit/TestRunner.py | 78 +-
utils/lit/lit/TestingConfig.py | 21 +-
utils/lit/lit/main.py | 21 +-
utils/lldbDataFormatters.py | 53 +
utils/llvm-build/README.txt | 5 +
utils/llvm-build/llvm-build | 6 +
utils/llvm-build/llvmbuild/__init__.py | 1 +
utils/llvm-build/llvmbuild/componentinfo.py | 428 +
utils/llvm-build/llvmbuild/configutil.py | 66 +
utils/llvm-build/llvmbuild/main.py | 868 +
utils/llvm-build/llvmbuild/util.py | 13 +
utils/{llvmbuild => llvm-compilers-check} | 315 +-
utils/llvm.grm | 1 +
utils/llvmgrep | 2 +-
utils/parseNLT.pl | 34 -
utils/plotNLT.pl | 53 -
utils/release/findRegressions-nightly.py | 130 +
...gressions.py => findRegressions-simple.py} | 57 +-
utils/release/merge.sh | 74 +
utils/release/tag.sh | 99 +
utils/release/test-release.sh | 256 +-
utils/show-diagnostics | 52 -
utils/unittest/LLVMBuild.txt | 28 +
utils/unittest/UnitTestMain/Makefile | 2 +-
utils/unittest/googletest/Makefile | 2 +-
utils/unittest/googletest/gtest-death-test.cc | 1 -
utils/unittest/googletest/gtest.cc | 5 +-
.../internal/gtest-death-test-internal.h | 2 -
utils/vim/tablegen.vim | 4 +-
utils/webNLT.pl | 83 -
utils/yaml-bench/CMakeLists.txt | 5 +
.../TargetInfo => utils/yaml-bench}/Makefile | 15 +-
utils/yaml-bench/YAMLBench.cpp | 203 +
3836 files changed, 235312 insertions(+), 101609 deletions(-)
create mode 100644 LLVMBuild.txt
delete mode 100644 ModuleInfo.txt
delete mode 100644 autoconf/m4/path_perl.m4
create mode 100644 bindings/LLVMBuild.txt
create mode 100644 bindings/python/README.txt
create mode 100644 bindings/python/llvm/__init__.py
create mode 100644 bindings/python/llvm/common.py
create mode 100644 bindings/python/llvm/core.py
create mode 100644 bindings/python/llvm/disassembler.py
create mode 100644 bindings/python/llvm/enumerations.py
create mode 100644 bindings/python/llvm/object.py
create mode 100644 bindings/python/llvm/tests/__init__.py
create mode 100644 bindings/python/llvm/tests/base.py
create mode 100644 bindings/python/llvm/tests/test_core.py
create mode 100644 bindings/python/llvm/tests/test_disassembler.py
create mode 100644 bindings/python/llvm/tests/test_object.py
delete mode 100755 build-for-llvm-top.sh
rename cmake/modules/{GetTargetTriple.cmake => GetHostTriple.cmake} (92%)
delete mode 100644 docs/CFEBuildInstrs.html
create mode 100644 docs/CommandGuide/llvm-build.pod
create mode 100644 docs/CommandGuide/llvm-cov.pod
create mode 100644 docs/CommandGuide/llvm-stress.pod
create mode 100644 docs/HowToAddABuilder.html
create mode 100644 docs/LLVMBuild.html
create mode 100644 docs/LLVMBuild.txt
create mode 100644 docs/TestSuiteMakefileGuide.html
delete mode 100644 docs/UsingLibraries.html
create mode 100644 examples/LLVMBuild.txt
create mode 100644 include/llvm-c/TargetMachine.h
create mode 100644 include/llvm-c/Transforms/Vectorize.h
create mode 100644 include/llvm/ADT/Hashing.h
create mode 100644 include/llvm/ADT/SparseSet.h
create mode 100644 include/llvm/ADT/VariadicFunction.h
delete mode 100644 include/llvm/ADT/VectorExtras.h
create mode 100644 include/llvm/ADT/edit_distance.h
delete mode 100644 include/llvm/CodeGen/BinaryObject.h
create mode 100644 include/llvm/CodeGen/DFAPacketizer.h
rename {lib => include/llvm}/CodeGen/LiveRangeEdit.h (79%)
create mode 100644 include/llvm/CodeGen/MachineInstrBundle.h
create mode 100644 include/llvm/CodeGen/MachineScheduler.h
delete mode 100644 include/llvm/CodeGen/ObjectCodeEmitter.h
create mode 100644 include/llvm/CodeGen/ResourcePriorityQueue.h
create mode 100644 include/llvm/CodeGen/ScheduleDAGInstrs.h
delete mode 100644 include/llvm/DebugInfoProbe.h
create mode 100644 include/llvm/ExecutionEngine/IntelJITEventsWrapper.h
create mode 100644 include/llvm/ExecutionEngine/OProfileWrapper.h
delete mode 100644 include/llvm/IntrinsicsAlpha.td
create mode 100644 include/llvm/IntrinsicsHexagon.td
create mode 100644 include/llvm/MC/MCWinCOFFObjectWriter.h
create mode 100644 include/llvm/Object/ELF.h
create mode 100644 include/llvm/Support/DataStream.h
create mode 100644 include/llvm/Support/JSONParser.h
create mode 100644 include/llvm/Support/LockFileManager.h
create mode 100644 include/llvm/Support/SaveAndRestore.h
create mode 100644 include/llvm/Support/StreamableMemoryObject.h
create mode 100644 include/llvm/Support/YAMLParser.h
delete mode 100644 include/llvm/Transforms/Utils/BasicInliner.h
create mode 100644 include/llvm/Transforms/Utils/CmpInstAnalysis.h
create mode 100644 include/llvm/Transforms/Utils/ModuleUtils.h
create mode 100644 include/llvm/Transforms/Vectorize.h
create mode 100644 lib/Analysis/CodeMetrics.cpp
create mode 100644 lib/Analysis/IPA/LLVMBuild.txt
create mode 100644 lib/Analysis/LLVMBuild.txt
create mode 100644 lib/Archive/LLVMBuild.txt
create mode 100644 lib/AsmParser/LLVMBuild.txt
create mode 100644 lib/Bitcode/LLVMBuild.txt
create mode 100644 lib/Bitcode/Reader/LLVMBuild.txt
create mode 100644 lib/Bitcode/Writer/LLVMBuild.txt
create mode 100644 lib/CodeGen/AsmPrinter/DwarfAccelTable.cpp
create mode 100644 lib/CodeGen/AsmPrinter/DwarfAccelTable.h
create mode 100644 lib/CodeGen/AsmPrinter/LLVMBuild.txt
create mode 100644 lib/CodeGen/DFAPacketizer.cpp
delete mode 100644 lib/CodeGen/ELF.h
delete mode 100644 lib/CodeGen/ELFCodeEmitter.cpp
delete mode 100644 lib/CodeGen/ELFCodeEmitter.h
delete mode 100644 lib/CodeGen/ELFWriter.cpp
delete mode 100644 lib/CodeGen/ELFWriter.h
create mode 100644 lib/CodeGen/JITCodeEmitter.cpp
create mode 100644 lib/CodeGen/LLVMBuild.txt
create mode 100644 lib/CodeGen/MachineBlockPlacement.cpp
create mode 100644 lib/CodeGen/MachineCodeEmitter.cpp
create mode 100644 lib/CodeGen/MachineCopyPropagation.cpp
create mode 100644 lib/CodeGen/MachineInstrBundle.cpp
create mode 100644 lib/CodeGen/MachineScheduler.cpp
delete mode 100644 lib/CodeGen/ObjectCodeEmitter.cpp
create mode 100644 lib/CodeGen/RegAllocBase.cpp
delete mode 100644 lib/CodeGen/RegAllocLinearScan.cpp
delete mode 100644 lib/CodeGen/ScheduleDAGEmit.cpp
delete mode 100644 lib/CodeGen/ScheduleDAGInstrs.h
create mode 100644 lib/CodeGen/SelectionDAG/LLVMBuild.txt
create mode 100644 lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp
rename lib/CodeGen/SelectionDAG/{ScheduleDAGList.cpp => ScheduleDAGVLIW.cpp} (77%)
create mode 100644 lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
delete mode 100644 lib/CodeGen/Splitter.cpp
delete mode 100644 lib/CodeGen/Splitter.h
rename lib/{Target/TargetFrameLowering.cpp => CodeGen/TargetFrameLoweringImpl.cpp} (95%)
create mode 100644 lib/CodeGen/TargetOptionsImpl.cpp
delete mode 100644 lib/CodeGen/VirtRegRewriter.cpp
delete mode 100644 lib/CodeGen/VirtRegRewriter.h
create mode 100644 lib/DebugInfo/LLVMBuild.txt
create mode 100644 lib/ExecutionEngine/EventListenerCommon.h
create mode 100644 lib/ExecutionEngine/IntelJITEvents/CMakeLists.txt
create mode 100644 lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp
create mode 100644 lib/ExecutionEngine/IntelJITEvents/LLVMBuild.txt
create mode 100644 lib/ExecutionEngine/IntelJITEvents/Makefile
create mode 100644 lib/ExecutionEngine/Interpreter/LLVMBuild.txt
delete mode 100644 lib/ExecutionEngine/JIT/Intercept.cpp
delete mode 100644 lib/ExecutionEngine/JIT/JITDebugRegisterer.cpp
delete mode 100644 lib/ExecutionEngine/JIT/JITDebugRegisterer.h
create mode 100644 lib/ExecutionEngine/JIT/LLVMBuild.txt
create mode 100644 lib/ExecutionEngine/LLVMBuild.txt
delete mode 100644 lib/ExecutionEngine/MCJIT/Intercept.cpp
create mode 100644 lib/ExecutionEngine/MCJIT/LLVMBuild.txt
create mode 100644 lib/ExecutionEngine/MCJIT/MCJITMemoryManager.cpp
create mode 100644 lib/ExecutionEngine/OProfileJIT/CMakeLists.txt
create mode 100644 lib/ExecutionEngine/OProfileJIT/LLVMBuild.txt
create mode 100644 lib/ExecutionEngine/OProfileJIT/Makefile
rename lib/ExecutionEngine/{JIT => OProfileJIT}/OProfileJITEventListener.cpp (70%)
create mode 100644 lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp
create mode 100644 lib/ExecutionEngine/RuntimeDyld/LLVMBuild.txt
create mode 100644 lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
create mode 100644 lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
create mode 100644 lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h
create mode 100644 lib/LLVMBuild.txt
create mode 100644 lib/Linker/LLVMBuild.txt
delete mode 100644 lib/MC/ELFObjectWriter.h
create mode 100644 lib/MC/LLVMBuild.txt
rename {tools/edis => lib/MC/MCDisassembler}/EDMain.cpp (94%)
create mode 100644 lib/MC/MCDisassembler/LLVMBuild.txt
delete mode 100644 lib/MC/MCELFStreamer.h
delete mode 100644 lib/MC/MCLoggingStreamer.cpp
create mode 100644 lib/MC/MCParser/LLVMBuild.txt
create mode 100644 lib/Object/LLVMBuild.txt
create mode 100644 lib/Support/DataStream.cpp
create mode 100644 lib/Support/Hashing.cpp
create mode 100644 lib/Support/IntrusiveRefCntPtr.cpp
create mode 100644 lib/Support/JSONParser.cpp
create mode 100644 lib/Support/LLVMBuild.txt
create mode 100644 lib/Support/LockFileManager.cpp
create mode 100644 lib/Support/StreamableMemoryObject.cpp
create mode 100644 lib/Support/YAMLParser.cpp
create mode 100644 lib/TableGen/LLVMBuild.txt
create mode 100644 lib/TableGen/TableGenAction.cpp
create mode 100644 lib/Target/ARM/ARMMachineFunctionInfo.cpp
create mode 100644 lib/Target/ARM/AsmParser/LLVMBuild.txt
create mode 100644 lib/Target/ARM/Disassembler/LLVMBuild.txt
create mode 100644 lib/Target/ARM/InstPrinter/LLVMBuild.txt
create mode 100644 lib/Target/ARM/LLVMBuild.txt
create mode 100644 lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
create mode 100644 lib/Target/ARM/MCTargetDesc/LLVMBuild.txt
create mode 100644 lib/Target/ARM/TargetInfo/LLVMBuild.txt
delete mode 100644 lib/Target/Alpha/Alpha.h
delete mode 100644 lib/Target/Alpha/Alpha.td
delete mode 100644 lib/Target/Alpha/AlphaAsmPrinter.cpp
delete mode 100644 lib/Target/Alpha/AlphaBranchSelector.cpp
delete mode 100644 lib/Target/Alpha/AlphaCallingConv.td
delete mode 100644 lib/Target/Alpha/AlphaFrameLowering.cpp
delete mode 100644 lib/Target/Alpha/AlphaFrameLowering.h
delete mode 100644 lib/Target/Alpha/AlphaISelDAGToDAG.cpp
delete mode 100644 lib/Target/Alpha/AlphaISelLowering.cpp
delete mode 100644 lib/Target/Alpha/AlphaISelLowering.h
delete mode 100644 lib/Target/Alpha/AlphaInstrFormats.td
delete mode 100644 lib/Target/Alpha/AlphaInstrInfo.cpp
delete mode 100644 lib/Target/Alpha/AlphaInstrInfo.h
delete mode 100644 lib/Target/Alpha/AlphaInstrInfo.td
delete mode 100644 lib/Target/Alpha/AlphaLLRP.cpp
delete mode 100644 lib/Target/Alpha/AlphaMachineFunctionInfo.h
delete mode 100644 lib/Target/Alpha/AlphaRegisterInfo.cpp
delete mode 100644 lib/Target/Alpha/AlphaRegisterInfo.h
delete mode 100644 lib/Target/Alpha/AlphaRegisterInfo.td
delete mode 100644 lib/Target/Alpha/AlphaRelocations.h
delete mode 100644 lib/Target/Alpha/AlphaSchedule.td
delete mode 100644 lib/Target/Alpha/AlphaSelectionDAGInfo.cpp
delete mode 100644 lib/Target/Alpha/AlphaSelectionDAGInfo.h
delete mode 100644 lib/Target/Alpha/AlphaSubtarget.cpp
delete mode 100644 lib/Target/Alpha/AlphaSubtarget.h
delete mode 100644 lib/Target/Alpha/AlphaTargetMachine.cpp
delete mode 100644 lib/Target/Alpha/AlphaTargetMachine.h
delete mode 100644 lib/Target/Alpha/CMakeLists.txt
delete mode 100644 lib/Target/Alpha/MCTargetDesc/AlphaMCAsmInfo.cpp
delete mode 100644 lib/Target/Alpha/MCTargetDesc/AlphaMCTargetDesc.cpp
delete mode 100644 lib/Target/Alpha/MCTargetDesc/CMakeLists.txt
delete mode 100644 lib/Target/Alpha/Makefile
delete mode 100644 lib/Target/Alpha/README.txt
delete mode 100644 lib/Target/Alpha/TargetInfo/AlphaTargetInfo.cpp
delete mode 100644 lib/Target/Alpha/TargetInfo/CMakeLists.txt
delete mode 100644 lib/Target/Blackfin/Blackfin.h
delete mode 100644 lib/Target/Blackfin/Blackfin.td
delete mode 100644 lib/Target/Blackfin/BlackfinAsmPrinter.cpp
delete mode 100644 lib/Target/Blackfin/BlackfinCallingConv.td
delete mode 100644 lib/Target/Blackfin/BlackfinFrameLowering.cpp
delete mode 100644 lib/Target/Blackfin/BlackfinFrameLowering.h
delete mode 100644 lib/Target/Blackfin/BlackfinISelDAGToDAG.cpp
delete mode 100644 lib/Target/Blackfin/BlackfinISelLowering.cpp
delete mode 100644 lib/Target/Blackfin/BlackfinISelLowering.h
delete mode 100644 lib/Target/Blackfin/BlackfinInstrFormats.td
delete mode 100644 lib/Target/Blackfin/BlackfinInstrInfo.cpp
delete mode 100644 lib/Target/Blackfin/BlackfinInstrInfo.h
delete mode 100644 lib/Target/Blackfin/BlackfinInstrInfo.td
delete mode 100644 lib/Target/Blackfin/BlackfinIntrinsicInfo.cpp
delete mode 100644 lib/Target/Blackfin/BlackfinIntrinsicInfo.h
delete mode 100644 lib/Target/Blackfin/BlackfinIntrinsics.td
delete mode 100644 lib/Target/Blackfin/BlackfinRegisterInfo.cpp
delete mode 100644 lib/Target/Blackfin/BlackfinRegisterInfo.h
delete mode 100644 lib/Target/Blackfin/BlackfinRegisterInfo.td
delete mode 100644 lib/Target/Blackfin/BlackfinSelectionDAGInfo.cpp
delete mode 100644 lib/Target/Blackfin/BlackfinSelectionDAGInfo.h
delete mode 100644 lib/Target/Blackfin/BlackfinSubtarget.cpp
delete mode 100644 lib/Target/Blackfin/BlackfinSubtarget.h
delete mode 100644 lib/Target/Blackfin/BlackfinTargetMachine.cpp
delete mode 100644 lib/Target/Blackfin/BlackfinTargetMachine.h
delete mode 100644 lib/Target/Blackfin/CMakeLists.txt
delete mode 100644 lib/Target/Blackfin/MCTargetDesc/BlackfinMCAsmInfo.cpp
delete mode 100644 lib/Target/Blackfin/MCTargetDesc/BlackfinMCAsmInfo.h
delete mode 100644 lib/Target/Blackfin/MCTargetDesc/BlackfinMCTargetDesc.cpp
delete mode 100644 lib/Target/Blackfin/MCTargetDesc/BlackfinMCTargetDesc.h
delete mode 100644 lib/Target/Blackfin/MCTargetDesc/CMakeLists.txt
delete mode 100644 lib/Target/Blackfin/Makefile
delete mode 100644 lib/Target/Blackfin/README.txt
delete mode 100644 lib/Target/Blackfin/TargetInfo/BlackfinTargetInfo.cpp
delete mode 100644 lib/Target/Blackfin/TargetInfo/CMakeLists.txt
delete mode 100644 lib/Target/CBackend/CBackend.cpp
delete mode 100644 lib/Target/CBackend/CMakeLists.txt
delete mode 100644 lib/Target/CBackend/CTargetMachine.h
delete mode 100644 lib/Target/CBackend/TargetInfo/CBackendTargetInfo.cpp
delete mode 100644 lib/Target/CBackend/TargetInfo/CMakeLists.txt
create mode 100644 lib/Target/CellSPU/LLVMBuild.txt
create mode 100644 lib/Target/CellSPU/MCTargetDesc/LLVMBuild.txt
create mode 100644 lib/Target/CellSPU/SPUMachineFunction.cpp
create mode 100644 lib/Target/CellSPU/TargetInfo/LLVMBuild.txt
create mode 100644 lib/Target/CppBackend/LLVMBuild.txt
create mode 100644 lib/Target/CppBackend/TargetInfo/LLVMBuild.txt
create mode 100644 lib/Target/Hexagon/CMakeLists.txt
create mode 100644 lib/Target/Hexagon/Hexagon.h
create mode 100644 lib/Target/Hexagon/Hexagon.td
create mode 100644 lib/Target/Hexagon/HexagonAsmPrinter.cpp
create mode 100755 lib/Target/Hexagon/HexagonAsmPrinter.h
create mode 100644 lib/Target/Hexagon/HexagonCFGOptimizer.cpp
create mode 100644 lib/Target/Hexagon/HexagonCallingConv.td
create mode 100644 lib/Target/Hexagon/HexagonCallingConvLower.cpp
create mode 100644 lib/Target/Hexagon/HexagonCallingConvLower.h
create mode 100644 lib/Target/Hexagon/HexagonExpandPredSpillCode.cpp
create mode 100644 lib/Target/Hexagon/HexagonFrameLowering.cpp
create mode 100644 lib/Target/Hexagon/HexagonFrameLowering.h
create mode 100644 lib/Target/Hexagon/HexagonHardwareLoops.cpp
create mode 100644 lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
create mode 100644 lib/Target/Hexagon/HexagonISelLowering.cpp
create mode 100644 lib/Target/Hexagon/HexagonISelLowering.h
create mode 100644 lib/Target/Hexagon/HexagonImmediates.td
create mode 100644 lib/Target/Hexagon/HexagonInstrFormats.td
create mode 100644 lib/Target/Hexagon/HexagonInstrFormatsV4.td
create mode 100644 lib/Target/Hexagon/HexagonInstrInfo.cpp
create mode 100644 lib/Target/Hexagon/HexagonInstrInfo.h
create mode 100644 lib/Target/Hexagon/HexagonInstrInfo.td
create mode 100644 lib/Target/Hexagon/HexagonInstrInfoV3.td
create mode 100644 lib/Target/Hexagon/HexagonInstrInfoV4.td
create mode 100644 lib/Target/Hexagon/HexagonIntrinsics.td
create mode 100644 lib/Target/Hexagon/HexagonIntrinsicsDerived.td
create mode 100644 lib/Target/Hexagon/HexagonIntrinsicsV3.td
create mode 100644 lib/Target/Hexagon/HexagonIntrinsicsV4.td
create mode 100644 lib/Target/Hexagon/HexagonMCInst.h
create mode 100644 lib/Target/Hexagon/HexagonMCInstLower.cpp
create mode 100644 lib/Target/Hexagon/HexagonMachineFunctionInfo.h
create mode 100644 lib/Target/Hexagon/HexagonPeephole.cpp
create mode 100644 lib/Target/Hexagon/HexagonRegisterInfo.cpp
create mode 100644 lib/Target/Hexagon/HexagonRegisterInfo.h
create mode 100644 lib/Target/Hexagon/HexagonRegisterInfo.td
create mode 100644 lib/Target/Hexagon/HexagonRemoveSZExtArgs.cpp
create mode 100644 lib/Target/Hexagon/HexagonSchedule.td
create mode 100644 lib/Target/Hexagon/HexagonScheduleV4.td
create mode 100644 lib/Target/Hexagon/HexagonSelectCCInfo.td
create mode 100644 lib/Target/Hexagon/HexagonSelectionDAGInfo.cpp
create mode 100644 lib/Target/Hexagon/HexagonSelectionDAGInfo.h
create mode 100644 lib/Target/Hexagon/HexagonSplitTFRCondSets.cpp
create mode 100644 lib/Target/Hexagon/HexagonSubtarget.cpp
create mode 100644 lib/Target/Hexagon/HexagonSubtarget.h
create mode 100644 lib/Target/Hexagon/HexagonTargetMachine.cpp
create mode 100644 lib/Target/Hexagon/HexagonTargetMachine.h
create mode 100644 lib/Target/Hexagon/HexagonTargetObjectFile.cpp
create mode 100644 lib/Target/Hexagon/HexagonTargetObjectFile.h
create mode 100644 lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
create mode 100644 lib/Target/Hexagon/HexagonVarargsCallingConvention.h
create mode 100644 lib/Target/Hexagon/InstPrinter/CMakeLists.txt
create mode 100644 lib/Target/Hexagon/InstPrinter/HexagonInstPrinter.cpp
create mode 100644 lib/Target/Hexagon/InstPrinter/HexagonInstPrinter.h
create mode 100644 lib/Target/Hexagon/InstPrinter/LLVMBuild.txt
rename lib/Target/{CBackend/TargetInfo => Hexagon/InstPrinter}/Makefile (64%)
create mode 100644 lib/Target/Hexagon/LLVMBuild.txt
create mode 100644 lib/Target/Hexagon/MCTargetDesc/CMakeLists.txt
create mode 100644 lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h
create mode 100644 lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp
rename lib/Target/{Alpha/MCTargetDesc/AlphaMCAsmInfo.h => Hexagon/MCTargetDesc/HexagonMCAsmInfo.h} (59%)
create mode 100644 lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
rename lib/Target/{Alpha/MCTargetDesc/AlphaMCTargetDesc.h => Hexagon/MCTargetDesc/HexagonMCTargetDesc.h} (55%)
create mode 100644 lib/Target/Hexagon/MCTargetDesc/LLVMBuild.txt
rename lib/Target/{Alpha => Hexagon}/MCTargetDesc/Makefile (82%)
create mode 100644 lib/Target/Hexagon/Makefile
create mode 100644 lib/Target/Hexagon/TargetInfo/CMakeLists.txt
rename lib/Target/{SystemZ/TargetInfo/SystemZTargetInfo.cpp => Hexagon/TargetInfo/HexagonTargetInfo.cpp} (55%)
create mode 100644 lib/Target/Hexagon/TargetInfo/LLVMBuild.txt
rename lib/Target/{SystemZ => Hexagon}/TargetInfo/Makefile (79%)
create mode 100644 lib/Target/LLVMBuild.txt
create mode 100644 lib/Target/MBlaze/AsmParser/LLVMBuild.txt
create mode 100644 lib/Target/MBlaze/Disassembler/LLVMBuild.txt
create mode 100644 lib/Target/MBlaze/InstPrinter/LLVMBuild.txt
create mode 100644 lib/Target/MBlaze/LLVMBuild.txt
create mode 100644 lib/Target/MBlaze/MBlazeMachineFunction.cpp
create mode 100644 lib/Target/MBlaze/MCTargetDesc/LLVMBuild.txt
create mode 100644 lib/Target/MBlaze/MCTargetDesc/MBlazeELFObjectWriter.cpp
create mode 100644 lib/Target/MBlaze/TargetInfo/LLVMBuild.txt
create mode 100644 lib/Target/MSP430/InstPrinter/LLVMBuild.txt
create mode 100644 lib/Target/MSP430/LLVMBuild.txt
create mode 100644 lib/Target/MSP430/MCTargetDesc/LLVMBuild.txt
create mode 100644 lib/Target/MSP430/MSP430MachineFunctionInfo.cpp
create mode 100644 lib/Target/MSP430/TargetInfo/LLVMBuild.txt
create mode 100644 lib/Target/Mips/AsmParser/CMakeLists.txt
create mode 100644 lib/Target/Mips/AsmParser/LLVMBuild.txt
rename lib/Target/{SystemZ/MCTargetDesc => Mips/AsmParser}/Makefile (68%)
create mode 100644 lib/Target/Mips/AsmParser/MipsAsmParser.cpp
create mode 100644 lib/Target/Mips/InstPrinter/LLVMBuild.txt
create mode 100644 lib/Target/Mips/LLVMBuild.txt
create mode 100644 lib/Target/Mips/MCTargetDesc/LLVMBuild.txt
create mode 100644 lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
create mode 100644 lib/Target/Mips/MipsAnalyzeImmediate.cpp
create mode 100644 lib/Target/Mips/MipsAnalyzeImmediate.h
create mode 100644 lib/Target/Mips/MipsCondMov.td
delete mode 100644 lib/Target/Mips/MipsMCSymbolRefExpr.cpp
delete mode 100644 lib/Target/Mips/MipsMCSymbolRefExpr.h
create mode 100644 lib/Target/Mips/MipsMachineFunction.cpp
create mode 100644 lib/Target/Mips/TargetInfo/LLVMBuild.txt
create mode 100644 lib/Target/PTX/InstPrinter/LLVMBuild.txt
create mode 100644 lib/Target/PTX/LLVMBuild.txt
create mode 100644 lib/Target/PTX/MCTargetDesc/LLVMBuild.txt
create mode 100644 lib/Target/PTX/PTXMachineFunctionInfo.cpp
create mode 100644 lib/Target/PTX/TargetInfo/LLVMBuild.txt
create mode 100644 lib/Target/PowerPC/InstPrinter/LLVMBuild.txt
create mode 100644 lib/Target/PowerPC/LLVMBuild.txt
create mode 100644 lib/Target/PowerPC/MCTargetDesc/LLVMBuild.txt
create mode 100644 lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
create mode 100644 lib/Target/PowerPC/PPCMachineFunctionInfo.cpp
create mode 100644 lib/Target/PowerPC/PPCSchedule440.td
create mode 100644 lib/Target/PowerPC/PPCScheduleA2.td
create mode 100644 lib/Target/PowerPC/TargetInfo/LLVMBuild.txt
create mode 100644 lib/Target/Sparc/LLVMBuild.txt
create mode 100644 lib/Target/Sparc/MCTargetDesc/LLVMBuild.txt
create mode 100644 lib/Target/Sparc/SparcMachineFunctionInfo.cpp
create mode 100644 lib/Target/Sparc/TargetInfo/LLVMBuild.txt
delete mode 100644 lib/Target/SystemZ/CMakeLists.txt
delete mode 100644 lib/Target/SystemZ/MCTargetDesc/CMakeLists.txt
delete mode 100644 lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmInfo.cpp
delete mode 100644 lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmInfo.h
delete mode 100644 lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp
delete mode 100644 lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.h
delete mode 100644 lib/Target/SystemZ/Makefile
delete mode 100644 lib/Target/SystemZ/SystemZ.h
delete mode 100644 lib/Target/SystemZ/SystemZ.td
delete mode 100644 lib/Target/SystemZ/SystemZAsmPrinter.cpp
delete mode 100644 lib/Target/SystemZ/SystemZCallingConv.td
delete mode 100644 lib/Target/SystemZ/SystemZFrameLowering.cpp
delete mode 100644 lib/Target/SystemZ/SystemZFrameLowering.h
delete mode 100644 lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
delete mode 100644 lib/Target/SystemZ/SystemZISelLowering.cpp
delete mode 100644 lib/Target/SystemZ/SystemZISelLowering.h
delete mode 100644 lib/Target/SystemZ/SystemZInstrBuilder.h
delete mode 100644 lib/Target/SystemZ/SystemZInstrFP.td
delete mode 100644 lib/Target/SystemZ/SystemZInstrFormats.td
delete mode 100644 lib/Target/SystemZ/SystemZInstrInfo.cpp
delete mode 100644 lib/Target/SystemZ/SystemZInstrInfo.h
delete mode 100644 lib/Target/SystemZ/SystemZInstrInfo.td
delete mode 100644 lib/Target/SystemZ/SystemZMachineFunctionInfo.h
delete mode 100644 lib/Target/SystemZ/SystemZOperands.td
delete mode 100644 lib/Target/SystemZ/SystemZRegisterInfo.cpp
delete mode 100644 lib/Target/SystemZ/SystemZRegisterInfo.h
delete mode 100644 lib/Target/SystemZ/SystemZRegisterInfo.td
delete mode 100644 lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp
delete mode 100644 lib/Target/SystemZ/SystemZSelectionDAGInfo.h
delete mode 100644 lib/Target/SystemZ/SystemZSubtarget.cpp
delete mode 100644 lib/Target/SystemZ/SystemZSubtarget.h
delete mode 100644 lib/Target/SystemZ/SystemZTargetMachine.cpp
delete mode 100644 lib/Target/SystemZ/SystemZTargetMachine.h
delete mode 100644 lib/Target/SystemZ/TargetInfo/CMakeLists.txt
create mode 100644 lib/Target/TargetJITInfo.cpp
create mode 100644 lib/Target/TargetMachineC.cpp
create mode 100644 lib/Target/X86/AsmParser/LLVMBuild.txt
create mode 100644 lib/Target/X86/Disassembler/LLVMBuild.txt
create mode 100644 lib/Target/X86/InstPrinter/LLVMBuild.txt
create mode 100644 lib/Target/X86/LLVMBuild.txt
create mode 100644 lib/Target/X86/MCTargetDesc/LLVMBuild.txt
create mode 100644 lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
create mode 100644 lib/Target/X86/MCTargetDesc/X86WinCOFFObjectWriter.cpp
create mode 100644 lib/Target/X86/TargetInfo/LLVMBuild.txt
create mode 100644 lib/Target/X86/Utils/LLVMBuild.txt
create mode 100644 lib/Target/X86/X86InstrSVM.td
create mode 100644 lib/Target/X86/X86InstrXOP.td
create mode 100644 lib/Target/X86/X86MachineFunctionInfo.cpp
create mode 100644 lib/Target/X86/X86Schedule.td
create mode 100644 lib/Target/X86/X86ScheduleAtom.td
create mode 100644 lib/Target/XCore/LLVMBuild.txt
create mode 100644 lib/Target/XCore/MCTargetDesc/LLVMBuild.txt
create mode 100644 lib/Target/XCore/TargetInfo/LLVMBuild.txt
create mode 100644 lib/Target/XCore/XCoreMachineFunctionInfo.cpp
create mode 100644 lib/Transforms/IPO/LLVMBuild.txt
create mode 100644 lib/Transforms/InstCombine/LLVMBuild.txt
create mode 100644 lib/Transforms/Instrumentation/AddressSanitizer.cpp
create mode 100644 lib/Transforms/Instrumentation/FunctionBlackList.cpp
create mode 100644 lib/Transforms/Instrumentation/FunctionBlackList.h
create mode 100644 lib/Transforms/Instrumentation/LLVMBuild.txt
create mode 100644 lib/Transforms/Instrumentation/ThreadSanitizer.cpp
create mode 100644 lib/Transforms/LLVMBuild.txt
rename lib/{Target/ARM/ARMGlobalMerge.cpp => Transforms/Scalar/GlobalMerge.cpp} (86%)
create mode 100644 lib/Transforms/Scalar/LLVMBuild.txt
delete mode 100644 lib/Transforms/Utils/BasicInliner.cpp
create mode 100644 lib/Transforms/Utils/CmpInstAnalysis.cpp
create mode 100644 lib/Transforms/Utils/LLVMBuild.txt
create mode 100644 lib/Transforms/Utils/LoopUnrollRuntime.cpp
create mode 100644 lib/Transforms/Utils/ModuleUtils.cpp
create mode 100644 lib/Transforms/Vectorize/BBVectorize.cpp
create mode 100644 lib/Transforms/Vectorize/CMakeLists.txt
create mode 100644 lib/Transforms/Vectorize/LLVMBuild.txt
rename lib/{Target/CBackend => Transforms/Vectorize}/Makefile (65%)
create mode 100644 lib/Transforms/Vectorize/Vectorize.cpp
delete mode 100644 lib/VMCore/DebugInfoProbe.cpp
create mode 100644 lib/VMCore/LLVMBuild.txt
create mode 100644 projects/LLVMBuild.txt
create mode 100644 projects/sample/Makefile.llvm.config.in
create mode 100644 projects/sample/Makefile.llvm.rules
create mode 100644 projects/sample/autoconf/ExportMap.map
create mode 100755 projects/sample/autoconf/install-sh
create mode 100644 projects/sample/autoconf/ltmain.sh
create mode 100644 projects/sample/autoconf/m4/build_exeext.m4
create mode 100644 projects/sample/autoconf/m4/c_printf_a.m4
create mode 100644 projects/sample/autoconf/m4/check_gnu_make.m4
create mode 100644 projects/sample/autoconf/m4/config_makefile.m4
create mode 100644 projects/sample/autoconf/m4/config_project.m4
create mode 100644 projects/sample/autoconf/m4/cxx_flag_check.m4
create mode 100644 projects/sample/autoconf/m4/find_std_program.m4
create mode 100644 projects/sample/autoconf/m4/func_isinf.m4
create mode 100644 projects/sample/autoconf/m4/func_isnan.m4
create mode 100644 projects/sample/autoconf/m4/func_mmap_file.m4
create mode 100644 projects/sample/autoconf/m4/header_mmap_anonymous.m4
create mode 100644 projects/sample/autoconf/m4/huge_val.m4
create mode 100644 projects/sample/autoconf/m4/libtool.m4
create mode 100644 projects/sample/autoconf/m4/link_options.m4
create mode 100644 projects/sample/autoconf/m4/linux_mixed_64_32.m4
create mode 100644 projects/sample/autoconf/m4/ltdl.m4
create mode 100644 projects/sample/autoconf/m4/need_dev_zero_for_mmap.m4
create mode 100644 projects/sample/autoconf/m4/path_tclsh.m4
create mode 100644 projects/sample/autoconf/m4/rand48.m4
create mode 100644 projects/sample/autoconf/m4/sanity_check.m4
create mode 100644 projects/sample/autoconf/m4/single_cxx_check.m4
create mode 100644 projects/sample/autoconf/m4/visibility_inlines_hidden.m4
create mode 100755 projects/sample/autoconf/mkinstalldirs
create mode 100644 runtime/LLVMBuild.txt
create mode 100644 test/Analysis/BasicAA/aligned-overread.ll
delete mode 100644 test/Analysis/BasicAA/dg.exp
create mode 100644 test/Analysis/BasicAA/lit.local.cfg
delete mode 100644 test/Analysis/BlockFrequencyInfo/dg.exp
create mode 100644 test/Analysis/BlockFrequencyInfo/lit.local.cfg
create mode 100644 test/Analysis/BranchProbabilityInfo/basic.ll
create mode 100644 test/Analysis/BranchProbabilityInfo/lit.local.cfg
create mode 100644 test/Analysis/BranchProbabilityInfo/loop.ll
create mode 100644 test/Analysis/BranchProbabilityInfo/noreturn.ll
delete mode 100644 test/Analysis/CallGraph/dg.exp
create mode 100644 test/Analysis/CallGraph/lit.local.cfg
delete mode 100644 test/Analysis/Dominators/dg.exp
create mode 100644 test/Analysis/Dominators/invoke.ll
create mode 100644 test/Analysis/Dominators/lit.local.cfg
delete mode 100644 test/Analysis/GlobalsModRef/dg.exp
create mode 100644 test/Analysis/GlobalsModRef/lit.local.cfg
create mode 100644 test/Analysis/GlobalsModRef/pr12351.ll
delete mode 100644 test/Analysis/LoopDependenceAnalysis/dg.exp
create mode 100644 test/Analysis/LoopDependenceAnalysis/lit.local.cfg
delete mode 100644 test/Analysis/LoopInfo/dg.exp
create mode 100644 test/Analysis/LoopInfo/lit.local.cfg
delete mode 100644 test/Analysis/PostDominators/dg.exp
create mode 100644 test/Analysis/PostDominators/lit.local.cfg
delete mode 100644 test/Analysis/Profiling/dg.exp
create mode 100644 test/Analysis/Profiling/lit.local.cfg
delete mode 100644 test/Analysis/RegionInfo/dg.exp
create mode 100644 test/Analysis/RegionInfo/lit.local.cfg
create mode 100644 test/Analysis/ScalarEvolution/2012-03-26-LoadConstant.ll
delete mode 100644 test/Analysis/ScalarEvolution/dg.exp
create mode 100644 test/Analysis/ScalarEvolution/lit.local.cfg
create mode 100644 test/Analysis/ScalarEvolution/load.ll
create mode 100644 test/Analysis/ScalarEvolution/trip-count11.ll
create mode 100644 test/Analysis/ScalarEvolution/trip-count12.ll
delete mode 100644 test/Analysis/TypeBasedAliasAnalysis/dg.exp
create mode 100644 test/Analysis/TypeBasedAliasAnalysis/lit.local.cfg
delete mode 100644 test/Archive/dg.exp
create mode 100644 test/Archive/lit.local.cfg
delete mode 100644 test/Assembler/AutoUpgradeIntrinsics.ll
create mode 100644 test/Assembler/auto_upgrade_intrinsics.ll
delete mode 100644 test/Assembler/dg.exp
create mode 100644 test/Assembler/lit.local.cfg
delete mode 100644 test/Bindings/Ocaml/dg.exp
create mode 100644 test/Bindings/Ocaml/lit.local.cfg
delete mode 100644 test/Bitcode/AutoUpgradeGlobals.ll
delete mode 100644 test/Bitcode/AutoUpgradeGlobals.ll.bc
delete mode 100644 test/Bitcode/dg.exp
create mode 100644 test/Bitcode/lit.local.cfg
create mode 100644 test/Bitcode/shuffle.ll
delete mode 100644 test/Bitcode/sse42_crc32.ll
delete mode 100644 test/Bitcode/sse42_crc32.ll.bc
delete mode 100644 test/Bitcode/ssse3_palignr.ll.bc
delete mode 100644 test/BugPoint/dg.exp
create mode 100644 test/BugPoint/lit.local.cfg
create mode 100644 test/CodeGen/ARM/2011-10-26-ExpandUnalignedLoadCrash.ll
create mode 100644 test/CodeGen/ARM/2011-10-26-memset-inline.ll
create mode 100644 test/CodeGen/ARM/2011-10-26-memset-with-neon.ll
create mode 100644 test/CodeGen/ARM/2011-11-07-PromoteVectorLoadStore.ll
create mode 100644 test/CodeGen/ARM/2011-11-09-BitcastVectorDouble.ll
create mode 100644 test/CodeGen/ARM/2011-11-09-IllegalVectorFPIntConvert.ll
create mode 100644 test/CodeGen/ARM/2011-11-14-EarlyClobber.ll
create mode 100644 test/CodeGen/ARM/2011-11-28-DAGCombineBug.ll
create mode 100644 test/CodeGen/ARM/2011-11-29-128bitArithmetics.ll
create mode 100644 test/CodeGen/ARM/2011-11-30-MergeAlignment.ll
create mode 100644 test/CodeGen/ARM/2011-12-14-machine-sink.ll
create mode 100644 test/CodeGen/ARM/2011-12-19-sjlj-clobber.ll
create mode 100644 test/CodeGen/ARM/2012-01-23-PostRA-LICM.ll
create mode 100644 test/CodeGen/ARM/2012-01-24-RegSequenceLiveRange.ll
create mode 100644 test/CodeGen/ARM/2012-01-26-CoalescerBug.ll
create mode 100644 test/CodeGen/ARM/2012-01-26-CopyPropKills.ll
create mode 100644 test/CodeGen/ARM/2012-02-01-CoalescerBug.ll
create mode 100644 test/CodeGen/ARM/2012-03-05-FPSCR-bug.ll
create mode 100644 test/CodeGen/ARM/2012-03-13-DAGCombineBug.ll
create mode 100644 test/CodeGen/ARM/2012-03-26-FoldImmBug.ll
create mode 100644 test/CodeGen/ARM/2012-04-02-TwoAddrInstrCrash.ll
create mode 100644 test/CodeGen/ARM/2012-04-10-DAGCombine.ll
create mode 100644 test/CodeGen/ARM/commute-movcc.ll
create mode 100644 test/CodeGen/ARM/cse-call.ll
create mode 100644 test/CodeGen/ARM/ctor_order.ll
create mode 100644 test/CodeGen/ARM/dagcombine-anyexttozeroext.ll
delete mode 100644 test/CodeGen/ARM/dg.exp
create mode 100644 test/CodeGen/ARM/ehabi-unwind.ll
create mode 100644 test/CodeGen/ARM/fast-isel-GEP-coalesce.ll
create mode 100644 test/CodeGen/ARM/fast-isel-binary.ll
create mode 100644 test/CodeGen/ARM/fast-isel-br-const.ll
create mode 100644 test/CodeGen/ARM/fast-isel-br-phi.ll
create mode 100644 test/CodeGen/ARM/fast-isel-call.ll
create mode 100644 test/CodeGen/ARM/fast-isel-cmp-imm.ll
create mode 100644 test/CodeGen/ARM/fast-isel-conversion.ll
create mode 100644 test/CodeGen/ARM/fast-isel-deadcode.ll
create mode 100644 test/CodeGen/ARM/fast-isel-fold.ll
create mode 100644 test/CodeGen/ARM/fast-isel-icmp.ll
create mode 100644 test/CodeGen/ARM/fast-isel-indirectbr.ll
create mode 100644 test/CodeGen/ARM/fast-isel-intrinsic.ll
create mode 100644 test/CodeGen/ARM/fast-isel-ldr-str-arm.ll
create mode 100644 test/CodeGen/ARM/fast-isel-ldr-str-thumb-neg-index.ll
create mode 100644 test/CodeGen/ARM/fast-isel-ldrh-strh-arm.ll
create mode 100644 test/CodeGen/ARM/fast-isel-mvn.ll
create mode 100644 test/CodeGen/ARM/fast-isel-ret.ll
create mode 100644 test/CodeGen/ARM/fast-isel-select.ll
create mode 100644 test/CodeGen/ARM/fusedMAC.ll
create mode 100644 test/CodeGen/ARM/ldrd-memoper.ll
create mode 100644 test/CodeGen/ARM/lit.local.cfg
create mode 100644 test/CodeGen/ARM/load_i1_select.ll
create mode 100644 test/CodeGen/ARM/log2_not_readnone.ll
create mode 100644 test/CodeGen/ARM/lsr-icmp-imm.ll
delete mode 100644 test/CodeGen/ARM/lsr-on-unrolled-loops.ll
create mode 100644 test/CodeGen/ARM/neon_spill.ll
create mode 100644 test/CodeGen/ARM/odr_comdat.ll
create mode 100644 test/CodeGen/ARM/opt-shuff-tstore.ll
create mode 100644 test/CodeGen/ARM/reg_asc_order.ll
create mode 100644 test/CodeGen/ARM/tail-dup.ll
create mode 100644 test/CodeGen/ARM/test-sharedidx.ll
create mode 100644 test/CodeGen/ARM/vector-extend-narrow.ll
delete mode 100644 test/CodeGen/Alpha/2005-12-12-MissingFCMov.ll
delete mode 100644 test/CodeGen/Alpha/2006-01-18-MissedGlobal.ll
delete mode 100644 test/CodeGen/Alpha/2006-01-26-VaargBreak.ll
delete mode 100644 test/CodeGen/Alpha/2006-04-04-zextload.ll
delete mode 100644 test/CodeGen/Alpha/2006-07-03-ASMFormalLowering.ll
delete mode 100644 test/CodeGen/Alpha/2006-11-01-vastart.ll
delete mode 100644 test/CodeGen/Alpha/2007-11-27-mulneg3.ll
delete mode 100644 test/CodeGen/Alpha/2008-11-10-smul_lohi.ll
delete mode 100644 test/CodeGen/Alpha/2008-11-12-Add128.ll
delete mode 100644 test/CodeGen/Alpha/2009-07-16-PromoteFloatCompare.ll
delete mode 100644 test/CodeGen/Alpha/2010-04-07-DbgValueOtherTargets.ll
delete mode 100644 test/CodeGen/Alpha/2010-08-01-mulreduce64.ll
delete mode 100644 test/CodeGen/Alpha/add.ll
delete mode 100644 test/CodeGen/Alpha/add128.ll
delete mode 100644 test/CodeGen/Alpha/bic.ll
delete mode 100644 test/CodeGen/Alpha/bsr.ll
delete mode 100644 test/CodeGen/Alpha/call_adj.ll
delete mode 100644 test/CodeGen/Alpha/cmov.ll
delete mode 100644 test/CodeGen/Alpha/cmpbge.ll
delete mode 100644 test/CodeGen/Alpha/ctlz.ll
delete mode 100644 test/CodeGen/Alpha/ctlz_e.ll
delete mode 100644 test/CodeGen/Alpha/ctpop.ll
delete mode 100644 test/CodeGen/Alpha/dg.exp
delete mode 100644 test/CodeGen/Alpha/eqv.ll
delete mode 100644 test/CodeGen/Alpha/i32_sub_1.ll
delete mode 100644 test/CodeGen/Alpha/illegal-element-type.ll
delete mode 100644 test/CodeGen/Alpha/jmp_table.ll
delete mode 100644 test/CodeGen/Alpha/mb.ll
delete mode 100644 test/CodeGen/Alpha/mul128.ll
delete mode 100644 test/CodeGen/Alpha/mul5.ll
delete mode 100644 test/CodeGen/Alpha/neg1.ll
delete mode 100644 test/CodeGen/Alpha/not.ll
delete mode 100644 test/CodeGen/Alpha/ornot.ll
delete mode 100644 test/CodeGen/Alpha/private.ll
delete mode 100644 test/CodeGen/Alpha/rpcc.ll
delete mode 100644 test/CodeGen/Alpha/srl_and.ll
delete mode 100644 test/CodeGen/Alpha/sub128.ll
delete mode 100644 test/CodeGen/Alpha/weak.ll
delete mode 100644 test/CodeGen/Alpha/zapnot.ll
delete mode 100644 test/CodeGen/Alpha/zapnot2.ll
delete mode 100644 test/CodeGen/Alpha/zapnot3.ll
delete mode 100644 test/CodeGen/Alpha/zapnot4.ll
delete mode 100644 test/CodeGen/Blackfin/2009-08-04-LowerExtract-Live.ll
delete mode 100644 test/CodeGen/Blackfin/2009-08-11-RegScavenger-CSR.ll
delete mode 100644 test/CodeGen/Blackfin/2009-08-15-LiveIn-SubReg.ll
delete mode 100644 test/CodeGen/Blackfin/2009-08-15-MissingDead.ll
delete mode 100644 test/CodeGen/Blackfin/2009-08-15-SetCC-Undef.ll
delete mode 100644 test/CodeGen/Blackfin/add-overflow.ll
delete mode 100644 test/CodeGen/Blackfin/add.ll
delete mode 100644 test/CodeGen/Blackfin/addsub-i128.ll
delete mode 100644 test/CodeGen/Blackfin/basic-i1.ll
delete mode 100644 test/CodeGen/Blackfin/basic-i16.ll
delete mode 100644 test/CodeGen/Blackfin/basic-i32.ll
delete mode 100644 test/CodeGen/Blackfin/basic-i64.ll
delete mode 100644 test/CodeGen/Blackfin/basic-i8.ll
delete mode 100644 test/CodeGen/Blackfin/basictest.ll
delete mode 100644 test/CodeGen/Blackfin/cmp-small-imm.ll
delete mode 100644 test/CodeGen/Blackfin/cmp64.ll
delete mode 100644 test/CodeGen/Blackfin/ct32.ll
delete mode 100644 test/CodeGen/Blackfin/ct64.ll
delete mode 100644 test/CodeGen/Blackfin/ctlz16.ll
delete mode 100644 test/CodeGen/Blackfin/ctlz64.ll
delete mode 100644 test/CodeGen/Blackfin/ctpop16.ll
delete mode 100644 test/CodeGen/Blackfin/cttz16.ll
delete mode 100644 test/CodeGen/Blackfin/cycles.ll
delete mode 100644 test/CodeGen/Blackfin/dg.exp
delete mode 100644 test/CodeGen/Blackfin/double-cast.ll
delete mode 100644 test/CodeGen/Blackfin/frameindex.ll
delete mode 100644 test/CodeGen/Blackfin/i17mem.ll
delete mode 100644 test/CodeGen/Blackfin/i1mem.ll
delete mode 100644 test/CodeGen/Blackfin/i1ops.ll
delete mode 100644 test/CodeGen/Blackfin/i216mem.ll
delete mode 100644 test/CodeGen/Blackfin/i248mem.ll
delete mode 100644 test/CodeGen/Blackfin/i256mem.ll
delete mode 100644 test/CodeGen/Blackfin/i256param.ll
delete mode 100644 test/CodeGen/Blackfin/i56param.ll
delete mode 100644 test/CodeGen/Blackfin/i8mem.ll
delete mode 100644 test/CodeGen/Blackfin/inline-asm.ll
delete mode 100644 test/CodeGen/Blackfin/int-setcc.ll
delete mode 100644 test/CodeGen/Blackfin/invalid-apint.ll
delete mode 100644 test/CodeGen/Blackfin/jumptable.ll
delete mode 100644 test/CodeGen/Blackfin/large-switch.ll
delete mode 100644 test/CodeGen/Blackfin/load-i16.ll
delete mode 100644 test/CodeGen/Blackfin/logic-i16.ll
delete mode 100644 test/CodeGen/Blackfin/many-args.ll
delete mode 100644 test/CodeGen/Blackfin/mulhu.ll
delete mode 100644 test/CodeGen/Blackfin/printf.ll
delete mode 100644 test/CodeGen/Blackfin/printf2.ll
delete mode 100644 test/CodeGen/Blackfin/promote-logic.ll
delete mode 100644 test/CodeGen/Blackfin/promote-setcc.ll
delete mode 100644 test/CodeGen/Blackfin/sdiv.ll
delete mode 100644 test/CodeGen/Blackfin/simple-select.ll
delete mode 100644 test/CodeGen/Blackfin/switch.ll
delete mode 100644 test/CodeGen/Blackfin/switch2.ll
delete mode 100644 test/CodeGen/Blackfin/sync-intr.ll
delete mode 100644 test/CodeGen/CBackend/2002-05-16-NameCollide.ll
delete mode 100644 test/CodeGen/CBackend/2002-05-21-MissingReturn.ll
delete mode 100644 test/CodeGen/CBackend/2002-08-19-ConstPointerRef.ll
delete mode 100644 test/CodeGen/CBackend/2002-08-19-ConstantExpr.ll
delete mode 100644 test/CodeGen/CBackend/2002-08-19-DataPointer.ll
delete mode 100644 test/CodeGen/CBackend/2002-08-19-FunctionPointer.ll
delete mode 100644 test/CodeGen/CBackend/2002-08-19-HardConstantExpr.ll
delete mode 100644 test/CodeGen/CBackend/2002-08-20-UnnamedArgument.ll
delete mode 100644 test/CodeGen/CBackend/2002-08-26-IndirectCallTest.ll
delete mode 100644 test/CodeGen/CBackend/2002-08-30-StructureOrderingTest.ll
delete mode 100644 test/CodeGen/CBackend/2002-09-20-ArrayTypeFailure.ll
delete mode 100644 test/CodeGen/CBackend/2002-09-20-VarArgPrototypes.ll
delete mode 100644 test/CodeGen/CBackend/2002-10-16-External.ll
delete mode 100644 test/CodeGen/CBackend/2002-11-06-PrintEscaped.ll
delete mode 100644 test/CodeGen/CBackend/2003-05-12-IntegerSizeWarning.ll
delete mode 100644 test/CodeGen/CBackend/2003-05-13-VarArgFunction.ll
delete mode 100644 test/CodeGen/CBackend/2003-05-31-MissingStructName.ll
delete mode 100644 test/CodeGen/CBackend/2003-06-01-NullPointerType.ll
delete mode 100644 test/CodeGen/CBackend/2003-06-11-HexConstant.ll
delete mode 100644 test/CodeGen/CBackend/2003-06-11-LiteralStringProblem.ll
delete mode 100644 test/CodeGen/CBackend/2003-06-28-InvokeSupport.ll
delete mode 100644 test/CodeGen/CBackend/2003-06-28-LinkOnceGlobalVars.ll
delete mode 100644 test/CodeGen/CBackend/2003-10-12-NANGlobalInits.ll
delete mode 100644 test/CodeGen/CBackend/2003-10-23-UnusedType.ll
delete mode 100644 test/CodeGen/CBackend/2003-10-28-CastToPtrToStruct.ll
delete mode 100644 test/CodeGen/CBackend/2003-11-21-ConstantShiftExpr.ll
delete mode 100644 test/CodeGen/CBackend/2004-02-13-FrameReturnAddress.ll
delete mode 100644 test/CodeGen/CBackend/2004-02-15-PreexistingExternals.ll
delete mode 100644 test/CodeGen/CBackend/2004-02-26-FPNotPrintableConstants.ll
delete mode 100644 test/CodeGen/CBackend/2004-02-26-LinkOnceFunctions.ll
delete mode 100644 test/CodeGen/CBackend/2004-08-09-va-end-null.ll
delete mode 100644 test/CodeGen/CBackend/2004-11-13-FunctionPointerCast.ll
delete mode 100644 test/CodeGen/CBackend/2004-12-03-ExternStatics.ll
delete mode 100644 test/CodeGen/CBackend/2004-12-28-LogicalConstantExprs.ll
delete mode 100644 test/CodeGen/CBackend/2005-02-14-VolatileOperations.ll
delete mode 100644 test/CodeGen/CBackend/2005-07-14-NegationToMinusMinus.ll
delete mode 100644 test/CodeGen/CBackend/2005-08-23-Fmod.ll
delete mode 100644 test/CodeGen/CBackend/2005-09-27-VolatileFuncPtr.ll
delete mode 100644 test/CodeGen/CBackend/2006-12-11-Float-Bitcast.ll
delete mode 100644 test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll
delete mode 100644 test/CodeGen/CBackend/2007-01-17-StackSaveNRestore.ll
delete mode 100644 test/CodeGen/CBackend/2007-02-05-memset.ll
delete mode 100644 test/CodeGen/CBackend/2007-02-23-NameConflicts.ll
delete mode 100644 test/CodeGen/CBackend/2007-07-11-PackedStruct.ll
delete mode 100644 test/CodeGen/CBackend/2008-02-01-UnalignedLoadStore.ll
delete mode 100644 test/CodeGen/CBackend/2008-05-31-BoolOverflow.ll
delete mode 100644 test/CodeGen/CBackend/2008-10-21-PPCLongDoubleConstant.ll
delete mode 100644 test/CodeGen/CBackend/2011-06-08-addWithOverflow.ll
delete mode 100644 test/CodeGen/CBackend/X86/2008-06-04-IndirectMem.ll
delete mode 100644 test/CodeGen/CBackend/X86/dg.exp
delete mode 100644 test/CodeGen/CBackend/dg.exp
delete mode 100644 test/CodeGen/CBackend/fneg.ll
delete mode 100644 test/CodeGen/CBackend/pr2408.ll
delete mode 100644 test/CodeGen/CBackend/vectors.ll
create mode 100644 test/CodeGen/CPP/2012-02-05-UnitVarCrash.ll
delete mode 100644 test/CodeGen/CPP/dg.exp
create mode 100644 test/CodeGen/CPP/lit.local.cfg
delete mode 100644 test/CodeGen/CellSPU/call_indirect.ll
delete mode 100644 test/CodeGen/CellSPU/dg.exp
create mode 100644 test/CodeGen/CellSPU/lit.local.cfg
delete mode 100644 test/CodeGen/Generic/bool-vector.ll
create mode 100644 test/CodeGen/Generic/dbg-declare.ll
delete mode 100644 test/CodeGen/Generic/dg.exp
create mode 100644 test/CodeGen/Generic/lit.local.cfg
create mode 100644 test/CodeGen/Generic/pr12507.ll
create mode 100644 test/CodeGen/Hexagon/args.ll
create mode 100644 test/CodeGen/Hexagon/combine.ll
create mode 100644 test/CodeGen/Hexagon/double.ll
create mode 100644 test/CodeGen/Hexagon/float.ll
create mode 100644 test/CodeGen/Hexagon/frame.ll
create mode 100644 test/CodeGen/Hexagon/lit.local.cfg
create mode 100644 test/CodeGen/Hexagon/mpy.ll
create mode 100644 test/CodeGen/Hexagon/static.ll
create mode 100644 test/CodeGen/Hexagon/struct_args.ll
create mode 100644 test/CodeGen/Hexagon/struct_args_large.ll
create mode 100644 test/CodeGen/Hexagon/vaddh.ll
delete mode 100644 test/CodeGen/MBlaze/dg.exp
create mode 100644 test/CodeGen/MBlaze/lit.local.cfg
delete mode 100644 test/CodeGen/MSP430/dg.exp
create mode 100644 test/CodeGen/MSP430/lit.local.cfg
create mode 100644 test/CodeGen/Mips/br-jmp.ll
create mode 100644 test/CodeGen/Mips/bswap.ll
delete mode 100644 test/CodeGen/Mips/dg.exp
create mode 100644 test/CodeGen/Mips/fabs.ll
create mode 100644 test/CodeGen/Mips/fcopysign-f32-f64.ll
create mode 100644 test/CodeGen/Mips/fmadd1.ll
create mode 100644 test/CodeGen/Mips/fneg.ll
create mode 100644 test/CodeGen/Mips/fp-indexed-ls.ll
delete mode 100644 test/CodeGen/Mips/fpcmp.ll
create mode 100644 test/CodeGen/Mips/frem.ll
create mode 100644 test/CodeGen/Mips/global-address.ll
create mode 100644 test/CodeGen/Mips/global-pointer-reg.ll
create mode 100644 test/CodeGen/Mips/imm.ll
create mode 100644 test/CodeGen/Mips/indirectcall.ll
create mode 100644 test/CodeGen/Mips/inlineasm64.ll
create mode 100644 test/CodeGen/Mips/lit.local.cfg
create mode 100644 test/CodeGen/Mips/mips64-fp-indexed-ls.ll
create mode 100644 test/CodeGen/Mips/mips64countleading.ll
create mode 100644 test/CodeGen/Mips/mips64directive.ll
create mode 100644 test/CodeGen/Mips/mips64ext.ll
create mode 100644 test/CodeGen/Mips/mips64extins.ll
create mode 100644 test/CodeGen/Mips/mips64fpimm0.ll
create mode 100644 test/CodeGen/Mips/mips64imm.ll
create mode 100644 test/CodeGen/Mips/mips64lea.ll
create mode 100644 test/CodeGen/Mips/mips64muldiv.ll
create mode 100644 test/CodeGen/Mips/swzero.ll
create mode 100644 test/CodeGen/Mips/zeroreg.ll
delete mode 100644 test/CodeGen/PTX/dg.exp
create mode 100644 test/CodeGen/PTX/lit.local.cfg
create mode 100644 test/CodeGen/PTX/printf.ll
delete mode 100644 test/CodeGen/PowerPC/2006-10-11-combiner-aa-regression.ll
create mode 100644 test/CodeGen/PowerPC/2011-12-05-NoSpillDupCR.ll
create mode 100644 test/CodeGen/PowerPC/2011-12-06-SpillAndRestoreCR.ll
create mode 100644 test/CodeGen/PowerPC/2011-12-08-DemandedBitsMiscompile.ll
create mode 100644 test/CodeGen/PowerPC/a2-fp-basic.ll
create mode 100644 test/CodeGen/PowerPC/bl8_elf_nop.ll
create mode 100644 test/CodeGen/PowerPC/can-lower-ret.ll
create mode 100644 test/CodeGen/PowerPC/dbg.ll
delete mode 100644 test/CodeGen/PowerPC/dg.exp
create mode 100644 test/CodeGen/PowerPC/lit.local.cfg
delete mode 100644 test/CodeGen/PowerPC/ppc32-vaarg.ll
create mode 100644 test/CodeGen/PowerPC/ppc440-fp-basic.ll
create mode 100644 test/CodeGen/PowerPC/ppc440-msync.ll
create mode 100644 test/CodeGen/PowerPC/ppc64-ind-call.ll
create mode 100644 test/CodeGen/PowerPC/ppc64-linux-func-size.ll
create mode 100644 test/CodeGen/PowerPC/ppc64-prefetch.ll
create mode 100644 test/CodeGen/PowerPC/ppc64-vaarg-int.ll
create mode 100644 test/CodeGen/SPARC/2011-12-03-TailDuplication.ll
delete mode 100644 test/CodeGen/SPARC/dg.exp
create mode 100644 test/CodeGen/SPARC/lit.local.cfg
delete mode 100644 test/CodeGen/SystemZ/00-RetVoid.ll
delete mode 100644 test/CodeGen/SystemZ/01-RetArg.ll
delete mode 100644 test/CodeGen/SystemZ/01-RetImm.ll
delete mode 100644 test/CodeGen/SystemZ/02-MemArith.ll
delete mode 100644 test/CodeGen/SystemZ/02-RetAdd.ll
delete mode 100644 test/CodeGen/SystemZ/02-RetAddImm.ll
delete mode 100644 test/CodeGen/SystemZ/02-RetAnd.ll
delete mode 100644 test/CodeGen/SystemZ/02-RetAndImm.ll
delete mode 100644 test/CodeGen/SystemZ/02-RetNeg.ll
delete mode 100644 test/CodeGen/SystemZ/02-RetOr.ll
delete mode 100644 test/CodeGen/SystemZ/02-RetOrImm.ll
delete mode 100644 test/CodeGen/SystemZ/02-RetSub.ll
delete mode 100644 test/CodeGen/SystemZ/02-RetSubImm.ll
delete mode 100644 test/CodeGen/SystemZ/02-RetXor.ll
delete mode 100644 test/CodeGen/SystemZ/02-RetXorImm.ll
delete mode 100644 test/CodeGen/SystemZ/03-RetAddImmSubreg.ll
delete mode 100644 test/CodeGen/SystemZ/03-RetAddSubreg.ll
delete mode 100644 test/CodeGen/SystemZ/03-RetAndImmSubreg.ll
delete mode 100644 test/CodeGen/SystemZ/03-RetAndSubreg.ll
delete mode 100644 test/CodeGen/SystemZ/03-RetArgSubreg.ll
delete mode 100644 test/CodeGen/SystemZ/03-RetImmSubreg.ll
delete mode 100644 test/CodeGen/SystemZ/03-RetNegImmSubreg.ll
delete mode 100644 test/CodeGen/SystemZ/03-RetOrImmSubreg.ll
delete mode 100644 test/CodeGen/SystemZ/03-RetOrSubreg.ll
delete mode 100644 test/CodeGen/SystemZ/03-RetSubImmSubreg.ll
delete mode 100644 test/CodeGen/SystemZ/03-RetSubSubreg.ll
delete mode 100644 test/CodeGen/SystemZ/03-RetXorImmSubreg.ll
delete mode 100644 test/CodeGen/SystemZ/03-RetXorSubreg.ll
delete mode 100644 test/CodeGen/SystemZ/04-RetShifts.ll
delete mode 100644 test/CodeGen/SystemZ/05-LoadAddr.ll
delete mode 100644 test/CodeGen/SystemZ/05-MemImmStores.ll
delete mode 100644 test/CodeGen/SystemZ/05-MemLoadsStores.ll
delete mode 100644 test/CodeGen/SystemZ/05-MemLoadsStores16.ll
delete mode 100644 test/CodeGen/SystemZ/05-MemRegLoads.ll
delete mode 100644 test/CodeGen/SystemZ/05-MemRegStores.ll
delete mode 100644 test/CodeGen/SystemZ/06-CallViaStack.ll
delete mode 100644 test/CodeGen/SystemZ/06-FrameIdxLoad.ll
delete mode 100644 test/CodeGen/SystemZ/06-LocalFrame.ll
delete mode 100644 test/CodeGen/SystemZ/06-SimpleCall.ll
delete mode 100644 test/CodeGen/SystemZ/07-BrCond.ll
delete mode 100644 test/CodeGen/SystemZ/07-BrCond32.ll
delete mode 100644 test/CodeGen/SystemZ/07-BrUnCond.ll
delete mode 100644 test/CodeGen/SystemZ/07-CmpImm.ll
delete mode 100644 test/CodeGen/SystemZ/07-CmpImm32.ll
delete mode 100644 test/CodeGen/SystemZ/07-SelectCC.ll
delete mode 100644 test/CodeGen/SystemZ/08-DivRem.ll
delete mode 100644 test/CodeGen/SystemZ/08-DivRemMemOp.ll
delete mode 100644 test/CodeGen/SystemZ/08-SimpleMuls.ll
delete mode 100644 test/CodeGen/SystemZ/09-DynamicAlloca.ll
delete mode 100644 test/CodeGen/SystemZ/09-Globals.ll
delete mode 100644 test/CodeGen/SystemZ/09-Switches.ll
delete mode 100644 test/CodeGen/SystemZ/10-FuncsPic.ll
delete mode 100644 test/CodeGen/SystemZ/10-GlobalsPic.ll
delete mode 100644 test/CodeGen/SystemZ/11-BSwap.ll
delete mode 100644 test/CodeGen/SystemZ/2009-05-29-InvalidRetResult.ll
delete mode 100644 test/CodeGen/SystemZ/2009-06-02-And32Imm.ll
delete mode 100644 test/CodeGen/SystemZ/2009-06-02-Rotate.ll
delete mode 100644 test/CodeGen/SystemZ/2009-06-05-InvalidArgLoad.ll
delete mode 100644 test/CodeGen/SystemZ/2009-07-04-Shl32.ll
delete mode 100644 test/CodeGen/SystemZ/2009-07-05-Shifts.ll
delete mode 100644 test/CodeGen/SystemZ/2009-07-10-BadIncomingArgOffset.ll
delete mode 100644 test/CodeGen/SystemZ/2009-07-11-FloatBitConvert.ll
delete mode 100644 test/CodeGen/SystemZ/2009-07-11-InvalidRIISel.ll
delete mode 100644 test/CodeGen/SystemZ/2009-08-21-InlineAsmRConstraint.ll
delete mode 100644 test/CodeGen/SystemZ/2009-08-22-FCopySign.ll
delete mode 100644 test/CodeGen/SystemZ/2010-01-04-DivMem.ll
delete mode 100644 test/CodeGen/SystemZ/2010-04-07-DbgValueOtherTargets.ll
delete mode 100644 test/CodeGen/SystemZ/dg.exp
delete mode 100644 test/CodeGen/Thumb/dg.exp
create mode 100644 test/CodeGen/Thumb/lit.local.cfg
create mode 100644 test/CodeGen/Thumb2/2011-12-16-T2SizeReduceAssert.ll
create mode 100644 test/CodeGen/Thumb2/2012-01-13-CBNZBug.ll
create mode 100644 test/CodeGen/Thumb2/aligned-constants.ll
create mode 100644 test/CodeGen/Thumb2/aligned-spill.ll
create mode 100644 test/CodeGen/Thumb2/constant-islands.ll
delete mode 100644 test/CodeGen/Thumb2/dg.exp
create mode 100644 test/CodeGen/Thumb2/large-call.ll
create mode 100644 test/CodeGen/Thumb2/lit.local.cfg
delete mode 100644 test/CodeGen/X86/2004-04-09-SameValueCoalescing.ll
delete mode 100644 test/CodeGen/X86/2008-01-16-Trampoline.ll
delete mode 100644 test/CodeGen/X86/2008-02-22-ReMatBug.ll
delete mode 100644 test/CodeGen/X86/2008-03-18-CoalescerBug.ll
delete mode 100644 test/CodeGen/X86/2008-12-16-BadShift.ll
delete mode 100644 test/CodeGen/X86/2009-02-05-CoalescerBug.ll
delete mode 100644 test/CodeGen/X86/2009-03-16-SpillerBug.ll
delete mode 100644 test/CodeGen/X86/2009-07-17-StackColoringBug.ll
delete mode 100644 test/CodeGen/X86/2010-06-28-DbgEntryPC.ll
create mode 100644 test/CodeGen/X86/2011-10-18-FastISel-VectorParams.ll
create mode 100644 test/CodeGen/X86/2011-10-19-LegelizeLoad.ll
create mode 100644 test/CodeGen/X86/2011-10-19-widen_vselect.ll
create mode 100644 test/CodeGen/X86/2011-10-21-widen-cmp.ll
create mode 100644 test/CodeGen/X86/2011-10-27-tstore.ll
create mode 100644 test/CodeGen/X86/2011-10-30-padd.ll
create mode 100644 test/CodeGen/X86/2011-11-07-LegalizeBuildVector.ll
create mode 100644 test/CodeGen/X86/2011-11-22-AVX2-Domains.ll
create mode 100644 test/CodeGen/X86/2011-11-30-or.ll
create mode 100644 test/CodeGen/X86/2011-12-06-AVXVectorExtractCombine.ll
create mode 100644 test/CodeGen/X86/2011-12-06-BitcastVectorGlobal.ll
create mode 100644 test/CodeGen/X86/2011-12-08-AVXISelBugs.ll
create mode 100644 test/CodeGen/X86/2011-12-15-vec_shift.ll
create mode 100644 test/CodeGen/X86/2011-12-26-extractelement-duplicate-load.ll
create mode 100644 test/CodeGen/X86/2011-12-28-vselecti8.ll
create mode 100644 test/CodeGen/X86/2011-12-8-bitcastintprom.ll
create mode 100644 test/CodeGen/X86/2011-20-21-zext-ui2fp.ll
create mode 100644 test/CodeGen/X86/2012-01-10-UndefExceptionEdge.ll
create mode 100644 test/CodeGen/X86/2012-01-11-split-cv.ll
create mode 100644 test/CodeGen/X86/2012-01-12-extract-sv.ll
create mode 100644 test/CodeGen/X86/2012-01-16-mfence-nosse-flags.ll
create mode 100644 test/CodeGen/X86/2012-01-18-vbitcast.ll
create mode 100644 test/CodeGen/X86/2012-02-12-dagco.ll
create mode 100644 test/CodeGen/X86/2012-02-14-scalar.ll
create mode 100644 test/CodeGen/X86/2012-02-20-MachineCPBug.ll
create mode 100644 test/CodeGen/X86/2012-02-23-mmx-inlineasm.ll
create mode 100644 test/CodeGen/X86/2012-02-29-CoalescerBug.ll
create mode 100644 test/CodeGen/X86/2012-03-15-build_vector_wl.ll
create mode 100644 test/CodeGen/X86/2012-03-20-LargeConstantExpr.ll
create mode 100644 test/CodeGen/X86/2012-03-26-PostRALICMBug.ll
create mode 100644 test/CodeGen/X86/2012-04-09-TwoAddrPassBug.ll
create mode 100644 test/CodeGen/X86/2012-1-10-buildvector.ll
delete mode 100644 test/CodeGen/X86/GC/dg.exp
create mode 100644 test/CodeGen/X86/GC/lit.local.cfg
create mode 100644 test/CodeGen/X86/SwizzleShuff.ll
create mode 100644 test/CodeGen/X86/atom-lea-sp.ll
create mode 100644 test/CodeGen/X86/atom-sched.ll
create mode 100755 test/CodeGen/X86/avx-fp2int.ll
create mode 100755 test/CodeGen/X86/avx-sext.ll
create mode 100755 test/CodeGen/X86/avx-shuffle-x86_32.ll
create mode 100755 test/CodeGen/X86/avx-trunc.ll
create mode 100644 test/CodeGen/X86/avx-varargs-x86_64.ll
create mode 100755 test/CodeGen/X86/avx-win64-args.ll
create mode 100644 test/CodeGen/X86/avx-win64.ll
create mode 100755 test/CodeGen/X86/avx-zext.ll
create mode 100644 test/CodeGen/X86/avx2-arith.ll
create mode 100644 test/CodeGen/X86/avx2-cmp.ll
create mode 100644 test/CodeGen/X86/avx2-intrinsics-x86.ll
create mode 100644 test/CodeGen/X86/avx2-logic.ll
create mode 100644 test/CodeGen/X86/avx2-nontemporal.ll
create mode 100644 test/CodeGen/X86/avx2-palignr.ll
create mode 100644 test/CodeGen/X86/avx2-phaddsub.ll
create mode 100644 test/CodeGen/X86/avx2-shift.ll
create mode 100644 test/CodeGen/X86/avx2-unpack.ll
create mode 100644 test/CodeGen/X86/avx2-vbroadcast.ll
create mode 100644 test/CodeGen/X86/avx2-vperm2i128.ll
create mode 100644 test/CodeGen/X86/blend-msb.ll
create mode 100644 test/CodeGen/X86/block-placement.ll
create mode 100644 test/CodeGen/X86/btq.ll
create mode 100644 test/CodeGen/X86/cfstring.ll
delete mode 100644 test/CodeGen/X86/change-compare-stride-0.ll
delete mode 100644 test/CodeGen/X86/dbg-inline.ll
create mode 100644 test/CodeGen/X86/dbg-subrange.ll
delete mode 100644 test/CodeGen/X86/dg.exp
create mode 100644 test/CodeGen/X86/dwarf-comp-dir.ll
create mode 100644 test/CodeGen/X86/f16c-intrinsics.ll
create mode 100644 test/CodeGen/X86/fdiv.ll
create mode 100644 test/CodeGen/X86/fltused_function_pointer.ll
create mode 100644 test/CodeGen/X86/fma4-intrinsics-x86_64.ll
create mode 100644 test/CodeGen/X86/fsgsbase.ll
create mode 100644 test/CodeGen/X86/gcc_except_table.ll
create mode 100644 test/CodeGen/X86/hoist-invariant-load.ll
create mode 100644 test/CodeGen/X86/i128-sdiv.ll
delete mode 100644 test/CodeGen/X86/iv-users-in-other-loops.ll
create mode 100644 test/CodeGen/X86/legalize-libcalls.ll
create mode 100644 test/CodeGen/X86/legalize-shift-64.ll
create mode 100644 test/CodeGen/X86/lit.local.cfg
create mode 100644 test/CodeGen/X86/log2_not_readnone.ll
delete mode 100644 test/CodeGen/X86/loop-strength-reduce3.ll
create mode 100644 test/CodeGen/X86/machine-cp.ll
create mode 100644 test/CodeGen/X86/mcinst-avx-lowering.ll
create mode 100644 test/CodeGen/X86/misched-new.ll
delete mode 100644 test/CodeGen/X86/mmx-vzmovl-2.ll
delete mode 100644 test/CodeGen/X86/mmx-vzmovl.ll
create mode 100644 test/CodeGen/X86/null-streamer.ll
create mode 100644 test/CodeGen/X86/objc-gc-module-flags.ll
create mode 100644 test/CodeGen/X86/odr_comdat.ll
create mode 100644 test/CodeGen/X86/personality_size.ll
create mode 100644 test/CodeGen/X86/phaddsub.ll
create mode 100644 test/CodeGen/X86/pointer-vector.ll
create mode 100644 test/CodeGen/X86/pr11202.ll
create mode 100644 test/CodeGen/X86/pr11415.ll
create mode 100644 test/CodeGen/X86/pr12360.ll
delete mode 100644 test/CodeGen/X86/pr3495-2.ll
delete mode 100644 test/CodeGen/X86/pr3495.ll
create mode 100644 test/CodeGen/X86/promote.ll
create mode 100644 test/CodeGen/X86/rd-mod-wr-eflags.ll
create mode 100644 test/CodeGen/X86/rounding-ops.ll
create mode 100644 test/CodeGen/X86/segmented-stacks-dynamic.ll
create mode 100644 test/CodeGen/X86/shl-i64.ll
delete mode 100644 test/CodeGen/X86/sret.ll
create mode 100644 test/CodeGen/X86/sse-domains.ll
create mode 100644 test/CodeGen/X86/stack-align2.ll
create mode 100644 test/CodeGen/X86/tailcall-disable.ll
create mode 100644 test/CodeGen/X86/thiscall-struct-return.ll
create mode 100644 test/CodeGen/X86/tls-pie.ll
create mode 100644 test/CodeGen/X86/tls.ll
delete mode 100644 test/CodeGen/X86/tls1.ll
delete mode 100644 test/CodeGen/X86/tls10.ll
delete mode 100644 test/CodeGen/X86/tls11.ll
delete mode 100644 test/CodeGen/X86/tls12.ll
delete mode 100644 test/CodeGen/X86/tls13.ll
delete mode 100644 test/CodeGen/X86/tls14.ll
delete mode 100644 test/CodeGen/X86/tls15.ll
delete mode 100644 test/CodeGen/X86/tls2.ll
delete mode 100644 test/CodeGen/X86/tls3.ll
delete mode 100644 test/CodeGen/X86/tls4.ll
delete mode 100644 test/CodeGen/X86/tls5.ll
delete mode 100644 test/CodeGen/X86/tls6.ll
delete mode 100644 test/CodeGen/X86/tls7.ll
delete mode 100644 test/CodeGen/X86/tls8.ll
delete mode 100644 test/CodeGen/X86/tls9.ll
create mode 100644 test/CodeGen/X86/utf16-cfstrings.ll
create mode 100644 test/CodeGen/X86/utf8.ll
create mode 100644 test/CodeGen/X86/vec_fpext.ll
create mode 100644 test/CodeGen/X86/vec_shuffle-39.ll
create mode 100644 test/CodeGen/X86/vec_udiv_to_shift.ll
create mode 100644 test/CodeGen/X86/vector-gep.ll
create mode 100644 test/CodeGen/X86/vector-variable-idx2.ll
create mode 100644 test/CodeGen/X86/win32_sret.ll
create mode 100644 test/CodeGen/X86/win_ftol2.ll
create mode 100644 test/CodeGen/X86/xop-intrinsics-x86_64.ll
delete mode 100644 test/CodeGen/XCore/cos.ll
delete mode 100644 test/CodeGen/XCore/dg.exp
delete mode 100644 test/CodeGen/XCore/exp.ll
delete mode 100644 test/CodeGen/XCore/exp2.ll
create mode 100644 test/CodeGen/XCore/float-intrinsics.ll
create mode 100644 test/CodeGen/XCore/global_negative_offset.ll
create mode 100644 test/CodeGen/XCore/lit.local.cfg
delete mode 100644 test/CodeGen/XCore/log.ll
delete mode 100644 test/CodeGen/XCore/log10.ll
delete mode 100644 test/CodeGen/XCore/log2.ll
delete mode 100644 test/CodeGen/XCore/pow.ll
delete mode 100644 test/CodeGen/XCore/powi.ll
delete mode 100644 test/CodeGen/XCore/sin.ll
delete mode 100644 test/CodeGen/XCore/sqrt.ll
delete mode 100644 test/DebugInfo/2009-01-15-dbg_declare.ll
delete mode 100644 test/DebugInfo/2010-04-25-CU-entry_pc.ll
rename test/DebugInfo/{ => X86}/2011-09-26-GlobalVarContext.ll (71%)
create mode 100644 test/DebugInfo/X86/2011-12-16-BadStructRef.ll
create mode 100644 test/DebugInfo/X86/DW_AT_byte_size.ll
create mode 100644 test/DebugInfo/X86/DW_AT_specification.ll
create mode 100644 test/DebugInfo/X86/DW_TAG_friend.ll
create mode 100644 test/DebugInfo/X86/block-capture.ll
create mode 100644 test/DebugInfo/X86/concrete_out_of_line.ll
delete mode 100644 test/DebugInfo/X86/dg.exp
create mode 100644 test/DebugInfo/X86/ending-run.ll
create mode 100644 test/DebugInfo/X86/lit.local.cfg
create mode 100644 test/DebugInfo/X86/low-pc-cu.ll
create mode 100644 test/DebugInfo/X86/objc-fwd-decl.ll
create mode 100644 test/DebugInfo/X86/pointer-type-size.ll
create mode 100644 test/DebugInfo/X86/pr11300.ll
create mode 100644 test/DebugInfo/X86/stringpool.ll
create mode 100644 test/DebugInfo/X86/struct-loc.ll
create mode 100644 test/DebugInfo/bug_null_debuginfo.ll
delete mode 100644 test/DebugInfo/dg.exp
create mode 100644 test/DebugInfo/lit.local.cfg
delete mode 100644 test/ExecutionEngine/dg.exp
create mode 100644 test/ExecutionEngine/lit.local.cfg
create mode 100644 test/ExecutionEngine/test-call-no-external-funcs.ll
create mode 100644 test/ExecutionEngine/test-common-symbols.ll
create mode 100644 test/ExecutionEngine/test-fp-no-external-funcs.ll
create mode 100644 test/ExecutionEngine/test-global-init-nonzero.ll
create mode 100644 test/ExecutionEngine/test-global.ll
create mode 100644 test/ExecutionEngine/test-local.ll
create mode 100644 test/ExecutionEngine/test-return.ll
create mode 100644 test/Feature/const_pv.ll
delete mode 100644 test/Feature/dg.exp
create mode 100644 test/Feature/global_pv.ll
create mode 100644 test/Feature/lit.local.cfg
delete mode 100644 test/Feature/llvm2cpp.exp
create mode 100644 test/Instrumentation/AddressSanitizer/X86/bug_11395.ll
create mode 100644 test/Instrumentation/AddressSanitizer/X86/lit.local.cfg
create mode 100644 test/Instrumentation/AddressSanitizer/asan-vs-gvn.ll
create mode 100644 test/Instrumentation/AddressSanitizer/do-not-touch-odr-global.ll
create mode 100644 test/Instrumentation/AddressSanitizer/do-not-touch-threadlocal.ll
create mode 100644 test/Instrumentation/AddressSanitizer/instrument-no-return.ll
create mode 100644 test/Instrumentation/AddressSanitizer/instrument_global.ll
create mode 100644 test/Instrumentation/AddressSanitizer/instrument_load_then_store.ll
create mode 100644 test/Instrumentation/AddressSanitizer/lit.local.cfg
create mode 100644 test/Instrumentation/AddressSanitizer/test64.ll
create mode 100644 test/Instrumentation/ThreadSanitizer/lit.local.cfg
create mode 100644 test/Instrumentation/ThreadSanitizer/read_before_write.ll
create mode 100644 test/Instrumentation/ThreadSanitizer/read_from_global.ll
create mode 100644 test/Instrumentation/ThreadSanitizer/tsan_basic.ll
create mode 100644 test/Instrumentation/ThreadSanitizer/vptr_update.ll
delete mode 100644 test/Integer/dg.exp
create mode 100644 test/Integer/lit.local.cfg
delete mode 100644 test/Linker/dg.exp
create mode 100644 test/Linker/link-type-names.ll
create mode 100644 test/Linker/lit.local.cfg
create mode 100644 test/Linker/module-flags-1-a.ll
create mode 100644 test/Linker/module-flags-1-b.ll
create mode 100644 test/Linker/module-flags-2-a.ll
create mode 100644 test/Linker/module-flags-2-b.ll
create mode 100644 test/Linker/module-flags-3-a.ll
create mode 100644 test/Linker/module-flags-3-b.ll
create mode 100644 test/Linker/module-flags-4-a.ll
create mode 100644 test/Linker/module-flags-4-b.ll
create mode 100644 test/Linker/module-flags-5-a.ll
create mode 100644 test/Linker/module-flags-5-b.ll
create mode 100644 test/Linker/module-flags-6-a.ll
create mode 100644 test/Linker/module-flags-6-b.ll
create mode 100644 test/Linker/multiple-merged-structs.ll
create mode 100644 test/Linker/visibility1.ll
create mode 100644 test/Linker/visibility2.ll
create mode 100644 test/MC/ARM/arm-aliases.s
create mode 100644 test/MC/ARM/arm-it-block.s
create mode 100644 test/MC/ARM/cxx-global-constructor.ll
delete mode 100644 test/MC/ARM/dg.exp
create mode 100644 test/MC/ARM/dot-req.s
create mode 100644 test/MC/ARM/elf-reloc-condcall.s
create mode 100644 test/MC/ARM/elf-thumbfunc-reloc.s
create mode 100644 test/MC/ARM/lit.local.cfg
delete mode 100644 test/MC/ARM/neon-shiftaccum-encoding.s
create mode 100644 test/MC/ARM/neon-vswp.s
create mode 100644 test/MC/ARM/pr11877.s
delete mode 100644 test/MC/ARM/prefetch.ll
create mode 100644 test/MC/ARM/vfp4.s
delete mode 100644 test/MC/AsmParser/2011-09-06-NoNewline.s
create mode 100644 test/MC/AsmParser/cfi-unfinished-frame.s
delete mode 100644 test/MC/AsmParser/dg.exp
create mode 100644 test/MC/AsmParser/directive_file-errors.s
create mode 100644 test/MC/AsmParser/directive_incbin.s
create mode 100644 test/MC/AsmParser/incbin_abcd
create mode 100644 test/MC/AsmParser/lit.local.cfg
create mode 100644 test/MC/AsmParser/pr11865.s
delete mode 100644 test/MC/COFF/dg.exp
create mode 100644 test/MC/COFF/global_ctors.ll
create mode 100644 test/MC/COFF/lit.local.cfg
create mode 100644 test/MC/COFF/secrel32.s
create mode 100644 test/MC/COFF/symbol-mangling.ll
delete mode 100644 test/MC/Disassembler/ARM/dg.exp
create mode 100644 test/MC/Disassembler/ARM/invalid-IT-CC15.txt
delete mode 100644 test/MC/Disassembler/ARM/invalid-LDRT-arm.txt
create mode 100644 test/MC/Disassembler/ARM/invalid-VST1d8Twb_register-thumb.txt
create mode 100644 test/MC/Disassembler/ARM/ldrd-armv4.txt
create mode 100644 test/MC/Disassembler/ARM/lit.local.cfg
create mode 100644 test/MC/Disassembler/ARM/unpredictable-ADC-arm.txt
create mode 100644 test/MC/Disassembler/ARM/unpredictable-ADDREXT3-arm.txt
create mode 100644 test/MC/Disassembler/ARM/unpredictable-LDR-arm.txt
rename test/MC/Disassembler/ARM/{invalid-LDRD-arm.txt => unpredictable-LDRD-arm.txt} (78%)
rename test/MC/Disassembler/ARM/{invalid-LSL-regform.txt => unpredictable-LSL-regform.txt} (80%)
create mode 100644 test/MC/Disassembler/ARM/unpredictable-MUL-arm.txt
rename test/MC/Disassembler/ARM/{invalid-RSC-arm.txt => unpredictable-RSC-arm.txt} (79%)
create mode 100644 test/MC/Disassembler/ARM/unpredictable-SHADD16-arm.txt
rename test/MC/Disassembler/ARM/{invalid-SSAT-arm.txt => unpredictable-SSAT-arm.txt} (79%)
rename test/MC/Disassembler/ARM/{invalid-STRBrs-arm.txt => unpredictable-STRBrs-arm.txt} (78%)
rename test/MC/Disassembler/ARM/{invalid-UQADD8-arm.txt => unpredictable-UQADD8-arm.txt} (79%)
create mode 100644 test/MC/Disassembler/ARM/unpredictables-thumb.txt
create mode 100644 test/MC/Disassembler/ARM/vfp4.txt
delete mode 100644 test/MC/Disassembler/MBlaze/dg.exp
create mode 100644 test/MC/Disassembler/MBlaze/lit.local.cfg
create mode 100644 test/MC/Disassembler/MBlaze/mblaze_mbar.txt
delete mode 100644 test/MC/Disassembler/X86/dg.exp
create mode 100644 test/MC/Disassembler/X86/invalid-cmp-imm.txt
create mode 100644 test/MC/Disassembler/X86/lit.local.cfg
create mode 100644 test/MC/Disassembler/X86/x86-64.txt
create mode 100644 test/MC/ELF/cfi-escape.s
create mode 100644 test/MC/ELF/cfi-restore.s
create mode 100644 test/MC/ELF/cfi-signal-frame.s
delete mode 100644 test/MC/ELF/dg.exp
create mode 100644 test/MC/ELF/gen-dwarf.s
create mode 100644 test/MC/ELF/lit.local.cfg
delete mode 100644 test/MC/MBlaze/dg.exp
create mode 100644 test/MC/MBlaze/lit.local.cfg
rename test/MC/{ => MachO}/ARM/darwin-ARM-reloc.s (98%)
rename test/MC/{ => MachO}/ARM/darwin-Thumb-reloc.s (100%)
create mode 100644 test/MC/MachO/ARM/empty-function-nop.ll
create mode 100644 test/MC/MachO/ARM/lit.local.cfg
create mode 100644 test/MC/MachO/ARM/no-subsections-reloc.s
rename test/MC/{ => MachO}/ARM/nop-armv4-padding.s (100%)
rename test/MC/{ => MachO}/ARM/nop-armv6t2-padding.s (78%)
rename test/MC/{ => MachO}/ARM/nop-thumb-padding.s (100%)
rename test/MC/{ => MachO}/ARM/nop-thumb2-padding.s (100%)
create mode 100644 test/MC/MachO/ARM/relax-thumb-ldr-literal.s
create mode 100644 test/MC/MachO/ARM/relax-thumb2-branches.s
create mode 100644 test/MC/MachO/ARM/static-movt-relocs.s
create mode 100644 test/MC/MachO/ARM/thumb2-function-relative-load.s
rename test/MC/{ => MachO}/ARM/thumb2-movt-fixup.s (100%)
create mode 100644 test/MC/MachO/darwin-x86_64-diff-reloc-assign.s
delete mode 100644 test/MC/MachO/dg.exp
create mode 100644 test/MC/MachO/file.s
create mode 100644 test/MC/MachO/gen-dwarf.s
create mode 100644 test/MC/MachO/lit.local.cfg
create mode 100644 test/MC/Mips/elf-bigendian.ll
create mode 100644 test/MC/Mips/elf-relsym.ll
create mode 100644 test/MC/Mips/elf-tls.ll
create mode 100644 test/MC/Mips/elf_basic.s
create mode 100644 test/MC/Mips/lit.local.cfg
create mode 100644 test/MC/Mips/pr11877.s
create mode 100644 test/MC/X86/2011-09-06-NoNewline.s
create mode 100644 test/MC/X86/address-size.s
delete mode 100644 test/MC/X86/dg.exp
create mode 100644 test/MC/X86/intel-syntax-2.s
create mode 100644 test/MC/X86/intel-syntax-encoding.s
create mode 100644 test/MC/X86/intel-syntax.s
create mode 100644 test/MC/X86/lit.local.cfg
create mode 100644 test/MC/X86/x86_64-bmi-encoding.s
create mode 100644 test/MC/X86/x86_64-fma4-encoding.s
create mode 100644 test/MC/X86/x86_64-xop-encoding.s
rename test/Object/{TestObjectFiles => Inputs}/archive-test.a-coff-i386 (100%)
create mode 100755 test/Object/Inputs/elf-versioning-test.i386
create mode 100755 test/Object/Inputs/elf-versioning-test.x86_64
create mode 100644 test/Object/Inputs/elfver.S
create mode 100644 test/Object/Inputs/elfver.script
create mode 100644 test/Object/Inputs/shared-object-test.elf-i386
create mode 100644 test/Object/Inputs/shared-object-test.elf-x86-64
create mode 100644 test/Object/Inputs/shared.ll
rename test/Object/{TestObjectFiles => Inputs}/trivial-object-test.coff-i386 (100%)
rename test/Object/{TestObjectFiles => Inputs}/trivial-object-test.coff-x86-64 (100%)
rename test/Object/{TestObjectFiles => Inputs}/trivial-object-test.elf-i386 (100%)
rename test/Object/{TestObjectFiles => Inputs}/trivial-object-test.elf-x86-64 (100%)
rename test/Object/{TestObjectFiles => Inputs}/trivial-object-test.macho-i386 (100%)
rename test/Object/{TestObjectFiles => Inputs}/trivial-object-test.macho-x86-64 (100%)
create mode 100644 test/Object/Inputs/trivial.ll
delete mode 100644 test/Object/TestObjectFiles/archive-test.a-bitcode
create mode 100644 test/Object/X86/lit.local.cfg
rename test/Object/{ => X86}/objdump-disassembly-inline-relocations.test (93%)
rename test/Object/{ => X86}/objdump-trivial-object.test (92%)
delete mode 100644 test/Object/dg.exp
create mode 100644 test/Object/lit.local.cfg
create mode 100644 test/Object/nm-shared-object.test
create mode 100644 test/Object/objdump-file-header.test
create mode 100644 test/Object/objdump-section-content.test
create mode 100644 test/Object/objdump-symbol-table.test
create mode 100644 test/Object/readobj-elf-versioning.test
create mode 100644 test/Object/readobj-shared-object.test
delete mode 100644 test/Other/X86/dg.exp
create mode 100644 test/Other/X86/lit.local.cfg
delete mode 100644 test/Other/dg.exp
create mode 100644 test/Other/lit.local.cfg
create mode 100644 test/TableGen/ForeachList.td
create mode 100644 test/TableGen/ForeachLoop.td
create mode 100644 test/TableGen/NestedForeach.td
create mode 100644 test/TableGen/Paste.td
create mode 100644 test/TableGen/SiblingForeach.td
create mode 100644 test/TableGen/TwoLevelName.td
delete mode 100644 test/TableGen/dg.exp
create mode 100644 test/TableGen/lit.local.cfg
delete mode 100644 test/Transforms/ADCE/dg.exp
create mode 100644 test/Transforms/ADCE/lit.local.cfg
delete mode 100644 test/Transforms/ArgumentPromotion/dg.exp
create mode 100644 test/Transforms/ArgumentPromotion/lit.local.cfg
create mode 100644 test/Transforms/BBVectorize/cycle.ll
create mode 100644 test/Transforms/BBVectorize/func-alias.ll
create mode 100644 test/Transforms/BBVectorize/ld1.ll
create mode 100644 test/Transforms/BBVectorize/lit.local.cfg
create mode 100644 test/Transforms/BBVectorize/loop1.ll
create mode 100644 test/Transforms/BBVectorize/mem-op-depth.ll
create mode 100644 test/Transforms/BBVectorize/req-depth.ll
create mode 100644 test/Transforms/BBVectorize/search-limit.ll
create mode 100644 test/Transforms/BBVectorize/simple-int.ll
create mode 100644 test/Transforms/BBVectorize/simple-ldstr.ll
create mode 100644 test/Transforms/BBVectorize/simple.ll
delete mode 100644 test/Transforms/BlockPlacement/dg.exp
create mode 100644 test/Transforms/BlockPlacement/lit.local.cfg
delete mode 100644 test/Transforms/CodeExtractor/dg.exp
create mode 100644 test/Transforms/CodeExtractor/lit.local.cfg
delete mode 100644 test/Transforms/CodeGenPrepare/dg.exp
create mode 100644 test/Transforms/CodeGenPrepare/lit.local.cfg
delete mode 100644 test/Transforms/ConstProp/dg.exp
create mode 100644 test/Transforms/ConstProp/lit.local.cfg
delete mode 100644 test/Transforms/ConstantMerge/dg.exp
create mode 100644 test/Transforms/ConstantMerge/linker-private.ll
create mode 100644 test/Transforms/ConstantMerge/lit.local.cfg
delete mode 100644 test/Transforms/CorrelatedValuePropagation/dg.exp
create mode 100644 test/Transforms/CorrelatedValuePropagation/lit.local.cfg
create mode 100644 test/Transforms/CorrelatedValuePropagation/range.ll
delete mode 100644 test/Transforms/DeadArgElim/dg.exp
create mode 100644 test/Transforms/DeadArgElim/lit.local.cfg
create mode 100644 test/Transforms/DeadStoreElimination/OverwriteStoreEnd.ll
delete mode 100644 test/Transforms/DeadStoreElimination/dg.exp
create mode 100644 test/Transforms/DeadStoreElimination/dominate.ll
create mode 100644 test/Transforms/DeadStoreElimination/lit.local.cfg
create mode 100644 test/Transforms/DeadStoreElimination/pr11390.ll
delete mode 100644 test/Transforms/EarlyCSE/dg.exp
create mode 100644 test/Transforms/EarlyCSE/instsimplify-dom.ll
create mode 100644 test/Transforms/EarlyCSE/lit.local.cfg
delete mode 100644 test/Transforms/FunctionAttrs/dg.exp
create mode 100644 test/Transforms/FunctionAttrs/lit.local.cfg
rename test/Transforms/FunctionAttrs/{2008-12-31-NoCapture.ll => nocapture.ll} (50%)
create mode 100644 test/Transforms/GVN/commute.ll
delete mode 100644 test/Transforms/GVN/dg.exp
create mode 100644 test/Transforms/GVN/lit.local.cfg
create mode 100644 test/Transforms/GVN/pre-compare.ll
delete mode 100644 test/Transforms/GlobalDCE/2009-09-03-MDNode.ll
delete mode 100644 test/Transforms/GlobalDCE/dg.exp
create mode 100644 test/Transforms/GlobalDCE/lit.local.cfg
delete mode 100644 test/Transforms/GlobalOpt/2008-02-16-NestAttr.ll
create mode 100644 test/Transforms/GlobalOpt/atomic.ll
create mode 100644 test/Transforms/GlobalOpt/deadfunction.ll
delete mode 100644 test/Transforms/GlobalOpt/dg.exp
create mode 100644 test/Transforms/GlobalOpt/invariant.ll
create mode 100644 test/Transforms/GlobalOpt/invoke.ll
create mode 100644 test/Transforms/GlobalOpt/lit.local.cfg
create mode 100644 test/Transforms/GlobalOpt/zeroinitializer-gep-load.ll
delete mode 100644 test/Transforms/IPConstantProp/dg.exp
create mode 100644 test/Transforms/IPConstantProp/lit.local.cfg
create mode 100644 test/Transforms/IndVarSimplify/2011-10-27-lftrnull.ll
create mode 100644 test/Transforms/IndVarSimplify/2011-11-01-lftrptr.ll
create mode 100644 test/Transforms/IndVarSimplify/2011-11-15-multiexit.ll
create mode 100644 test/Transforms/IndVarSimplify/2011-11-17-selfphi.ll
delete mode 100644 test/Transforms/IndVarSimplify/complex-scev.ll
delete mode 100644 test/Transforms/IndVarSimplify/dg.exp
delete mode 100644 test/Transforms/IndVarSimplify/gep-with-mul-base.ll
create mode 100644 test/Transforms/IndVarSimplify/lit.local.cfg
delete mode 100644 test/Transforms/IndVarSimplify/preserve-gep-nested.ll
delete mode 100644 test/Transforms/IndVarSimplify/preserve-gep-remainder.ll
delete mode 100644 test/Transforms/IndVarSimplify/preserve-gep.ll
delete mode 100644 test/Transforms/Inline/2007-06-06-NoInline.ll
delete mode 100644 test/Transforms/Inline/2008-09-02-AlwaysInline.ll
delete mode 100644 test/Transforms/Inline/2008-10-30-AlwaysInline.ll
delete mode 100644 test/Transforms/Inline/2008-11-04-AlwaysInline.ll
create mode 100644 test/Transforms/Inline/alloca-bonus.ll
create mode 100644 test/Transforms/Inline/always-inline.ll
delete mode 100644 test/Transforms/Inline/always_inline_dyn_alloca.ll
create mode 100644 test/Transforms/Inline/blockaddress.ll
delete mode 100644 test/Transforms/Inline/dg.exp
create mode 100644 test/Transforms/Inline/inline_returns_twice.ll
create mode 100644 test/Transforms/Inline/lit.local.cfg
create mode 100644 test/Transforms/Inline/ptr-diff.ll
delete mode 100644 test/Transforms/InstCombine/2007-09-11-Trampoline.ll
delete mode 100644 test/Transforms/InstCombine/2008-01-14-DoubleNest.ll
create mode 100644 test/Transforms/InstCombine/2012-01-11-OpaqueBitcastCrash.ll
create mode 100644 test/Transforms/InstCombine/2012-02-13-FCmp.ll
create mode 100644 test/Transforms/InstCombine/2012-02-28-ICmp.ll
create mode 100644 test/Transforms/InstCombine/2012-03-10-InstCombine.ll
create mode 100644 test/Transforms/InstCombine/2012-3-15-or-xor-constant.ll
delete mode 100644 test/Transforms/InstCombine/dg.exp
create mode 100644 test/Transforms/InstCombine/fold-sqrt-sqrtf.ll
create mode 100644 test/Transforms/InstCombine/lit.local.cfg
create mode 100644 test/Transforms/InstCombine/pr12251.ll
create mode 100644 test/Transforms/InstCombine/sub-xor.ll
create mode 100644 test/Transforms/InstCombine/vector_gep1.ll
create mode 100644 test/Transforms/InstSimplify/2011-10-27-BinOpCrash.ll
create mode 100644 test/Transforms/InstSimplify/2011-11-23-MaskedBitsCrash.ll
create mode 100644 test/Transforms/InstSimplify/AndOrXor.ll
delete mode 100644 test/Transforms/InstSimplify/dg.exp
create mode 100644 test/Transforms/InstSimplify/lit.local.cfg
create mode 100644 test/Transforms/InstSimplify/phi.ll
create mode 100644 test/Transforms/InstSimplify/ptr_diff.ll
create mode 100644 test/Transforms/InstSimplify/vector_gep.ll
delete mode 100644 test/Transforms/Internalize/dg.exp
create mode 100644 test/Transforms/Internalize/lit.local.cfg
delete mode 100644 test/Transforms/JumpThreading/dg.exp
create mode 100644 test/Transforms/JumpThreading/lit.local.cfg
delete mode 100644 test/Transforms/LCSSA/dg.exp
create mode 100644 test/Transforms/LCSSA/lit.local.cfg
delete mode 100644 test/Transforms/LICM/dg.exp
create mode 100644 test/Transforms/LICM/hoist-invariant-load.ll
create mode 100644 test/Transforms/LICM/lit.local.cfg
create mode 100644 test/Transforms/LICM/speculate.ll
delete mode 100644 test/Transforms/LoopDeletion/dg.exp
create mode 100644 test/Transforms/LoopDeletion/lit.local.cfg
delete mode 100644 test/Transforms/LoopIdiom/dg.exp
create mode 100644 test/Transforms/LoopIdiom/lit.local.cfg
create mode 100644 test/Transforms/LoopRotate/alloca.ll
delete mode 100644 test/Transforms/LoopRotate/dg.exp
create mode 100644 test/Transforms/LoopRotate/lit.local.cfg
create mode 100644 test/Transforms/LoopRotate/simplifylatch.ll
create mode 100644 test/Transforms/LoopSimplify/2011-12-14-LandingpadHeader.ll
create mode 100644 test/Transforms/LoopSimplify/2012-03-20-indirectbr.ll
delete mode 100644 test/Transforms/LoopSimplify/dg.exp
create mode 100644 test/Transforms/LoopSimplify/lit.local.cfg
create mode 100644 test/Transforms/LoopStrengthReduce/2011-12-19-PostincQuadratic.ll
create mode 100644 test/Transforms/LoopStrengthReduce/2012-01-02-nopreheader.ll
create mode 100644 test/Transforms/LoopStrengthReduce/2012-01-16-nopreheader.ll
create mode 100644 test/Transforms/LoopStrengthReduce/2012-03-15-nopreheader.ll
create mode 100644 test/Transforms/LoopStrengthReduce/2012-03-26-constexpr.ll
create mode 100644 test/Transforms/LoopStrengthReduce/ARM/ivchain-ARM.ll
create mode 100644 test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg
create mode 100644 test/Transforms/LoopStrengthReduce/X86/2011-11-29-postincphi.ll
create mode 100644 test/Transforms/LoopStrengthReduce/X86/2011-12-04-loserreg.ll
create mode 100644 test/Transforms/LoopStrengthReduce/X86/2012-01-13-phielim.ll
delete mode 100644 test/Transforms/LoopStrengthReduce/X86/dg.exp
create mode 100644 test/Transforms/LoopStrengthReduce/X86/ivchain-X86.ll
create mode 100644 test/Transforms/LoopStrengthReduce/X86/ivchain-stress-X86.ll
create mode 100644 test/Transforms/LoopStrengthReduce/X86/lit.local.cfg
rename test/Transforms/{IndVarSimplify => LoopStrengthReduce}/addrec-gep.ll (89%)
delete mode 100644 test/Transforms/LoopStrengthReduce/dg.exp
create mode 100644 test/Transforms/LoopStrengthReduce/dominate-assert.ll
create mode 100644 test/Transforms/LoopStrengthReduce/ivchain.ll
create mode 100644 test/Transforms/LoopStrengthReduce/lit.local.cfg
create mode 100644 test/Transforms/LoopStrengthReduce/pr12018.ll
create mode 100644 test/Transforms/LoopStrengthReduce/pr12048.ll
rename test/Transforms/{IndVarSimplify => LoopStrengthReduce}/preserve-gep-loop-variant.ll (94%)
create mode 100644 test/Transforms/LoopUnroll/2012-04-09-unroll-indirectbr.ll
delete mode 100644 test/Transforms/LoopUnroll/dg.exp
create mode 100644 test/Transforms/LoopUnroll/lit.local.cfg
create mode 100644 test/Transforms/LoopUnroll/partial-unroll-optsize.ll
create mode 100644 test/Transforms/LoopUnroll/pr11361.ll
create mode 100644 test/Transforms/LoopUnroll/runtime-loop.ll
create mode 100644 test/Transforms/LoopUnroll/runtime-loop1.ll
create mode 100644 test/Transforms/LoopUnroll/runtime-loop2.ll
create mode 100644 test/Transforms/LoopUnroll/runtime-loop3.ll
create mode 100644 test/Transforms/LoopUnswitch/2011-11-18-SimpleSwitch.ll
create mode 100644 test/Transforms/LoopUnswitch/2011-11-18-TwoSwitches-Threshold.ll
create mode 100644 test/Transforms/LoopUnswitch/2011-11-18-TwoSwitches.ll
create mode 100644 test/Transforms/LoopUnswitch/2012-04-02-IndirectBr.ll
delete mode 100644 test/Transforms/LoopUnswitch/dg.exp
create mode 100644 test/Transforms/LoopUnswitch/lit.local.cfg
delete mode 100644 test/Transforms/LowerAtomic/dg.exp
create mode 100644 test/Transforms/LowerAtomic/lit.local.cfg
delete mode 100644 test/Transforms/LowerExpectIntrinsic/dg.exp
create mode 100644 test/Transforms/LowerExpectIntrinsic/lit.local.cfg
delete mode 100644 test/Transforms/LowerInvoke/dg.exp
create mode 100644 test/Transforms/LowerInvoke/lit.local.cfg
delete mode 100644 test/Transforms/LowerSwitch/dg.exp
create mode 100644 test/Transforms/LowerSwitch/lit.local.cfg
delete mode 100644 test/Transforms/Mem2Reg/dg.exp
create mode 100644 test/Transforms/Mem2Reg/lit.local.cfg
delete mode 100644 test/Transforms/MemCpyOpt/dg.exp
create mode 100644 test/Transforms/MemCpyOpt/lit.local.cfg
delete mode 100644 test/Transforms/MergeFunc/dg.exp
create mode 100644 test/Transforms/MergeFunc/lit.local.cfg
create mode 100644 test/Transforms/ObjCARC/apelim.ll
delete mode 100644 test/Transforms/ObjCARC/dg.exp
create mode 100644 test/Transforms/ObjCARC/lit.local.cfg
create mode 100644 test/Transforms/ObjCARC/no-objc-arc-exceptions.ll
create mode 100644 test/Transforms/ObjCARC/pointer-types.ll
create mode 100644 test/Transforms/ObjCARC/pr12270.ll
create mode 100644 test/Transforms/ObjCARC/retain-block-load.ll
create mode 100644 test/Transforms/ObjCARC/retain-block.ll
delete mode 100644 test/Transforms/PhaseOrdering/dg.exp
create mode 100644 test/Transforms/PhaseOrdering/lit.local.cfg
delete mode 100644 test/Transforms/PruneEH/dg.exp
create mode 100644 test/Transforms/PruneEH/lit.local.cfg
delete mode 100644 test/Transforms/Reassociate/dg.exp
create mode 100644 test/Transforms/Reassociate/lit.local.cfg
delete mode 100644 test/Transforms/SCCP/dg.exp
create mode 100644 test/Transforms/SCCP/lit.local.cfg
delete mode 100644 test/Transforms/SCCP/phitest.ll
delete mode 100644 test/Transforms/ScalarRepl/2009-03-05-Aggre2Scalar-dbg.ll
create mode 100644 test/Transforms/ScalarRepl/2011-10-22-VectorCrash.ll
create mode 100644 test/Transforms/ScalarRepl/2011-11-11-EmptyStruct.ll
delete mode 100644 test/Transforms/ScalarRepl/debuginfo.ll
delete mode 100644 test/Transforms/ScalarRepl/dg.exp
create mode 100644 test/Transforms/ScalarRepl/lit.local.cfg
create mode 100644 test/Transforms/ScalarRepl/negative-memset.ll
create mode 100644 test/Transforms/ScalarRepl/phi-cycle.ll
delete mode 100644 test/Transforms/SimplifyCFG/2010-10-24-OnlyUnwindInEntry.ll
delete mode 100644 test/Transforms/SimplifyCFG/branch-branch-dbginfo.ll
delete mode 100644 test/Transforms/SimplifyCFG/branch_fold_dbg.ll
delete mode 100644 test/Transforms/SimplifyCFG/dg.exp
delete mode 100644 test/Transforms/SimplifyCFG/hoist-common-code.dbg.ll
create mode 100644 test/Transforms/SimplifyCFG/lit.local.cfg
create mode 100644 test/Transforms/SimplifyCFG/multiple-phis.ll
create mode 100644 test/Transforms/SimplifyCFG/preserve-branchweights.ll
delete mode 100644 test/Transforms/SimplifyCFG/switch_formation.dbg.ll
delete mode 100644 test/Transforms/SimplifyCFG/switch_switch_fold_dbginfo.ll
delete mode 100644 test/Transforms/SimplifyCFG/two-entry-phi-return.dbg.ll
create mode 100644 test/Transforms/SimplifyCFG/unreachable-blocks.ll
create mode 100644 test/Transforms/SimplifyLibCalls/cos.ll
delete mode 100644 test/Transforms/SimplifyLibCalls/dg.exp
create mode 100644 test/Transforms/SimplifyLibCalls/fwrite.ll
create mode 100644 test/Transforms/SimplifyLibCalls/lit.local.cfg
create mode 100644 test/Transforms/SimplifyLibCalls/osx-names.ll
delete mode 100644 test/Transforms/Sink/dg.exp
create mode 100644 test/Transforms/Sink/lit.local.cfg
delete mode 100644 test/Transforms/StripSymbols/dg.exp
create mode 100644 test/Transforms/StripSymbols/lit.local.cfg
delete mode 100644 test/Transforms/TailCallElim/dg.exp
create mode 100644 test/Transforms/TailCallElim/lit.local.cfg
delete mode 100644 test/Transforms/TailDup/X86/dg.exp
create mode 100644 test/Transforms/TailDup/X86/lit.local.cfg
delete mode 100644 test/Transforms/TailDup/dg.exp
create mode 100644 test/Transforms/TailDup/lit.local.cfg
create mode 100644 test/Verifier/cttz-undef-arg.ll
delete mode 100644 test/Verifier/dg.exp
create mode 100644 test/Verifier/fpaccuracy.ll
create mode 100644 test/Verifier/lit.local.cfg
create mode 100644 test/Verifier/range-1.ll
create mode 100644 test/Verifier/range-2.ll
create mode 100644 test/YAMLParser/LICENSE.txt
create mode 100644 test/YAMLParser/bool.data
create mode 100644 test/YAMLParser/construct-bool.data
create mode 100644 test/YAMLParser/construct-custom.data
create mode 100644 test/YAMLParser/construct-float.data
create mode 100644 test/YAMLParser/construct-int.data
create mode 100644 test/YAMLParser/construct-map.data
create mode 100644 test/YAMLParser/construct-merge.data
create mode 100644 test/YAMLParser/construct-null.data
create mode 100644 test/YAMLParser/construct-omap.data
create mode 100644 test/YAMLParser/construct-pairs.data
create mode 100644 test/YAMLParser/construct-seq.data
create mode 100644 test/YAMLParser/construct-set.data
create mode 100644 test/YAMLParser/construct-str-ascii.data
create mode 100644 test/YAMLParser/construct-str.data
create mode 100644 test/YAMLParser/construct-timestamp.data
create mode 100644 test/YAMLParser/construct-value.data
create mode 100644 test/YAMLParser/duplicate-key.former-loader-error.data
create mode 100644 test/YAMLParser/duplicate-mapping-key.former-loader-error.data
create mode 100644 test/YAMLParser/duplicate-merge-key.former-loader-error.data
create mode 100644 test/YAMLParser/duplicate-value-key.former-loader-error.data
create mode 100644 test/YAMLParser/emit-block-scalar-in-simple-key-context-bug.data
create mode 100644 test/YAMLParser/empty-document-bug.data
create mode 100644 test/YAMLParser/float.data
create mode 100644 test/YAMLParser/int.data
create mode 100644 test/YAMLParser/invalid-single-quote-bug.data
create mode 100644 test/YAMLParser/merge.data
create mode 100644 test/YAMLParser/more-floats.data
create mode 100644 test/YAMLParser/negative-float-bug.data
create mode 100644 test/YAMLParser/null.data
create mode 100644 test/YAMLParser/resolver.data
create mode 100644 test/YAMLParser/run-parser-crash-bug.data
create mode 100644 test/YAMLParser/scan-document-end-bug.data
create mode 100644 test/YAMLParser/scan-line-break-bug.data
create mode 100644 test/YAMLParser/single-dot-is-not-float-bug.data
create mode 100644 test/YAMLParser/sloppy-indentation.data
create mode 100644 test/YAMLParser/spec-02-01.data
create mode 100644 test/YAMLParser/spec-02-02.data
create mode 100644 test/YAMLParser/spec-02-03.data
create mode 100644 test/YAMLParser/spec-02-04.data
create mode 100644 test/YAMLParser/spec-02-05.data
create mode 100644 test/YAMLParser/spec-02-06.data
create mode 100644 test/YAMLParser/spec-02-07.data
create mode 100644 test/YAMLParser/spec-02-08.data
create mode 100644 test/YAMLParser/spec-02-09.data
create mode 100644 test/YAMLParser/spec-02-10.data
create mode 100644 test/YAMLParser/spec-02-11.data
create mode 100644 test/YAMLParser/spec-02-12.data
create mode 100644 test/YAMLParser/spec-02-13.data
create mode 100644 test/YAMLParser/spec-02-14.data
create mode 100644 test/YAMLParser/spec-02-15.data
create mode 100644 test/YAMLParser/spec-02-16.data
create mode 100644 test/YAMLParser/spec-02-17.data
create mode 100644 test/YAMLParser/spec-02-18.data
create mode 100644 test/YAMLParser/spec-02-19.data
create mode 100644 test/YAMLParser/spec-02-20.data
create mode 100644 test/YAMLParser/spec-02-21.data
create mode 100644 test/YAMLParser/spec-02-22.data
create mode 100644 test/YAMLParser/spec-02-23.data
create mode 100644 test/YAMLParser/spec-02-24.data
create mode 100644 test/YAMLParser/spec-02-25.data
create mode 100644 test/YAMLParser/spec-02-26.data
create mode 100644 test/YAMLParser/spec-02-27.data
create mode 100644 test/YAMLParser/spec-02-28.data
create mode 100644 test/YAMLParser/spec-05-01-utf8.data
create mode 100644 test/YAMLParser/spec-05-02-utf8.data
create mode 100644 test/YAMLParser/spec-05-03.data
create mode 100644 test/YAMLParser/spec-05-04.data
create mode 100644 test/YAMLParser/spec-05-05.data
create mode 100644 test/YAMLParser/spec-05-06.data
create mode 100644 test/YAMLParser/spec-05-07.data
create mode 100644 test/YAMLParser/spec-05-08.data
create mode 100644 test/YAMLParser/spec-05-09.data
create mode 100644 test/YAMLParser/spec-05-10.data
create mode 100644 test/YAMLParser/spec-05-11.data
create mode 100644 test/YAMLParser/spec-05-12.data
create mode 100644 test/YAMLParser/spec-05-13.data
create mode 100644 test/YAMLParser/spec-05-14.data
create mode 100644 test/YAMLParser/spec-05-15.data
create mode 100644 test/YAMLParser/spec-06-01.data
create mode 100644 test/YAMLParser/spec-06-02.data
create mode 100644 test/YAMLParser/spec-06-03.data
create mode 100644 test/YAMLParser/spec-06-04.data
create mode 100644 test/YAMLParser/spec-06-05.data
create mode 100644 test/YAMLParser/spec-06-06.data
create mode 100644 test/YAMLParser/spec-06-07.data
create mode 100644 test/YAMLParser/spec-06-08.data
create mode 100644 test/YAMLParser/spec-07-01.data
create mode 100644 test/YAMLParser/spec-07-02.data
create mode 100644 test/YAMLParser/spec-07-03.data
create mode 100644 test/YAMLParser/spec-07-04.data
create mode 100644 test/YAMLParser/spec-07-05.data
create mode 100644 test/YAMLParser/spec-07-06.data
create mode 100644 test/YAMLParser/spec-07-07a.data
create mode 100644 test/YAMLParser/spec-07-07b.data
create mode 100644 test/YAMLParser/spec-07-08.data
create mode 100644 test/YAMLParser/spec-07-09.data
create mode 100644 test/YAMLParser/spec-07-10.data
create mode 100644 test/YAMLParser/spec-07-11.data
create mode 100644 test/YAMLParser/spec-07-12a.data
create mode 100644 test/YAMLParser/spec-07-12b.data
create mode 100644 test/YAMLParser/spec-07-13.data
create mode 100644 test/YAMLParser/spec-08-01.data
create mode 100644 test/YAMLParser/spec-08-02.data
create mode 100644 test/YAMLParser/spec-08-03.data
create mode 100644 test/YAMLParser/spec-08-04.data
create mode 100644 test/YAMLParser/spec-08-05.data
create mode 100644 test/YAMLParser/spec-08-06.data
create mode 100644 test/YAMLParser/spec-08-07.data
create mode 100644 test/YAMLParser/spec-08-08.data
create mode 100644 test/YAMLParser/spec-08-09.data
create mode 100644 test/YAMLParser/spec-08-10.data
create mode 100644 test/YAMLParser/spec-08-11.data
create mode 100644 test/YAMLParser/spec-08-12.data
create mode 100644 test/YAMLParser/spec-08-13.data
create mode 100644 test/YAMLParser/spec-08-14.data
create mode 100644 test/YAMLParser/spec-08-15.data
create mode 100644 test/YAMLParser/spec-09-01.data
create mode 100644 test/YAMLParser/spec-09-02.data
create mode 100644 test/YAMLParser/spec-09-03.data
create mode 100644 test/YAMLParser/spec-09-04.data
create mode 100644 test/YAMLParser/spec-09-05.data
create mode 100644 test/YAMLParser/spec-09-06.data
create mode 100644 test/YAMLParser/spec-09-07.data
create mode 100644 test/YAMLParser/spec-09-08.data
create mode 100644 test/YAMLParser/spec-09-09.data
create mode 100644 test/YAMLParser/spec-09-10.data
create mode 100644 test/YAMLParser/spec-09-11.data
create mode 100644 test/YAMLParser/spec-09-12.data
create mode 100644 test/YAMLParser/spec-09-13.data
create mode 100644 test/YAMLParser/spec-09-14.data
create mode 100644 test/YAMLParser/spec-09-15.data
create mode 100644 test/YAMLParser/spec-09-16.data
create mode 100644 test/YAMLParser/spec-09-17.data
create mode 100644 test/YAMLParser/spec-09-18.data
create mode 100644 test/YAMLParser/spec-09-19.data
create mode 100644 test/YAMLParser/spec-09-20.data
create mode 100644 test/YAMLParser/spec-09-21.data
create mode 100644 test/YAMLParser/spec-09-22.data
create mode 100644 test/YAMLParser/spec-09-23.data
create mode 100644 test/YAMLParser/spec-09-24.data
create mode 100644 test/YAMLParser/spec-09-25.data
create mode 100644 test/YAMLParser/spec-09-26.data
create mode 100644 test/YAMLParser/spec-09-27.data
create mode 100644 test/YAMLParser/spec-09-28.data
create mode 100644 test/YAMLParser/spec-09-29.data
create mode 100644 test/YAMLParser/spec-09-30.data
create mode 100644 test/YAMLParser/spec-09-31.data
create mode 100644 test/YAMLParser/spec-09-32.data
create mode 100644 test/YAMLParser/spec-09-33.data
create mode 100644 test/YAMLParser/spec-10-01.data
create mode 100644 test/YAMLParser/spec-10-02.data
create mode 100644 test/YAMLParser/spec-10-03.data
create mode 100644 test/YAMLParser/spec-10-04.data
create mode 100644 test/YAMLParser/spec-10-05.data
create mode 100644 test/YAMLParser/spec-10-06.data
create mode 100644 test/YAMLParser/spec-10-07.data
create mode 100644 test/YAMLParser/spec-10-08.data
create mode 100644 test/YAMLParser/spec-10-09.data
create mode 100644 test/YAMLParser/spec-10-10.data
create mode 100644 test/YAMLParser/spec-10-11.data
create mode 100644 test/YAMLParser/spec-10-12.data
create mode 100644 test/YAMLParser/spec-10-13.data
create mode 100644 test/YAMLParser/spec-10-14.data
create mode 100644 test/YAMLParser/spec-10-15.data
create mode 100644 test/YAMLParser/str.data
create mode 100644 test/YAMLParser/timestamp-bugs.data
create mode 100644 test/YAMLParser/timestamp.data
create mode 100644 test/YAMLParser/utf8-implicit.data
create mode 100644 test/YAMLParser/utf8.data
create mode 100644 test/YAMLParser/value.data
create mode 100644 test/YAMLParser/yaml.data
delete mode 100644 test/lib/llvm.exp
delete mode 100644 test/lib/llvm2cpp.exp
create mode 100644 tools/LLVMBuild.txt
create mode 100644 tools/bugpoint/LLVMBuild.txt
delete mode 100644 tools/edis/CMakeLists.txt
delete mode 100644 tools/edis/Makefile
create mode 100644 tools/llc/LLVMBuild.txt
create mode 100644 tools/lli/LLVMBuild.txt
create mode 100644 tools/llvm-ar/LLVMBuild.txt
create mode 100644 tools/llvm-as/LLVMBuild.txt
create mode 100644 tools/llvm-bcanalyzer/LLVMBuild.txt
create mode 100644 tools/llvm-config/BuildVariables.inc.in
delete mode 100755 tools/llvm-config/find-cycles.pl
create mode 100644 tools/llvm-config/llvm-config.cpp
delete mode 100644 tools/llvm-config/llvm-config.in.in
create mode 100644 tools/llvm-cov/LLVMBuild.txt
create mode 100644 tools/llvm-diff/LLVMBuild.txt
create mode 100644 tools/llvm-dis/LLVMBuild.txt
create mode 100644 tools/llvm-dwarfdump/LLVMBuild.txt
create mode 100644 tools/llvm-extract/LLVMBuild.txt
create mode 100644 tools/llvm-ld/LLVMBuild.txt
create mode 100644 tools/llvm-link/LLVMBuild.txt
create mode 100644 tools/llvm-mc/LLVMBuild.txt
create mode 100644 tools/llvm-nm/LLVMBuild.txt
create mode 100644 tools/llvm-objdump/LLVMBuild.txt
create mode 100644 tools/llvm-prof/LLVMBuild.txt
create mode 100644 tools/llvm-ranlib/LLVMBuild.txt
create mode 100644 tools/llvm-readobj/CMakeLists.txt
create mode 100644 tools/llvm-readobj/LLVMBuild.txt
create mode 100644 tools/llvm-readobj/Makefile
create mode 100644 tools/llvm-readobj/llvm-readobj.cpp
create mode 100644 tools/llvm-rtdyld/LLVMBuild.txt
create mode 100644 tools/llvm-size/LLVMBuild.txt
create mode 100644 tools/llvm-stress/CMakeLists.txt
create mode 100644 tools/llvm-stress/LLVMBuild.txt
rename {lib/Target/Blackfin/MCTargetDesc => tools/llvm-stress}/Makefile (52%)
create mode 100644 tools/llvm-stress/llvm-stress.cpp
create mode 100644 tools/llvm-stub/LLVMBuild.txt
create mode 100644 tools/macho-dump/LLVMBuild.txt
create mode 100644 tools/opt/LLVMBuild.txt
create mode 100644 unittests/ADT/HashingTest.cpp
create mode 100644 unittests/ADT/IntrusiveRefCntPtrTest.cpp
create mode 100644 unittests/ADT/SmallPtrSetTest.cpp
create mode 100644 unittests/ADT/SparseSetTest.cpp
create mode 100644 unittests/ADT/VariadicFunctionTest.cpp
create mode 100644 unittests/Bitcode/BitReaderTest.cpp
create mode 100644 unittests/Bitcode/Makefile
create mode 100644 unittests/ExecutionEngine/JIT/IntelJITEventListenerTest.cpp
create mode 100644 unittests/ExecutionEngine/JIT/JITEventListenerTestCommon.h
create mode 100644 unittests/ExecutionEngine/JIT/OProfileJITEventListenerTest.cpp
create mode 100644 unittests/Support/JSONParserTest.cpp
create mode 100644 unittests/Support/ManagedStatic.cpp
create mode 100644 unittests/Support/YAMLParserTest.cpp
create mode 100644 unittests/VMCore/DominatorTreeTest.cpp
create mode 100644 utils/LLVMBuild.txt
delete mode 100644 utils/NLT.schema
delete mode 100755 utils/NewNightlyTest.pl
delete mode 100644 utils/NightlyTest.gnuplot
delete mode 100644 utils/NightlyTestTemplate.html
delete mode 100644 utils/TableGen/ARMDecoderEmitter.cpp
delete mode 100644 utils/TableGen/ARMDecoderEmitter.h
create mode 100644 utils/TableGen/DFAPacketizerEmitter.cpp
create mode 100644 utils/TableGen/DFAPacketizerEmitter.h
delete mode 100644 utils/TableGen/InstrEnumEmitter.cpp
delete mode 100644 utils/TableGen/InstrEnumEmitter.h
create mode 100644 utils/TableGen/LLVMBuild.txt
create mode 100644 utils/TableGen/SequenceToOffsetTable.h
create mode 100644 utils/TableGen/X86ModRMFilters.cpp
delete mode 100755 utils/cgiplotNLT.pl
create mode 100755 utils/clang-parse-diagnostics-file
delete mode 100644 utils/importNLT.pl
create mode 100644 utils/json-bench/CMakeLists.txt
create mode 100644 utils/json-bench/JSONBench.cpp
rename {lib/Target/Blackfin/TargetInfo => utils/json-bench}/Makefile (55%)
create mode 100644 utils/lldbDataFormatters.py
create mode 100644 utils/llvm-build/README.txt
create mode 100755 utils/llvm-build/llvm-build
create mode 100644 utils/llvm-build/llvmbuild/__init__.py
create mode 100644 utils/llvm-build/llvmbuild/componentinfo.py
create mode 100644 utils/llvm-build/llvmbuild/configutil.py
create mode 100644 utils/llvm-build/llvmbuild/main.py
create mode 100644 utils/llvm-build/llvmbuild/util.py
rename utils/{llvmbuild => llvm-compilers-check} (60%)
delete mode 100644 utils/parseNLT.pl
delete mode 100644 utils/plotNLT.pl
create mode 100755 utils/release/findRegressions-nightly.py
rename utils/release/{findRegressions.py => findRegressions-simple.py} (63%)
create mode 100755 utils/release/merge.sh
create mode 100755 utils/release/tag.sh
delete mode 100755 utils/show-diagnostics
create mode 100644 utils/unittest/LLVMBuild.txt
delete mode 100755 utils/webNLT.pl
create mode 100644 utils/yaml-bench/CMakeLists.txt
rename {lib/Target/Alpha/TargetInfo => utils/yaml-bench}/Makefile (55%)
create mode 100644 utils/yaml-bench/YAMLBench.cpp
diff --git a/.gitignore b/.gitignore
index 5dae4342984..b3d030e5178 100644
--- a/.gitignore
+++ b/.gitignore
@@ -38,3 +38,5 @@ projects/*
!projects/Makefile
# Clang, which is tracked independently.
tools/clang
+# LLDB, which is tracked independently.
+tools/lldb
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 039f619ff97..8336bc975e3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,7 +10,10 @@ set(CMAKE_MODULE_PATH
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules"
)
-set(PACKAGE_VERSION "3.0")
+set(LLVM_VERSION_MAJOR 3)
+set(LLVM_VERSION_MINOR 1)
+
+set(PACKAGE_VERSION "${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}svn")
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
@@ -23,10 +26,15 @@ if( LLVM_APPEND_VC_REV )
add_version_info_from_vcs(PACKAGE_VERSION)
endif()
-set(PACKAGE_NAME llvm)
+set(PACKAGE_NAME LLVM)
set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
-set(PACKAGE_BUGREPORT "llvmbugs@cs.uiuc.edu")
+set(PACKAGE_BUGREPORT "http://llvm.org/bugs/")
+# Sanity check our source directory to make sure that we are not trying to
+# generate an in-tree build (unless on MSVC_IDE, where it is ok), and to make
+# sure that we don't have any stray generated files lying around in the tree
+# (which would end up getting picked up by header search, instead of the correct
+# versions).
if( CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR AND NOT MSVC_IDE )
message(FATAL_ERROR "In-source builds are not allowed.
CMake would overwrite the makefiles distributed with LLVM.
@@ -35,6 +43,23 @@ to this source directory as the last argument.
This process created the file `CMakeCache.txt' and the directory `CMakeFiles'.
Please delete them.")
endif()
+if( NOT CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR )
+ file(GLOB_RECURSE
+ tablegenned_files_on_include_dir
+ "${CMAKE_CURRENT_SOURCE_DIR}/include/llvm/*.gen")
+ file(GLOB_RECURSE
+ tablegenned_files_on_lib_dir
+ "${CMAKE_CURRENT_SOURCE_DIR}/lib/Target/*.inc")
+ if( tablegenned_files_on_include_dir OR tablegenned_files_on_lib_dir)
+ message(FATAL_ERROR "Apparently there is a previous in-source build,
+probably as the result of running `configure' and `make' on
+${CMAKE_CURRENT_SOURCE_DIR}.
+This may cause problems. The suspicious files are:
+${tablegenned_files_on_lib_dir}
+${tablegenned_files_on_include_dir}
+Please clean the source directory.")
+ endif()
+endif()
string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE)
@@ -45,38 +70,17 @@ set(LLVM_TOOLS_BINARY_DIR ${LLVM_BINARY_DIR}/bin)
set(LLVM_EXAMPLES_BINARY_DIR ${LLVM_BINARY_DIR}/examples)
set(LLVM_LIBDIR_SUFFIX "" CACHE STRING "Define suffix of library directory name (32/64)" )
-if( NOT CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR )
- file(GLOB_RECURSE
- tablegenned_files_on_include_dir
- "${LLVM_MAIN_SRC_DIR}/include/llvm/*.gen")
- file(GLOB_RECURSE
- tablegenned_files_on_lib_dir
- "${LLVM_MAIN_SRC_DIR}/lib/Target/*.inc")
- if( tablegenned_files_on_include_dir OR tablegenned_files_on_lib_dir)
- message(FATAL_ERROR "Apparently there is a previous in-source build,
-probably as the result of running `configure' and `make' on
-${LLVM_MAIN_SRC_DIR}.
-This may cause problems. The suspicious files are:
-${tablegenned_files_on_lib_dir}
-${tablegenned_files_on_include_dir}
-Please clean the source directory.")
- endif()
-endif()
-
set(LLVM_ALL_TARGETS
- Alpha
ARM
- Blackfin
- CBackend
CellSPU
CppBackend
+ Hexagon
Mips
MBlaze
MSP430
PowerPC
PTX
Sparc
- SystemZ
X86
XCore
)
@@ -88,10 +92,13 @@ if( MSVC )
set(LLVM_TARGETS_TO_BUILD X86
CACHE STRING "Semicolon-separated list of targets to build, or \"all\".")
else( MSVC )
- set(LLVM_TARGETS_TO_BUILD ${LLVM_ALL_TARGETS}
+ set(LLVM_TARGETS_TO_BUILD "all"
CACHE STRING "Semicolon-separated list of targets to build, or \"all\".")
endif( MSVC )
+option(BUILD_SHARED_LIBS
+ "Build all libraries as shared libraries instead of static" OFF)
+
option(LLVM_ENABLE_CBE_PRINTF_A "Set to ON if CBE is enabled for printf %a output" ON)
if(LLVM_ENABLE_CBE_PRINTF_A)
set(ENABLE_CBE_PRINTF_A 1)
@@ -126,12 +133,6 @@ foreach(c ${LLVM_TARGETS_TO_BUILD})
endif()
endforeach(c)
-# Produce llvm/Config/Targets.def
-configure_file(
- ${LLVM_MAIN_INCLUDE_DIR}/llvm/Config/Targets.def.in
- ${LLVM_BINARY_DIR}/include/llvm/Config/Targets.def
- )
-
set(llvm_builded_incs_dir ${LLVM_BINARY_DIR}/include/llvm)
include(AddLLVMDefinitions)
@@ -154,20 +155,207 @@ else()
option(LLVM_ENABLE_ASSERTIONS "Enable assertions" ON)
endif()
+option(LLVM_USE_INTEL_JITEVENTS
+ "Use Intel JIT API to inform Intel(R) VTune(TM) Amplifier XE 2011 about JIT code"
+ OFF)
+
+if( LLVM_USE_INTEL_JITEVENTS )
+ # Verify we are on a supported platform
+ if( CMAKE_SYSTEM_NAME MATCHES "Windows" OR CMAKE_SYSTEM_NAME MATCHES "Linux" )
+ # Directory where Intel Parallel Amplifier XE 2011 is installed.
+ if ( WIN32 )
+ set(LLVM_INTEL_JITEVENTS_DIR $ENV{VTUNE_AMPLIFIER_XE_2011_DIR})
+ else ( WIN32 )
+ set(LLVM_INTEL_JITEVENTS_DIR "/opt/intel/vtune_amplifier_xe_2011")
+ endif ( WIN32 )
+
+ # Set include and library search paths for Intel JIT Events API
+ set(LLVM_INTEL_JITEVENTS_INCDIR "${LLVM_INTEL_JITEVENTS_DIR}/include")
+
+ if ( CMAKE_SIZEOF_VOID_P EQUAL 8 )
+ set(LLVM_INTEL_JITEVENTS_LIBDIR "${LLVM_INTEL_JITEVENTS_DIR}/lib64")
+ else ( CMAKE_SIZEOF_VOID_P EQUAL 8 )
+ set(LLVM_INTEL_JITEVENTS_LIBDIR "${LLVM_INTEL_JITEVENTS_DIR}/lib32")
+ endif ( CMAKE_SIZEOF_VOID_P EQUAL 8 )
+ else()
+ message(FATAL_ERROR
+ "Intel JIT API support is available on Linux and Windows only.")
+ endif()
+endif( LLVM_USE_INTEL_JITEVENTS )
+
+option(LLVM_USE_OPROFILE
+ "Use opagent JIT interface to inform OProfile about JIT code" OFF)
+
+# If enabled, ierify we are on a platform that supports oprofile.
+if( LLVM_USE_OPROFILE )
+ if( NOT CMAKE_SYSTEM_NAME MATCHES "Linux" )
+ message(FATAL_ERROR "OProfile support is available on Linux only.")
+ endif( NOT CMAKE_SYSTEM_NAME MATCHES "Linux" )
+endif( LLVM_USE_OPROFILE )
+
+# Define an option controlling whether we should build for 32-bit on 64-bit
+# platforms, where supported.
+if( CMAKE_SIZEOF_VOID_P EQUAL 8 AND NOT WIN32 )
+ # TODO: support other platforms and toolchains.
+ option(LLVM_BUILD_32_BITS "Build 32 bits executables and libraries." OFF)
+endif()
+
+# Define the default arguments to use with 'lit', and an option for the user to
+# override.
+set(LIT_ARGS_DEFAULT "-sv")
+if (MSVC OR XCODE)
+ set(LIT_ARGS_DEFAULT "${LIT_ARGS_DEFAULT} --no-progress-bar")
+endif()
+set(LLVM_LIT_ARGS "${LIT_ARGS_DEFAULT}" CACHE STRING "Default options for lit")
+
+# On Win32 hosts, provide an option to specify the path to the GnuWin32 tools.
+if( WIN32 AND NOT CYGWIN )
+ set(LLVM_LIT_TOOLS_DIR "" CACHE PATH "Path to GnuWin32 tools")
+endif()
+
+# On Win32 using MS tools, provide an option to set the number of parallel jobs
+# to use.
+if( MSVC_IDE AND ( MSVC90 OR MSVC10 ) )
+ # Only Visual Studio 2008 and 2010 officially supports /MP. Visual Studio
+ # 2005 supports it but it is experimental.
+ set(LLVM_COMPILER_JOBS "0" CACHE STRING
+ "Number of parallel compiler jobs. 0 means use all processors. Default is 0.")
+endif()
+
+# Define options to control the inclusion and default build behavior for
+# components which may not strictly be necessary (tools, runtime, examples, and
+# tests).
+#
+# This is primarily to support building smaller or faster project files.
+option(LLVM_INCLUDE_TOOLS "Generate build targets for the LLVM tools." ON)
+option(LLVM_BUILD_TOOLS
+ "Build the LLVM tools. If OFF, just generate build targets." ON)
+
+option(LLVM_INCLUDE_RUNTIME "Generate build targets for the LLVM runtimes" ON)
+option(LLVM_BUILD_RUNTIME
+ "Build the LLVM runtime libraries. If OFF, just generate build targets." ON)
+
+option(LLVM_BUILD_EXAMPLES
+ "Build the LLVM example programs. If OFF, just generate build targets." OFF)
+option(LLVM_INCLUDE_EXAMPLES "Generate build targets for the LLVM examples" ON)
+
+option(LLVM_BUILD_TESTS
+ "Build LLVM unit tests. If OFF, just generate build targets." OFF)
+option(LLVM_INCLUDE_TESTS "Generate build targets for the LLVM unit tests." ON)
+
# All options referred to from HandleLLVMOptions have to be specified
# BEFORE this include, otherwise options will not be correctly set on
# first cmake run
include(config-ix)
include(HandleLLVMOptions)
+# Verify that we can find a Python interpreter,
+include(FindPythonInterp)
+if( NOT PYTHONINTERP_FOUND )
+ message(FATAL_ERROR
+"Unable to find Python interpreter, required for builds and testing.
+
+Please install Python or specify the PYTHON_EXECUTABLE CMake variable.")
+endif()
+
+######
+# LLVMBuild Integration
+#
+# We use llvm-build to generate all the data required by the CMake based
+# build system in one swoop:
+#
+# - We generate a file (a CMake fragment) in the object root which contains
+# all the definitions that are required by CMake.
+#
+# - We generate the library table used by llvm-config.
+#
+# - We generate the dependencies for the CMake fragment, so that we will
+# automatically reconfigure outselves.
+
+set(LLVMBUILDTOOL "${LLVM_MAIN_SRC_DIR}/utils/llvm-build/llvm-build")
+set(LLVMCONFIGLIBRARYDEPENDENCIESINC
+ "${LLVM_BINARY_DIR}/tools/llvm-config/LibraryDependencies.inc")
+set(LLVMBUILDCMAKEFRAG
+ "${LLVM_BINARY_DIR}/LLVMBuild.cmake")
+message(STATUS "Constructing LLVMBuild project information")
+execute_process(
+ COMMAND ${PYTHON_EXECUTABLE} ${LLVMBUILDTOOL}
+ --native-target "${LLVM_NATIVE_ARCH}"
+ --enable-targets "${LLVM_TARGETS_TO_BUILD}"
+ --write-library-table ${LLVMCONFIGLIBRARYDEPENDENCIESINC}
+ --write-cmake-fragment ${LLVMBUILDCMAKEFRAG}
+ ERROR_VARIABLE LLVMBUILDOUTPUT
+ ERROR_VARIABLE LLVMBUILDERRORS
+ OUTPUT_STRIP_TRAILING_WHITESPACE
+ ERROR_STRIP_TRAILING_WHITESPACE
+ RESULT_VARIABLE LLVMBUILDRESULT)
+
+# On Win32, CMake doesn't properly handle piping the default output/error
+# streams into the GUI console. So, we explicitly catch and report them.
+if( NOT "${LLVMBUILDOUTPUT}" STREQUAL "")
+ message(STATUS "llvm-build output: ${LLVMBUILDOUTPUT}")
+endif()
+if( NOT "${LLVMBUILDRESULT}" STREQUAL "0" )
+ message(FATAL_ERROR
+ "Unexpected failure executing llvm-build: ${LLVMBUILDERRORS}")
+endif()
+
+# Include the generated CMake fragment. This will define properties from the
+# LLVMBuild files in a format which is easy to consume from CMake, and will add
+# the dependencies so that CMake will reconfigure properly when the LLVMBuild
+# files change.
+include(${LLVMBUILDCMAKEFRAG})
+
+######
+
+# Configure all of the various header file fragments LLVM uses which depend on
+# configuration variables.
+set(LLVM_ENUM_ASM_PRINTERS "")
+set(LLVM_ENUM_ASM_PARSERS "")
+set(LLVM_ENUM_DISASSEMBLERS "")
+foreach(t ${LLVM_TARGETS_TO_BUILD})
+ set( td ${LLVM_MAIN_SRC_DIR}/lib/Target/${t} )
+ file(GLOB asmp_file "${td}/*AsmPrinter.cpp")
+ if( asmp_file )
+ set(LLVM_ENUM_ASM_PRINTERS
+ "${LLVM_ENUM_ASM_PRINTERS}LLVM_ASM_PRINTER(${t})\n")
+ endif()
+ if( EXISTS ${td}/AsmParser/CMakeLists.txt )
+ set(LLVM_ENUM_ASM_PARSERS
+ "${LLVM_ENUM_ASM_PARSERS}LLVM_ASM_PARSER(${t})\n")
+ endif()
+ if( EXISTS ${td}/Disassembler/CMakeLists.txt )
+ set(LLVM_ENUM_DISASSEMBLERS
+ "${LLVM_ENUM_DISASSEMBLERS}LLVM_DISASSEMBLER(${t})\n")
+ endif()
+endforeach(t)
+
+# Produce the target definition files, which provide a way for clients to easily
+# include various classes of targets.
+configure_file(
+ ${LLVM_MAIN_INCLUDE_DIR}/llvm/Config/AsmPrinters.def.in
+ ${LLVM_BINARY_DIR}/include/llvm/Config/AsmPrinters.def
+ )
+configure_file(
+ ${LLVM_MAIN_INCLUDE_DIR}/llvm/Config/AsmParsers.def.in
+ ${LLVM_BINARY_DIR}/include/llvm/Config/AsmParsers.def
+ )
+configure_file(
+ ${LLVM_MAIN_INCLUDE_DIR}/llvm/Config/Disassemblers.def.in
+ ${LLVM_BINARY_DIR}/include/llvm/Config/Disassemblers.def
+ )
+configure_file(
+ ${LLVM_MAIN_INCLUDE_DIR}/llvm/Config/Targets.def.in
+ ${LLVM_BINARY_DIR}/include/llvm/Config/Targets.def
+ )
+
+# Configure the three LLVM configuration header files.
configure_file(
${LLVM_MAIN_INCLUDE_DIR}/llvm/Config/config.h.cmake
${LLVM_BINARY_DIR}/include/llvm/Config/config.h)
-
configure_file(
${LLVM_MAIN_INCLUDE_DIR}/llvm/Config/llvm-config.h.cmake
${LLVM_BINARY_DIR}/include/llvm/Config/llvm-config.h)
-
configure_file(
${LLVM_MAIN_INCLUDE_DIR}/llvm/Support/DataTypes.h.cmake
${LLVM_BINARY_DIR}/include/llvm/Support/DataTypes.h)
@@ -187,10 +375,6 @@ endif( ${CMAKE_SYSTEM_NAME} MATCHES SunOS )
include(AddLLVM)
include(TableGen)
-macro(llvm_tablegen)
- tablegen(LLVM ${ARGN})
-endmacro()
-
if( MINGW )
# People report that -O3 is unreliable on MinGW. The traditional
# build also uses -O2 for that reason:
@@ -212,32 +396,23 @@ add_subdirectory(utils/FileUpdate)
add_subdirectory(utils/count)
add_subdirectory(utils/not)
add_subdirectory(utils/llvm-lit)
+add_subdirectory(utils/json-bench)
+add_subdirectory(utils/yaml-bench)
add_subdirectory(projects)
-option(LLVM_BUILD_TOOLS
- "Build the LLVM tools. If OFF, just generate build targets." ON)
-option(LLVM_INCLUDE_TOOLS "Generate build targets for the LLVM tools." ON)
if( LLVM_INCLUDE_TOOLS )
add_subdirectory(tools)
endif()
-option(LLVM_BUILD_RUNTIME
- "Build the LLVM runtime libraries. If OFF, just generate build targets." ON)
-option(LLVM_INCLUDE_RUNTIME "Generate build targets for the LLVM runtimes" ON)
if( LLVM_INCLUDE_RUNTIME )
add_subdirectory(runtime)
endif()
-option(LLVM_BUILD_EXAMPLES
- "Build the LLVM example programs. If OFF, just generate build targets." OFF)
-option(LLVM_INCLUDE_EXAMPLES "Generate build targets for the LLVM examples" ON)
if( LLVM_INCLUDE_EXAMPLES )
add_subdirectory(examples)
endif()
-option(LLVM_BUILD_TESTS
- "Build LLVM unit tests. If OFF, just generate build targets." OFF)
if( LLVM_INCLUDE_TESTS )
add_subdirectory(test)
add_subdirectory(utils/unittest)
@@ -277,8 +452,8 @@ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/
# TODO: make and install documentation.
set(CPACK_PACKAGE_VENDOR "LLVM")
-set(CPACK_PACKAGE_VERSION_MAJOR 2)
-set(CPACK_PACKAGE_VERSION_MINOR 9)
+set(CPACK_PACKAGE_VERSION_MAJOR ${LLVM_VERSION_MAJOR})
+set(CPACK_PACKAGE_VERSION_MINOR ${LLVM_VERSION_MINOR})
add_version_info_from_vcs(CPACK_PACKAGE_VERSION_PATCH)
include(CPack)
diff --git a/CREDITS.TXT b/CREDITS.TXT
index f20152796ae..ef471b0887e 100644
--- a/CREDITS.TXT
+++ b/CREDITS.TXT
@@ -83,6 +83,10 @@ N: John T. Criswell
E: criswell@uiuc.edu
D: Original Autoconf support, documentation improvements, bug fixes
+N: Anshuman Dasgupta
+E: adasgupt@codeaurora.org
+D: Deterministic finite automaton based infrastructure for VLIW packetization
+
N: Stefanus Du Toit
E: stefanus.dutoit@rapidmind.com
D: Bug fixes and minor improvements
@@ -95,6 +99,10 @@ N: Alkis Evlogimenos
E: alkis@evlogimenos.com
D: Linear scan register allocator, many codegen improvements, Java frontend
+N: Hal Finkel
+E: hfinkel@anl.gov
+D: Basic-block autovectorization, PowerPC backend improvements
+
N: Ryan Flynn
E: pizza@parseerror.com
D: Miscellaneous bug fixes
@@ -143,6 +151,8 @@ N: James Grosbach
E: grosbach@apple.com
D: SjLj exception handling support
D: General fixes and improvements for the ARM back-end
+D: MCJIT
+D: ARM integrated assembler and assembly parser
N: Lang Hames
E: lhames@gmail.com
@@ -265,6 +275,7 @@ N: Takumi Nakamura
E: geek4civic@gmail.com
E: chapuni@hf.rim.or.jp
D: Cygwin and MinGW support.
+D: Win32 tweaks.
S: Yokohama, Japan
N: Edward O'Callaghan
@@ -313,6 +324,19 @@ W: http://vladimir_prus.blogspot.com
E: ghost@cs.msu.su
D: Made inst_iterator behave like a proper iterator, LowerConstantExprs pass
+N: Xerxes Ranby
+E: xerxes@zafena.se
+D: Cmake dependency chain and various bug fixes
+
+N: Chad Rosier
+E: mcrosier@apple.com
+D: ARM fast-isel improvements
+D: Performance monitoring
+
+N: Nadav Rotem
+E: nadav.rotem@intel.com
+D: Vector code generation improvements.
+
N: Roman Samoilov
E: roman@codedgers.com
D: MSIL backend
@@ -363,12 +387,9 @@ E: lauro.venancio@indt.org.br
D: ARM backend improvements
D: Thread Local Storage implementation
-N: Xerxes Ranby
-E: xerxes@zafena.se
-D: Cmake dependency chain and various bug fixes
-
N: Bill Wendling
E: wendling@apple.com
+D: Exception handling
D: Bunches of stuff
N: Bob Wilson
diff --git a/LICENSE.TXT b/LICENSE.TXT
index 1b1047ca37d..00cf6011694 100644
--- a/LICENSE.TXT
+++ b/LICENSE.TXT
@@ -4,7 +4,7 @@ LLVM Release License
University of Illinois/NCSA
Open Source License
-Copyright (c) 2003-2011 University of Illinois at Urbana-Champaign.
+Copyright (c) 2003-2012 University of Illinois at Urbana-Champaign.
All rights reserved.
Developed by:
@@ -67,3 +67,4 @@ Autoconf llvm/autoconf
CellSPU backend llvm/lib/Target/CellSPU/README.txt
Google Test llvm/utils/unittest/googletest
OpenBSD regex llvm/lib/Support/{reg*, COPYRIGHT.regex}
+pyyaml tests llvm/test/YAMLParser/{*.data, LICENSE.TXT}
diff --git a/LLVMBuild.txt b/LLVMBuild.txt
new file mode 100644
index 00000000000..e763fd2afee
--- /dev/null
+++ b/LLVMBuild.txt
@@ -0,0 +1,24 @@
+;===- ./LLVMBuild.txt ------------------------------------------*- Conf -*--===;
+;
+; The LLVM Compiler Infrastructure
+;
+; This file is distributed under the University of Illinois Open Source
+; License. See LICENSE.TXT for details.
+;
+;===------------------------------------------------------------------------===;
+;
+; This is an LLVMBuild description file for the components in this subdirectory.
+;
+; For more information on the LLVMBuild system, please see:
+;
+; http://llvm.org/docs/LLVMBuild.html
+;
+;===------------------------------------------------------------------------===;
+
+[common]
+subdirectories = bindings docs examples lib projects runtime tools utils
+
+[component_0]
+type = Group
+name = Miscellaneous
+parent = $ROOT
diff --git a/Makefile b/Makefile
index a350cb19d2a..ec24862ad6f 100644
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ LEVEL := .
ifneq ($(findstring llvmCore, $(RC_ProjectName)),llvmCore) # Normal build (not "Apple-style").
ifeq ($(BUILD_DIRS_ONLY),1)
- DIRS := lib/Support lib/TableGen utils
+ DIRS := lib/Support lib/TableGen utils tools/llvm-config
OPTIONAL_DIRS := tools/clang/utils/TableGen
else
DIRS := lib/Support lib/TableGen utils lib/VMCore lib tools/llvm-shlib \
@@ -68,20 +68,14 @@ endif
ifeq ($(MAKECMDGOALS),install-clang)
DIRS := tools/clang/tools/driver tools/clang/lib/Headers \
+ tools/clang/tools/libclang tools/clang/tools/c-index-test \
+ tools/clang/include/clang-c \
tools/clang/runtime tools/clang/docs \
tools/lto runtime
OPTIONAL_DIRS :=
NO_INSTALL = 1
endif
-ifeq ($(MAKECMDGOALS),install-clang-c)
- DIRS := tools/clang/tools/driver tools/clang/lib/Headers \
- tools/clang/tools/libclang tools/clang/tools/c-index-test \
- tools/clang/include/clang-c
- OPTIONAL_DIRS :=
- NO_INSTALL = 1
-endif
-
ifeq ($(MAKECMDGOALS),clang-only)
DIRS := $(filter-out tools docs unittests, $(DIRS)) \
tools/clang tools/lto
@@ -126,11 +120,14 @@ cross-compile-build-tools:
$(MAKE) -C BuildTools \
BUILD_DIRS_ONLY=1 \
UNIVERSAL= \
+ TARGET_NATIVE_ARCH="$(TARGET_NATIVE_ARCH)" \
+ TARGETS_TO_BUILD="$(TARGETS_TO_BUILD)" \
ENABLE_OPTIMIZED=$(ENABLE_OPTIMIZED) \
ENABLE_PROFILING=$(ENABLE_PROFILING) \
ENABLE_COVERAGE=$(ENABLE_COVERAGE) \
DISABLE_ASSERTIONS=$(DISABLE_ASSERTIONS) \
ENABLE_EXPENSIVE_CHECKS=$(ENABLE_EXPENSIVE_CHECKS) \
+ ENABLE_LIBCPP=$(ENABLE_LIBCPP) \
CFLAGS= \
CXXFLAGS= \
) || exit 1;
@@ -166,7 +163,6 @@ clang-only: all
tools-only: all
libs-only: all
install-clang: install
-install-clang-c: install
install-libs: install
# If SHOW_DIAGNOSTICS is enabled, clear the diagnostics file first.
@@ -179,11 +175,18 @@ all-local:: clean-diagnostics
endif
#------------------------------------------------------------------------
-# Make sure the generated headers are up-to-date. This must be kept in
-# sync with the AC_CONFIG_HEADER invocations in autoconf/configure.ac
+# Make sure the generated files are up-to-date. This must be kept in
+# sync with the AC_CONFIG_HEADER and AC_CONFIG_FILE invocations in
+# autoconf/configure.ac.
+# Note that Makefile.config is covered by its own separate rule
+# in Makefile.rules where it can be reused by sub-projects.
#------------------------------------------------------------------------
FilesToConfig := \
+ bindings/ocaml/llvm/META.llvm \
+ docs/doxygen.cfg \
+ llvm.spec \
include/llvm/Config/config.h \
+ include/llvm/Config/llvm-config.h \
include/llvm/Config/Targets.def \
include/llvm/Config/AsmPrinters.def \
include/llvm/Config/AsmParsers.def \
@@ -209,7 +212,7 @@ ifneq ($(ENABLE_OPTIMIZED),1)
$(Echo) '*****' configure with --enable-optimized.
ifeq ($(SHOW_DIAGNOSTICS),1)
$(Verb) if test -s $(LLVM_OBJ_ROOT)/$(BuildMode)/diags; then \
- $(LLVM_SRC_ROOT)/utils/show-diagnostics \
+ $(LLVM_SRC_ROOT)/utils/clang-parse-diagnostics-file -a \
$(LLVM_OBJ_ROOT)/$(BuildMode)/diags; \
fi
endif
@@ -243,7 +246,7 @@ SVN-UPDATE-OPTIONS =
AWK = awk
SUB-SVN-DIRS = $(AWK) '/\?\ \ \ \ \ \ / {print $$2}' \
| LC_ALL=C xargs $(SVN) info 2>/dev/null \
- | $(AWK) '/Path:\ / {print $$2}'
+ | $(AWK) '/^Path:\ / {print $$2}'
update:
$(SVN) $(SVN-UPDATE-OPTIONS) update $(LLVM_SRC_ROOT)
diff --git a/Makefile.config.in b/Makefile.config.in
index fff482e7774..33fbb2ad4ca 100644
--- a/Makefile.config.in
+++ b/Makefile.config.in
@@ -13,7 +13,7 @@
#===------------------------------------------------------------------------===#
# Define LLVM specific info and directories based on the autoconf variables
-LLVMPackageName := @PACKAGE_NAME@
+LLVMPackageName := @PACKAGE_TARNAME@
LLVMVersion := @PACKAGE_VERSION@
LLVM_CONFIGTIME := @LLVM_CONFIGTIME@
@@ -46,11 +46,19 @@ realpath = $(shell cd $(1); $(PWD))
PROJ_OBJ_DIR := $(call realpath, .)
PROJ_OBJ_ROOT := $(call realpath, $(PROJ_OBJ_DIR)/$(LEVEL))
-ifeq ($(PROJECT_NAME),llvm)
+CLANG_SRC_ROOT := @CLANG_SRC_ROOT@
+
+ifeq ($(PROJECT_NAME),$(LLVMPackageName))
LLVM_SRC_ROOT := $(call realpath, @abs_top_srcdir@)
LLVM_OBJ_ROOT := $(call realpath, @abs_top_builddir@)
PROJ_SRC_ROOT := $(LLVM_SRC_ROOT)
-PROJ_SRC_DIR := $(call realpath, $(LLVM_SRC_ROOT)/$(patsubst $(PROJ_OBJ_ROOT)%,%,$(PROJ_OBJ_DIR)))
+PROJ_SRC_DIR := $(LLVM_SRC_ROOT)$(patsubst $(PROJ_OBJ_ROOT)%,%,$(PROJ_OBJ_DIR))
+
+ifneq ($(CLANG_SRC_ROOT),)
+ CLANG_SRC_ROOT:= $(call realpath, $(CLANG_SRC_ROOT))
+ PROJ_SRC_DIR := $(patsubst $(LLVM_SRC_ROOT)/tools/clang%,$(CLANG_SRC_ROOT)%,$(PROJ_SRC_DIR))
+endif
+
prefix := @prefix@
PROJ_prefix := $(prefix)
PROJ_VERSION := $(LLVMVersion)
@@ -78,7 +86,12 @@ PROJ_VERSION := 1.0
endif
endif
-LLVMMAKE := $(LLVM_SRC_ROOT)/make
+INTERNAL_PREFIX := @INTERNAL_PREFIX@
+ifneq ($(INTERNAL_PREFIX),)
+PROJ_internal_prefix := $(INTERNAL_PREFIX)
+else
+PROJ_internal_prefix := $(prefix)
+endif
PROJ_bindir := $(PROJ_prefix)/bin
PROJ_libdir := $(PROJ_prefix)/lib
@@ -101,6 +114,7 @@ TARGET_OS=@TARGET_OS@
# Target hardware architecture
ARCH=@ARCH@
+TARGET_NATIVE_ARCH := $(ARCH)
# Indicates, whether we're cross-compiling LLVM or not
LLVM_CROSS_COMPILING=@LLVM_CROSS_COMPILING@
@@ -161,7 +175,6 @@ SED := @SED@
TAR := @TAR@
# Paths to miscellaneous programs we hope are present but might not be
-PERL := @PERL@
BZIP2 := @BZIP2@
CAT := @CAT@
DOT := @DOT@
@@ -180,7 +193,6 @@ RUNTEST := @RUNTEST@
TCLSH := @TCLSH@
ZIP := @ZIP@
-HAVE_PERL := @HAVE_PERL@
HAVE_PTHREAD := @HAVE_PTHREAD@
LIBS := @LIBS@
@@ -202,6 +214,10 @@ RDYNAMIC := @RDYNAMIC@
# These are options that can either be enabled here, or can be enabled on the
# make command line (ie, make ENABLE_PROFILING=1):
+# When ENABLE_LIBCPP is enabled, LLVM uses libc++ by default to build.
+#ENABLE_LIBCPP = 0
+ENABLE_LIBCPP = @ENABLE_LIBCPP@
+
# When ENABLE_OPTIMIZED is enabled, LLVM code is optimized and output is put
# into the "Release" directories. Otherwise, LLVM code is not optimized and
# output is put in the "Debug" directories.
@@ -319,9 +335,19 @@ BINUTILS_INCDIR := @BINUTILS_INCDIR@
NO_MISSING_FIELD_INITIALIZERS = @NO_MISSING_FIELD_INITIALIZERS@
# -Wno-variadic-macros
NO_VARIADIC_MACROS = @NO_VARIADIC_MACROS@
+# -Wcovered-switch-default
+COVERED_SWITCH_DEFAULT = @COVERED_SWITCH_DEFAULT@
# Was polly found in tools/polly?
LLVM_HAS_POLLY = @LLVM_HAS_POLLY@
# Flags supported by the linker.
# bfd ld / gold --version-script=file
HAVE_LINK_VERSION_SCRIPT = @HAVE_LINK_VERSION_SCRIPT@
+
+# Flags to control building support for Intel JIT Events API
+USE_INTEL_JITEVENTS := @USE_INTEL_JITEVENTS@
+INTEL_JITEVENTS_INCDIR := @INTEL_JITEVENTS_INCDIR@
+INTEL_JITEVENTS_LIBDIR := @INTEL_JITEVENTS_LIBDIR@
+
+# Flags to control building support for OProfile JIT API
+USE_OPROFILE := @USE_OPROFILE@
diff --git a/Makefile.rules b/Makefile.rules
index d057f043ff6..0984dc07230 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -57,6 +57,72 @@ VPATH=$(PROJ_SRC_DIR)
$(UserTargets)::
+#------------------------------------------------------------------------
+# LLVMBuild Integration
+#------------------------------------------------------------------------
+#
+# We use llvm-build to generate all the data required by the Makefile based
+# build system in one swoop:
+#
+# - We generate a file (a Makefile fragment) in the object root which contains
+# all the definitions that are required by Makefiles across the entire
+# project.
+#
+# - We generate the library table used by llvm-config.
+#
+# - We generate the dependencies for the Makefile fragment, so that we will
+# automatically reconfigure outselves.
+
+# The path to the llvm-build tool itself.
+LLVMBuildTool := $(PROJ_SRC_ROOT)/utils/llvm-build/llvm-build
+
+# The files we are going to generate using llvm-build.
+LLVMBuildMakeFrag := $(PROJ_OBJ_ROOT)/Makefile.llvmbuild
+LLVMConfigLibraryDependenciesInc := \
+ $(PROJ_OBJ_ROOT)/tools/llvm-config/LibraryDependencies.inc
+
+# This is for temporary backwards compatibility.
+ifndef TARGET_NATIVE_ARCH
+TARGET_NATIVE_ARCH := $(ARCH)
+endif
+
+# The rule to create the LLVMBuild Makefile fragment as well as the llvm-config
+# library table.
+#
+# Note that this target gets its real dependencies generated for us by
+# llvm-build.
+#
+# We include a dependency on this Makefile to ensure that changes to the
+# generation command get picked up.
+$(LLVMBuildMakeFrag): $(PROJ_SRC_ROOT)/Makefile.rules \
+ $(PROJ_OBJ_ROOT)/Makefile.config
+ $(Echo) Constructing LLVMBuild project information.
+ $(Verb) $(LLVMBuildTool) \
+ --native-target "$(TARGET_NATIVE_ARCH)" \
+ --enable-targets "$(TARGETS_TO_BUILD)" \
+ --write-library-table $(LLVMConfigLibraryDependenciesInc) \
+ --write-make-fragment $(LLVMBuildMakeFrag)
+
+# For completeness, let Make know how the extra files are generated.
+$(LLVMConfigLibraryDependenciesInc): $(LLVMBuildMakeFrag)
+
+# Include the generated Makefile fragment.
+#
+# We currently only include the dependencies for the fragment itself if we are
+# at the top-level. Otherwise, recursive invocations would ends up doing
+# substantially more redundant stat'ing.
+#
+# This means that we won't properly regenerate things for developers used to
+# building from a subdirectory, but that is always somewhat unreliable.
+ifeq ($(LEVEL),.)
+LLVMBUILD_INCLUDE_DEPENDENCIES := 1
+
+# Clean the generated makefile fragment at the top-level.
+clean-local::
+ -$(Verb) $(RM) -f $(LLVMBuildMakeFrag)
+endif
+-include $(LLVMBuildMakeFrag)
+
################################################################################
# PRECONDITIONS: that which must be built/checked first
################################################################################
@@ -245,6 +311,11 @@ else
endif
endif
+ifeq ($(ENABLE_LIBCPP),1)
+ CXX.Flags += -stdlib=libc++
+ LD.Flags += -stdlib=libc++
+endif
+
ifeq ($(ENABLE_PROFILING),1)
BuildMode := $(BuildMode)+Profile
CXX.Flags := $(filter-out -fomit-frame-pointer,$(CXX.Flags)) -pg -g
@@ -253,9 +324,9 @@ ifeq ($(ENABLE_PROFILING),1)
KEEP_SYMBOLS := 1
endif
-#ifeq ($(ENABLE_VISIBILITY_INLINES_HIDDEN),1)
-# CXX.Flags += -fvisibility-inlines-hidden
-#endif
+ifeq ($(ENABLE_VISIBILITY_INLINES_HIDDEN),1)
+ CXX.Flags += -fvisibility-inlines-hidden
+endif
ifdef ENABLE_EXPENSIVE_CHECKS
# GNU libstdc++ uses RTTI if you define _GLIBCXX_DEBUG, which we did above.
@@ -445,8 +516,12 @@ endif
#--------------------------------------------------------------------
# Full Paths To Compiled Tools and Utilities
#--------------------------------------------------------------------
-EchoCmd = $(ECHO) llvm[$(MAKELEVEL)]:
-Echo = @$(EchoCmd)
+EchoCmd := $(ECHO) llvm[$(MAKELEVEL)]:
+ifdef BUILD_DIRS_ONLY
+EchoCmd := $(EchoCmd) "(build tools)":
+endif
+
+Echo := @$(EchoCmd)
ifndef LLVMAS
LLVMAS := $(LLVMToolDir)/llvm-as$(EXEEXT)
endif
@@ -457,7 +532,11 @@ ifndef LLVM_TBLGEN
LLVM_TBLGEN := $(LLVMToolDir)/llvm-tblgen$(EXEEXT)
endif
endif
-LLVM_CONFIG := $(LLVMToolDir)/llvm-config
+ifeq ($(LLVM_CROSS_COMPILING),1)
+ LLVM_CONFIG := $(BuildLLVMToolDir)/llvm-config$(BUILD_EXEEXT)
+else
+ LLVM_CONFIG := $(LLVMToolDir)/llvm-config$(EXEEXT)
+endif
ifndef LLVMLD
LLVMLD := $(LLVMToolDir)/llvm-ld$(EXEEXT)
endif
@@ -571,7 +650,7 @@ ifndef NO_PEDANTIC
CompileCommonOpts += -pedantic -Wno-long-long
endif
CompileCommonOpts += -Wall -W -Wno-unused-parameter -Wwrite-strings \
- $(EXTRA_OPTIONS)
+ $(EXTRA_OPTIONS) $(COVERED_SWITCH_DEFAULT)
# Enable cast-qual for C++; the workaround is to use const_cast.
CXX.Flags += -Wcast-qual
@@ -622,7 +701,13 @@ ifeq ($(HOST_OS),AuroraUX)
CPP.BaseFlags += -include llvm/Support/Solaris.h
endif # !HOST_OS - AuroraUX.
-LD.Flags += -L$(LibDir) -L$(LLVMLibDir)
+# On Windows, SharedLibDir != LibDir. The order is important.
+ifeq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW))
+ LD.Flags += -L$(SharedLibDir) -L$(LibDir) -L$(LLVMToolDir) -L$(LLVMLibDir)
+else
+ LD.Flags += -L$(LibDir) -L$(LLVMLibDir)
+endif
+
CPP.BaseFlags += -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
# All -I flags should go here, so that they don't confuse llvm-config.
CPP.Flags += $(sort -I$(PROJ_OBJ_DIR) -I$(PROJ_SRC_DIR) \
@@ -631,6 +716,10 @@ CPP.Flags += $(sort -I$(PROJ_OBJ_DIR) -I$(PROJ_SRC_DIR) \
$(LLVM_OBJ_ROOT) $(LLVM_SRC_ROOT))) \
$(CPP.BaseFlags)
+ifeq ($(INCLUDE_BUILD_DIR),1)
+ CPP.Flags += -I$(ObjDir)
+endif
+
# SHOW_DIAGNOSTICS support.
ifeq ($(SHOW_DIAGNOSTICS),1)
Compile.Wrapper := env CC_LOG_DIAGNOSTICS=1 \
@@ -639,35 +728,18 @@ else
Compile.Wrapper :=
endif
-ifeq ($(BUILD_COMPONENT), 1)
- Compile.C = $(Compile.Wrapper) \
- $(BUILD_CC) $(CPP.Flags) $(C.Flags) $(CFLAGS) $(CPPFLAGS) \
- $(TargetCommonOpts) $(CompileCommonOpts) -c
- Compile.CXX = $(Compile.Wrapper) \
- $(BUILD_CXX) $(CPP.Flags) $(CXX.Flags) $(CXXFLAGS) \
- $(CPPFLAGS) \
- $(TargetCommonOpts) $(CompileCommonOpts) -c
- Preprocess.CXX= $(Compile.Wrapper) \
- $(BUILD_CXX) $(CPP.Flags) $(CPPFLAGS) $(TargetCommonOpts) \
- $(CompileCommonOpts) $(CXX.Flags) -E
- Link = $(Compile.Wrapper) \
- $(BUILD_CXX) $(CPP.Flags) $(CXX.Flags) $(CXXFLAGS) \
- $(LD.Flags) $(LDFLAGS) \
- $(TargetCommonOpts) $(CompileCommonOpts) $(Strip)
-else
- Compile.C = $(Compile.Wrapper) \
+Compile.C = $(Compile.Wrapper) \
$(CC) $(CPP.Flags) $(C.Flags) $(CFLAGS) $(CPPFLAGS) \
- $(TargetCommonOpts) $(CompileCommonOpts) -c
- Compile.CXX = $(Compile.Wrapper) \
+ $(TargetCommonOpts) $(CompileCommonOpts) -c
+Compile.CXX = $(Compile.Wrapper) \
$(CXX) $(CPP.Flags) $(CXX.Flags) $(CXXFLAGS) $(CPPFLAGS) \
- $(TargetCommonOpts) $(CompileCommonOpts) -c
- Preprocess.CXX= $(Compile.Wrapper) \
+ $(TargetCommonOpts) $(CompileCommonOpts) -c
+Preprocess.CXX= $(Compile.Wrapper) \
$(CXX) $(CPP.Flags) $(TargetCommonOpts) $(CPPFLAGS) \
- $(CompileCommonOpts) $(CXX.Flags) -E
- Link = $(Compile.Wrapper) \
+ $(CompileCommonOpts) $(CXX.Flags) -E
+Link = $(Compile.Wrapper) \
$(CXX) $(CPP.Flags) $(CXX.Flags) $(CXXFLAGS) $(LD.Flags) \
- $(LDFLAGS) $(TargetCommonOpts) $(CompileCommonOpts) $(Strip)
-endif
+ $(LDFLAGS) $(TargetCommonOpts) $(CompileCommonOpts) $(Strip)
BCCompile.C = $(LLVMCC) $(CPP.Flags) $(C.Flags) $(CFLAGS) $(CPPFLAGS) \
$(TargetCommonOpts) $(CompileCommonOpts)
@@ -806,7 +878,7 @@ endif
# Handle the OPTIONAL_PARALLEL_DIRS options for optional parallel construction
#-----------------------------------------------------------
ifdef OPTIONAL_PARALLEL_DIRS
- PARALLEL_DIRS += $(foreach T,$(OPTIONAL_PARALLEL_DIRS),$(shell test -d $(PROJ_SRC_DIR)/$(T) && echo "$(T)"))
+ PARALLEL_DIRS += $(foreach T,$(OPTIONAL_PARALLEL_DIRS),$(shell test -d $(PROJ_SRC_DIR)/$(T) -o -f $(T)/Makefile && echo "$(T)"))
endif
#-----------------------------------------------------------
@@ -828,13 +900,20 @@ unitcheck:: $(addsuffix /.makeunitcheck,$(PARALLEL_DIRS))
ParallelTargets := $(foreach T,$(RecursiveTargets),%/.make$(T))
$(ParallelTargets) :
- $(Verb) if ([ ! -f $(@D)/Makefile ] || \
- command test $(@D)/Makefile -ot \
- $(PROJ_SRC_DIR)/$(@D)/Makefile ); then \
- $(MKDIR) $(@D); \
- $(CP) $(PROJ_SRC_DIR)/$(@D)/Makefile $(@D)/Makefile; \
+ $(Verb) \
+ SD=$(PROJ_SRC_DIR)/$(@D); \
+ DD=$(@D); \
+ if [ ! -f $$SD/Makefile ]; then \
+ SD=$(@D); \
+ DD=$(notdir $(@D)); \
+ fi; \
+ if ([ ! -f $$DD/Makefile ] || \
+ command test $$DD/Makefile -ot \
+ $$SD/Makefile ); then \
+ $(MKDIR) $$DD; \
+ $(CP) $$SD/Makefile $$DD/Makefile; \
fi; \
- $(MAKE) -C $(@D) $(subst $(@D)/.make,,$@)
+ $(MAKE) -C $$DD $(subst $(@D)/.make,,$@)
endif
#---------------------------------------------------------
@@ -991,7 +1070,7 @@ ifeq ($(HAVE_LINK_VERSION_SCRIPT),1)
NativeExportsFile := $(ObjDir)/$(notdir $(EXPORTED_SYMBOL_FILE)).map
$(NativeExportsFile): $(EXPORTED_SYMBOL_FILE) $(ObjDir)/.dir
$(Verb) echo "{" > $@
- $(Verb) grep -q "\<" $< && echo " global:" >> $@ || :
+ $(Verb) grep -q '[[:alnum:]_]' $< && echo " global:" >> $@ || :
$(Verb) sed -e 's/$$/;/' -e 's/^/ /' < $< >> $@
ifneq ($(HOST_OS),OpenBSD)
$(Verb) echo " local: *;" >> $@
@@ -1353,7 +1432,7 @@ LD.Flags += -Wl,-exported_symbol,_main
endif
endif
-ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux NetBSD FreeBSD))
+ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux NetBSD FreeBSD GNU))
ifneq ($(ARCH), Mips)
LD.Flags += -Wl,--version-script=$(LLVM_SRC_ROOT)/autoconf/ExportMap.map
endif
@@ -1413,12 +1492,23 @@ else
$(ToolBuildPath): $(ToolDir)/.dir
endif
+ifdef CODESIGN_TOOLS
$(ToolBuildPath): $(ObjectsO) $(ProjLibsPaths) $(LLVMLibsPaths)
$(Echo) Linking $(BuildMode) executable $(TOOLNAME) $(StripWarnMsg)
$(Verb) $(Link) -o $@ $(TOOLLINKOPTS) $(ObjectsO) $(ProjLibsOptions) \
$(LLVMLibsOptions) $(ExtraLibs) $(TOOLLINKOPTSB) $(LIBS)
$(Echo) ======= Finished Linking $(BuildMode) Executable $(TOOLNAME) \
$(StripWarnMsg)
+ $(Echo) ======= Code-Signing $(BuildMode) Executable $(TOOLNAME)
+ $(Verb) codesign -s - $@
+else
+$(ToolBuildPath): $(ObjectsO) $(ProjLibsPaths) $(LLVMLibsPaths)
+ $(Echo) Linking $(BuildMode) executable $(TOOLNAME) $(StripWarnMsg)
+ $(Verb) $(Link) -o $@ $(TOOLLINKOPTS) $(ObjectsO) $(ProjLibsOptions) \
+ $(LLVMLibsOptions) $(ExtraLibs) $(TOOLLINKOPTSB) $(LIBS)
+ $(Echo) ======= Finished Linking $(BuildMode) Executable $(TOOLNAME) \
+ $(StripWarnMsg)
+endif
ifneq ($(strip $(ToolAliasBuildPath)),)
$(ToolAliasBuildPath): $(ToolBuildPath)
@@ -1435,12 +1525,19 @@ install-local::
uninstall-local::
$(Echo) Uninstall circumvented with NO_INSTALL
else
-DestTool = $(DESTDIR)$(PROJ_bindir)/$(TOOLEXENAME)
+
+ifdef INTERNAL_TOOL
+ToolBinDir = $(DESTDIR)$(PROJ_internal_prefix)/bin
+else
+ToolBinDir = $(DESTDIR)$(PROJ_bindir)
+endif
+DestTool = $(ToolBinDir)/$(TOOLEXENAME)
install-local:: $(DestTool)
-$(DestTool): $(ToolBuildPath) $(DESTDIR)$(PROJ_bindir)
+$(DestTool): $(ToolBuildPath)
$(Echo) Installing $(BuildMode) $(DestTool)
+ $(Verb) $(MKDIR) $(ToolBinDir)
$(Verb) $(ProgInstall) $(ToolBuildPath) $(DestTool)
uninstall-local::
@@ -1449,7 +1546,7 @@ uninstall-local::
# TOOLALIAS install.
ifdef TOOLALIAS
-DestToolAlias = $(DESTDIR)$(PROJ_bindir)/$(TOOLALIAS)$(EXEEXT)
+DestToolAlias = $(ToolBinDir)/$(TOOLALIAS)$(EXEEXT)
install-local:: $(DestToolAlias)
@@ -1783,6 +1880,9 @@ $(ObjDir)/ARMGenDecoderTables.inc.tmp : ARM.td $(ObjDir)/.dir $(LLVM_TBLGEN)
$(Echo) "Building $(],
+ [Specify location of run-time support library for Intel JIT API (default=/opt/intel/vtune_amplifier_xe_2011)]),
+ [
+ case $llvm_cv_os_type in
+ Linux|Win32|Cygwin|MingW) ;;
+ *)
+ AC_MSG_ERROR([
+ Intel JIT API support is available on Linux and Windows only."]) ;;
+ esac
+
+ AC_SUBST(USE_INTEL_JITEVENTS, [1])
+ case "$llvm_cv_target_arch" in
+ x86) llvm_intel_jitevents_archdir="lib32";;
+ x86_64) llvm_intel_jitevents_archdir="lib64";;
+ *) echo "Target architecture $llvm_cv_target_arch does not support Intel JIT Events API"
+ exit -1;;
+ esac
+ INTEL_JITEVENTS_INCDIR="/opt/intel/vtune_amplifier_xe_2011/include"
+ INTEL_JITEVENTS_LIBDIR="/opt/intel/vtune_amplifier_xe_2011/$llvm_intel_jitevents_archdir"
+ case "$withval" in
+ /* | [[A-Za-z]]:[[\\/]]*) INTEL_JITEVENTS_INCDIR=$withval/include
+ INTEL_JITEVENTS_LIBDIR=$withval/$llvm_intel_jitevents_archdir ;;
+ *) ;;
+ esac
+
+ AC_SUBST(INTEL_JITEVENTS_INCDIR)
+ AC_SUBST(INTEL_JITEVENTS_LIBDIR)
+
+ LIBS="$LIBS -L${INTEL_JITEVENTS_LIBDIR}"
+ CPPFLAGS="$CPPFLAGS -I$INTEL_JITEVENTS_INCDIR"
+
+ AC_SEARCH_LIBS(iJIT_IsProfilingActive, jitprofiling, [], [
+ echo "Error! Cannot find libjitprofiling.a. Please check path specified in flag --with-intel-jitevents"
+ exit -1
+ ])
+ AC_CHECK_HEADER([jitprofiling.h], [], [
+ echo "Error! Cannot find jitprofiling.h. Please check path specified in flag --with-intel-jitevents"
+ exit -1
+ ])
+
+ ],
+ [
+ AC_SUBST(USE_INTEL_JITEVENTS, [0])
+ ])
+AC_DEFINE_UNQUOTED([LLVM_USE_INTEL_JITEVENTS],$USE_INTEL_JITEVENTS,
+ [Define if we have the Intel JIT API runtime support library])
+
dnl===-----------------------------------------------------------------------===
dnl===
dnl=== SECTION 6: Check for header files
@@ -1224,7 +1276,7 @@ AC_CHECK_HEADERS([sys/mman.h sys/param.h sys/resource.h sys/time.h sys/uio.h])
AC_CHECK_HEADERS([sys/types.h sys/ioctl.h malloc/malloc.h mach/mach.h])
AC_CHECK_HEADERS([valgrind/valgrind.h])
AC_CHECK_HEADERS([fenv.h])
-if test "$ENABLE_THREADS" -eq 1 && test "$ENABLE_PTHREADS" -eq 1 ; then
+if test "$LLVM_ENABLE_THREADS" -eq 1 && test "$ENABLE_PTHREADS" -eq 1 ; then
AC_CHECK_HEADERS(pthread.h,
AC_SUBST(HAVE_PTHREAD, 1),
AC_SUBST(HAVE_PTHREAD, 0))
@@ -1282,7 +1334,7 @@ AC_CHECK_FUNCS([backtrace ceilf floorf roundf rintf nearbyintf getcwd ])
AC_CHECK_FUNCS([powf fmodf strtof round ])
AC_CHECK_FUNCS([getpagesize getrusage getrlimit setrlimit gettimeofday ])
AC_CHECK_FUNCS([isatty mkdtemp mkstemp ])
-AC_CHECK_FUNCS([mktemp posix_spawn realpath sbrk setrlimit strdup ])
+AC_CHECK_FUNCS([mktemp posix_spawn pread realpath sbrk setrlimit strdup ])
AC_CHECK_FUNCS([strerror strerror_r setenv ])
AC_CHECK_FUNCS([strtoll strtoq sysconf malloc_zone_statistics ])
AC_CHECK_FUNCS([setjmp longjmp sigsetjmp siglongjmp writev])
@@ -1405,9 +1457,9 @@ dnl Propagate the run-time library path variable that the libltdl
dnl checks found to the Makefiles so we can use it there too
AC_SUBST(SHLIBPATH_VAR,$libltdl_cv_shlibpath_var)
-# Translate the various configuration directories and other basic
-# information into substitutions that will end up in Makefile.config.in
-# that these configured values can be used by the makefiles
+dnl Translate the various configuration directories and other basic
+dnl information into substitutions that will end up in Makefile.config.in
+dnl that these configured values can be used by the makefiles
if test "${prefix}" = "NONE" ; then
prefix="/usr/local"
fi
@@ -1432,8 +1484,13 @@ AC_SUBST(LLVM_INFODIR)
AC_SUBST(LLVM_MANDIR)
AC_SUBST(LLVM_CONFIGTIME)
-# Place the various directores into the config.h file as #defines so that we
-# can know about the installation paths within LLVM.
+dnl Disable embedding timestamps in the build directory, with ENABLE_TIMESTAMPS.
+if test "${ENABLE_TIMESTAMPS}" = "0"; then
+ LLVM_CONFIGTIME="(timestamp not enabled)"
+fi
+
+dnl Place the various directories into the config.h file as #defines so that we
+dnl can know about the installation paths within LLVM.
AC_DEFINE_UNQUOTED(LLVM_PREFIX,"$LLVM_PREFIX",
[Installation prefix directory])
AC_DEFINE_UNQUOTED(LLVM_BINDIR, "$LLVM_BINDIR",
@@ -1454,10 +1511,10 @@ AC_DEFINE_UNQUOTED(LLVM_MANDIR, "$LLVM_MANDIR",
[Installation directory for man pages])
AC_DEFINE_UNQUOTED(LLVM_CONFIGTIME, "$LLVM_CONFIGTIME",
[Time at which LLVM was configured])
-AC_DEFINE_UNQUOTED(LLVM_HOSTTRIPLE, "$host",
- [Host triple we were built on])
+AC_DEFINE_UNQUOTED(LLVM_DEFAULT_TARGET_TRIPLE, "$target",
+ [Target triple LLVM will generate code for by default])
-# Determine which bindings to build.
+dnl Determine which bindings to build.
if test "$BINDINGS_TO_BUILD" = auto ; then
BINDINGS_TO_BUILD=""
if test "x$OCAMLC" != x -a "x$OCAMLDEP" != x ; then
@@ -1466,11 +1523,11 @@ if test "$BINDINGS_TO_BUILD" = auto ; then
fi
AC_SUBST(BINDINGS_TO_BUILD,$BINDINGS_TO_BUILD)
-# This isn't really configurey, but it avoids having to repeat the list in
-# other files.
+dnl This isn't really configurey, but it avoids having to repeat the list in
+dnl other files.
AC_SUBST(ALL_BINDINGS,ocaml)
-# Do any work necessary to ensure that bindings have what they need.
+dnl Do any work necessary to ensure that bindings have what they need.
binding_prereqs_failed=0
for a_binding in $BINDINGS_TO_BUILD ; do
case "$a_binding" in
@@ -1534,7 +1591,7 @@ dnl===-----------------------------------------------------------------------===
dnl Configure header files
dnl WARNING: dnl If you add or remove any of the following config headers, then
-dnl you MUST also update Makefile.rules so that the variable FilesToConfig
+dnl you MUST also update Makefile so that the variable FilesToConfig
dnl contains the same list of files as AC_CONFIG_HEADERS below. This ensures the
dnl files can be updated automatically when their *.in sources change.
AC_CONFIG_HEADERS([include/llvm/Config/config.h include/llvm/Config/llvm-config.h])
@@ -1556,12 +1613,18 @@ AC_CONFIG_FILES([llvm.spec])
dnl Configure doxygen's configuration file
AC_CONFIG_FILES([docs/doxygen.cfg])
-if test -f ${srcdir}/tools/clang/README.txt; then
- AC_CONFIG_FILES([tools/clang/docs/doxygen.cfg])
-fi
-dnl Do the first stage of configuration for llvm-config.in.
-AC_CONFIG_FILES([tools/llvm-config/llvm-config.in])
+dnl Configure clang, if present
+if test "${clang_src_root}" = ""; then
+ clang_src_root="$srcdir/tools/clang"
+fi
+if test -f ${clang_src_root}/README.txt; then
+ dnl Use variables to stay under 80 columns.
+ configh="include/clang/Config/config.h"
+ doxy="docs/doxygen.cfg"
+ AC_CONFIG_HEADERS([tools/clang/${configh}:${clang_src_root}/${configh}.in])
+ AC_CONFIG_FILES([tools/clang/${doxy}:${clang_src_root}/${doxy}.in])
+fi
dnl OCaml findlib META file
AC_CONFIG_FILES([bindings/ocaml/llvm/META.llvm])
diff --git a/autoconf/ltmain.sh b/autoconf/ltmain.sh
index 06823e057a5..2455278a4d7 100644
--- a/autoconf/ltmain.sh
+++ b/autoconf/ltmain.sh
@@ -4668,7 +4668,7 @@ static const void *lt_preloaded_setup() {
# linked before any other PIC object. But we must not use
# pic_flag when linking with -static. The problem exists in
# FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
- *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
+ *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
case "$compile_command " in
*" -static "*) ;;
*) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";;
diff --git a/autoconf/m4/cxx_flag_check.m4 b/autoconf/m4/cxx_flag_check.m4
index ab09f2af5cf..62454b7147f 100644
--- a/autoconf/m4/cxx_flag_check.m4
+++ b/autoconf/m4/cxx_flag_check.m4
@@ -1,2 +1,2 @@
AC_DEFUN([CXX_FLAG_CHECK],
- [AC_SUBST($1, `$CXX $2 -fsyntax-only -xc /dev/null 2>/dev/null && echo $2`)])
+ [AC_SUBST($1, `$CXX -Werror $2 -fsyntax-only -xc /dev/null 2>/dev/null && echo $2`)])
diff --git a/autoconf/m4/func_isinf.m4 b/autoconf/m4/func_isinf.m4
index c936bf920d0..5c000f8fad9 100644
--- a/autoconf/m4/func_isinf.m4
+++ b/autoconf/m4/func_isinf.m4
@@ -19,7 +19,7 @@ fi
AC_SINGLE_CXX_CHECK([ac_cv_func_std_isinf_in_cmath],
[std::isinf], [],
- [float f; std::isinf(f)}])
+ [float f; std::isinf(f);])
if test "$ac_cv_func_std_isinf_in_cmath" = "yes" ; then
AC_DEFINE([HAVE_STD_ISINF_IN_CMATH],1,[Set to 1 if the std::isinf function is found in ])
fi
diff --git a/autoconf/m4/huge_val.m4 b/autoconf/m4/huge_val.m4
index 5fffbfc8d37..9dc76f22350 100644
--- a/autoconf/m4/huge_val.m4
+++ b/autoconf/m4/huge_val.m4
@@ -6,7 +6,7 @@ AC_DEFUN([AC_HUGE_VAL_CHECK],[
AC_CACHE_CHECK([for HUGE_VAL sanity], [ac_cv_huge_val_sanity],[
AC_LANG_PUSH([C++])
ac_save_CXXFLAGS=$CXXFLAGS
- CXXFLAGS=-pedantic
+ CXXFLAGS="$CXXFLAGS -pedantic"
AC_RUN_IFELSE(
AC_LANG_PROGRAM(
[#include ],
diff --git a/autoconf/m4/libtool.m4 b/autoconf/m4/libtool.m4
index e89738cc912..36ac3d15def 100644
--- a/autoconf/m4/libtool.m4
+++ b/autoconf/m4/libtool.m4
@@ -1384,7 +1384,7 @@ dgux*)
shlibpath_var=LD_LIBRARY_PATH
;;
-freebsd1*)
+freebsd1.*)
dynamic_linker=no
;;
@@ -1407,7 +1407,7 @@ freebsd* | dragonfly*)
objformat=`/usr/bin/objformat`
else
case $host_os in
- freebsd[[123]]*) objformat=aout ;;
+ freebsd[[123]].*) objformat=aout ;;
*) objformat=elf ;;
esac
fi
@@ -1425,7 +1425,7 @@ freebsd* | dragonfly*)
esac
shlibpath_var=LD_LIBRARY_PATH
case $host_os in
- freebsd2*)
+ freebsd2.*)
shlibpath_overrides_runpath=yes
;;
freebsd3.[[01]]* | freebsdelf3.[[01]]*)
@@ -3099,7 +3099,7 @@ case $host_os in
;;
esac
;;
- freebsd[[12]]*)
+ freebsd[[12]].*)
# C++ shared libraries reported to be fairly broken before switch to ELF
_LT_AC_TAGVAR(ld_shlibs, $1)=no
;;
@@ -5858,7 +5858,7 @@ _LT_EOF
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
;;
- freebsd1*)
+ freebsd1.*)
_LT_AC_TAGVAR(ld_shlibs, $1)=no
;;
@@ -5874,7 +5874,7 @@ _LT_EOF
;;
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
- freebsd2*)
+ freebsd2.*)
_LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
_LT_AC_TAGVAR(hardcode_direct, $1)=yes
_LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
diff --git a/autoconf/m4/link_options.m4 b/autoconf/m4/link_options.m4
index 4c5f2f435d0..57da4a0d926 100644
--- a/autoconf/m4/link_options.m4
+++ b/autoconf/m4/link_options.m4
@@ -10,7 +10,7 @@ AC_DEFUN([AC_LINK_GET_VERSION],
# Check for ld64.
if (echo "$version_string" | grep -q "ld64"); then
- llvm_cv_link_version=$(echo "$version_string" | sed -e "s#.*ld64-\([^ ]*\)#\1#")
+ llvm_cv_link_version=$(echo "$version_string" | sed -e "s#.*ld64-\([^ ]*\)\( (.*)\)\{0,1\}#\1#")
else
llvm_cv_link_version=$(echo "$version_string" | sed -e "s#[^0-9]*\([0-9.]*\).*#\1#")
fi
diff --git a/autoconf/m4/path_perl.m4 b/autoconf/m4/path_perl.m4
deleted file mode 100644
index 406656cb032..00000000000
--- a/autoconf/m4/path_perl.m4
+++ /dev/null
@@ -1,16 +0,0 @@
-dnl Check for a reasonable version of Perl.
-dnl $1 - Minimum Perl version. Typically 5.006.
-dnl
-AC_DEFUN([LLVM_PROG_PERL], [
-AC_PATH_PROG(PERL, [perl], [none])
-if test "$PERL" != "none"; then
- AC_MSG_CHECKING(for Perl $1 or newer)
- if $PERL -e 'use $1;' 2>&1 > /dev/null; then
- AC_MSG_RESULT(yes)
- else
- PERL=none
- AC_MSG_RESULT(not found)
- fi
-fi
-])
-
diff --git a/autoconf/m4/visibility_inlines_hidden.m4 b/autoconf/m4/visibility_inlines_hidden.m4
index 42ddbe9128b..b1cc42aa5f5 100644
--- a/autoconf/m4/visibility_inlines_hidden.m4
+++ b/autoconf/m4/visibility_inlines_hidden.m4
@@ -8,8 +8,10 @@ AC_DEFUN([AC_CXX_USE_VISIBILITY_INLINES_HIDDEN],
[llvm_cv_cxx_visibility_inlines_hidden],
[ AC_LANG_PUSH([C++])
oldcxxflags="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
+ CXXFLAGS="$CXXFLAGS -O0 -fvisibility-inlines-hidden -Werror"
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
+ [template struct X { void __attribute__((noinline)) f() {} };],
+ [X().f();])],
[llvm_cv_cxx_visibility_inlines_hidden=yes],[llvm_cv_cxx_visibility_inlines_hidden=no])
CXXFLAGS="$oldcxxflags"
AC_LANG_POP([C++])
diff --git a/bindings/LLVMBuild.txt b/bindings/LLVMBuild.txt
new file mode 100644
index 00000000000..241ac0964f3
--- /dev/null
+++ b/bindings/LLVMBuild.txt
@@ -0,0 +1,21 @@
+;===- ./bindings/LLVMBuild.txt ---------------------------------*- Conf -*--===;
+;
+; The LLVM Compiler Infrastructure
+;
+; This file is distributed under the University of Illinois Open Source
+; License. See LICENSE.TXT for details.
+;
+;===------------------------------------------------------------------------===;
+;
+; This is an LLVMBuild description file for the components in this subdirectory.
+;
+; For more information on the LLVMBuild system, please see:
+;
+; http://llvm.org/docs/LLVMBuild.html
+;
+;===------------------------------------------------------------------------===;
+
+[component_0]
+type = Group
+name = Bindings
+parent = $ROOT
diff --git a/bindings/ocaml/Makefile.ocaml b/bindings/ocaml/Makefile.ocaml
index 40ecc9c08e0..a2a8b02eac7 100644
--- a/bindings/ocaml/Makefile.ocaml
+++ b/bindings/ocaml/Makefile.ocaml
@@ -238,14 +238,14 @@ clean-cmis::
# Also install the .mli's (headers) as documentation.
install-cmis: $(OutputsCMI) $(OcamlHeaders)
$(Verb) $(MKDIR) $(PROJ_libocamldir)
- $(Verb) for i in $(OutputsCMI:$(OcamlDir)/%=%); do \
- $(EchoCmd) "Installing $(BuildMode) $(PROJ_libocamldir)/$$i"; \
- $(DataInstall) $(OcamlDir)/$$i "$(PROJ_libocamldir)/$$i"; \
- done
$(Verb) for i in $(OcamlHeaders:$(ObjDir)/%=%); do \
$(EchoCmd) "Installing $(BuildMode) $(PROJ_libocamldir)/$$i"; \
$(DataInstall) $(ObjDir)/$$i "$(PROJ_libocamldir)/$$i"; \
done
+ $(Verb) for i in $(OutputsCMI:$(OcamlDir)/%=%); do \
+ $(EchoCmd) "Installing $(BuildMode) $(PROJ_libocamldir)/$$i"; \
+ $(DataInstall) $(OcamlDir)/$$i "$(PROJ_libocamldir)/$$i"; \
+ done
uninstall-cmis::
$(Verb) for i in $(OutputsCMI:$(OcamlDir)/%=%); do \
diff --git a/bindings/ocaml/llvm/META.llvm.in b/bindings/ocaml/llvm/META.llvm.in
index 29e7eb418ef..fdb32538237 100644
--- a/bindings/ocaml/llvm/META.llvm.in
+++ b/bindings/ocaml/llvm/META.llvm.in
@@ -1,6 +1,6 @@
name = "llvm"
version = "@PACKAGE_VERSION@"
-description = "Low Level Virtual Machine OCaml bindings"
+description = "LLVM OCaml bindings"
archive(byte) = "llvm.cma"
archive(native) = "llvm.cmxa"
directory = "."
diff --git a/bindings/ocaml/llvm/Makefile b/bindings/ocaml/llvm/Makefile
index 673eaa2e35a..203075a9bdd 100644
--- a/bindings/ocaml/llvm/Makefile
+++ b/bindings/ocaml/llvm/Makefile
@@ -30,11 +30,13 @@ copy-meta: $(OcamlDir)/META.llvm
$(OcamlDir)/META.llvm: META.llvm
$(Verb) $(CP) -f $< $@
-install-meta:: $(ObjDir)/META.llvm
+install-meta:: $(OcamlDir)/META.llvm
$(Echo) "Install $(BuildMode) $(DestMETA)"
$(Verb) $(MKDIR) $(PROJ_libocamldir)
- $(Verb) $(DataInstall) META.llvm "$(DestMETA)"
+ $(Verb) $(DataInstall) $< "$(DestMETA)"
uninstall-meta::
$(Echo) "Uninstalling $(DestMETA)"
-$(Verb) $(RM) -f "$(DestMETA)"
+
+.PHONY: copy-meta install-meta uninstall-meta
diff --git a/bindings/ocaml/llvm/llvm.ml b/bindings/ocaml/llvm/llvm.ml
index 40b01386366..b169b85bc99 100644
--- a/bindings/ocaml/llvm/llvm.ml
+++ b/bindings/ocaml/llvm/llvm.ml
@@ -20,6 +20,7 @@ type llmemorybuffer
module TypeKind = struct
type t =
| Void
+ | Half
| Float
| Double
| X86fp80
@@ -1234,5 +1235,6 @@ let rec string_of_lltype ty =
| TypeKind.X86fp80 -> "x86_fp80"
| TypeKind.Double -> "double"
| TypeKind.Float -> "float"
+ | TypeKind.Half -> "half"
| TypeKind.Void -> "void"
| TypeKind.Metadata -> "metadata"
diff --git a/bindings/ocaml/llvm/llvm.mli b/bindings/ocaml/llvm/llvm.mli
index 33bbc74deb1..96448ccd960 100644
--- a/bindings/ocaml/llvm/llvm.mli
+++ b/bindings/ocaml/llvm/llvm.mli
@@ -53,6 +53,7 @@ type llmemorybuffer
module TypeKind : sig
type t =
Void
+ | Half
| Float
| Double
| X86fp80
diff --git a/bindings/ocaml/llvm/llvm_ocaml.c b/bindings/ocaml/llvm/llvm_ocaml.c
index 86cc4bd0143..a5985d9d2b0 100644
--- a/bindings/ocaml/llvm/llvm_ocaml.c
+++ b/bindings/ocaml/llvm/llvm_ocaml.c
@@ -21,7 +21,6 @@
#include "caml/memory.h"
#include "caml/fail.h"
#include "caml/callback.h"
-#include "llvm/Config/config.h"
#include
#include
#include
@@ -1164,7 +1163,7 @@ CAMLprim value llvm_instr_get_opcode(LLVMValueRef Inst) {
if (!LLVMIsAInstruction(Inst))
failwith("Not an instruction");
o = LLVMGetInstructionOpcode(Inst);
- assert (o <= LLVMUnwind );
+ assert (o <= LLVMLandingPad);
return Val_int(o);
}
diff --git a/bindings/python/README.txt b/bindings/python/README.txt
new file mode 100644
index 00000000000..96e334319bd
--- /dev/null
+++ b/bindings/python/README.txt
@@ -0,0 +1,67 @@
+This directory contains Python bindings for LLVM's C library.
+
+The bindings are currently a work in progress and are far from complete.
+Use at your own risk.
+
+Developer Info
+==============
+
+The single Python package is "llvm." Modules inside this package roughly
+follow the names of the modules/headers defined by LLVM's C API.
+
+Testing
+-------
+
+All test code is location in llvm/tests. Tests are written as classes
+which inherit from llvm.tests.base.TestBase, which is a convenience base
+class that provides common functionality.
+
+Tests can be executed by installing nose:
+
+ pip install nosetests
+
+Then by running nosetests:
+
+ nosetests
+
+To see more output:
+
+ nosetests -v
+
+To step into the Python debugger while running a test, add the following
+to your test at the point you wish to enter the debugger:
+
+ import pdb; pdb.set_trace()
+
+Then run nosetests:
+
+ nosetests -s -v
+
+You should strive for high code coverage. To see current coverage:
+
+ pip install coverage
+ nosetests --with-coverage --cover-html
+
+Then open cover/index.html in your browser of choice to see the code coverage.
+
+Style Convention
+----------------
+
+All code should pass PyFlakes. First, install PyFlakes:
+
+ pip install pyflakes
+
+Then at any time run it to see a report:
+
+ pyflakes .
+
+Eventually we'll provide a Pylint config file. In the meantime, install
+Pylint:
+
+ pip install pylint
+
+And run:
+
+ pylint llvm
+
+And try to keep the number of violations to a minimum.
diff --git a/bindings/python/llvm/__init__.py b/bindings/python/llvm/__init__.py
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/bindings/python/llvm/common.py b/bindings/python/llvm/common.py
new file mode 100644
index 00000000000..0c5fcd03d84
--- /dev/null
+++ b/bindings/python/llvm/common.py
@@ -0,0 +1,106 @@
+#===- common.py - Python LLVM Bindings -----------------------*- python -*--===#
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+#===------------------------------------------------------------------------===#
+
+from ctypes import POINTER
+from ctypes import c_void_p
+from ctypes import cdll
+
+import ctypes.util
+
+__all__ = [
+ 'c_object_p',
+ 'find_library',
+ 'get_library',
+]
+
+c_object_p = POINTER(c_void_p)
+
+class LLVMObject(object):
+ """Base class for objects that are backed by an LLVM data structure.
+
+ This class should never be instantiated outside of this package.
+ """
+ def __init__(self, ptr, ownable=True, disposer=None):
+ assert isinstance(ptr, c_object_p)
+
+ self._ptr = self._as_parameter_ = ptr
+
+ self._self_owned = True
+ self._ownable = ownable
+ self._disposer = disposer
+
+ self._owned_objects = []
+
+ def take_ownership(self, obj):
+ """Take ownership of another object.
+
+ When you take ownership of another object, you are responsible for
+ destroying that object. In addition, a reference to that object is
+ placed inside this object so the Python garbage collector will not
+ collect the object while it is still alive in libLLVM.
+
+ This method should likely only be called from within modules inside
+ this package.
+ """
+ assert isinstance(obj, LLVMObject)
+
+ self._owned_objects.append(obj)
+ obj._self_owned = False
+
+ def from_param(self):
+ """ctypes function that converts this object to a function parameter."""
+ return self._as_parameter_
+
+ def __del__(self):
+ if not hasattr(self, '_self_owned') or not hasattr(self, '_disposer'):
+ return
+
+ if self._self_owned and self._disposer:
+ self._disposer(self)
+
+class CachedProperty(object):
+ """Decorator that caches the result of a property lookup.
+
+ This is a useful replacement for @property. It is recommended to use this
+ decorator on properties that invoke C API calls for which the result of the
+ call will be idempotent.
+ """
+ def __init__(self, wrapped):
+ self.wrapped = wrapped
+ try:
+ self.__doc__ = wrapped.__doc__
+ except: # pragma: no cover
+ pass
+
+ def __get__(self, instance, instance_type=None):
+ if instance is None:
+ return self
+
+ value = self.wrapped(instance)
+ setattr(instance, self.wrapped.__name__, value)
+
+ return value
+
+def find_library():
+ # FIXME should probably have build system define absolute path of shared
+ # library at install time.
+ for lib in ['LLVM-3.1svn', 'libLLVM-3.1svn', 'LLVM', 'libLLVM']:
+ result = ctypes.util.find_library(lib)
+ if result:
+ return result
+
+ return None
+
+def get_library():
+ """Obtain a reference to the llvm library."""
+ lib = find_library()
+ if not lib:
+ raise Exception('LLVM shared library not found!')
+
+ return cdll.LoadLibrary(lib)
diff --git a/bindings/python/llvm/core.py b/bindings/python/llvm/core.py
new file mode 100644
index 00000000000..67566374256
--- /dev/null
+++ b/bindings/python/llvm/core.py
@@ -0,0 +1,98 @@
+#===- core.py - Python LLVM Bindings -------------------------*- python -*--===#
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+#===------------------------------------------------------------------------===#
+
+from .common import LLVMObject
+from .common import c_object_p
+from .common import get_library
+
+from . import enumerations
+
+from ctypes import POINTER
+from ctypes import byref
+from ctypes import c_char_p
+
+__all__ = [
+ "lib",
+ "MemoryBuffer",
+]
+
+lib = get_library()
+
+class OpCode(object):
+ """Represents an individual OpCode enumeration."""
+
+ _value_map = {}
+
+ def __init__(self, name, value):
+ self.name = name
+ self.value = value
+
+ def __repr__(self):
+ return 'OpCode.%s' % self.name
+
+ @staticmethod
+ def from_value(value):
+ """Obtain an OpCode instance from a numeric value."""
+ result = OpCode._value_map.get(value, None)
+
+ if result is None:
+ raise ValueError('Unknown OpCode: %d' % value)
+
+ return result
+
+ @staticmethod
+ def register(name, value):
+ """Registers a new OpCode enumeration.
+
+ This is called by this module for each enumeration defined in
+ enumerations. You should not need to call this outside this module.
+ """
+ if value in OpCode._value_map:
+ raise ValueError('OpCode value already registered: %d' % value)
+
+ opcode = OpCode(name, value)
+ OpCode._value_map[value] = opcode
+ setattr(OpCode, name, opcode)
+
+class MemoryBuffer(LLVMObject):
+ """Represents an opaque memory buffer."""
+
+ def __init__(self, filename=None):
+ """Create a new memory buffer.
+
+ Currently, we support creating from the contents of a file at the
+ specified filename.
+ """
+ if filename is None:
+ raise Exception("filename argument must be defined")
+
+ memory = c_object_p()
+ out = c_char_p(None)
+
+ result = lib.LLVMCreateMemoryBufferWithContentsOfFile(filename,
+ byref(memory), byref(out))
+
+ if result:
+ raise Exception("Could not create memory buffer: %s" % out.value)
+
+ LLVMObject.__init__(self, memory, disposer=lib.LLVMDisposeMemoryBuffer)
+
+def register_library(library):
+ library.LLVMCreateMemoryBufferWithContentsOfFile.argtypes = [c_char_p,
+ POINTER(c_object_p), POINTER(c_char_p)]
+ library.LLVMCreateMemoryBufferWithContentsOfFile.restype = bool
+
+ library.LLVMDisposeMemoryBuffer.argtypes = [MemoryBuffer]
+
+def register_enumerations():
+ for name, value in enumerations.OpCodes:
+ OpCode.register(name, value)
+
+register_library(lib)
+register_enumerations()
diff --git a/bindings/python/llvm/disassembler.py b/bindings/python/llvm/disassembler.py
new file mode 100644
index 00000000000..5030b989a94
--- /dev/null
+++ b/bindings/python/llvm/disassembler.py
@@ -0,0 +1,134 @@
+#===- disassembler.py - Python LLVM Bindings -----------------*- python -*--===#
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+#===------------------------------------------------------------------------===#
+
+from ctypes import CFUNCTYPE
+from ctypes import POINTER
+from ctypes import addressof
+from ctypes import byref
+from ctypes import c_byte
+from ctypes import c_char_p
+from ctypes import c_int
+from ctypes import c_size_t
+from ctypes import c_ubyte
+from ctypes import c_uint64
+from ctypes import c_void_p
+from ctypes import cast
+
+from .common import LLVMObject
+from .common import c_object_p
+from .common import get_library
+
+__all__ = [
+ 'Disassembler',
+]
+
+lib = get_library()
+callbacks = {}
+
+class Disassembler(LLVMObject):
+ """Represents a disassembler instance.
+
+ Disassembler instances are tied to specific "triple," which must be defined
+ at creation time.
+
+ Disassembler instances can disassemble instructions from multiple sources.
+ """
+ def __init__(self, triple):
+ """Create a new disassembler instance.
+
+ The triple argument is the triple to create the disassembler for. This
+ is something like 'i386-apple-darwin9'.
+ """
+ ptr = lib.LLVMCreateDisasm(c_char_p(triple), c_void_p(None), c_int(0),
+ callbacks['op_info'](0), callbacks['symbol_lookup'](0))
+ if not ptr.contents:
+ raise Exception('Could not obtain disassembler for triple: %s' %
+ triple)
+
+ LLVMObject.__init__(self, ptr, disposer=lib.LLVMDisasmDispose)
+
+ def get_instruction(self, source, pc=0):
+ """Obtain the next instruction from an input source.
+
+ The input source should be a str or bytearray or something that
+ represents a sequence of bytes.
+
+ This function will start reading bytes from the beginning of the
+ source.
+
+ The pc argument specifies the address that the first byte is at.
+
+ This returns a 2-tuple of:
+
+ long number of bytes read. 0 if no instruction was read.
+ str representation of instruction. This will be the assembly that
+ represents the instruction.
+ """
+ buf = cast(c_char_p(source), POINTER(c_ubyte))
+ out_str = cast((c_byte * 255)(), c_char_p)
+
+ result = lib.LLVMDisasmInstruction(self, buf, c_uint64(len(source)),
+ c_uint64(pc), out_str, 255)
+
+ return (result, out_str.value)
+
+ def get_instructions(self, source, pc=0):
+ """Obtain multiple instructions from an input source.
+
+ This is like get_instruction() except it is a generator for all
+ instructions within the source. It starts at the beginning of the
+ source and reads instructions until no more can be read.
+
+ This generator returns 3-tuple of:
+
+ long address of instruction.
+ long size of instruction, in bytes.
+ str representation of instruction.
+ """
+ source_bytes = c_char_p(source)
+ out_str = cast((c_byte * 255)(), c_char_p)
+
+ # This could probably be written cleaner. But, it does work.
+ buf = cast(source_bytes, POINTER(c_ubyte * len(source))).contents
+ offset = 0
+ address = pc
+ end_address = pc + len(source)
+ while address < end_address:
+ b = cast(addressof(buf) + offset, POINTER(c_ubyte))
+ result = lib.LLVMDisasmInstruction(self, b,
+ c_uint64(len(source) - offset), c_uint64(address),
+ out_str, 255)
+
+ if result == 0:
+ break
+
+ yield (address, result, out_str.value)
+
+ address += result
+ offset += result
+
+
+def register_library(library):
+ library.LLVMCreateDisasm.argtypes = [c_char_p, c_void_p, c_int,
+ callbacks['op_info'], callbacks['symbol_lookup']]
+ library.LLVMCreateDisasm.restype = c_object_p
+
+ library.LLVMDisasmDispose.argtypes = [Disassembler]
+
+ library.LLVMDisasmInstruction.argtypes = [Disassembler, POINTER(c_ubyte),
+ c_uint64, c_uint64, c_char_p, c_size_t]
+ library.LLVMDisasmInstruction.restype = c_size_t
+
+callbacks['op_info'] = CFUNCTYPE(c_int, c_void_p, c_uint64, c_uint64, c_uint64,
+ c_int, c_void_p)
+callbacks['symbol_lookup'] = CFUNCTYPE(c_char_p, c_void_p, c_uint64,
+ POINTER(c_uint64), c_uint64,
+ POINTER(c_char_p))
+
+register_library(lib)
diff --git a/bindings/python/llvm/enumerations.py b/bindings/python/llvm/enumerations.py
new file mode 100644
index 00000000000..f49d2faad35
--- /dev/null
+++ b/bindings/python/llvm/enumerations.py
@@ -0,0 +1,211 @@
+#===- enumerations.py - Python LLVM Enumerations -------------*- python -*--===#
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+#===------------------------------------------------------------------------===#
+
+r"""
+LLVM Enumerations
+=================
+
+This file defines enumerations from LLVM.
+
+Each enumeration is exposed as a list of 2-tuples. These lists are consumed by
+dedicated types elsewhere in the package. The enumerations are centrally
+defined in this file so they are easier to locate and maintain.
+"""
+
+__all__ = [
+ 'Attributes',
+ 'OpCodes',
+ 'TypeKinds',
+ 'Linkages',
+ 'Visibility',
+ 'CallConv',
+ 'IntPredicate',
+ 'RealPredicate',
+ 'LandingPadClauseTy',
+]
+
+Attributes = [
+ ('ZExt', 1 << 0),
+ ('MSExt', 1 << 1),
+ ('NoReturn', 1 << 2),
+ ('InReg', 1 << 3),
+ ('StructRet', 1 << 4),
+ ('NoUnwind', 1 << 5),
+ ('NoAlias', 1 << 6),
+ ('ByVal', 1 << 7),
+ ('Nest', 1 << 8),
+ ('ReadNone', 1 << 9),
+ ('ReadOnly', 1 << 10),
+ ('NoInline', 1 << 11),
+ ('AlwaysInline', 1 << 12),
+ ('OptimizeForSize', 1 << 13),
+ ('StackProtect', 1 << 14),
+ ('StackProtectReq', 1 << 15),
+ ('Alignment', 31 << 16),
+ ('NoCapture', 1 << 21),
+ ('NoRedZone', 1 << 22),
+ ('ImplicitFloat', 1 << 23),
+ ('Naked', 1 << 24),
+ ('InlineHint', 1 << 25),
+ ('StackAlignment', 7 << 26),
+ ('ReturnsTwice', 1 << 29),
+ ('UWTable', 1 << 30),
+ ('NonLazyBind', 1 << 31),
+]
+
+OpCodes = [
+ ('Ret', 1),
+ ('Br', 2),
+ ('Switch', 3),
+ ('IndirectBr', 4),
+ ('Invoke', 5),
+ ('Unreachable', 7),
+ ('Add', 8),
+ ('FAdd', 9),
+ ('Sub', 10),
+ ('FSub', 11),
+ ('Mul', 12),
+ ('FMul', 13),
+ ('UDiv', 14),
+ ('SDiv', 15),
+ ('FDiv', 16),
+ ('URem', 17),
+ ('SRem', 18),
+ ('FRem', 19),
+ ('Shl', 20),
+ ('LShr', 21),
+ ('AShr', 22),
+ ('And', 23),
+ ('Or', 24),
+ ('Xor', 25),
+ ('Alloca', 26),
+ ('Load', 27),
+ ('Store', 28),
+ ('GetElementPtr', 29),
+ ('Trunc', 30),
+ ('ZExt', 31),
+ ('SExt', 32),
+ ('FPToUI', 33),
+ ('FPToSI', 34),
+ ('UIToFP', 35),
+ ('SIToFP', 36),
+ ('FPTrunc', 37),
+ ('FPExt', 38),
+ ('PtrToInt', 39),
+ ('IntToPtr', 40),
+ ('BitCast', 41),
+ ('ICmp', 42),
+ ('FCmpl', 43),
+ ('PHI', 44),
+ ('Call', 45),
+ ('Select', 46),
+ ('UserOp1', 47),
+ ('UserOp2', 48),
+ ('AArg', 49),
+ ('ExtractElement', 50),
+ ('InsertElement', 51),
+ ('ShuffleVector', 52),
+ ('ExtractValue', 53),
+ ('InsertValue', 54),
+ ('Fence', 55),
+ ('AtomicCmpXchg', 56),
+ ('AtomicRMW', 57),
+ ('Resume', 58),
+ ('LandingPad', 59),
+]
+
+TypeKinds = [
+ ('Void', 0),
+ ('Half', 1),
+ ('Float', 2),
+ ('Double', 3),
+ ('X86_FP80', 4),
+ ('FP128', 5),
+ ('PPC_FP128', 6),
+ ('Label', 7),
+ ('Integer', 8),
+ ('Function', 9),
+ ('Struct', 10),
+ ('Array', 11),
+ ('Pointer', 12),
+ ('Vector', 13),
+ ('Metadata', 14),
+ ('X86_MMX', 15),
+]
+
+Linkages = [
+ ('External', 0),
+ ('AvailableExternally', 1),
+ ('LinkOnceAny', 2),
+ ('LinkOnceODR', 3),
+ ('WeakAny', 4),
+ ('WeakODR', 5),
+ ('Appending', 6),
+ ('Internal', 7),
+ ('Private', 8),
+ ('DLLImport', 9),
+ ('DLLExport', 10),
+ ('ExternalWeak', 11),
+ ('Ghost', 12),
+ ('Common', 13),
+ ('LinkerPrivate', 14),
+ ('LinkerPrivateWeak', 15),
+ ('LinkerPrivateWeakDefAuto', 16),
+]
+
+Visibility = [
+ ('Default', 0),
+ ('Hidden', 1),
+ ('Protected', 2),
+]
+
+CallConv = [
+ ('CCall', 0),
+ ('FastCall', 8),
+ ('ColdCall', 9),
+ ('X86StdcallCall', 64),
+ ('X86FastcallCall', 65),
+]
+
+IntPredicate = [
+ ('EQ', 32),
+ ('NE', 33),
+ ('UGT', 34),
+ ('UGE', 35),
+ ('ULT', 36),
+ ('ULE', 37),
+ ('SGT', 38),
+ ('SGE', 39),
+ ('SLT', 40),
+ ('SLE', 41),
+]
+
+RealPredicate = [
+ ('PredicateFalse', 0),
+ ('OEQ', 1),
+ ('OGT', 2),
+ ('OGE', 3),
+ ('OLT', 4),
+ ('OLE', 5),
+ ('ONE', 6),
+ ('ORD', 7),
+ ('UNO', 8),
+ ('UEQ', 9),
+ ('UGT', 10),
+ ('UGE', 11),
+ ('ULT', 12),
+ ('ULE', 13),
+ ('UNE', 14),
+ ('PredicateTrue', 15),
+]
+
+LandingPadClauseTy = [
+ ('Catch', 0),
+ ('Filter', 1),
+]
diff --git a/bindings/python/llvm/object.py b/bindings/python/llvm/object.py
new file mode 100644
index 00000000000..473aa3a1089
--- /dev/null
+++ b/bindings/python/llvm/object.py
@@ -0,0 +1,523 @@
+#===- object.py - Python Object Bindings --------------------*- python -*--===#
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+#===------------------------------------------------------------------------===#
+
+r"""
+Object File Interface
+=====================
+
+This module provides an interface for reading information from object files
+(e.g. binary executables and libraries).
+
+Using this module, you can obtain information about an object file's sections,
+symbols, and relocations. These are represented by the classes ObjectFile,
+Section, Symbol, and Relocation, respectively.
+
+Usage
+-----
+
+The only way to use this module is to start by creating an ObjectFile. You can
+create an ObjectFile by loading a file (specified by its path) or by creating a
+llvm.core.MemoryBuffer and loading that.
+
+Once you have an object file, you can inspect its sections and symbols directly
+by calling get_sections() and get_symbols() respectively. To inspect
+relocations, call get_relocations() on a Section instance.
+
+Iterator Interface
+------------------
+
+The LLVM bindings expose iteration over sections, symbols, and relocations in a
+way that only allows one instance to be operated on at a single time. This is
+slightly annoying from a Python perspective, as it isn't very Pythonic to have
+objects that "expire" but are still active from a dynamic language.
+
+To aid working around this limitation, each Section, Symbol, and Relocation
+instance caches its properties after first access. So, if the underlying
+iterator is advanced, the properties can still be obtained provided they have
+already been retrieved.
+
+In addition, we also provide a "cache" method on each class to cache all
+available data. You can call this on each obtained instance. Or, you can pass
+cache=True to the appropriate get_XXX() method to have this done for you.
+
+Here are some examples on how to perform iteration:
+
+ obj = ObjectFile(filename='/bin/ls')
+
+ # This is OK. Each Section is only accessed inside its own iteration slot.
+ section_names = []
+ for section in obj.get_sections():
+ section_names.append(section.name)
+
+ # This is NOT OK. You perform a lookup after the object has expired.
+ symbols = list(obj.get_symbols())
+ for symbol in symbols:
+ print symbol.name # This raises because the object has expired.
+
+ # In this example, we mix a working and failing scenario.
+ symbols = []
+ for symbol in obj.get_symbols():
+ symbols.append(symbol)
+ print symbol.name
+
+ for symbol in symbols:
+ print symbol.name # OK
+ print symbol.address # NOT OK. We didn't look up this property before.
+
+ # Cache everything up front.
+ symbols = list(obj.get_symbols(cache=True))
+ for symbol in symbols:
+ print symbol.name # OK
+
+"""
+
+from ctypes import c_char_p
+from ctypes import c_uint64
+
+from .common import CachedProperty
+from .common import LLVMObject
+from .common import c_object_p
+from .common import get_library
+from .core import MemoryBuffer
+
+__all__ = [
+ "lib",
+ "ObjectFile",
+ "Relocation",
+ "Section",
+ "Symbol",
+]
+
+class ObjectFile(LLVMObject):
+ """Represents an object/binary file."""
+
+ def __init__(self, filename=None, contents=None):
+ """Construct an instance from a filename or binary data.
+
+ filename must be a path to a file that can be opened with open().
+ contents can be either a native Python buffer type (like str) or a
+ llvm.core.MemoryBuffer instance.
+ """
+ if contents:
+ assert isinstance(contents, MemoryBuffer)
+
+ if filename is not None:
+ contents = MemoryBuffer(filename=filename)
+
+ if contents is None:
+ raise Exception('No input found.')
+
+ ptr = lib.LLVMCreateObjectFile(contents)
+ LLVMObject.__init__(self, ptr, disposer=lib.LLVMDisposeObjectFile)
+ self.take_ownership(contents)
+
+ def get_sections(self, cache=False):
+ """Obtain the sections in this object file.
+
+ This is a generator for llvm.object.Section instances.
+
+ Sections are exposed as limited-use objects. See the module's
+ documentation on iterators for more.
+ """
+ sections = lib.LLVMGetSections(self)
+ last = None
+ while True:
+ if lib.LLVMIsSectionIteratorAtEnd(self, sections):
+ break
+
+ last = Section(sections)
+ if cache:
+ last.cache()
+
+ yield last
+
+ lib.LLVMMoveToNextSection(sections)
+ last.expire()
+
+ if last is not None:
+ last.expire()
+
+ lib.LLVMDisposeSectionIterator(sections)
+
+ def get_symbols(self, cache=False):
+ """Obtain the symbols in this object file.
+
+ This is a generator for llvm.object.Symbol instances.
+
+ Each Symbol instance is a limited-use object. See this module's
+ documentation on iterators for more.
+ """
+ symbols = lib.LLVMGetSymbols(self)
+ last = None
+ while True:
+ if lib.LLVMIsSymbolIteratorAtEnd(self, symbols):
+ break
+
+ last = Symbol(symbols, self)
+ if cache:
+ last.cache()
+
+ yield last
+
+ lib.LLVMMoveToNextSymbol(symbols)
+ last.expire()
+
+ if last is not None:
+ last.expire()
+
+ lib.LLVMDisposeSymbolIterator(symbols)
+
+class Section(LLVMObject):
+ """Represents a section in an object file."""
+
+ def __init__(self, ptr):
+ """Construct a new section instance.
+
+ Section instances can currently only be created from an ObjectFile
+ instance. Therefore, this constructor should not be used outside of
+ this module.
+ """
+ LLVMObject.__init__(self, ptr)
+
+ self.expired = False
+
+ @CachedProperty
+ def name(self):
+ """Obtain the string name of the section.
+
+ This is typically something like '.dynsym' or '.rodata'.
+ """
+ if self.expired:
+ raise Exception('Section instance has expired.')
+
+ return lib.LLVMGetSectionName(self)
+
+ @CachedProperty
+ def size(self):
+ """The size of the section, in long bytes."""
+ if self.expired:
+ raise Exception('Section instance has expired.')
+
+ return lib.LLVMGetSectionSize(self)
+
+ @CachedProperty
+ def contents(self):
+ if self.expired:
+ raise Exception('Section instance has expired.')
+
+ return lib.LLVMGetSectionContents(self)
+
+ @CachedProperty
+ def address(self):
+ """The address of this section, in long bytes."""
+ if self.expired:
+ raise Exception('Section instance has expired.')
+
+ return lib.LLVMGetSectionAddress(self)
+
+ def has_symbol(self, symbol):
+ """Returns whether a Symbol instance is present in this Section."""
+ if self.expired:
+ raise Exception('Section instance has expired.')
+
+ assert isinstance(symbol, Symbol)
+ return lib.LLVMGetSectionContainsSymbol(self, symbol)
+
+ def get_relocations(self, cache=False):
+ """Obtain the relocations in this Section.
+
+ This is a generator for llvm.object.Relocation instances.
+
+ Each instance is a limited used object. See this module's documentation
+ on iterators for more.
+ """
+ if self.expired:
+ raise Exception('Section instance has expired.')
+
+ relocations = lib.LLVMGetRelocations(self)
+ last = None
+ while True:
+ if lib.LLVMIsRelocationIteratorAtEnd(self, relocations):
+ break
+
+ last = Relocation(relocations)
+ if cache:
+ last.cache()
+
+ yield last
+
+ lib.LLVMMoveToNextRelocation(relocations)
+ last.expire()
+
+ if last is not None:
+ last.expire()
+
+ lib.LLVMDisposeRelocationIterator(relocations)
+
+ def cache(self):
+ """Cache properties of this Section.
+
+ This can be called as a workaround to the single active Section
+ limitation. When called, the properties of the Section are fetched so
+ they are still available after the Section has been marked inactive.
+ """
+ getattr(self, 'name')
+ getattr(self, 'size')
+ getattr(self, 'contents')
+ getattr(self, 'address')
+
+ def expire(self):
+ """Expire the section.
+
+ This is called internally by the section iterator.
+ """
+ self.expired = True
+
+class Symbol(LLVMObject):
+ """Represents a symbol in an object file."""
+ def __init__(self, ptr, object_file):
+ assert isinstance(ptr, c_object_p)
+ assert isinstance(object_file, ObjectFile)
+
+ LLVMObject.__init__(self, ptr)
+
+ self.expired = False
+ self._object_file = object_file
+
+ @CachedProperty
+ def name(self):
+ """The str name of the symbol.
+
+ This is often a function or variable name. Keep in mind that name
+ mangling could be in effect.
+ """
+ if self.expired:
+ raise Exception('Symbol instance has expired.')
+
+ return lib.LLVMGetSymbolName(self)
+
+ @CachedProperty
+ def address(self):
+ """The address of this symbol, in long bytes."""
+ if self.expired:
+ raise Exception('Symbol instance has expired.')
+
+ return lib.LLVMGetSymbolAddress(self)
+
+ @CachedProperty
+ def file_offset(self):
+ """The offset of this symbol in the file, in long bytes."""
+ if self.expired:
+ raise Exception('Symbol instance has expired.')
+
+ return lib.LLVMGetSymbolFileOffset(self)
+
+ @CachedProperty
+ def size(self):
+ """The size of the symbol, in long bytes."""
+ if self.expired:
+ raise Exception('Symbol instance has expired.')
+
+ return lib.LLVMGetSymbolSize(self)
+
+ @CachedProperty
+ def section(self):
+ """The Section to which this Symbol belongs.
+
+ The returned Section instance does not expire, unlike Sections that are
+ commonly obtained through iteration.
+
+ Because this obtains a new section iterator each time it is accessed,
+ calling this on a number of Symbol instances could be expensive.
+ """
+ sections = lib.LLVMGetSections(self._object_file)
+ lib.LLVMMoveToContainingSection(sections, self)
+
+ return Section(sections)
+
+ def cache(self):
+ """Cache all cacheable properties."""
+ getattr(self, 'name')
+ getattr(self, 'address')
+ getattr(self, 'file_offset')
+ getattr(self, 'size')
+
+ def expire(self):
+ """Mark the object as expired to prevent future API accesses.
+
+ This is called internally by this module and it is unlikely that
+ external callers have a legitimate reason for using it.
+ """
+ self.expired = True
+
+class Relocation(LLVMObject):
+ """Represents a relocation definition."""
+ def __init__(self, ptr):
+ """Create a new relocation instance.
+
+ Relocations are created from objects derived from Section instances.
+ Therefore, this constructor should not be called outside of this
+ module. See Section.get_relocations() for the proper method to obtain
+ a Relocation instance.
+ """
+ assert isinstance(ptr, c_object_p)
+
+ LLVMObject.__init__(self, ptr)
+
+ self.expired = False
+
+ @CachedProperty
+ def address(self):
+ """The address of this relocation, in long bytes."""
+ if self.expired:
+ raise Exception('Relocation instance has expired.')
+
+ return lib.LLVMGetRelocationAddress(self)
+
+ @CachedProperty
+ def offset(self):
+ """The offset of this relocation, in long bytes."""
+ if self.expired:
+ raise Exception('Relocation instance has expired.')
+
+ return lib.LLVMGetRelocationOffset(self)
+
+ @CachedProperty
+ def symbol(self):
+ """The Symbol corresponding to this Relocation."""
+ if self.expired:
+ raise Exception('Relocation instance has expired.')
+
+ ptr = lib.LLVMGetRelocationSymbol(self)
+ return Symbol(ptr)
+
+ @CachedProperty
+ def type_number(self):
+ """The relocation type, as a long."""
+ if self.expired:
+ raise Exception('Relocation instance has expired.')
+
+ return lib.LLVMGetRelocationType(self)
+
+ @CachedProperty
+ def type_name(self):
+ """The relocation type's name, as a str."""
+ if self.expired:
+ raise Exception('Relocation instance has expired.')
+
+ return lib.LLVMGetRelocationTypeName(self)
+
+ @CachedProperty
+ def value_string(self):
+ if self.expired:
+ raise Exception('Relocation instance has expired.')
+
+ return lib.LLVMGetRelocationValueString(self)
+
+ def expire(self):
+ """Expire this instance, making future API accesses fail."""
+ self.expired = True
+
+ def cache(self):
+ """Cache all cacheable properties on this instance."""
+ getattr(self, 'address')
+ getattr(self, 'offset')
+ getattr(self, 'symbol')
+ getattr(self, 'type')
+ getattr(self, 'type_name')
+ getattr(self, 'value_string')
+
+def register_library(library):
+ """Register function prototypes with LLVM library instance."""
+
+ # Object.h functions
+ library.LLVMCreateObjectFile.argtypes = [MemoryBuffer]
+ library.LLVMCreateObjectFile.restype = c_object_p
+
+ library.LLVMDisposeObjectFile.argtypes = [ObjectFile]
+
+ library.LLVMGetSections.argtypes = [ObjectFile]
+ library.LLVMGetSections.restype = c_object_p
+
+ library.LLVMDisposeSectionIterator.argtypes = [c_object_p]
+
+ library.LLVMIsSectionIteratorAtEnd.argtypes = [ObjectFile, c_object_p]
+ library.LLVMIsSectionIteratorAtEnd.restype = bool
+
+ library.LLVMMoveToNextSection.argtypes = [c_object_p]
+
+ library.LLVMMoveToContainingSection.argtypes = [c_object_p, c_object_p]
+
+ library.LLVMGetSymbols.argtypes = [ObjectFile]
+ library.LLVMGetSymbols.restype = c_object_p
+
+ library.LLVMDisposeSymbolIterator.argtypes = [c_object_p]
+
+ library.LLVMIsSymbolIteratorAtEnd.argtypes = [ObjectFile, c_object_p]
+ library.LLVMIsSymbolIteratorAtEnd.restype = bool
+
+ library.LLVMMoveToNextSymbol.argtypes = [c_object_p]
+
+ library.LLVMGetSectionName.argtypes = [c_object_p]
+ library.LLVMGetSectionName.restype = c_char_p
+
+ library.LLVMGetSectionSize.argtypes = [c_object_p]
+ library.LLVMGetSectionSize.restype = c_uint64
+
+ library.LLVMGetSectionContents.argtypes = [c_object_p]
+ library.LLVMGetSectionContents.restype = c_char_p
+
+ library.LLVMGetSectionAddress.argtypes = [c_object_p]
+ library.LLVMGetSectionAddress.restype = c_uint64
+
+ library.LLVMGetSectionContainsSymbol.argtypes = [c_object_p, c_object_p]
+ library.LLVMGetSectionContainsSymbol.restype = bool
+
+ library.LLVMGetRelocations.argtypes = [c_object_p]
+ library.LLVMGetRelocations.restype = c_object_p
+
+ library.LLVMDisposeRelocationIterator.argtypes = [c_object_p]
+
+ library.LLVMIsRelocationIteratorAtEnd.argtypes = [c_object_p, c_object_p]
+ library.LLVMIsRelocationIteratorAtEnd.restype = bool
+
+ library.LLVMMoveToNextRelocation.argtypes = [c_object_p]
+
+ library.LLVMGetSymbolName.argtypes = [Symbol]
+ library.LLVMGetSymbolName.restype = c_char_p
+
+ library.LLVMGetSymbolAddress.argtypes = [Symbol]
+ library.LLVMGetSymbolAddress.restype = c_uint64
+
+ library.LLVMGetSymbolFileOffset.argtypes = [Symbol]
+ library.LLVMGetSymbolFileOffset.restype = c_uint64
+
+ library.LLVMGetSymbolSize.argtypes = [Symbol]
+ library.LLVMGetSymbolSize.restype = c_uint64
+
+ library.LLVMGetRelocationAddress.argtypes = [c_object_p]
+ library.LLVMGetRelocationAddress.restype = c_uint64
+
+ library.LLVMGetRelocationOffset.argtypes = [c_object_p]
+ library.LLVMGetRelocationOffset.restype = c_uint64
+
+ library.LLVMGetRelocationSymbol.argtypes = [c_object_p]
+ library.LLVMGetRelocationSymbol.restype = c_object_p
+
+ library.LLVMGetRelocationType.argtypes = [c_object_p]
+ library.LLVMGetRelocationType.restype = c_uint64
+
+ library.LLVMGetRelocationTypeName.argtypes = [c_object_p]
+ library.LLVMGetRelocationTypeName.restype = c_char_p
+
+ library.LLVMGetRelocationValueString.argtypes = [c_object_p]
+ library.LLVMGetRelocationValueString.restype = c_char_p
+
+lib = get_library()
+register_library(lib)
diff --git a/bindings/python/llvm/tests/__init__.py b/bindings/python/llvm/tests/__init__.py
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/bindings/python/llvm/tests/base.py b/bindings/python/llvm/tests/base.py
new file mode 100644
index 00000000000..ff9eb2fc143
--- /dev/null
+++ b/bindings/python/llvm/tests/base.py
@@ -0,0 +1,32 @@
+import os.path
+import unittest
+
+POSSIBLE_TEST_BINARIES = [
+ 'libreadline.so.5',
+ 'libreadline.so.6',
+]
+
+POSSIBLE_TEST_BINARY_PATHS = [
+ '/usr/lib/debug',
+ '/lib',
+ '/usr/lib',
+ '/usr/local/lib',
+ '/lib/i386-linux-gnu',
+]
+
+class TestBase(unittest.TestCase):
+ def get_test_binary(self):
+ """Helper to obtain a test binary for object file testing.
+
+ FIXME Support additional, highly-likely targets or create one
+ ourselves.
+ """
+ for d in POSSIBLE_TEST_BINARY_PATHS:
+ for lib in POSSIBLE_TEST_BINARIES:
+ path = os.path.join(d, lib)
+
+ if os.path.exists(path):
+ return path
+
+ raise Exception('No suitable test binaries available!')
+ get_test_binary.__test__ = False
diff --git a/bindings/python/llvm/tests/test_core.py b/bindings/python/llvm/tests/test_core.py
new file mode 100644
index 00000000000..545abc826ea
--- /dev/null
+++ b/bindings/python/llvm/tests/test_core.py
@@ -0,0 +1,23 @@
+from .base import TestBase
+from ..core import OpCode
+from ..core import MemoryBuffer
+
+class TestCore(TestBase):
+ def test_opcode(self):
+ self.assertTrue(hasattr(OpCode, 'Ret'))
+ self.assertTrue(isinstance(OpCode.Ret, OpCode))
+ self.assertEqual(OpCode.Ret.value, 1)
+
+ op = OpCode.from_value(1)
+ self.assertTrue(isinstance(op, OpCode))
+ self.assertEqual(op, OpCode.Ret)
+
+ def test_memory_buffer_create_from_file(self):
+ source = self.get_test_binary()
+
+ MemoryBuffer(filename=source)
+
+ def test_memory_buffer_failing(self):
+ with self.assertRaises(Exception):
+ MemoryBuffer(filename="/hopefully/this/path/doesnt/exist")
+
diff --git a/bindings/python/llvm/tests/test_disassembler.py b/bindings/python/llvm/tests/test_disassembler.py
new file mode 100644
index 00000000000..545e8668b6c
--- /dev/null
+++ b/bindings/python/llvm/tests/test_disassembler.py
@@ -0,0 +1,28 @@
+from .base import TestBase
+
+from ..disassembler import Disassembler
+
+class TestDisassembler(TestBase):
+ def test_instantiate(self):
+ Disassembler('i686-apple-darwin9')
+
+ def test_basic(self):
+ sequence = '\x67\xe3\x81' # jcxz -127
+ triple = 'i686-apple-darwin9'
+
+ disassembler = Disassembler(triple)
+
+ count, s = disassembler.get_instruction(sequence)
+ self.assertEqual(count, 3)
+ self.assertEqual(s, '\tjcxz\t-127')
+
+ def test_get_instructions(self):
+ sequence = '\x67\xe3\x81\x01\xc7' # jcxz -127; addl %eax, %edi
+
+ disassembler = Disassembler('i686-apple-darwin9')
+
+ instructions = list(disassembler.get_instructions(sequence))
+ self.assertEqual(len(instructions), 2)
+
+ self.assertEqual(instructions[0], (0, 3, '\tjcxz\t-127'))
+ self.assertEqual(instructions[1], (3, 2, '\taddl\t%eax, %edi'))
diff --git a/bindings/python/llvm/tests/test_object.py b/bindings/python/llvm/tests/test_object.py
new file mode 100644
index 00000000000..7ff981b6a2f
--- /dev/null
+++ b/bindings/python/llvm/tests/test_object.py
@@ -0,0 +1,67 @@
+from .base import TestBase
+from ..object import ObjectFile
+from ..object import Relocation
+from ..object import Section
+from ..object import Symbol
+
+class TestObjectFile(TestBase):
+ def get_object_file(self):
+ source = self.get_test_binary()
+ return ObjectFile(filename=source)
+
+ def test_create_from_file(self):
+ self.get_object_file()
+
+ def test_get_sections(self):
+ o = self.get_object_file()
+
+ count = 0
+ for section in o.get_sections():
+ count += 1
+ assert isinstance(section, Section)
+ assert isinstance(section.name, str)
+ assert isinstance(section.size, long)
+ assert isinstance(section.contents, str)
+ assert isinstance(section.address, long)
+
+ self.assertGreater(count, 0)
+
+ for section in o.get_sections():
+ section.cache()
+
+ def test_get_symbols(self):
+ o = self.get_object_file()
+
+ count = 0
+ for symbol in o.get_symbols():
+ count += 1
+ assert isinstance(symbol, Symbol)
+ assert isinstance(symbol.name, str)
+ assert isinstance(symbol.address, long)
+ assert isinstance(symbol.size, long)
+ assert isinstance(symbol.file_offset, long)
+
+ self.assertGreater(count, 0)
+
+ for symbol in o.get_symbols():
+ symbol.cache()
+
+ def test_symbol_section_accessor(self):
+ o = self.get_object_file()
+
+ for symbol in o.get_symbols():
+ section = symbol.section
+ assert isinstance(section, Section)
+
+ break
+
+ def test_get_relocations(self):
+ o = self.get_object_file()
+ for section in o.get_sections():
+ for relocation in section.get_relocations():
+ assert isinstance(relocation, Relocation)
+ assert isinstance(relocation.address, long)
+ assert isinstance(relocation.offset, long)
+ assert isinstance(relocation.type_number, long)
+ assert isinstance(relocation.type_name, str)
+ assert isinstance(relocation.value_string, str)
diff --git a/build-for-llvm-top.sh b/build-for-llvm-top.sh
deleted file mode 100755
index 78e3ed87f09..00000000000
--- a/build-for-llvm-top.sh
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/sh
-
-# This includes the Bourne shell library from llvm-top. Since this file is
-# generally only used when building from llvm-top, it is safe to assume that
-# llvm is checked out into llvm-top in which case .. just works.
-. ../library.sh
-
-# Process the options passed in to us by the build script into standard
-# variables.
-process_arguments "$@"
-
-# First, see if the build directory is there. If not, create it.
-build_dir="$LLVM_TOP/build.llvm"
-if test ! -d "$build_dir" ; then
- mkdir -p "$build_dir"
-fi
-
-# See if we have previously been configured by sensing the presence
-# of the config.status scripts
-config_status="$build_dir/config.status"
-if test ! -f "$config_status" -o "$config_status" -ot "$0" ; then
- # We must configure so build a list of configure options
- config_options="--prefix=$PREFIX --with-llvmgccdir=$PREFIX"
- if test "$OPTIMIZED" -eq 1 ; then
- config_options="$config_options --enable-optimized"
- else
- config_options="$config_options --disable-optimized"
- fi
- if test "$DEBUG" -eq 1 ; then
- config_options="$config_options --enable-debug"
- else
- config_options="$config_options --disable-debug"
- fi
- if test "$ASSERTIONS" -eq 1 ; then
- config_options="$config_options --enable-assertions"
- else
- config_options="$config_options --disable-assertions"
- fi
- if test "$CHECKING" -eq 1 ; then
- config_options="$config_options --enable-expensive-checks"
- else
- config_options="$config_options --disable-expensive-checks"
- fi
- if test "$DOXYGEN" -eq 1 ; then
- config_options="$config_options --enable-doxygen"
- else
- config_options="$config_options --disable-doxygen"
- fi
- if test "$THREADS" -eq 1 ; then
- config_options="$config_options --enable-threads"
- else
- config_options="$config_options --disable-threads"
- fi
- config_options="$config_options $OPTIONS_DASH $OPTIONS_DASH_DASH"
- src_dir=`pwd`
- cd "$build_dir"
- msg 0 Configuring $module with:
- msg 0 " $src_dir/configure" $config_options
- $src_dir/configure $config_options || \
- die $? "Configuring $module module failed"
-else
- msg 0 Module $module already configured, ignoring configure options.
- cd "$build_dir"
-fi
-
-msg 0 Building $module with:
-msg 0 " make" $OPTIONS_ASSIGN tools-only
-make $OPTIONS_ASSIGN tools-only
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index 0381dbf4963..57ae79a92fd 100755
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -94,7 +94,7 @@ endif()
check_symbol_exists(getpagesize unistd.h HAVE_GETPAGESIZE)
check_symbol_exists(getrusage sys/resource.h HAVE_GETRUSAGE)
check_symbol_exists(setrlimit sys/resource.h HAVE_SETRLIMIT)
-check_function_exists(isatty HAVE_ISATTY)
+check_symbol_exists(isatty unistd.h HAVE_ISATTY)
check_symbol_exists(index strings.h HAVE_INDEX)
check_symbol_exists(isinf cmath HAVE_ISINF_IN_CMATH)
check_symbol_exists(isinf math.h HAVE_ISINF_IN_MATH_H)
@@ -126,6 +126,8 @@ check_symbol_exists(readdir "sys/types.h;dirent.h" HAVE_READDIR)
check_symbol_exists(getcwd unistd.h HAVE_GETCWD)
check_symbol_exists(gettimeofday sys/time.h HAVE_GETTIMEOFDAY)
check_symbol_exists(getrlimit "sys/types.h;sys/time.h;sys/resource.h" HAVE_GETRLIMIT)
+check_symbol_exists(posix_spawn spawn.h HAVE_POSIX_SPAWN)
+check_symbol_exists(pread unistd.h HAVE_PREAD)
check_symbol_exists(rindex strings.h HAVE_RINDEX)
check_symbol_exists(strchr string.h HAVE_STRCHR)
check_symbol_exists(strcmp string.h HAVE_STRCMP)
@@ -285,16 +287,18 @@ include(CheckCXXCompilerFlag)
check_cxx_compiler_flag("-Wno-variadic-macros" SUPPORTS_NO_VARIADIC_MACROS_FLAG)
-include(GetTargetTriple)
-get_target_triple(LLVM_HOSTTRIPLE)
+include(GetHostTriple)
+get_host_triple(LLVM_HOST_TRIPLE)
-# FIXME: We don't distinguish the target and the host. :(
-set(TARGET_TRIPLE "${LLVM_HOSTTRIPLE}")
+# By default, we target the host, but this can be overridden at CMake
+# invocation time.
+set(LLVM_DEFAULT_TARGET_TRIPLE "${LLVM_HOST_TRIPLE}")
+set(TARGET_TRIPLE "${LLVM_DEFAULT_TARGET_TRIPLE}")
# Determine the native architecture.
string(TOLOWER "${LLVM_TARGET_ARCH}" LLVM_NATIVE_ARCH)
if( LLVM_NATIVE_ARCH STREQUAL "host" )
- string(REGEX MATCH "^[^-]*" LLVM_NATIVE_ARCH ${LLVM_HOSTTRIPLE})
+ string(REGEX MATCH "^[^-]*" LLVM_NATIVE_ARCH ${LLVM_HOST_TRIPLE})
endif ()
if (LLVM_NATIVE_ARCH MATCHES "i[2-6]86")
@@ -309,8 +313,6 @@ elseif (LLVM_NATIVE_ARCH MATCHES "sparc")
set(LLVM_NATIVE_ARCH Sparc)
elseif (LLVM_NATIVE_ARCH MATCHES "powerpc")
set(LLVM_NATIVE_ARCH PowerPC)
-elseif (LLVM_NATIVE_ARCH MATCHES "alpha")
- set(LLVM_NATIVE_ARCH Alpha)
elseif (LLVM_NATIVE_ARCH MATCHES "arm")
set(LLVM_NATIVE_ARCH ARM)
elseif (LLVM_NATIVE_ARCH MATCHES "mips")
@@ -333,6 +335,16 @@ else ()
set(LLVM_NATIVE_TARGETINFO LLVMInitialize${LLVM_NATIVE_ARCH}TargetInfo)
set(LLVM_NATIVE_TARGETMC LLVMInitialize${LLVM_NATIVE_ARCH}TargetMC)
set(LLVM_NATIVE_ASMPRINTER LLVMInitialize${LLVM_NATIVE_ARCH}AsmPrinter)
+
+ # We don't have an ASM parser for all architectures yet.
+ if (EXISTS ${CMAKE_SOURCE_DIR}/lib/Target/${LLVM_NATIVE_ARCH}/AsmParser/CMakeLists.txt)
+ set(LLVM_NATIVE_ASMPARSER LLVMInitialize${LLVM_NATIVE_ARCH}AsmParser)
+ endif ()
+
+ # We don't have an disassembler for all architectures yet.
+ if (EXISTS ${CMAKE_SOURCE_DIR}/lib/Target/${LLVM_NATIVE_ARCH}/Disassembler/CMakeLists.txt)
+ set(LLVM_NATIVE_DISASSEMBLER LLVMInitialize${LLVM_NATIVE_ARCH}Disassembler)
+ endif ()
endif ()
if( MINGW )
@@ -380,14 +392,15 @@ endif( PURE_WINDOWS )
set(RETSIGTYPE void)
if( LLVM_ENABLE_THREADS )
- if( HAVE_PTHREAD_H OR WIN32 )
- set(ENABLE_THREADS 1)
+ # Check if threading primitives aren't supported on this platform
+ if( NOT HAVE_PTHREAD_H AND NOT WIN32 )
+ set(LLVM_ENABLE_THREADS 0)
endif()
endif()
-if( ENABLE_THREADS )
+if( LLVM_ENABLE_THREADS )
message(STATUS "Threads enabled.")
-else( ENABLE_THREADS )
+else( LLVM_ENABLE_THREADS )
message(STATUS "Threads disabled.")
endif()
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake
index b486fe4d821..388208b6a8a 100755
--- a/cmake/modules/AddLLVM.cmake
+++ b/cmake/modules/AddLLVM.cmake
@@ -25,17 +25,16 @@ macro(add_llvm_library name)
ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX})
endif()
set_target_properties(${name} PROPERTIES FOLDER "Libraries")
+
+ # Add the explicit dependency information for this library.
+ #
+ # It would be nice to verify that we have the dependencies for this library
+ # name, but using get_property(... SET) doesn't suffice to determine if a
+ # property has been set to an empty value.
+ get_property(lib_deps GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_${name})
+ target_link_libraries(${name} ${lib_deps})
endmacro(add_llvm_library name)
-macro(add_llvm_library_dependencies name)
- # Save the dependencies of the LLVM library in a variable so that we can
- # query it when resolve llvm-config-style component -> library mappings.
- set_property(GLOBAL PROPERTY LLVM_LIB_DEPS_${name} ${ARGN})
-
- # Then add the actual dependencies to the library target.
- target_link_libraries(${name} ${ARGN})
-endmacro(add_llvm_library_dependencies name)
-
macro(add_llvm_loadable_module name)
if( NOT LLVM_ON_UNIX OR CYGWIN )
message(STATUS "Loadable modules not supported on this platform.
diff --git a/cmake/modules/CMakeLists.txt b/cmake/modules/CMakeLists.txt
index 2dcfa141026..f51e9af8db0 100644
--- a/cmake/modules/CMakeLists.txt
+++ b/cmake/modules/CMakeLists.txt
@@ -4,9 +4,9 @@ set(LLVM_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})
get_property(llvm_libs GLOBAL PROPERTY LLVM_LIBS)
foreach(lib ${llvm_libs})
- get_property(llvm_lib_deps GLOBAL PROPERTY LLVM_LIB_DEPS_${lib})
+ get_property(llvm_lib_deps GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_${lib})
set(all_llvm_lib_deps
- "${all_llvm_lib_deps}\nset_property(GLOBAL PROPERTY LLVM_LIB_DEPS_${lib} ${llvm_lib_deps})")
+ "${all_llvm_lib_deps}\nset_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_${lib} ${llvm_lib_deps})")
endforeach(lib)
configure_file(
@@ -32,6 +32,6 @@ install(DIRECTORY .
PATTERN LLVMConfig.cmake EXCLUDE
PATTERN LLVMConfigVersion.cmake EXCLUDE
PATTERN LLVM-Config.cmake EXCLUDE
- PATTERN GetTargetTriple.cmake EXCLUDE
+ PATTERN GetHostTriple.cmake EXCLUDE
PATTERN VersionFromVCS.cmake EXCLUDE
PATTERN CheckAtomic.cmake EXCLUDE)
diff --git a/cmake/modules/ChooseMSVCCRT.cmake b/cmake/modules/ChooseMSVCCRT.cmake
index eb78f45c885..6a2f426b269 100644
--- a/cmake/modules/ChooseMSVCCRT.cmake
+++ b/cmake/modules/ChooseMSVCCRT.cmake
@@ -60,7 +60,7 @@ variables (LLVM_USE_CRT_DEBUG, etc) instead.")
make_crt_regex(MSVC_CRT_REGEX ${MSVC_CRT})
- foreach(build_type ${CMAKE_CONFIGURATION_TYPES})
+ foreach(build_type ${CMAKE_CONFIGURATION_TYPES} ${CMAKE_BUILD_TYPE})
string(TOUPPER "${build_type}" build)
if (NOT LLVM_USE_CRT_${build})
get_current_crt(LLVM_USE_CRT_${build}
@@ -75,7 +75,7 @@ variables (LLVM_USE_CRT_DEBUG, etc) instead.")
endif(NOT LLVM_USE_CRT_${build})
endforeach(build_type)
- foreach(build_type ${CMAKE_CONFIGURATION_TYPES})
+ foreach(build_type ${CMAKE_CONFIGURATION_TYPES} ${CMAKE_BUILD_TYPE})
string(TOUPPER "${build_type}" build)
if ("${LLVM_USE_CRT_${build}}" STREQUAL "")
set(flag_string " ")
diff --git a/cmake/modules/GetTargetTriple.cmake b/cmake/modules/GetHostTriple.cmake
similarity index 92%
rename from cmake/modules/GetTargetTriple.cmake
rename to cmake/modules/GetHostTriple.cmake
index f4321c9b67e..671a8ce7d7c 100644
--- a/cmake/modules/GetTargetTriple.cmake
+++ b/cmake/modules/GetHostTriple.cmake
@@ -1,7 +1,7 @@
# Returns the host triple.
# Invokes config.guess
-function( get_target_triple var )
+function( get_host_triple var )
if( MSVC )
if( CMAKE_CL_64 )
set( value "x86_64-pc-win32" )
@@ -27,4 +27,4 @@ function( get_target_triple var )
endif( MSVC )
set( ${var} ${value} PARENT_SCOPE )
message(STATUS "Target triple: ${value}")
-endfunction( get_target_triple var )
+endfunction( get_host_triple var )
diff --git a/cmake/modules/HandleLLVMOptions.cmake b/cmake/modules/HandleLLVMOptions.cmake
index 9dc1624f446..3a10a861d67 100644
--- a/cmake/modules/HandleLLVMOptions.cmake
+++ b/cmake/modules/HandleLLVMOptions.cmake
@@ -1,3 +1,7 @@
+# This CMake module is responsible for interpreting the user defined LLVM_
+# options and executing the appropriate CMake commands to realize the users'
+# selections.
+
include(AddLLVMDefinitions)
if( CMAKE_COMPILER_IS_GNUCXX )
@@ -20,13 +24,6 @@ else()
set(RUNTIME_BUILD_MODE "${CMAKE_CFG_INTDIR}")
endif()
-set(LIT_ARGS_DEFAULT "-sv")
-if (MSVC OR XCODE)
- set(LIT_ARGS_DEFAULT "${LIT_ARGS_DEFAULT} --no-progress-bar")
-endif()
-set(LLVM_LIT_ARGS "${LIT_ARGS_DEFAULT}"
- CACHE STRING "Default options for lit")
-
if( LLVM_ENABLE_ASSERTIONS )
# MSVC doesn't like _DEBUG on release builds. See PR 4379.
if( NOT MSVC )
@@ -52,9 +49,6 @@ if(WIN32)
else(CYGWIN)
set(LLVM_ON_WIN32 1)
set(LLVM_ON_UNIX 0)
-
- # This is effective only on Win32 hosts to use gnuwin32 tools.
- set(LLVM_LIT_TOOLS_DIR "" CACHE PATH "Path to GnuWin32 tools")
endif(CYGWIN)
set(LTDL_SHLIB_EXT ".dll")
set(EXEEXT ".exe")
@@ -82,7 +76,7 @@ if( LLVM_ENABLE_PIC )
# Xcode has -mdynamic-no-pic on by default, which overrides -fPIC. I don't
# know how to disable this, so just force ENABLE_PIC off for now.
message(WARNING "-fPIC not supported with Xcode.")
- elseif( WIN32 )
+ elseif( WIN32 OR CYGWIN)
# On Windows all code is PIC. MinGW warns if -fPIC is used.
else()
include(CheckCXXCompilerFlag)
@@ -94,12 +88,20 @@ if( LLVM_ENABLE_PIC )
else( SUPPORTS_FPIC_FLAG )
message(WARNING "-fPIC not supported.")
endif()
+
+ if( WIN32 OR CYGWIN)
+ # MinGW warns if -fvisibility-inlines-hidden is used.
+ else()
+ check_cxx_compiler_flag("-fvisibility-inlines-hidden" SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG)
+ if( SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG )
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility-inlines-hidden")
+ endif()
+ endif()
endif()
endif()
if( CMAKE_SIZEOF_VOID_P EQUAL 8 AND NOT WIN32 )
# TODO: support other platforms and toolchains.
- option(LLVM_BUILD_32_BITS "Build 32 bits executables and libraries." OFF)
if( LLVM_BUILD_32_BITS )
message(STATUS "Building 32 bits executables and libraries.")
add_llvm_definitions( -m32 )
@@ -134,6 +136,10 @@ endif()
if( MSVC )
include(ChooseMSVCCRT)
+ if( MSVC11 )
+ add_llvm_definitions(-D_VARIADIC_MAX=10)
+ endif()
+
# Add definitions that make MSVC much less annoying.
add_llvm_definitions(
# For some reason MS wants to deprecate a bunch of standard functions...
@@ -180,6 +186,10 @@ elseif( LLVM_COMPILER_IS_GCC_COMPATIBLE )
if (LLVM_ENABLE_PEDANTIC)
add_llvm_definitions( -pedantic -Wno-long-long )
endif (LLVM_ENABLE_PEDANTIC)
+ check_cxx_compiler_flag("-Werror -Wcovered-switch-default" SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG)
+ if( SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG )
+ add_llvm_definitions( -Wcovered-switch-default )
+ endif()
endif (LLVM_ENABLE_WARNINGS)
if (LLVM_ENABLE_WERROR)
add_llvm_definitions( -Werror )
@@ -189,5 +199,3 @@ endif( MSVC )
add_llvm_definitions( -D__STDC_CONSTANT_MACROS )
add_llvm_definitions( -D__STDC_FORMAT_MACROS )
add_llvm_definitions( -D__STDC_LIMIT_MACROS )
-
-option(LLVM_INCLUDE_TESTS "Generate build targets for the LLVM unit tests." ON)
diff --git a/cmake/modules/LLVM-Config.cmake b/cmake/modules/LLVM-Config.cmake
index b5f262a24da..574335c49d0 100755
--- a/cmake/modules/LLVM-Config.cmake
+++ b/cmake/modules/LLVM-Config.cmake
@@ -152,7 +152,7 @@ function(explicit_map_components_to_libraries out_libs)
set(processed)
while( cursor LESS lst_size )
list(GET expanded_components ${cursor} lib)
- get_property(lib_deps GLOBAL PROPERTY LLVM_LIB_DEPS_${lib})
+ get_property(lib_deps GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_${lib})
list(APPEND expanded_components ${lib_deps})
# Remove duplicates at the front:
list(REVERSE expanded_components)
diff --git a/cmake/modules/LLVMConfig.cmake.in b/cmake/modules/LLVMConfig.cmake.in
index 6b202b2e7e8..443ec415328 100644
--- a/cmake/modules/LLVMConfig.cmake.in
+++ b/cmake/modules/LLVMConfig.cmake.in
@@ -1,5 +1,7 @@
# This file provides information and services to the final user.
+set(LLVM_VERSION_MAJOR @LLVM_VERSION_MAJOR@)
+set(LLVM_VERSION_MINOR @LLVM_VERSION_MINOR@)
set(LLVM_PACKAGE_VERSION @PACKAGE_VERSION@)
set(LLVM_COMMON_DEPENDS @LLVM_COMMON_DEPENDS@)
diff --git a/cmake/modules/TableGen.cmake b/cmake/modules/TableGen.cmake
index 3dc820b4abf..1b1b1728d74 100644
--- a/cmake/modules/TableGen.cmake
+++ b/cmake/modules/TableGen.cmake
@@ -51,6 +51,7 @@ function(add_public_tablegen_target target)
add_custom_target(${target}
DEPENDS ${TABLEGEN_OUTPUT})
add_dependencies(${target} ${LLVM_COMMON_DEPENDS})
+ set_target_properties(${target} PROPERTIES FOLDER "Tablegenning")
endif( TABLEGEN_OUTPUT )
endfunction()
@@ -76,7 +77,10 @@ endif()
macro(add_tablegen target project)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${LLVM_TOOLS_BINARY_DIR})
+ set(${target}_OLD_LLVM_LINK_COMPONENTS ${LLVM_LINK_COMPONENTS})
+ set(LLVM_LINK_COMPONENTS ${LLVM_LINK_COMPONENTS} TableGen)
add_llvm_utility(${target} ${ARGN})
+ set(LLVM_LINK_COMPONENTS ${${target}_OLD_LLVM_LINK_COMPONENTS})
set(${project}_TABLEGEN "${target}" CACHE
STRING "Native TableGen executable. Saves building one when cross-compiling.")
@@ -110,7 +114,6 @@ macro(add_tablegen target project)
endif()
endif()
- target_link_libraries(${target} LLVMSupport LLVMTableGen)
if( MINGW )
target_link_libraries(${target} imagehlp psapi)
if(CMAKE_SIZEOF_VOID_P MATCHES "8")
diff --git a/cmake/modules/VersionFromVCS.cmake b/cmake/modules/VersionFromVCS.cmake
index 81739be927a..d6a2ae5f45f 100644
--- a/cmake/modules/VersionFromVCS.cmake
+++ b/cmake/modules/VersionFromVCS.cmake
@@ -3,7 +3,7 @@
# existence of certain subdirectories under CMAKE_CURRENT_SOURCE_DIR.
function(add_version_info_from_vcs VERS)
- set(result ${${VERS}})
+ string(REPLACE "svn" "" result "${${VERS}}")
if( EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.svn" )
set(result "${result}svn")
# FindSubversion does not work with symlinks. See PR 8437
@@ -13,6 +13,7 @@ function(add_version_info_from_vcs VERS)
if( Subversion_FOUND )
subversion_wc_info( ${CMAKE_CURRENT_SOURCE_DIR} Project )
if( Project_WC_REVISION )
+ set(SVN_REVISION ${Project_WC_REVISION} PARENT_SCOPE)
set(result "${result}-r${Project_WC_REVISION}")
endif()
endif()
@@ -21,24 +22,47 @@ function(add_version_info_from_vcs VERS)
# Try to get a ref-id
find_program(git_executable NAMES git git.exe git.cmd)
if( git_executable )
- execute_process(COMMAND ${git_executable} show-ref HEAD
+ set(is_git_svn_rev_exact false)
+ execute_process(COMMAND ${git_executable} svn log --limit=1 --oneline
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
TIMEOUT 5
RESULT_VARIABLE git_result
OUTPUT_VARIABLE git_output)
if( git_result EQUAL 0 )
- string(SUBSTRING ${git_output} 0 7 git_ref_id)
- set(result "${result}-${git_ref_id}")
- else()
- execute_process(COMMAND ${git_executable} svn log --limit=1 --oneline
+ string(REGEX MATCH r[0-9]+ git_svn_rev ${git_output})
+ string(LENGTH "${git_svn_rev}" rev_length)
+ math(EXPR rev_length "${rev_length}-1")
+ string(SUBSTRING "${git_svn_rev}" 1 ${rev_length} git_svn_rev_number)
+ set(SVN_REVISION ${git_svn_rev_number} PARENT_SCOPE)
+ set(git_svn_rev "-svn-${git_svn_rev}")
+
+ # Determine if the HEAD points directly at a subversion revision.
+ execute_process(COMMAND ${git_executable} svn find-rev HEAD
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
TIMEOUT 5
RESULT_VARIABLE git_result
OUTPUT_VARIABLE git_output)
if( git_result EQUAL 0 )
- string(REGEX MATCH r[0-9]+ git_svn_rev ${git_output})
- set(result "${result}-svn-${git_svn_rev}")
+ string(STRIP "${git_output}" git_head_svn_rev_number)
+ if( git_head_svn_rev_number EQUAL git_svn_rev_number )
+ set(is_git_svn_rev_exact true)
+ endif()
endif()
+ else()
+ set(git_svn_rev "")
+ endif()
+ execute_process(COMMAND
+ ${git_executable} rev-parse --short HEAD
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+ TIMEOUT 5
+ RESULT_VARIABLE git_result
+ OUTPUT_VARIABLE git_output)
+ if( git_result EQUAL 0 AND NOT is_git_svn_rev_exact )
+ string(STRIP "${git_output}" git_ref_id)
+ set(GIT_COMMIT ${git_ref_id} PARENT_SCOPE)
+ set(result "${result}${git_svn_rev}-${git_ref_id}")
+ else()
+ set(result "${result}${git_svn_rev}")
endif()
endif()
endif()
diff --git a/configure b/configure
index fbd95ca7891..e87160d75c4 100755
--- a/configure
+++ b/configure
@@ -1,21 +1,20 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for llvm 3.0.
+# Generated by GNU Autoconf 2.60 for LLVM 3.1svn.
#
-# Report bugs to .
+# Report bugs to .
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
#
-# Copyright (c) 2003-2011 University of Illinois at Urbana-Champaign.
+# Copyright (c) 2003-2012 University of Illinois at Urbana-Champaign.
## --------------------- ##
## M4sh Initialization. ##
## --------------------- ##
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
+# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
emulate sh
NULLCMD=:
@@ -24,13 +23,10 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
alias -g '${1+"$@"}'='"$@"'
setopt NO_GLOB_SUBST
else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
+ case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
fi
-
-
+BIN_SH=xpg4; export BIN_SH # for Tru64
+DUALCASE=1; export DUALCASE # for MKS sh
# PATH needs CR
@@ -223,7 +219,7 @@ test \$exitcode = 0) || { (exit 1); exit 1; }
else
as_candidate_shells=
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
@@ -241,6 +237,7 @@ IFS=$as_save_IFS
# Try only shells that exist, to save several forks.
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
{ ("$as_shell") 2> /dev/null <<\_ASEOF
+# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
emulate sh
NULLCMD=:
@@ -249,12 +246,10 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
alias -g '${1+"$@"}'='"$@"'
setopt NO_GLOB_SUBST
else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
+ case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
fi
-
+BIN_SH=xpg4; export BIN_SH # for Tru64
+DUALCASE=1; export DUALCASE # for MKS sh
:
_ASEOF
@@ -262,6 +257,7 @@ _ASEOF
CONFIG_SHELL=$as_shell
as_have_required=yes
if { "$as_shell" 2> /dev/null <<\_ASEOF
+# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
emulate sh
NULLCMD=:
@@ -270,12 +266,10 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
alias -g '${1+"$@"}'='"$@"'
setopt NO_GLOB_SUBST
else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
+ case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
fi
-
+BIN_SH=xpg4; export BIN_SH # for Tru64
+DUALCASE=1; export DUALCASE # for MKS sh
:
(as_func_return () {
@@ -522,28 +516,19 @@ else
as_mkdir_p=false
fi
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
+# Find out whether ``test -x'' works. Don't use a zero-byte file, as
+# systems may use methods other than mode bits to determine executability.
+cat >conf$$.file <<_ASEOF
+#! /bin/sh
+exit 0
+_ASEOF
+chmod +x conf$$.file
+if test -x conf$$.file >/dev/null 2>&1; then
+ as_executable_p="test -x"
else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
+ as_executable_p=:
fi
-as_executable_p=$as_test_x
+rm -f conf$$.file
# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -574,46 +559,46 @@ MAKEFLAGS=
SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
-PACKAGE_NAME='llvm'
-PACKAGE_TARNAME='-llvm-'
-PACKAGE_VERSION='3.0'
-PACKAGE_STRING='llvm 3.0'
-PACKAGE_BUGREPORT='llvmbugs@cs.uiuc.edu'
+PACKAGE_NAME='LLVM'
+PACKAGE_TARNAME='llvm'
+PACKAGE_VERSION='3.1svn'
+PACKAGE_STRING='LLVM 3.1svn'
+PACKAGE_BUGREPORT='http://llvm.org/bugs/'
ac_unique_file="lib/VMCore/Module.cpp"
# Factoring default headers for most tests.
ac_includes_default="\
#include
-#ifdef HAVE_SYS_TYPES_H
+#if HAVE_SYS_TYPES_H
# include
#endif
-#ifdef HAVE_SYS_STAT_H
+#if HAVE_SYS_STAT_H
# include
#endif
-#ifdef STDC_HEADERS
+#if STDC_HEADERS
# include
# include
#else
-# ifdef HAVE_STDLIB_H
+# if HAVE_STDLIB_H
# include
# endif
#endif
-#ifdef HAVE_STRING_H
-# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
+#if HAVE_STRING_H
+# if !STDC_HEADERS && HAVE_MEMORY_H
# include
# endif
# include
#endif
-#ifdef HAVE_STRINGS_H
+#if HAVE_STRINGS_H
# include
#endif
-#ifdef HAVE_INTTYPES_H
+#if HAVE_INTTYPES_H
# include
#endif
-#ifdef HAVE_STDINT_H
+#if HAVE_STDINT_H
# include
#endif
-#ifdef HAVE_UNISTD_H
+#if HAVE_UNISTD_H
# include
#endif"
@@ -697,6 +682,7 @@ BUILD_CC
BUILD_EXEEXT
BUILD_CXX
CVSBUILD
+ENABLE_LIBCPP
ENABLE_OPTIMIZED
ENABLE_PROFILING
DISABLE_ASSERTIONS
@@ -708,7 +694,7 @@ JIT
TARGET_HAS_JIT
ENABLE_DOCS
ENABLE_DOXYGEN
-ENABLE_THREADS
+LLVM_ENABLE_THREADS
ENABLE_PTHREADS
ENABLE_PIC
ENABLE_SHARED
@@ -719,11 +705,12 @@ LLVM_ENUM_TARGETS
LLVM_ENUM_ASM_PRINTERS
LLVM_ENUM_ASM_PARSERS
LLVM_ENUM_DISASSEMBLERS
-ENABLE_CBE_PRINTF_A
OPTIMIZE_OPTION
EXTRA_OPTIONS
EXTRA_LD_OPTIONS
+CLANG_SRC_ROOT
BINUTILS_INCDIR
+INTERNAL_PREFIX
NM
ifGNUmake
LN_S
@@ -748,8 +735,6 @@ CIRCO
GV
DOTTY
XDOT_PY
-PERL
-HAVE_PERL
INSTALL_PROGRAM
INSTALL_SCRIPT
INSTALL_DATA
@@ -777,8 +762,12 @@ CONVENIENCE_LTDL_FALSE
LIBADD_DL
NO_VARIADIC_MACROS
NO_MISSING_FIELD_INITIALIZERS
+COVERED_SWITCH_DEFAULT
USE_UDIS86
USE_OPROFILE
+USE_INTEL_JITEVENTS
+INTEL_JITEVENTS_INCDIR
+INTEL_JITEVENTS_LIBDIR
HAVE_PTHREAD
HUGE_VAL_SANITY
MMAP_FILE
@@ -809,7 +798,6 @@ target_alias
CC
CFLAGS
LDFLAGS
-LIBS
CPPFLAGS
CXX
CXXFLAGS
@@ -933,10 +921,10 @@ do
-disable-* | --disable-*)
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
# Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+ expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
{ (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
+ ac_feature=`echo $ac_feature | sed 's/-/_/g'`
eval enable_$ac_feature=no ;;
-docdir | --docdir | --docdi | --doc | --do)
@@ -952,10 +940,10 @@ do
-enable-* | --enable-*)
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
# Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+ expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
{ (exit 1); exit 1; }; }
- ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
+ ac_feature=`echo $ac_feature | sed 's/-/_/g'`
eval enable_$ac_feature=\$ac_optarg ;;
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
@@ -1149,19 +1137,19 @@ do
-with-* | --with-*)
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
# Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+ expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
{ echo "$as_me: error: invalid package name: $ac_package" >&2
{ (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
+ ac_package=`echo $ac_package| sed 's/-/_/g'`
eval with_$ac_package=\$ac_optarg ;;
-without-* | --without-*)
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
# Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+ expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
{ echo "$as_me: error: invalid package name: $ac_package" >&2
{ (exit 1); exit 1; }; }
- ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
+ ac_package=`echo $ac_package | sed 's/-/_/g'`
eval with_$ac_package=no ;;
--x)
@@ -1330,7 +1318,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures llvm 3.0 to adapt to many kinds of systems.
+\`configure' configures LLVM 3.1svn to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1378,7 +1366,7 @@ Fine tuning of the installation directories:
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/-llvm-]
+ --docdir=DIR documentation root [DATAROOTDIR/doc/llvm]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
@@ -1396,7 +1384,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of llvm 3.0:";;
+ short | recursive ) echo "Configuration of LLVM 3.1svn:";;
esac
cat <<\_ACEOF
@@ -1404,10 +1392,11 @@ Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-polly Use polly if available (default is YES)
- --enable-optimized Compile with optimizations enabled (default is YES)
+ --enable-libcpp Use libc++ if available (default is NO)
+ --enable-optimized Compile with optimizations enabled (default is NO)
--enable-profiling Compile with profiling enabled (default is NO)
--enable-assertions Compile with assertion checks enabled (default is
- NO)
+ YES)
--enable-expensive-checks
Compile with expensive debug checks enabled (default
is NO)
@@ -1430,11 +1419,8 @@ Optional Features:
(default is YES)
--enable-targets Build specific host targets: all or
target1,target2,... Valid targets are: host, x86,
- x86_64, sparc, powerpc, alpha, arm, mips, spu,
- xcore, msp430, systemz, blackfin, ptx, cbe, and cpp
- (default=all)
- --enable-cbe-printf-a Enable C Backend output with hex floating point via
- %a (default is YES)
+ x86_64, sparc, powerpc, arm, mips, spu, hexagon,
+ xcore, msp430, ptx, and cpp (default=all)
--enable-bindings Build specific language bindings:
all,auto,none,{binding-name} (default=auto)
--enable-libffi Check for the presence of libffi (default is NO)
@@ -1449,32 +1435,32 @@ Optional Packages:
--with-extra-ld-options Specify additional options to link LLVM with
--with-ocaml-libdir Specify install location for ocaml bindings (default
is stdlib)
+ --with-clang-srcdir Directory to the out-of-tree Clang source
--with-clang-resource-dir
Relative directory from the Clang binary for
resource files
--with-c-include-dirs Colon separated list of directories clang will
search for headers
- --with-cxx-include-root Directory with the libstdc++ headers.
- --with-cxx-include-arch Architecture of the libstdc++ headers.
- --with-cxx-include-32bit-dir
- 32 bit multilib dir.
- --with-cxx-include-64bit-dir
- 64 bit multilib directory.
+ --with-gcc-toolchain Directory where gcc is installed.
--with-binutils-include Specify path to binutils/include/ containing
plugin-api.h file for gold plugin.
--with-bug-report-url Specify the URL where bug reports should be
submitted (default=http://llvm.org/bugs/)
+ --with-internal-prefix Installation directory for internal files
--with-tclinclude directory where tcl headers are
--with-udis86= Use udis86 external x86 disassembler library
--with-oprofile=
Tell OProfile >= 0.9.4 how to symbolize JIT output
+ --with-intel-jitevents=
+ Specify location of run-time support library for
+ Intel JIT API
+ (default=/opt/intel/vtune_amplifier_xe_2011)
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L if you have libraries in a
nonstandard directory
- LIBS libraries to pass to the linker, e.g. -l
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if
you have headers in a nonstandard directory
CXX C++ compiler command
@@ -1484,7 +1470,7 @@ Some influential environment variables:
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
-Report bugs to .
+Report bugs to .
_ACEOF
ac_status=$?
fi
@@ -1545,15 +1531,15 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-llvm configure 3.0
-generated by GNU Autoconf 2.61
+LLVM configure 3.1svn
+generated by GNU Autoconf 2.60
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
-Copyright (c) 2003-2011 University of Illinois at Urbana-Champaign.
+Copyright (c) 2003-2012 University of Illinois at Urbana-Champaign.
_ACEOF
exit
fi
@@ -1561,8 +1547,8 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by llvm $as_me 3.0, which was
-generated by GNU Autoconf 2.61. Invocation command line was
+It was created by LLVM $as_me 3.1svn, which was
+generated by GNU Autoconf 2.60. Invocation command line was
$ $0 $@
@@ -1915,7 +1901,17 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
-LLVM_COPYRIGHT="Copyright (c) 2003-2011 University of Illinois at Urbana-Champaign."
+cat >>confdefs.h <<\_ACEOF
+#define LLVM_VERSION_MAJOR 3
+_ACEOF
+
+
+cat >>confdefs.h <<\_ACEOF
+#define LLVM_VERSION_MINOR 1
+_ACEOF
+
+
+LLVM_COPYRIGHT="Copyright (c) 2003-2012 University of Illinois at Urbana-Champaign."
@@ -1987,7 +1983,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -2031,7 +2027,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_ac_ct_CC="$ac_prog"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -2170,7 +2166,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
# in a Makefile. We should not override ac_cv_exeext if it was cached,
# so that the user can short-circuit this test for compilers unknown to
# Autoconf.
-for ac_file in $ac_files ''
+for ac_file in $ac_files
do
test -f "$ac_file" || continue
case $ac_file in
@@ -2198,12 +2194,6 @@ done
test "$ac_cv_exeext" = no && ac_cv_exeext=
else
- ac_file=''
-fi
-
-{ echo "$as_me:$LINENO: result: $ac_file" >&5
-echo "${ECHO_T}$ac_file" >&6; }
-if test -z "$ac_file"; then
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
@@ -2215,6 +2205,8 @@ See \`config.log' for more details." >&2;}
fi
ac_exeext=$ac_cv_exeext
+{ echo "$as_me:$LINENO: result: $ac_file" >&5
+echo "${ECHO_T}$ac_file" >&6; }
# Check that the compiler produces executables we can run. If not, either
# the compiler is broken, or we cross compile.
@@ -2392,10 +2384,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_compiler_gnu=yes
else
echo "$as_me: failed program was:" >&5
@@ -2450,10 +2459,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_prog_cc_g=yes
else
echo "$as_me: failed program was:" >&5
@@ -2488,10 +2514,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
:
else
echo "$as_me: failed program was:" >&5
@@ -2527,10 +2570,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_prog_cc_g=yes
else
echo "$as_me: failed program was:" >&5
@@ -2646,10 +2706,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_prog_cc_c89=$ac_arg
else
echo "$as_me: failed program was:" >&5
@@ -2714,7 +2791,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -2758,7 +2835,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_ac_ct_CXX="$ac_prog"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -2871,10 +2948,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_compiler_gnu=yes
else
echo "$as_me: failed program was:" >&5
@@ -2929,10 +3023,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_prog_cxx_g=yes
else
echo "$as_me: failed program was:" >&5
@@ -2967,10 +3078,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
:
else
echo "$as_me: failed program was:" >&5
@@ -3006,10 +3134,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_prog_cxx_g=yes
else
echo "$as_me: failed program was:" >&5
@@ -3102,10 +3247,17 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
:
else
echo "$as_me: failed program was:" >&5
@@ -3139,10 +3291,17 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
# Broken: success on invalid input.
continue
else
@@ -3207,10 +3366,17 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
:
else
echo "$as_me: failed program was:" >&5
@@ -3244,10 +3410,17 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
# Broken: success on invalid input.
continue
else
@@ -3328,6 +3501,7 @@ do
;;
llvm-kernel) subdirs="$subdirs projects/llvm-kernel"
;;
+ compiler-rt) ;;
llvm-gcc) ;;
test-suite) ;;
llvm-test) ;;
@@ -3527,7 +3701,7 @@ else
llvm_cv_no_link_all_option="-Wl,-noall_load"
llvm_cv_os_type="Minix"
llvm_cv_platform_type="Unix" ;;
- *-*-freebsd*)
+ *-*-freebsd* | *-*-kfreebsd-gnu)
llvm_cv_link_all_option="-Wl,--whole-archive"
llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
llvm_cv_os_type="FreeBSD"
@@ -3562,6 +3736,11 @@ else
llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
llvm_cv_os_type="Linux"
llvm_cv_platform_type="Unix" ;;
+ *-*-gnu*)
+ llvm_cv_link_all_option="-Wl,--whole-archive"
+ llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
+ llvm_cv_os_type="GNU"
+ llvm_cv_platform_type="Unix" ;;
*-*-solaris*)
llvm_cv_link_all_option="-Wl,-z,allextract"
llvm_cv_no_link_all_option="-Wl,-z,defaultextract"
@@ -3623,7 +3802,7 @@ else
llvm_cv_target_os_type="Darwin" ;;
*-*-minix*)
llvm_cv_target_os_type="Minix" ;;
- *-*-freebsd*)
+ *-*-freebsd*| *-*-kfreebsd-gnu)
llvm_cv_target_os_type="FreeBSD" ;;
*-*-openbsd*)
llvm_cv_target_os_type="OpenBSD" ;;
@@ -3637,6 +3816,8 @@ else
llvm_cv_target_os_type="Interix" ;;
*-*-linux*)
llvm_cv_target_os_type="Linux" ;;
+ *-*-gnu*)
+ llvm_cv_target_os_type="GNU" ;;
*-*-solaris*)
llvm_cv_target_os_type="SunOS" ;;
*-*-auroraux*)
@@ -3713,13 +3894,12 @@ else
amd64-* | x86_64-*) llvm_cv_target_arch="x86_64" ;;
sparc*-*) llvm_cv_target_arch="Sparc" ;;
powerpc*-*) llvm_cv_target_arch="PowerPC" ;;
- alpha*-*) llvm_cv_target_arch="Alpha" ;;
arm*-*) llvm_cv_target_arch="ARM" ;;
mips-*) llvm_cv_target_arch="Mips" ;;
+ mipsel-*) llvm_cv_target_arch="Mips" ;;
xcore-*) llvm_cv_target_arch="XCore" ;;
msp430-*) llvm_cv_target_arch="MSP430" ;;
- s390x-*) llvm_cv_target_arch="SystemZ" ;;
- bfin-*) llvm_cv_target_arch="Blackfin" ;;
+ hexagon-*) llvm_cv_target_arch="Hexagon" ;;
mblaze-*) llvm_cv_target_arch="MBlaze" ;;
ptx-*) llvm_cv_target_arch="PTX" ;;
*) llvm_cv_target_arch="Unknown" ;;
@@ -3733,7 +3913,6 @@ if test "$llvm_cv_target_arch" = "Unknown" ; then
echo "$as_me: WARNING: Configuring LLVM for an unknown target archicture" >&2;}
fi
-# Determine the LLVM native architecture for the target
case "$llvm_cv_target_arch" in
x86) LLVM_NATIVE_ARCH="X86" ;;
x86_64) LLVM_NATIVE_ARCH="X86" ;;
@@ -3766,7 +3945,7 @@ do
for ac_prog in grep ggrep; do
for ac_exec_ext in '' $ac_executable_extensions; do
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
- { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
+ { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
# Check for GNU ac_path_GREP and select it if it is found.
# Check for GNU $ac_path_GREP
case `"$ac_path_GREP" --version 2>&1` in
@@ -3848,7 +4027,7 @@ do
for ac_prog in egrep; do
for ac_exec_ext in '' $ac_executable_extensions; do
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
- { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
+ { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
# Check for GNU ac_path_EGREP and select it if it is found.
# Check for GNU $ac_path_EGREP
case `"$ac_path_EGREP" --version 2>&1` in
@@ -3944,10 +4123,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_header_stdc=yes
else
echo "$as_me: failed program was:" >&5
@@ -3975,7 +4171,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
else
ac_cv_header_stdc=no
fi
-rm -f -r conftest*
+rm -f conftest*
fi
@@ -3996,7 +4192,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
else
ac_cv_header_stdc=no
fi
-rm -f -r conftest*
+rm -f conftest*
fi
@@ -4123,10 +4319,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
eval "$as_ac_Header=yes"
else
echo "$as_me: failed program was:" >&5
@@ -4168,8 +4381,7 @@ cat >>conftest.$ac_ext <<_ACEOF
int
main ()
{
-#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
- && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
+#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
bogus endian macros
#endif
@@ -4190,10 +4402,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
# It does; now see whether it defined to BIG_ENDIAN or not.
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
@@ -4228,10 +4457,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_c_bigendian=yes
else
echo "$as_me: failed program was:" >&5
@@ -4282,10 +4528,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
ac_cv_c_bigendian=yes
fi
@@ -4415,7 +4678,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_BUILD_CC="${ac_build_prefix}gcc"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -4453,7 +4716,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_BUILD_CC="gcc"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -4492,7 +4755,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
ac_prog_rejected=yes
continue
@@ -4582,7 +4845,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_BUILD_CXX="${ac_build_prefix}g++"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -4620,7 +4883,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_BUILD_CXX="g++"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -4659,7 +4922,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/c++"; then
ac_prog_rejected=yes
continue
@@ -4714,6 +4977,25 @@ else
fi
+# Check whether --enable-libcpp was given.
+if test "${enable_libcpp+set}" = set; then
+ enableval=$enable_libcpp;
+else
+ enableval=default
+fi
+
+case "$enableval" in
+ yes) ENABLE_LIBCPP=1
+ ;;
+ no) ENABLE_LIBCPP=0
+ ;;
+ default) ENABLE_LIBCPP=0
+;;
+ *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-libcpp. Use \"yes\" or \"no\"" >&5
+echo "$as_me: error: Invalid setting for --enable-libcpp. Use \"yes\" or \"no\"" >&2;}
+ { (exit 1); exit 1; }; } ;;
+esac
+
# Check whether --enable-optimized was given.
if test "${enable_optimized+set}" = set; then
enableval=$enable_optimized;
@@ -4748,7 +5030,7 @@ fi
if test "${enable_assertions+set}" = set; then
enableval=$enable_assertions;
else
- enableval="no"
+ enableval="yes"
fi
if test ${enableval} = "yes" ; then
@@ -4828,8 +5110,6 @@ else
PowerPC) TARGET_HAS_JIT=1
;;
x86_64) TARGET_HAS_JIT=1
- ;;
- Alpha) TARGET_HAS_JIT=0
;;
ARM) TARGET_HAS_JIT=1
;;
@@ -4839,9 +5119,7 @@ else
;;
MSP430) TARGET_HAS_JIT=0
;;
- SystemZ) TARGET_HAS_JIT=0
- ;;
- Blackfin) TARGET_HAS_JIT=0
+ Hexagon) TARGET_HAS_JIT=0
;;
MBlaze) TARGET_HAS_JIT=0
;;
@@ -4898,11 +5176,11 @@ else
fi
case "$enableval" in
- yes) ENABLE_THREADS=1
+ yes) LLVM_ENABLE_THREADS=1
;;
- no) ENABLE_THREADS=0
+ no) LLVM_ENABLE_THREADS=0
;;
- default) ENABLE_THREADS=1
+ default) LLVM_ENABLE_THREADS=1
;;
*) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&5
echo "$as_me: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"" >&2;}
@@ -4910,7 +5188,7 @@ echo "$as_me: error: Invalid setting for --enable-threads. Use \"yes\" or \"no\"
esac
cat >>confdefs.h <<_ACEOF
-#define ENABLE_THREADS $ENABLE_THREADS
+#define LLVM_ENABLE_THREADS $LLVM_ENABLE_THREADS
_ACEOF
@@ -5031,23 +5309,21 @@ if test "$enableval" = host-only ; then
enableval=host
fi
case "$enableval" in
- all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha ARM Mips CellSPU XCore MSP430 SystemZ Blackfin CBackend CppBackend MBlaze PTX" ;;
+ all) TARGETS_TO_BUILD="X86 Sparc PowerPC ARM Mips CellSPU XCore MSP430 CppBackend MBlaze PTX Hexagon" ;;
*)for a_target in `echo $enableval|sed -e 's/,/ /g' ` ; do
case "$a_target" in
x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
- alpha) TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
+ mipsel) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
spu) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;;
xcore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
msp430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;;
- systemz) TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;;
- blackfin) TARGETS_TO_BUILD="Blackfin $TARGETS_TO_BUILD" ;;
- cbe) TARGETS_TO_BUILD="CBackend $TARGETS_TO_BUILD" ;;
cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;;
+ hexagon) TARGETS_TO_BUILD="Hexagon $TARGETS_TO_BUILD" ;;
mblaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
ptx) TARGETS_TO_BUILD="PTX $TARGETS_TO_BUILD" ;;
host) case "$llvm_cv_target_arch" in
@@ -5055,15 +5331,13 @@ case "$enableval" in
x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
Sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;;
PowerPC) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
- Alpha) TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
ARM) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
Mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
MBlaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
CellSPU|SPU) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;;
XCore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
MSP430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;;
- s390x) TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;;
- Blackfin) TARGETS_TO_BUILD="Blackfin $TARGETS_TO_BUILD" ;;
+ Hexagon) TARGETS_TO_BUILD="Hexagon $TARGETS_TO_BUILD" ;;
PTX) TARGETS_TO_BUILD="PTX $TARGETS_TO_BUILD" ;;
*) { { echo "$as_me:$LINENO: error: Can not set target to build" >&5
echo "$as_me: error: Can not set target to build" >&2;}
@@ -5079,8 +5353,6 @@ esac
TARGETS_TO_BUILD=$TARGETS_TO_BUILD
-# Determine whether we are building LLVM support for the native architecture.
-# If so, define LLVM_NATIVE_ARCH to that LLVM target.
for a_target in $TARGETS_TO_BUILD; do
if test "$a_target" = "$LLVM_NATIVE_ARCH"; then
@@ -5095,6 +5367,9 @@ _ACEOF
if test -f ${srcdir}/lib/Target/${LLVM_NATIVE_ARCH}/AsmParser/Makefile ; then
LLVM_NATIVE_ASMPARSER="LLVMInitialize${LLVM_NATIVE_ARCH}AsmParser"
fi
+ if test -f ${srcdir}/lib/Target/${LLVM_NATIVE_ARCH}/Disassembler/Makefile ; then
+ LLVM_NATIVE_DISASSEMBLER="LLVMInitialize${LLVM_NATIVE_ARCH}Disassembler"
+ fi
cat >>confdefs.h <<_ACEOF
#define LLVM_NATIVE_TARGET $LLVM_NATIVE_TARGET
@@ -5119,14 +5394,19 @@ _ACEOF
cat >>confdefs.h <<_ACEOF
#define LLVM_NATIVE_ASMPARSER $LLVM_NATIVE_ASMPARSER
+_ACEOF
+
+ fi
+ if test -f ${srcdir}/lib/Target/${LLVM_NATIVE_ARCH}/Disassembler/Makefile ; then
+
+cat >>confdefs.h <<_ACEOF
+#define LLVM_NATIVE_DISASSEMBLER $LLVM_NATIVE_DISASSEMBLER
_ACEOF
fi
fi
done
-# Build the LLVM_TARGET and LLVM_... macros for Targets.def and the individual
-# target feature def files.
LLVM_ENUM_TARGETS=""
LLVM_ENUM_ASM_PRINTERS=""
LLVM_ENUM_ASM_PARSERS=""
@@ -5148,30 +5428,6 @@ done
-# Check whether --enable-cbe-printf-a was given.
-if test "${enable_cbe_printf_a+set}" = set; then
- enableval=$enable_cbe_printf_a;
-else
- enableval=default
-fi
-
-case "$enableval" in
- yes) ENABLE_CBE_PRINTF_A=1
- ;;
- no) ENABLE_CBE_PRINTF_A=0
- ;;
- default) ENABLE_CBE_PRINTF_A=1
- ;;
- *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&5
-echo "$as_me: error: Invalid setting for --enable-cbe-printf-a. Use \"yes\" or \"no\"" >&2;}
- { (exit 1); exit 1; }; } ;;
-esac
-
-cat >>confdefs.h <<_ACEOF
-#define ENABLE_CBE_PRINTF_A $ENABLE_CBE_PRINTF_A
-_ACEOF
-
-
# Check whether --with-optimize-option was given.
if test "${with_optimize_option+set}" = set; then
@@ -5266,6 +5522,22 @@ echo "$as_me: error: Invalid path for --with-ocaml-libdir. Provide full path" >&
esac
+# Check whether --with-clang-srcdir was given.
+if test "${with_clang_srcdir+set}" = set; then
+ withval=$with_clang_srcdir;
+else
+ withval="-"
+fi
+
+case "$withval" in
+ -) clang_src_root="" ;;
+ /* | [A-Za-z]:[\\/]*) clang_src_root="$withval" ;;
+ *) clang_src_root="$ac_pwd/$withval" ;;
+esac
+CLANG_SRC_ROOT=$clang_src_root
+
+
+
# Check whether --with-clang-resource-dir was given.
if test "${with_clang_resource_dir+set}" = set; then
withval=$with_clang_resource_dir;
@@ -5293,59 +5565,20 @@ cat >>confdefs.h <<_ACEOF
_ACEOF
+# Clang normally uses the system c++ headers and libraries. With this option,
+# clang will use the ones provided by a gcc installation instead. This option should
+# be passed the same value that was used with --prefix when configuring gcc.
-# Check whether --with-cxx-include-root was given.
-if test "${with_cxx_include_root+set}" = set; then
- withval=$with_cxx_include_root;
+# Check whether --with-gcc-toolchain was given.
+if test "${with_gcc_toolchain+set}" = set; then
+ withval=$with_gcc_toolchain;
else
withval=""
fi
cat >>confdefs.h <<_ACEOF
-#define CXX_INCLUDE_ROOT "$withval"
-_ACEOF
-
-
-
-# Check whether --with-cxx-include-arch was given.
-if test "${with_cxx_include_arch+set}" = set; then
- withval=$with_cxx_include_arch;
-else
- withval=""
-fi
-
-
-cat >>confdefs.h <<_ACEOF
-#define CXX_INCLUDE_ARCH "$withval"
-_ACEOF
-
-
-
-# Check whether --with-cxx-include-32bit-dir was given.
-if test "${with_cxx_include_32bit_dir+set}" = set; then
- withval=$with_cxx_include_32bit_dir;
-else
- withval=""
-fi
-
-
-cat >>confdefs.h <<_ACEOF
-#define CXX_INCLUDE_32BIT_DIR "$withval"
-_ACEOF
-
-
-
-# Check whether --with-cxx-include-64bit-dir was given.
-if test "${with_cxx_include_64bit_dir+set}" = set; then
- withval=$with_cxx_include_64bit_dir;
-else
- withval=""
-fi
-
-
-cat >>confdefs.h <<_ACEOF
-#define CXX_INCLUDE_64BIT_DIR "$withval"
+#define GCC_INSTALL_PREFIX "$withval"
_ACEOF
@@ -5404,6 +5637,17 @@ fi
+# Check whether --with-internal-prefix was given.
+if test "${with_internal_prefix+set}" = set; then
+ withval=$with_internal_prefix;
+else
+ withval=""
+fi
+
+INTERNAL_PREFIX=$withval
+
+
+
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
if test "${lt_cv_path_NM+set}" = set; then
@@ -5514,7 +5758,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -5555,7 +5799,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -5596,7 +5840,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -5637,7 +5881,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -5678,7 +5922,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_GREP="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -5719,7 +5963,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -5760,7 +6004,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -5800,7 +6044,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -5840,7 +6084,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_ac_ct_RANLIB="ranlib"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -5896,7 +6140,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_AR="${ac_tool_prefix}ar"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -5936,7 +6180,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_prog_ac_ct_AR="ar"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -5993,7 +6237,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -6034,7 +6278,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -6075,7 +6319,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -6116,7 +6360,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_BINPWD="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -6158,7 +6402,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_GRAPHVIZ="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -6214,7 +6458,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -6270,7 +6514,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_FDP="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -6326,7 +6570,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_NEATO="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -6382,7 +6626,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_TWOPI="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -6438,7 +6682,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_CIRCO="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -6496,7 +6740,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_GV="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -6555,7 +6799,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_DOTTY="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -6611,7 +6855,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_XDOT_PY="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -6650,73 +6894,6 @@ _ACEOF
fi
-
-# Extract the first word of "perl", so it can be a program name with args.
-set dummy perl; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_path_PERL+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- case $PERL in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
- ;;
- *)
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
- test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="none"
- ;;
-esac
-fi
-PERL=$ac_cv_path_PERL
-if test -n "$PERL"; then
- { echo "$as_me:$LINENO: result: $PERL" >&5
-echo "${ECHO_T}$PERL" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-if test "$PERL" != "none"; then
- { echo "$as_me:$LINENO: checking for Perl 5.006 or newer" >&5
-echo $ECHO_N "checking for Perl 5.006 or newer... $ECHO_C" >&6; }
- if $PERL -e 'use 5.006;' 2>&1 > /dev/null; then
- { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
- else
- PERL=none
- { echo "$as_me:$LINENO: result: not found" >&5
-echo "${ECHO_T}not found" >&6; }
- fi
-fi
-
-
-if test x"$PERL" = xnone; then
- HAVE_PERL=0
-
- { { echo "$as_me:$LINENO: error: perl is required but was not found, please install it" >&5
-echo "$as_me: error: perl is required but was not found, please install it" >&2;}
- { (exit 1); exit 1; }; }
-else
- HAVE_PERL=1
-
-fi
-
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
# incompatible versions:
@@ -6753,7 +6930,7 @@ case $as_dir/ in
# by default.
for ac_prog in ginstall scoinst install; do
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
if test $ac_prog = install &&
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
# AIX install. It has an incompatible calling convention.
@@ -6820,7 +6997,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_BZIP2="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -6860,7 +7037,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -6900,7 +7077,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -6940,7 +7117,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_GROFF="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -6980,7 +7157,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_GZIPBIN="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -7020,7 +7197,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_POD2HTML="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -7060,7 +7237,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -7100,7 +7277,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_PDFROFF="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -7140,7 +7317,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_RUNTEST="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -7215,7 +7392,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -7270,7 +7447,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -7312,7 +7489,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_OCAMLC="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -7357,7 +7534,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_OCAMLOPT="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -7402,7 +7579,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_OCAMLDEP="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -7447,7 +7624,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_OCAMLDOC="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -7492,7 +7669,7 @@ do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_GAS="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
@@ -7528,7 +7705,7 @@ else
# Check for ld64.
if (echo "$version_string" | grep -q "ld64"); then
- llvm_cv_link_version=$(echo "$version_string" | sed -e "s#.*ld64-\([^ ]*\)#\1#")
+ llvm_cv_link_version=$(echo "$version_string" | sed -e "s#.*ld64-\([^ ]*\)\( (.*)\)\{0,1\}#\1#")
else
llvm_cv_link_version=$(echo "$version_string" | sed -e "s#[^0-9]*\([0-9.]*\).*#\1#")
fi
@@ -7584,11 +7761,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
llvm_cv_link_use_r=yes
else
echo "$as_me: failed program was:" >&5
@@ -7597,7 +7790,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
llvm_cv_link_use_r=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
CFLAGS="$oldcflags"
ac_ext=c
@@ -7660,11 +7853,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
llvm_cv_link_use_export_dynamic=yes
else
echo "$as_me: failed program was:" >&5
@@ -7673,7 +7882,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
llvm_cv_link_use_export_dynamic=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
CFLAGS="$oldcflags"
ac_ext=c
@@ -7758,11 +7967,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
llvm_cv_link_use_version_script=yes
else
echo "$as_me: failed program was:" >&5
@@ -7771,7 +7996,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
llvm_cv_link_use_version_script=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
rm "$tmp/export.map"
rmdir "$tmp"
@@ -7813,10 +8038,10 @@ main ()
#ifndef __cplusplus
/* Ultrix mips cc rejects this. */
typedef int charset[2];
- const charset cs;
+ const charset x;
/* SunOS 4.1.1 cc rejects this. */
- char const *const *pcpcc;
- char **ppc;
+ char const *const *ccp;
+ char **p;
/* NEC SVR4.0.2 mips cc rejects this. */
struct point {int x, y;};
static struct point const zero = {0,0};
@@ -7825,11 +8050,11 @@ main ()
an arm of an if-expression whose if-part is not a constant
expression */
const char *g = "string";
- pcpcc = &g + (g ? g-g : 0);
+ ccp = &g + (g ? g-g : 0);
/* HPUX 7.0 cc rejects these. */
- ++pcpcc;
- ppc = (char**) pcpcc;
- pcpcc = (char const *const *) ppc;
+ ++ccp;
+ p = (char**) ccp;
+ ccp = (char const *const *) p;
{ /* SCO 3.2v4 cc rejects this. */
char *t;
char const *s = 0 ? (char *) 0 : (char const *) 0;
@@ -7856,7 +8081,7 @@ main ()
const int foo = 10;
if (!foo) return 0;
}
- return !cs[0] && !zero.x;
+ return !x[0] && !zero.x;
#endif
;
@@ -7876,10 +8101,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_c_const=yes
else
echo "$as_me: failed program was:" >&5
@@ -7944,10 +8186,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
eval "$as_ac_Header=yes"
else
echo "$as_me: failed program was:" >&5
@@ -8020,11 +8279,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_search_opendir=$ac_res
else
echo "$as_me: failed program was:" >&5
@@ -8033,7 +8308,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
if test "${ac_cv_search_opendir+set}" = set; then
break
@@ -8104,11 +8379,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_search_opendir=$ac_res
else
echo "$as_me: failed program was:" >&5
@@ -8117,7 +8408,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
if test "${ac_cv_search_opendir+set}" = set; then
break
@@ -8180,10 +8471,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_header_compiler=yes
else
echo "$as_me: failed program was:" >&5
@@ -8219,10 +8527,17 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
@@ -8258,9 +8573,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
-## ----------------------------------- ##
-## Report this to llvmbugs@cs.uiuc.edu ##
-## ----------------------------------- ##
+## ------------------------------------ ##
+## Report this to http://llvm.org/bugs/ ##
+## ------------------------------------ ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
;;
@@ -8292,7 +8607,9 @@ if test "${enable_ltdl_install+set}" = set; then
fi
- if test x"${enable_ltdl_install-no}" != xno; then
+
+
+if test x"${enable_ltdl_install-no}" != xno; then
INSTALL_LTDL_TRUE=
INSTALL_LTDL_FALSE='#'
else
@@ -8300,7 +8617,9 @@ else
INSTALL_LTDL_FALSE=
fi
- if test x"${enable_ltdl_convenience-no}" != xno; then
+
+
+if test x"${enable_ltdl_convenience-no}" != xno; then
CONVENIENCE_LTDL_TRUE=
CONVENIENCE_LTDL_FALSE='#'
else
@@ -8512,7 +8831,7 @@ dgux*)
shlibpath_var=LD_LIBRARY_PATH
;;
-freebsd1*)
+freebsd1.*)
dynamic_linker=no
;;
@@ -8535,7 +8854,7 @@ freebsd* | dragonfly*)
objformat=`/usr/bin/objformat`
else
case $host_os in
- freebsd[123]*) objformat=aout ;;
+ freebsd[123].*) objformat=aout ;;
*) objformat=elf ;;
esac
fi
@@ -8553,7 +8872,7 @@ freebsd* | dragonfly*)
esac
shlibpath_var=LD_LIBRARY_PATH
case $host_os in
- freebsd2*)
+ freebsd2.*)
shlibpath_overrides_runpath=yes
;;
freebsd3.[01]* | freebsdelf3.[01]*)
@@ -9312,11 +9631,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_func_shl_load=yes
else
echo "$as_me: failed program was:" >&5
@@ -9325,7 +9660,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_func_shl_load=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
@@ -9379,11 +9714,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_lib_dld_shl_load=yes
else
echo "$as_me: failed program was:" >&5
@@ -9392,7 +9743,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_dld_shl_load=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
@@ -9448,11 +9799,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_lib_dl_dlopen=yes
else
echo "$as_me: failed program was:" >&5
@@ -9461,7 +9828,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_dl_dlopen=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
@@ -9506,11 +9873,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
cat >>confdefs.h <<\_ACEOF
#define HAVE_LIBDL 1
@@ -9562,11 +9945,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_lib_svld_dlopen=yes
else
echo "$as_me: failed program was:" >&5
@@ -9575,7 +9974,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_svld_dlopen=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
@@ -9631,11 +10030,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_lib_dld_dld_link=yes
else
echo "$as_me: failed program was:" >&5
@@ -9644,7 +10059,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_dld_dld_link=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
@@ -9721,11 +10136,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_func__dyld_func_lookup=yes
else
echo "$as_me: failed program was:" >&5
@@ -9734,7 +10165,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_func__dyld_func_lookup=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
{ echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
@@ -9756,7 +10187,7 @@ fi
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
@@ -9839,11 +10270,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
@@ -9852,7 +10299,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
eval "$as_ac_var=no"
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
ac_res=`eval echo '${'$as_ac_var'}'`
@@ -9939,7 +10386,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_header_compiler=yes
else
echo "$as_me: failed program was:" >&5
@@ -10207,10 +10671,17 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
@@ -10246,9 +10717,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
-## ----------------------------------- ##
-## Report this to llvmbugs@cs.uiuc.edu ##
-## ----------------------------------- ##
+## ------------------------------------ ##
+## Report this to http://llvm.org/bugs/ ##
+## ------------------------------------ ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
;;
@@ -10315,10 +10786,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_type_error_t=yes
else
echo "$as_me: failed program was:" >&5
@@ -10418,11 +10906,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
@@ -10431,7 +10935,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
eval "$as_ac_var=no"
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
ac_res=`eval echo '${'$as_ac_var'}'`
@@ -10511,10 +11015,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_header_compiler=yes
else
echo "$as_me: failed program was:" >&5
@@ -10550,10 +11071,17 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
@@ -10589,9 +11117,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
-## ----------------------------------- ##
-## Report this to llvmbugs@cs.uiuc.edu ##
-## ----------------------------------- ##
+## ------------------------------------ ##
+## Report this to http://llvm.org/bugs/ ##
+## ------------------------------------ ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
;;
@@ -10659,10 +11187,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_header_compiler=yes
else
echo "$as_me: failed program was:" >&5
@@ -10698,10 +11243,17 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
@@ -10737,9 +11289,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
-## ----------------------------------- ##
-## Report this to llvmbugs@cs.uiuc.edu ##
-## ----------------------------------- ##
+## ------------------------------------ ##
+## Report this to http://llvm.org/bugs/ ##
+## ------------------------------------ ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
;;
@@ -10805,10 +11357,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_header_compiler=yes
else
echo "$as_me: failed program was:" >&5
@@ -10844,10 +11413,17 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
@@ -10883,9 +11459,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
-## ----------------------------------- ##
-## Report this to llvmbugs@cs.uiuc.edu ##
-## ----------------------------------- ##
+## ------------------------------------ ##
+## Report this to http://llvm.org/bugs/ ##
+## ------------------------------------ ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
;;
@@ -10980,11 +11556,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
@@ -10993,7 +11585,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
eval "$as_ac_var=no"
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
ac_res=`eval echo '${'$as_ac_var'}'`
@@ -11075,11 +11667,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
@@ -11088,7 +11696,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
eval "$as_ac_var=no"
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
ac_res=`eval echo '${'$as_ac_var'}'`
@@ -11170,11 +11778,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
@@ -11183,7 +11807,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
eval "$as_ac_var=no"
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
ac_res=`eval echo '${'$as_ac_var'}'`
@@ -11265,11 +11889,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
@@ -11278,7 +11918,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
eval "$as_ac_var=no"
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
ac_res=`eval echo '${'$as_ac_var'}'`
@@ -11361,11 +12001,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
@@ -11374,7 +12030,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
eval "$as_ac_var=no"
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
ac_res=`eval echo '${'$as_ac_var'}'`
@@ -11439,10 +12095,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
:
else
echo "$as_me: failed program was:" >&5
@@ -11468,12 +12141,14 @@ echo "${ECHO_T}ok" >&6; }
{ echo "$as_me:$LINENO: checking optional compiler flags" >&5
echo $ECHO_N "checking optional compiler flags... $ECHO_C" >&6; }
-NO_VARIADIC_MACROS=`$CXX -Wno-variadic-macros -fsyntax-only -xc /dev/null 2>/dev/null && echo -Wno-variadic-macros`
+NO_VARIADIC_MACROS=`$CXX -Werror -Wno-variadic-macros -fsyntax-only -xc /dev/null 2>/dev/null && echo -Wno-variadic-macros`
-NO_MISSING_FIELD_INITIALIZERS=`$CXX -Wno-missing-field-initializers -fsyntax-only -xc /dev/null 2>/dev/null && echo -Wno-missing-field-initializers`
+NO_MISSING_FIELD_INITIALIZERS=`$CXX -Werror -Wno-missing-field-initializers -fsyntax-only -xc /dev/null 2>/dev/null && echo -Wno-missing-field-initializers`
-{ echo "$as_me:$LINENO: result: $NO_VARIADIC_MACROS $NO_MISSING_FIELD_INITIALIZERS" >&5
-echo "${ECHO_T}$NO_VARIADIC_MACROS $NO_MISSING_FIELD_INITIALIZERS" >&6; }
+COVERED_SWITCH_DEFAULT=`$CXX -Werror -Wcovered-switch-default -fsyntax-only -xc /dev/null 2>/dev/null && echo -Wcovered-switch-default`
+
+{ echo "$as_me:$LINENO: result: $NO_VARIADIC_MACROS $NO_MISSING_FIELD_INITIALIZERS $COVERED_SWITCH_DEFAULT" >&5
+echo "${ECHO_T}$NO_VARIADIC_MACROS $NO_MISSING_FIELD_INITIALIZERS $COVERED_SWITCH_DEFAULT" >&6; }
@@ -11519,11 +12194,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_lib_m_sin=yes
else
echo "$as_me: failed program was:" >&5
@@ -11532,7 +12223,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_m_sin=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
@@ -11585,11 +12276,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_lib_imagehlp_main=yes
else
echo "$as_me: failed program was:" >&5
@@ -11598,7 +12305,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_imagehlp_main=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
@@ -11650,11 +12357,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_lib_psapi_main=yes
else
echo "$as_me: failed program was:" >&5
@@ -11663,7 +12386,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_psapi_main=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
@@ -11728,11 +12451,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_search_dlopen=$ac_res
else
echo "$as_me: failed program was:" >&5
@@ -11741,7 +12480,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
if test "${ac_cv_search_dlopen+set}" = set; then
break
@@ -11820,11 +12559,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_search_ffi_call=$ac_res
else
echo "$as_me: failed program was:" >&5
@@ -11833,7 +12588,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
if test "${ac_cv_search_ffi_call+set}" = set; then
break
@@ -11913,11 +12668,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_search_mallinfo=$ac_res
else
echo "$as_me: failed program was:" >&5
@@ -11926,7 +12697,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
if test "${ac_cv_search_mallinfo+set}" = set; then
break
@@ -11953,7 +12724,7 @@ _ACEOF
fi
-if test "$ENABLE_THREADS" -eq 1 && test "$ENABLE_PTHREADS" -eq 1 ; then
+if test "$LLVM_ENABLE_THREADS" -eq 1 && test "$ENABLE_PTHREADS" -eq 1 ; then
{ echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
@@ -11997,11 +12768,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_lib_pthread_pthread_mutex_init=yes
else
echo "$as_me: failed program was:" >&5
@@ -12010,7 +12797,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_pthread_pthread_mutex_init=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
@@ -12073,11 +12860,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_search_pthread_mutex_lock=$ac_res
else
echo "$as_me: failed program was:" >&5
@@ -12086,7 +12889,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
if test "${ac_cv_search_pthread_mutex_lock+set}" = set; then
break
@@ -12160,11 +12963,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_search_pthread_rwlock_init=$ac_res
else
echo "$as_me: failed program was:" >&5
@@ -12173,7 +12992,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
if test "${ac_cv_search_pthread_rwlock_init+set}" = set; then
break
@@ -12247,11 +13066,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_search_pthread_getspecific=$ac_res
else
echo "$as_me: failed program was:" >&5
@@ -12260,7 +13095,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
if test "${ac_cv_search_pthread_getspecific+set}" = set; then
break
@@ -12341,11 +13176,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_lib_udis86_ud_init=yes
else
echo "$as_me: failed program was:" >&5
@@ -12354,7 +13205,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_udis86_ud_init=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
@@ -12400,9 +13251,11 @@ if test "${with_oprofile+set}" = set; then
*) llvm_cv_oppath="${withval}/lib/oprofile"
CPPFLAGS="-I${withval}/include";;
esac
- if test -n "$llvm_cv_oppath" ; then
- LIBS="$LIBS -L${llvm_cv_oppath} -Wl,-rpath,${llvm_cv_oppath}"
- { echo "$as_me:$LINENO: checking for library containing bfd_init" >&5
+ case $llvm_cv_os_type in
+ Linux)
+ if test -n "$llvm_cv_oppath" ; then
+ LIBS="$LIBS -lopagent -L${llvm_cv_oppath} -Wl,-rpath,${llvm_cv_oppath}"
+ { echo "$as_me:$LINENO: checking for library containing bfd_init" >&5
echo $ECHO_N "checking for library containing bfd_init... $ECHO_C" >&6; }
if test "${ac_cv_search_bfd_init+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -12450,11 +13303,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_search_bfd_init=$ac_res
else
echo "$as_me: failed program was:" >&5
@@ -12463,7 +13332,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
if test "${ac_cv_search_bfd_init+set}" = set; then
break
@@ -12485,7 +13354,7 @@ if test "$ac_res" != no; then
fi
- { echo "$as_me:$LINENO: checking for library containing op_open_agent" >&5
+ { echo "$as_me:$LINENO: checking for library containing op_open_agent" >&5
echo $ECHO_N "checking for library containing op_open_agent... $ECHO_C" >&6; }
if test "${ac_cv_search_op_open_agent+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -12533,11 +13402,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_search_op_open_agent=$ac_res
else
echo "$as_me: failed program was:" >&5
@@ -12546,7 +13431,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
if test "${ac_cv_search_op_open_agent+set}" = set; then
break
@@ -12568,12 +13453,12 @@ if test "$ac_res" != no; then
else
- echo "Error! You need to have libopagent around."
- exit -1
+ echo "Error! You need to have libopagent around."
+ exit -1
fi
- if test "${ac_cv_header_opagent_h+set}" = set; then
+ if test "${ac_cv_header_opagent_h+set}" = set; then
{ echo "$as_me:$LINENO: checking for opagent.h" >&5
echo $ECHO_N "checking for opagent.h... $ECHO_C" >&6; }
if test "${ac_cv_header_opagent_h+set}" = set; then
@@ -12607,10 +13492,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_header_compiler=yes
else
echo "$as_me: failed program was:" >&5
@@ -12646,10 +13548,17 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
@@ -12685,9 +13594,9 @@ echo "$as_me: WARNING: opagent.h: proceeding with the preprocessor's result" >&2
{ echo "$as_me:$LINENO: WARNING: opagent.h: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: opagent.h: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
-## ----------------------------------- ##
-## Report this to llvmbugs@cs.uiuc.edu ##
-## ----------------------------------- ##
+## ------------------------------------ ##
+## Report this to http://llvm.org/bugs/ ##
+## ------------------------------------ ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
;;
@@ -12707,13 +13616,18 @@ if test $ac_cv_header_opagent_h = yes; then
:
else
- echo "Error! You need to have opagent.h around."
- exit -1
+ echo "Error! You need to have opagent.h around."
+ exit -1
fi
- fi
+ fi ;;
+ *)
+ { { echo "$as_me:$LINENO: error: OProfile support is available on Linux only." >&5
+echo "$as_me: error: OProfile support is available on Linux only." >&2;}
+ { (exit 1); exit 1; }; } ;;
+ esac
else
@@ -12724,7 +13638,326 @@ fi
cat >>confdefs.h <<_ACEOF
-#define USE_OPROFILE $USE_OPROFILE
+#define LLVM_USE_OPROFILE $USE_OPROFILE
+_ACEOF
+
+
+
+# Check whether --with-intel-jitevents was given.
+if test "${with_intel_jitevents+set}" = set; then
+ withval=$with_intel_jitevents;
+ case $llvm_cv_os_type in
+ Linux|Win32|Cygwin|MingW) ;;
+ *)
+ { { echo "$as_me:$LINENO: error:
+ Intel JIT API support is available on Linux and Windows only.\"" >&5
+echo "$as_me: error:
+ Intel JIT API support is available on Linux and Windows only.\"" >&2;}
+ { (exit 1); exit 1; }; } ;;
+ esac
+
+ USE_INTEL_JITEVENTS=1
+
+ case "$llvm_cv_target_arch" in
+ x86) llvm_intel_jitevents_archdir="lib32";;
+ x86_64) llvm_intel_jitevents_archdir="lib64";;
+ *) echo "Target architecture $llvm_cv_target_arch does not support Intel JIT Events API"
+ exit -1;;
+ esac
+ INTEL_JITEVENTS_INCDIR="/opt/intel/vtune_amplifier_xe_2011/include"
+ INTEL_JITEVENTS_LIBDIR="/opt/intel/vtune_amplifier_xe_2011/$llvm_intel_jitevents_archdir"
+ case "$withval" in
+ /* | [A-Za-z]:[\\/]*) INTEL_JITEVENTS_INCDIR=$withval/include
+ INTEL_JITEVENTS_LIBDIR=$withval/$llvm_intel_jitevents_archdir ;;
+ *) ;;
+ esac
+
+
+
+
+ LIBS="$LIBS -L${INTEL_JITEVENTS_LIBDIR}"
+ CPPFLAGS="$CPPFLAGS -I$INTEL_JITEVENTS_INCDIR"
+
+ { echo "$as_me:$LINENO: checking for library containing iJIT_IsProfilingActive" >&5
+echo $ECHO_N "checking for library containing iJIT_IsProfilingActive... $ECHO_C" >&6; }
+if test "${ac_cv_search_iJIT_IsProfilingActive+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_func_search_save_LIBS=$LIBS
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char iJIT_IsProfilingActive ();
+int
+main ()
+{
+return iJIT_IsProfilingActive ();
+ ;
+ return 0;
+}
+_ACEOF
+for ac_lib in '' jitprofiling; do
+ if test -z "$ac_lib"; then
+ ac_res="none required"
+ else
+ ac_res=-l$ac_lib
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_search_iJIT_IsProfilingActive=$ac_res
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext
+ if test "${ac_cv_search_iJIT_IsProfilingActive+set}" = set; then
+ break
+fi
+done
+if test "${ac_cv_search_iJIT_IsProfilingActive+set}" = set; then
+ :
+else
+ ac_cv_search_iJIT_IsProfilingActive=no
+fi
+rm conftest.$ac_ext
+LIBS=$ac_func_search_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_search_iJIT_IsProfilingActive" >&5
+echo "${ECHO_T}$ac_cv_search_iJIT_IsProfilingActive" >&6; }
+ac_res=$ac_cv_search_iJIT_IsProfilingActive
+if test "$ac_res" != no; then
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
+
+else
+
+ echo "Error! Cannot find libjitprofiling.a. Please check path specified in flag --with-intel-jitevents"
+ exit -1
+
+fi
+
+ if test "${ac_cv_header_jitprofiling_h+set}" = set; then
+ { echo "$as_me:$LINENO: checking for jitprofiling.h" >&5
+echo $ECHO_N "checking for jitprofiling.h... $ECHO_C" >&6; }
+if test "${ac_cv_header_jitprofiling_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_jitprofiling_h" >&5
+echo "${ECHO_T}$ac_cv_header_jitprofiling_h" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking jitprofiling.h usability" >&5
+echo $ECHO_N "checking jitprofiling.h usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking jitprofiling.h presence" >&5
+echo $ECHO_N "checking jitprofiling.h presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: jitprofiling.h: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: jitprofiling.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: jitprofiling.h: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: jitprofiling.h: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: jitprofiling.h: present but cannot be compiled" >&5
+echo "$as_me: WARNING: jitprofiling.h: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: jitprofiling.h: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: jitprofiling.h: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: jitprofiling.h: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: jitprofiling.h: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: jitprofiling.h: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: jitprofiling.h: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: jitprofiling.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: jitprofiling.h: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: jitprofiling.h: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: jitprofiling.h: in the future, the compiler will take precedence" >&2;}
+ ( cat <<\_ASBOX
+## ------------------------------------ ##
+## Report this to http://llvm.org/bugs/ ##
+## ------------------------------------ ##
+_ASBOX
+ ) | sed "s/^/$as_me: WARNING: /" >&2
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for jitprofiling.h" >&5
+echo $ECHO_N "checking for jitprofiling.h... $ECHO_C" >&6; }
+if test "${ac_cv_header_jitprofiling_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_cv_header_jitprofiling_h=$ac_header_preproc
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_jitprofiling_h" >&5
+echo "${ECHO_T}$ac_cv_header_jitprofiling_h" >&6; }
+
+fi
+if test $ac_cv_header_jitprofiling_h = yes; then
+ :
+else
+
+ echo "Error! Cannot find jitprofiling.h. Please check path specified in flag --with-intel-jitevents"
+ exit -1
+
+fi
+
+
+
+
+else
+
+ USE_INTEL_JITEVENTS=0
+
+
+fi
+
+
+cat >>confdefs.h <<_ACEOF
+#define LLVM_USE_INTEL_JITEVENTS $USE_INTEL_JITEVENTS
_ACEOF
@@ -12773,10 +14006,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
eval "$as_ac_Header=yes"
else
echo "$as_me: failed program was:" >&5
@@ -12849,11 +14099,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_search_opendir=$ac_res
else
echo "$as_me: failed program was:" >&5
@@ -12862,7 +14128,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
if test "${ac_cv_search_opendir+set}" = set; then
break
@@ -12933,11 +14199,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_search_opendir=$ac_res
else
echo "$as_me: failed program was:" >&5
@@ -12946,7 +14228,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext
if test "${ac_cv_search_opendir+set}" = set; then
break
@@ -13011,10 +14293,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_header_mmap_anon=yes
else
echo "$as_me: failed program was:" >&5
@@ -13057,48 +14356,38 @@ cat >>conftest.$ac_ext <<_ACEOF
#include
#if defined S_ISBLK && defined S_IFDIR
-extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
+# if S_ISBLK (S_IFDIR)
+You lose.
+# endif
#endif
#if defined S_ISBLK && defined S_IFCHR
-extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
+# if S_ISBLK (S_IFCHR)
+You lose.
+# endif
#endif
#if defined S_ISLNK && defined S_IFREG
-extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
+# if S_ISLNK (S_IFREG)
+You lose.
+# endif
#endif
#if defined S_ISSOCK && defined S_IFREG
-extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
+# if S_ISSOCK (S_IFREG)
+You lose.
+# endif
#endif
_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- ac_cv_header_stat_broken=no
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "You lose" >/dev/null 2>&1; then
+ ac_cv_header_stat_broken=yes
else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_cv_header_stat_broken=yes
+ ac_cv_header_stat_broken=no
fi
+rm -f conftest*
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
{ echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
@@ -13153,10 +14442,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_header_sys_wait_h=yes
else
echo "$as_me: failed program was:" >&5
@@ -13214,10 +14520,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_header_time=yes
else
echo "$as_me: failed program was:" >&5
@@ -13283,10 +14606,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_header_compiler=yes
else
echo "$as_me: failed program was:" >&5
@@ -13322,10 +14662,17 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
@@ -13361,9 +14708,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
-## ----------------------------------- ##
-## Report this to llvmbugs@cs.uiuc.edu ##
-## ----------------------------------- ##
+## ------------------------------------ ##
+## Report this to http://llvm.org/bugs/ ##
+## ------------------------------------ ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
;;
@@ -13433,10 +14780,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_header_compiler=yes
else
echo "$as_me: failed program was:" >&5
@@ -13472,10 +14836,17 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
@@ -13511,9 +14882,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
-## ----------------------------------- ##
-## Report this to llvmbugs@cs.uiuc.edu ##
-## ----------------------------------- ##
+## ------------------------------------ ##
+## Report this to http://llvm.org/bugs/ ##
+## ------------------------------------ ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
;;
@@ -13579,10 +14950,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_header_compiler=yes
else
echo "$as_me: failed program was:" >&5
@@ -13618,10 +15006,17 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
@@ -13657,9 +15052,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
-## ----------------------------------- ##
-## Report this to llvmbugs@cs.uiuc.edu ##
-## ----------------------------------- ##
+## ------------------------------------ ##
+## Report this to http://llvm.org/bugs/ ##
+## ------------------------------------ ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
;;
@@ -13728,10 +15123,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_header_compiler=yes
else
echo "$as_me: failed program was:" >&5
@@ -13767,10 +15179,17 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
@@ -13806,9 +15225,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
-## ----------------------------------- ##
-## Report this to llvmbugs@cs.uiuc.edu ##
-## ----------------------------------- ##
+## ------------------------------------ ##
+## Report this to http://llvm.org/bugs/ ##
+## ------------------------------------ ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
;;
@@ -13876,10 +15295,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_header_compiler=yes
else
echo "$as_me: failed program was:" >&5
@@ -13915,10 +15351,17 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
@@ -13954,9 +15397,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
-## ----------------------------------- ##
-## Report this to llvmbugs@cs.uiuc.edu ##
-## ----------------------------------- ##
+## ------------------------------------ ##
+## Report this to http://llvm.org/bugs/ ##
+## ------------------------------------ ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
;;
@@ -14021,10 +15464,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_header_compiler=yes
else
echo "$as_me: failed program was:" >&5
@@ -14060,10 +15520,17 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
@@ -14099,9 +15566,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
-## ----------------------------------- ##
-## Report this to llvmbugs@cs.uiuc.edu ##
-## ----------------------------------- ##
+## ------------------------------------ ##
+## Report this to http://llvm.org/bugs/ ##
+## ------------------------------------ ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
;;
@@ -14166,10 +15633,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_header_compiler=yes
else
echo "$as_me: failed program was:" >&5
@@ -14205,10 +15689,17 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
@@ -14244,9 +15735,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
-## ----------------------------------- ##
-## Report this to llvmbugs@cs.uiuc.edu ##
-## ----------------------------------- ##
+## ------------------------------------ ##
+## Report this to http://llvm.org/bugs/ ##
+## ------------------------------------ ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
;;
@@ -14272,7 +15763,7 @@ fi
done
-if test "$ENABLE_THREADS" -eq 1 && test "$ENABLE_PTHREADS" -eq 1 ; then
+if test "$LLVM_ENABLE_THREADS" -eq 1 && test "$ENABLE_PTHREADS" -eq 1 ; then
for ac_header in pthread.h
do
@@ -14312,10 +15803,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_header_compiler=yes
else
echo "$as_me: failed program was:" >&5
@@ -14351,10 +15859,17 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
@@ -14390,9 +15905,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
-## ----------------------------------- ##
-## Report this to llvmbugs@cs.uiuc.edu ##
-## ----------------------------------- ##
+## ------------------------------------ ##
+## Report this to http://llvm.org/bugs/ ##
+## ------------------------------------ ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
;;
@@ -14468,10 +15983,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_header_compiler=yes
else
echo "$as_me: failed program was:" >&5
@@ -14507,10 +16039,17 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
@@ -14546,9 +16085,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
-## ----------------------------------- ##
-## Report this to llvmbugs@cs.uiuc.edu ##
-## ----------------------------------- ##
+## ------------------------------------ ##
+## Report this to http://llvm.org/bugs/ ##
+## ------------------------------------ ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
;;
@@ -14615,10 +16154,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_header_compiler=yes
else
echo "$as_me: failed program was:" >&5
@@ -14654,10 +16210,17 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
@@ -14693,9 +16256,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
-## ----------------------------------- ##
-## Report this to llvmbugs@cs.uiuc.edu ##
-## ----------------------------------- ##
+## ------------------------------------ ##
+## Report this to http://llvm.org/bugs/ ##
+## ------------------------------------ ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
;;
@@ -14750,11 +16313,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
@@ -14775,7 +16354,7 @@ _ACEOF
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -14794,7 +16373,7 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
ac_save_CXXFLAGS=$CXXFLAGS
- CXXFLAGS=-pedantic
+ CXXFLAGS="$CXXFLAGS -pedantic"
if test "$cross_compiling" = yes; then
ac_cv_huge_val_sanity=yes
else
@@ -14897,10 +16476,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_type_pid_t=yes
else
echo "$as_me: failed program was:" >&5
@@ -14960,10 +16556,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_type_size_t=yes
else
echo "$as_me: failed program was:" >&5
@@ -15008,9 +16621,7 @@ cat >>conftest.$ac_ext <<_ACEOF
int
main ()
{
-struct tm tm;
- int *p = &tm.tm_sec;
- return !p;
+struct tm *tp; tp->tm_sec;
;
return 0;
}
@@ -15028,10 +16639,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_struct_tm=time.h
else
echo "$as_me: failed program was:" >&5
@@ -15089,10 +16717,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_type_int64_t=yes
else
echo "$as_me: failed program was:" >&5
@@ -15155,10 +16800,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_type_uint64_t=yes
else
echo "$as_me: failed program was:" >&5
@@ -15216,10 +16878,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_type_u_int64_t=yes
else
echo "$as_me: failed program was:" >&5
@@ -15322,11 +17001,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
@@ -15335,7 +17030,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
eval "$as_ac_var=no"
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
ac_res=`eval echo '${'$as_ac_var'}'`
@@ -15419,11 +17114,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
@@ -15432,7 +17143,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
eval "$as_ac_var=no"
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
ac_res=`eval echo '${'$as_ac_var'}'`
@@ -15517,11 +17228,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
@@ -15530,7 +17257,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
eval "$as_ac_var=no"
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
ac_res=`eval echo '${'$as_ac_var'}'`
@@ -15613,11 +17340,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
@@ -15626,7 +17369,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
eval "$as_ac_var=no"
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
ac_res=`eval echo '${'$as_ac_var'}'`
@@ -15646,7 +17389,8 @@ done
-for ac_func in mktemp posix_spawn realpath sbrk setrlimit strdup
+
+for ac_func in mktemp posix_spawn pread realpath sbrk setrlimit strdup
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
@@ -15712,11 +17456,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
@@ -15725,7 +17485,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
eval "$as_ac_var=no"
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
ac_res=`eval echo '${'$as_ac_var'}'`
@@ -15808,11 +17568,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
@@ -15821,7 +17597,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
eval "$as_ac_var=no"
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
ac_res=`eval echo '${'$as_ac_var'}'`
@@ -15905,11 +17681,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
@@ -15918,7 +17710,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
eval "$as_ac_var=no"
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
ac_res=`eval echo '${'$as_ac_var'}'`
@@ -16003,11 +17795,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
@@ -16016,7 +17824,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
eval "$as_ac_var=no"
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
ac_res=`eval echo '${'$as_ac_var'}'`
@@ -16164,10 +17972,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_func_rand48=yes
else
echo "$as_me: failed program was:" >&5
@@ -16212,7 +18037,8 @@ int
main ()
{
#ifndef strerror_s
- (void) strerror_s;
+ char *p = (char *) strerror_s;
+ return !p;
#endif
;
@@ -16232,10 +18058,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_have_decl_strerror_s=yes
else
echo "$as_me: failed program was:" >&5
@@ -16308,11 +18151,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_lib_gcc__alloca=yes
else
echo "$as_me: failed program was:" >&5
@@ -16321,7 +18180,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_gcc__alloca=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
@@ -16377,11 +18236,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_lib_gcc___alloca=yes
else
echo "$as_me: failed program was:" >&5
@@ -16390,7 +18265,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_gcc___alloca=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
@@ -16446,11 +18321,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_lib_gcc___chkstk=yes
else
echo "$as_me: failed program was:" >&5
@@ -16459,7 +18350,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_gcc___chkstk=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
@@ -16515,11 +18406,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_lib_gcc____chkstk=yes
else
echo "$as_me: failed program was:" >&5
@@ -16528,7 +18435,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_gcc____chkstk=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
@@ -16585,11 +18492,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_lib_gcc___ashldi3=yes
else
echo "$as_me: failed program was:" >&5
@@ -16598,7 +18521,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_gcc___ashldi3=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
@@ -16654,11 +18577,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_lib_gcc___ashrdi3=yes
else
echo "$as_me: failed program was:" >&5
@@ -16667,7 +18606,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_gcc___ashrdi3=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
@@ -16723,11 +18662,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_lib_gcc___divdi3=yes
else
echo "$as_me: failed program was:" >&5
@@ -16736,7 +18691,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_gcc___divdi3=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
@@ -16792,11 +18747,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_lib_gcc___fixdfdi=yes
else
echo "$as_me: failed program was:" >&5
@@ -16805,7 +18776,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_gcc___fixdfdi=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
@@ -16861,11 +18832,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_lib_gcc___fixsfdi=yes
else
echo "$as_me: failed program was:" >&5
@@ -16874,7 +18861,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_gcc___fixsfdi=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
@@ -16930,11 +18917,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_lib_gcc___floatdidf=yes
else
echo "$as_me: failed program was:" >&5
@@ -16943,7 +18946,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_gcc___floatdidf=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
@@ -16999,11 +19002,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_lib_gcc___lshrdi3=yes
else
echo "$as_me: failed program was:" >&5
@@ -17012,7 +19031,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_gcc___lshrdi3=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
@@ -17068,11 +19087,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_lib_gcc___moddi3=yes
else
echo "$as_me: failed program was:" >&5
@@ -17081,7 +19116,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_gcc___moddi3=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
@@ -17137,11 +19172,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_lib_gcc___udivdi3=yes
else
echo "$as_me: failed program was:" >&5
@@ -17150,7 +19201,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_gcc___udivdi3=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
@@ -17206,11 +19257,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_lib_gcc___umoddi3=yes
else
echo "$as_me: failed program was:" >&5
@@ -17219,7 +19286,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_gcc___umoddi3=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
@@ -17276,11 +19343,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_lib_gcc___main=yes
else
echo "$as_me: failed program was:" >&5
@@ -17289,7 +19372,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_gcc___main=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
@@ -17345,11 +19428,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_lib_gcc___cmpdi2=yes
else
echo "$as_me: failed program was:" >&5
@@ -17358,7 +19457,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
ac_cv_lib_gcc___cmpdi2=no
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
@@ -17396,10 +19495,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
@@ -17464,10 +19580,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_func_isnan_in_math_h=yes
else
echo "$as_me: failed program was:" >&5
@@ -17535,10 +19668,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_func_isnan_in_cmath=yes
else
echo "$as_me: failed program was:" >&5
@@ -17605,10 +19755,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_func_std_isnan_in_cmath=yes
else
echo "$as_me: failed program was:" >&5
@@ -17676,10 +19843,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_func_isinf_in_math_h=yes
else
echo "$as_me: failed program was:" >&5
@@ -17746,10 +19930,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_func_isinf_in_cmath=yes
else
echo "$as_me: failed program was:" >&5
@@ -17798,7 +19999,7 @@ cat >>conftest.$ac_ext <<_ACEOF
int
main ()
{
-float f; std::isinf(f)}
+float f; std::isinf(f);
;
return 0;
}
@@ -17816,10 +20017,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_func_std_isinf_in_cmath=yes
else
echo "$as_me: failed program was:" >&5
@@ -17886,10 +20104,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_cv_func_finite_in_ieeefp_h=yes
else
echo "$as_me: failed program was:" >&5
@@ -17960,10 +20195,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_header_compiler=yes
else
echo "$as_me: failed program was:" >&5
@@ -17999,10 +20251,17 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } >/dev/null && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then
+ (exit $ac_status); } >/dev/null; then
+ if test -s conftest.err; then
+ ac_cpp_err=$ac_c_preproc_warn_flag
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
+ else
+ ac_cpp_err=
+ fi
+else
+ ac_cpp_err=yes
+fi
+if test -z "$ac_cpp_err"; then
ac_header_preproc=yes
else
echo "$as_me: failed program was:" >&5
@@ -18038,9 +20297,9 @@ echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
-## ----------------------------------- ##
-## Report this to llvmbugs@cs.uiuc.edu ##
-## ----------------------------------- ##
+## ------------------------------------ ##
+## Report this to http://llvm.org/bugs/ ##
+## ------------------------------------ ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
;;
@@ -18133,11 +20392,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
@@ -18146,7 +20421,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
eval "$as_ac_var=no"
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
ac_res=`eval echo '${'$as_ac_var'}'`
@@ -18203,21 +20478,21 @@ $ac_includes_default
#include
#include
-#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
+#if !STDC_HEADERS && !HAVE_STDLIB_H
char *malloc ();
#endif
/* This mess was copied from the GNU getpagesize.h. */
-#ifndef HAVE_GETPAGESIZE
+#if !HAVE_GETPAGESIZE
/* Assume that all systems that can run configure have sys/param.h. */
-# ifndef HAVE_SYS_PARAM_H
+# if !HAVE_SYS_PARAM_H
# define HAVE_SYS_PARAM_H 1
# endif
# ifdef _SC_PAGESIZE
# define getpagesize() sysconf(_SC_PAGESIZE)
# else /* no _SC_PAGESIZE */
-# ifdef HAVE_SYS_PARAM_H
+# if HAVE_SYS_PARAM_H
# include
# ifdef EXEC_PAGESIZE
# define getpagesize() EXEC_PAGESIZE
@@ -18509,11 +20784,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -18542,7 +20833,7 @@ _ACEOF
echo "$as_me: WARNING: LLVM will be built thread-unsafe because atomic builtins are missing" >&2;}
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -18589,10 +20880,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
llvm_cv_linux_mixed=no
else
echo "$as_me: failed program was:" >&5
@@ -18686,11 +20994,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
@@ -18699,7 +21023,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
eval "$as_ac_var=no"
fi
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
ac_res=`eval echo '${'$as_ac_var'}'`
@@ -18720,9 +21044,6 @@ SHLIBEXT=$libltdl_cv_shlibext
SHLIBPATH_VAR=$libltdl_cv_shlibpath_var
-# Translate the various configuration directories and other basic
-# information into substitutions that will end up in Makefile.config.in
-# that these configured values can be used by the makefiles
if test "${prefix}" = "NONE" ; then
prefix="/usr/local"
fi
@@ -18747,8 +21068,10 @@ LLVM_CONFIGTIME=`date`
-# Place the various directores into the config.h file as #defines so that we
-# can know about the installation paths within LLVM.
+if test "${ENABLE_TIMESTAMPS}" = "0"; then
+ LLVM_CONFIGTIME="(timestamp not enabled)"
+fi
+
cat >>confdefs.h <<_ACEOF
#define LLVM_PREFIX "$LLVM_PREFIX"
@@ -18801,11 +21124,10 @@ _ACEOF
cat >>confdefs.h <<_ACEOF
-#define LLVM_HOSTTRIPLE "$host"
+#define LLVM_DEFAULT_TARGET_TRIPLE "$target"
_ACEOF
-# Determine which bindings to build.
if test "$BINDINGS_TO_BUILD" = auto ; then
BINDINGS_TO_BUILD=""
if test "x$OCAMLC" != x -a "x$OCAMLDEP" != x ; then
@@ -18815,12 +21137,9 @@ fi
BINDINGS_TO_BUILD=$BINDINGS_TO_BUILD
-# This isn't really configurey, but it avoids having to repeat the list in
-# other files.
ALL_BINDINGS=ocaml
-# Do any work necessary to ensure that bindings have what they need.
binding_prereqs_failed=0
for a_binding in $BINDINGS_TO_BUILD ; do
case "$a_binding" in
@@ -18876,18 +21195,18 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
oldcxxflags="$CXXFLAGS"
- CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
+ CXXFLAGS="$CXXFLAGS -O0 -fvisibility-inlines-hidden -Werror"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-
+template struct X { void __attribute__((noinline)) f() {} };
int
main ()
{
-
+X().f();
;
return 0;
}
@@ -18905,10 +21224,27 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
llvm_cv_cxx_visibility_inlines_hidden=yes
else
echo "$as_me: failed program was:" >&5
@@ -18979,14 +21315,19 @@ ac_config_files="$ac_config_files llvm.spec"
ac_config_files="$ac_config_files docs/doxygen.cfg"
-if test -f ${srcdir}/tools/clang/README.txt; then
- ac_config_files="$ac_config_files tools/clang/docs/doxygen.cfg"
+
+if test "${clang_src_root}" = ""; then
+ clang_src_root="$srcdir/tools/clang"
+fi
+if test -f ${clang_src_root}/README.txt; then
+ configh="include/clang/Config/config.h"
+ doxy="docs/doxygen.cfg"
+ ac_config_headers="$ac_config_headers tools/clang/${configh}:${clang_src_root}/${configh}.in"
+
+ ac_config_files="$ac_config_files tools/clang/${doxy}:${clang_src_root}/${doxy}.in"
fi
-ac_config_files="$ac_config_files tools/llvm-config/llvm-config.in"
-
-
ac_config_files="$ac_config_files bindings/ocaml/llvm/META.llvm"
@@ -19166,8 +21507,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF
## M4sh Initialization. ##
## --------------------- ##
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
+# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
emulate sh
NULLCMD=:
@@ -19176,13 +21516,10 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
alias -g '${1+"$@"}'='"$@"'
setopt NO_GLOB_SUBST
else
- case `(set -o) 2>/dev/null` in
- *posix*) set -o posix ;;
-esac
-
+ case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
fi
-
-
+BIN_SH=xpg4; export BIN_SH # for Tru64
+DUALCASE=1; export DUALCASE # for MKS sh
# PATH needs CR
@@ -19406,28 +21743,19 @@ else
as_mkdir_p=false
fi
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
+# Find out whether ``test -x'' works. Don't use a zero-byte file, as
+# systems may use methods other than mode bits to determine executability.
+cat >conf$$.file <<_ASEOF
+#! /bin/sh
+exit 0
+_ASEOF
+chmod +x conf$$.file
+if test -x conf$$.file >/dev/null 2>&1; then
+ as_executable_p="test -x"
else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
+ as_executable_p=:
fi
-as_executable_p=$as_test_x
+rm -f conf$$.file
# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -19442,8 +21770,8 @@ exec 6>&1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by llvm $as_me 3.0, which was
-generated by GNU Autoconf 2.61. Invocation command line was
+This file was extended by LLVM $as_me 3.1svn, which was
+generated by GNU Autoconf 2.60. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS
@@ -19472,7 +21800,7 @@ current configuration.
Usage: $0 [OPTIONS] [FILE]...
-h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
+ -V, --version print version number, then exit
-q, --quiet do not print progress messages
-d, --debug don't remove temporary files
--recheck update $as_me by reconfiguring in the same conditions
@@ -19495,8 +21823,8 @@ Report bugs to ."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-llvm config.status 3.0
-configured by $0, generated by GNU Autoconf 2.61,
+LLVM config.status 3.1svn
+configured by $0, generated by GNU Autoconf 2.60,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
Copyright (C) 2006 Free Software Foundation, Inc.
@@ -19618,8 +21946,8 @@ do
"Makefile.config") CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
"llvm.spec") CONFIG_FILES="$CONFIG_FILES llvm.spec" ;;
"docs/doxygen.cfg") CONFIG_FILES="$CONFIG_FILES docs/doxygen.cfg" ;;
- "tools/clang/docs/doxygen.cfg") CONFIG_FILES="$CONFIG_FILES tools/clang/docs/doxygen.cfg" ;;
- "tools/llvm-config/llvm-config.in") CONFIG_FILES="$CONFIG_FILES tools/llvm-config/llvm-config.in" ;;
+ "tools/clang/${configh}") CONFIG_HEADERS="$CONFIG_HEADERS tools/clang/${configh}:${clang_src_root}/${configh}.in" ;;
+ "tools/clang/${doxy}") CONFIG_FILES="$CONFIG_FILES tools/clang/${doxy}:${clang_src_root}/${doxy}.in" ;;
"bindings/ocaml/llvm/META.llvm") CONFIG_FILES="$CONFIG_FILES bindings/ocaml/llvm/META.llvm" ;;
"setup") CONFIG_COMMANDS="$CONFIG_COMMANDS setup" ;;
"Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
@@ -19777,6 +22105,7 @@ BUILD_CC!$BUILD_CC$ac_delim
BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim
BUILD_CXX!$BUILD_CXX$ac_delim
CVSBUILD!$CVSBUILD$ac_delim
+ENABLE_LIBCPP!$ENABLE_LIBCPP$ac_delim
ENABLE_OPTIMIZED!$ENABLE_OPTIMIZED$ac_delim
ENABLE_PROFILING!$ENABLE_PROFILING$ac_delim
DISABLE_ASSERTIONS!$DISABLE_ASSERTIONS$ac_delim
@@ -19788,12 +22117,11 @@ JIT!$JIT$ac_delim
TARGET_HAS_JIT!$TARGET_HAS_JIT$ac_delim
ENABLE_DOCS!$ENABLE_DOCS$ac_delim
ENABLE_DOXYGEN!$ENABLE_DOXYGEN$ac_delim
-ENABLE_THREADS!$ENABLE_THREADS$ac_delim
+LLVM_ENABLE_THREADS!$LLVM_ENABLE_THREADS$ac_delim
ENABLE_PTHREADS!$ENABLE_PTHREADS$ac_delim
ENABLE_PIC!$ENABLE_PIC$ac_delim
ENABLE_SHARED!$ENABLE_SHARED$ac_delim
ENABLE_EMBED_STDCXX!$ENABLE_EMBED_STDCXX$ac_delim
-ENABLE_TIMESTAMPS!$ENABLE_TIMESTAMPS$ac_delim
_ACEOF
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
@@ -19835,16 +22163,18 @@ _ACEOF
ac_delim='%!_!# '
for ac_last_try in false false false false false :; do
cat >conf$$subs.sed <<_ACEOF
+ENABLE_TIMESTAMPS!$ENABLE_TIMESTAMPS$ac_delim
TARGETS_TO_BUILD!$TARGETS_TO_BUILD$ac_delim
LLVM_ENUM_TARGETS!$LLVM_ENUM_TARGETS$ac_delim
LLVM_ENUM_ASM_PRINTERS!$LLVM_ENUM_ASM_PRINTERS$ac_delim
LLVM_ENUM_ASM_PARSERS!$LLVM_ENUM_ASM_PARSERS$ac_delim
LLVM_ENUM_DISASSEMBLERS!$LLVM_ENUM_DISASSEMBLERS$ac_delim
-ENABLE_CBE_PRINTF_A!$ENABLE_CBE_PRINTF_A$ac_delim
OPTIMIZE_OPTION!$OPTIMIZE_OPTION$ac_delim
EXTRA_OPTIONS!$EXTRA_OPTIONS$ac_delim
EXTRA_LD_OPTIONS!$EXTRA_LD_OPTIONS$ac_delim
+CLANG_SRC_ROOT!$CLANG_SRC_ROOT$ac_delim
BINUTILS_INCDIR!$BINUTILS_INCDIR$ac_delim
+INTERNAL_PREFIX!$INTERNAL_PREFIX$ac_delim
NM!$NM$ac_delim
ifGNUmake!$ifGNUmake$ac_delim
LN_S!$LN_S$ac_delim
@@ -19869,8 +22199,6 @@ CIRCO!$CIRCO$ac_delim
GV!$GV$ac_delim
DOTTY!$DOTTY$ac_delim
XDOT_PY!$XDOT_PY$ac_delim
-PERL!$PERL$ac_delim
-HAVE_PERL!$HAVE_PERL$ac_delim
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
INSTALL_DATA!$INSTALL_DATA$ac_delim
@@ -19898,8 +22226,12 @@ CONVENIENCE_LTDL_FALSE!$CONVENIENCE_LTDL_FALSE$ac_delim
LIBADD_DL!$LIBADD_DL$ac_delim
NO_VARIADIC_MACROS!$NO_VARIADIC_MACROS$ac_delim
NO_MISSING_FIELD_INITIALIZERS!$NO_MISSING_FIELD_INITIALIZERS$ac_delim
+COVERED_SWITCH_DEFAULT!$COVERED_SWITCH_DEFAULT$ac_delim
USE_UDIS86!$USE_UDIS86$ac_delim
USE_OPROFILE!$USE_OPROFILE$ac_delim
+USE_INTEL_JITEVENTS!$USE_INTEL_JITEVENTS$ac_delim
+INTEL_JITEVENTS_INCDIR!$INTEL_JITEVENTS_INCDIR$ac_delim
+INTEL_JITEVENTS_LIBDIR!$INTEL_JITEVENTS_LIBDIR$ac_delim
HAVE_PTHREAD!$HAVE_PTHREAD$ac_delim
HUGE_VAL_SANITY!$HUGE_VAL_SANITY$ac_delim
MMAP_FILE!$MMAP_FILE$ac_delim
@@ -19925,7 +22257,7 @@ LIBOBJS!$LIBOBJS$ac_delim
LTLIBOBJS!$LTLIBOBJS$ac_delim
_ACEOF
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 88; then
+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 92; then
break
elif $ac_last_try; then
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
@@ -20286,7 +22618,7 @@ do
cat >>$CONFIG_STATUS <<_ACEOF
# First, check the format of the line:
cat >"\$tmp/defines.sed" <<\\CEOF
-/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*/b def
+/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
b
:def
@@ -20434,12 +22766,7 @@ if test "$no_recursion" != yes; then
case $ac_arg in
*\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
esac
- ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
-
- # Pass --silent
- if test "$silent" = yes; then
- ac_sub_configure_args="--silent $ac_sub_configure_args"
- fi
+ ac_sub_configure_args="$ac_arg $ac_sub_configure_args"
ac_popdir=`pwd`
for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
diff --git a/docs/AliasAnalysis.html b/docs/AliasAnalysis.html
index e65279c1deb..c59f60df6d9 100644
--- a/docs/AliasAnalysis.html
+++ b/docs/AliasAnalysis.html
@@ -418,9 +418,8 @@ implementing, you just override the interfaces you can improve.
-
With only two special exceptions (the basicaa and no-aa
-passes) every alias analysis pass chains to another alias analysis
+
With only one special exception (the no-aa
+pass) every alias analysis pass chains to another alias analysis
implementation (for example, the user can specify "-basicaa -ds-aa
-licm" to get the maximum benefit from both alias
analyses). The alias analysis class automatically takes care of most of this
@@ -1061,7 +1060,7 @@ analysis directly.
Chris Lattner
LLVM Compiler Infrastructure
- Last modified: $Date: 2011-11-03 07:43:23 +0100 (Thu, 03 Nov 2011) $
+ Last modified: $Date: 2012-01-31 00:05:41 +0100 (Tue, 31 Jan 2012) $
-
-This page has moved
here.
-
-
-
-
-
-
-
-
-
- LLVM Compiler Infrastructure
- Last modified: $Date: 2008-02-13 17:46:10 +0100 (Wed, 13 Feb 2008) $
-
-
-
diff --git a/docs/Bugpoint.html b/docs/Bugpoint.html
index a1de242f6c7..d9cce0be6b8 100644
--- a/docs/Bugpoint.html
+++ b/docs/Bugpoint.html
@@ -232,7 +232,7 @@ non-obvious ways. Here are some hints and tips: