From 3fba7d16b41dfbefe3b1be6bc0ab94c017728f79 Mon Sep 17 00:00:00 2001
From: rdivacky
Date: Fri, 15 Jan 2010 15:37:28 +0000
Subject: [PATCH] Update LLVM to 93512.
---
CMakeLists.txt | 1 +
LICENSE.TXT | 2 +-
autoconf/configure.ac | 2 +-
cmake/modules/LLVMLibDeps.cmake | 25 +-
configure | 2 +-
docs/CodeGenerator.html | 7 +-
docs/LangRef.html | 110 +-
docs/ProgrammersManual.html | 24 +-
docs/ReleaseNotes.html | 3 +-
docs/SourceLevelDebugging.html | 22 +-
docs/TableGenFundamentals.html | 6 +-
include/llvm-c/Analysis.h | 6 +-
include/llvm-c/BitReader.h | 24 +-
include/llvm-c/Core.h | 74 +-
include/llvm-c/ExecutionEngine.h | 34 +-
include/llvm-c/Target.h | 7 +-
include/llvm/ADT/BitVector.h | 18 +
include/llvm/ADT/SmallBitVector.h | 373 +
include/llvm/ADT/StringExtras.h | 84 +-
include/llvm/ADT/StringRef.h | 28 +-
include/llvm/ADT/Twine.h | 34 +
include/llvm/Analysis/AliasAnalysis.h | 4 +
include/llvm/Analysis/DebugInfo.h | 31 +-
include/llvm/Analysis/DominatorInternals.h | 9 +-
include/llvm/Analysis/Dominators.h | 67 +-
include/llvm/Analysis/LoopInfo.h | 4 +-
include/llvm/Analysis/PostDominators.h | 16 +-
include/llvm/Attributes.h | 77 +-
include/llvm/Bitcode/LLVMBitCodes.h | 9 +-
include/llvm/CodeGen/DAGISelHeader.h | 2 +-
include/llvm/CodeGen/FastISel.h | 24 +-
include/llvm/CodeGen/MachineFunction.h | 2 +
include/llvm/CodeGen/MachineInstr.h | 7 +-
include/llvm/CodeGen/MachineInstrBuilder.h | 6 +
include/llvm/CodeGen/MachineLoopInfo.h | 2 +
include/llvm/CodeGen/MachineOperand.h | 19 +-
include/llvm/CodeGen/Passes.h | 4 +
include/llvm/CodeGen/SelectionDAGISel.h | 11 +-
include/llvm/CodeGen/ValueTypes.h | 18 +-
include/llvm/IntrinsicInst.h | 127 +-
include/llvm/Intrinsics.td | 8 +-
include/llvm/LinkAllPasses.h | 4 -
include/llvm/MC/MCAsmLexer.h | 3 +-
include/llvm/MC/MCParsedAsmOperand.h | 33 +
include/llvm/MC/MCSymbol.h | 5 +
include/llvm/Metadata.h | 55 +-
include/llvm/Module.h | 35 +-
include/llvm/Support/CFG.h | 68 +-
include/llvm/Support/FormattedStream.h | 4 +
include/llvm/Support/Mangler.h | 30 +-
include/llvm/Support/MathExtras.h | 4 +-
include/llvm/Support/PatternMatch.h | 23 +-
include/llvm/Target/Target.td | 7 +
include/llvm/Target/TargetAsmParser.h | 20 +-
include/llvm/Target/TargetInstrInfo.h | 27 +-
include/llvm/Target/TargetLowering.h | 6 +-
.../llvm/Target/TargetLoweringObjectFile.h | 2 +-
include/llvm/Target/TargetRegisterInfo.h | 2 +-
include/llvm/Target/TargetSelectionDAG.td | 9 +-
include/llvm/Transforms/Instrumentation.h | 10 -
.../llvm/Transforms/Utils/BasicBlockUtils.h | 10 +-
include/llvm/Transforms/Utils/Local.h | 19 +-
include/llvm/Type.h | 3 +
include/llvm/ValueSymbolTable.h | 86 +-
lib/Analysis/AliasAnalysis.cpp | 11 +-
lib/Analysis/Analysis.cpp | 8 +-
lib/Analysis/ConstantFolding.cpp | 23 +-
lib/Analysis/DbgInfoPrinter.cpp | 59 -
lib/Analysis/DebugInfo.cpp | 164 +-
lib/Analysis/IVUsers.cpp | 5 +-
lib/Analysis/InlineCost.cpp | 40 +-
lib/Analysis/LoopInfo.cpp | 5 +
lib/Analysis/ScalarEvolution.cpp | 22 +-
lib/Analysis/ValueTracking.cpp | 28 +-
lib/AsmParser/LLParser.cpp | 211 +-
lib/AsmParser/LLParser.h | 20 +-
lib/Bitcode/Reader/BitReader.cpp | 27 +-
lib/Bitcode/Reader/BitcodeReader.cpp | 36 +-
lib/Bitcode/Writer/BitcodeWriter.cpp | 47 +-
lib/Bitcode/Writer/ValueEnumerator.cpp | 62 +-
lib/Bitcode/Writer/ValueEnumerator.h | 4 +
lib/CodeGen/AggressiveAntiDepBreaker.cpp | 159 +-
lib/CodeGen/AggressiveAntiDepBreaker.h | 28 +-
lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 348 +-
lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 178 +-
lib/CodeGen/CMakeLists.txt | 3 +-
lib/CodeGen/CriticalAntiDepBreaker.cpp | 30 +-
lib/CodeGen/CriticalAntiDepBreaker.h | 8 +-
lib/CodeGen/DeadMachineInstructionElim.cpp | 2 +-
lib/CodeGen/ELFCodeEmitter.cpp | 2 +-
lib/CodeGen/ELFWriter.cpp | 2 +-
lib/CodeGen/ExactHazardRecognizer.cpp | 14 +-
lib/CodeGen/GCMetadata.cpp | 3 +-
lib/CodeGen/GCStrategy.cpp | 3 +-
lib/CodeGen/IfConversion.cpp | 28 +-
lib/CodeGen/IntrinsicLowering.cpp | 10 +-
lib/CodeGen/LLVMTargetMachine.cpp | 21 +-
lib/CodeGen/LiveInterval.cpp | 7 +-
lib/CodeGen/LiveIntervalAnalysis.cpp | 94 +-
lib/CodeGen/LiveVariables.cpp | 22 +-
lib/CodeGen/LowerSubregs.cpp | 26 +-
lib/CodeGen/MachOWriter.cpp | 5 +-
lib/CodeGen/MachineBasicBlock.cpp | 3 +-
lib/CodeGen/MachineFunction.cpp | 9 +-
lib/CodeGen/MachineInstr.cpp | 20 +-
lib/CodeGen/MachineLICM.cpp | 24 +-
lib/CodeGen/MachineLoopInfo.cpp | 5 +
lib/CodeGen/MachineSSAUpdater.cpp | 4 +-
lib/CodeGen/MachineSink.cpp | 8 +-
lib/CodeGen/MachineVerifier.cpp | 130 +-
lib/CodeGen/OptimizeExts.cpp | 185 +
lib/CodeGen/PBQP/AnnotatedGraph.h | 2 +-
lib/CodeGen/PBQP/ExhaustiveSolver.h | 2 +-
lib/CodeGen/PBQP/GraphBase.h | 2 +-
lib/CodeGen/PBQP/HeuristicSolver.h | 2 +-
lib/CodeGen/PBQP/Heuristics/Briggs.h | 2 +-
lib/CodeGen/PBQP/PBQPMath.h | 2 +-
lib/CodeGen/PBQP/SimpleGraph.h | 2 +-
lib/CodeGen/PBQP/Solution.h | 2 +-
lib/CodeGen/PBQP/Solver.h | 2 +-
lib/CodeGen/PHIElimination.cpp | 6 +-
lib/CodeGen/PostRASchedulerList.cpp | 26 +-
lib/CodeGen/PreAllocSplitting.cpp | 67 +-
lib/CodeGen/ProcessImplicitDefs.cpp | 2 +-
lib/CodeGen/RegAllocLinearScan.cpp | 64 +-
lib/CodeGen/RegAllocLocal.cpp | 34 +-
lib/CodeGen/RegAllocPBQP.cpp | 14 +-
lib/CodeGen/ScheduleDAG.cpp | 80 +-
lib/CodeGen/SelectionDAG/CallingConvLower.cpp | 13 +-
lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 298 +-
lib/CodeGen/SelectionDAG/FastISel.cpp | 34 +-
.../SelectionDAG/FunctionLoweringInfo.cpp | 2 +-
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 15 +-
.../SelectionDAG/LegalizeFloatTypes.cpp | 28 +-
.../SelectionDAG/LegalizeIntegerTypes.cpp | 24 +-
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp | 42 +-
lib/CodeGen/SelectionDAG/LegalizeTypes.h | 3 +
.../SelectionDAG/LegalizeVectorOps.cpp | 5 +-
.../SelectionDAG/LegalizeVectorTypes.cpp | 117 +-
lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp | 16 +-
lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp | 12 +-
.../SelectionDAG/ScheduleDAGRRList.cpp | 40 +-
.../SelectionDAG/ScheduleDAGSDNodes.cpp | 8 +-
lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 62 +-
.../SelectionDAG/SelectionDAGBuilder.cpp | 50 +-
.../SelectionDAG/SelectionDAGBuilder.h | 12 +-
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 225 +-
.../SelectionDAG/SelectionDAGPrinter.cpp | 2 +-
lib/CodeGen/SelectionDAG/TargetLowering.cpp | 74 +-
lib/CodeGen/ShrinkWrapping.cpp | 74 +-
lib/CodeGen/SimpleRegisterCoalescing.cpp | 127 +-
lib/CodeGen/SjLjEHPrepare.cpp | 9 +-
lib/CodeGen/SlotIndexes.cpp | 12 +-
lib/CodeGen/Spiller.cpp | 16 +-
lib/CodeGen/StackProtector.cpp | 2 +-
lib/CodeGen/StackSlotColoring.cpp | 26 +-
lib/CodeGen/StrongPHIElimination.cpp | 12 +-
lib/CodeGen/TailDuplication.cpp | 39 +-
lib/CodeGen/TargetInstrInfoImpl.cpp | 7 +
lib/CodeGen/TwoAddressInstructionPass.cpp | 24 +-
lib/CodeGen/VirtRegMap.cpp | 2 +-
lib/CodeGen/VirtRegRewriter.cpp | 144 +-
lib/ExecutionEngine/ExecutionEngine.cpp | 44 +-
.../ExecutionEngineBindings.cpp | 34 +-
lib/ExecutionEngine/Interpreter/Execution.cpp | 78 +-
lib/ExecutionEngine/JIT/JIT.cpp | 11 +-
lib/ExecutionEngine/JIT/JITEmitter.cpp | 60 +-
lib/ExecutionEngine/JIT/JITMemoryManager.cpp | 2 +-
.../JIT/OProfileJITEventListener.cpp | 16 +-
lib/Linker/LinkModules.cpp | 34 +-
lib/MC/MCExpr.cpp | 5 +-
lib/MC/MCInst.cpp | 9 +-
lib/MC/MCSectionELF.cpp | 9 +-
lib/MC/MCSymbol.cpp | 14 +-
lib/MC/MCValue.cpp | 3 +-
lib/Support/APInt.cpp | 68 +-
lib/Support/CommandLine.cpp | 8 +-
lib/Support/ConstantRange.cpp | 3 +-
lib/Support/ErrorHandling.cpp | 9 +-
lib/Support/FormattedStream.cpp | 8 +
lib/Support/Statistic.cpp | 3 +-
lib/Support/StringExtras.cpp | 59 +-
lib/Support/StringRef.cpp | 25 +-
lib/Support/Timer.cpp | 3 +-
lib/Support/Twine.cpp | 15 +-
lib/System/Win32/DynamicLibrary.inc | 42 +-
lib/Target/ARM/ARMBaseInstrInfo.cpp | 67 +-
lib/Target/ARM/ARMBaseInstrInfo.h | 2 +
lib/Target/ARM/ARMBaseRegisterInfo.cpp | 15 +-
lib/Target/ARM/ARMISelDAGToDAG.cpp | 321 +-
lib/Target/ARM/ARMISelLowering.cpp | 23 +-
lib/Target/ARM/ARMInstrInfo.td | 4 +-
lib/Target/ARM/ARMInstrThumb.td | 33 +-
lib/Target/ARM/ARMInstrThumb2.td | 2 +-
lib/Target/ARM/ARMLoadStoreOptimizer.cpp | 12 +
lib/Target/ARM/ARMRegisterInfo.td | 13 -
lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 39 +-
lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp | 27 +-
lib/Target/Alpha/AlphaISelDAGToDAG.cpp | 26 +-
.../AsmPrinter/BlackfinAsmPrinter.cpp | 9 +-
lib/Target/Blackfin/BlackfinISelDAGToDAG.cpp | 11 +-
lib/Target/CBackend/CBackend.cpp | 38 +-
lib/Target/CellSPU/SPUISelDAGToDAG.cpp | 171 +-
lib/Target/MSP430/MSP430ISelDAGToDAG.cpp | 67 +-
lib/Target/MSP430/MSP430ISelLowering.cpp | 13 +-
lib/Target/MSP430/MSP430InstrInfo.td | 38 +-
lib/Target/Mips/MipsISelDAGToDAG.cpp | 75 +-
lib/Target/PIC16/PIC16ISelDAGToDAG.cpp | 4 +-
lib/Target/PIC16/PIC16ISelDAGToDAG.h | 4 +-
.../PowerPC/AsmPrinter/PPCAsmPrinter.cpp | 122 +-
lib/Target/PowerPC/PPCISelDAGToDAG.cpp | 36 +-
lib/Target/PowerPC/PPCInstrInfo.td | 8 +-
lib/Target/PowerPC/PPCJITInfo.cpp | 2 +
lib/Target/PowerPC/PPCMCAsmInfo.cpp | 1 +
lib/Target/PowerPC/README.txt | 33 +
lib/Target/README.txt | 48 +-
lib/Target/Sparc/SparcISelDAGToDAG.cpp | 19 +-
lib/Target/SubtargetFeature.cpp | 3 +-
lib/Target/SystemZ/SystemZISelDAGToDAG.cpp | 115 +-
lib/Target/Target.cpp | 2 +-
lib/Target/TargetLoweringObjectFile.cpp | 34 +-
lib/Target/X86/AsmParser/X86AsmParser.cpp | 36 +-
lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp | 66 +-
lib/Target/X86/AsmPrinter/X86MCInstLower.cpp | 28 +
lib/Target/X86/README-SSE.txt | 20 +
lib/Target/X86/README.txt | 83 +-
lib/Target/X86/X86.td | 4 +
lib/Target/X86/X86CodeEmitter.cpp | 20 +-
lib/Target/X86/X86FastISel.cpp | 16 +-
lib/Target/X86/X86FloatingPoint.cpp | 16 +-
lib/Target/X86/X86ISelDAGToDAG.cpp | 157 +-
lib/Target/X86/X86ISelLowering.cpp | 241 +-
lib/Target/X86/X86Instr64bit.td | 92 +-
lib/Target/X86/X86InstrInfo.cpp | 73 +-
lib/Target/X86/X86InstrInfo.h | 10 +
lib/Target/X86/X86InstrInfo.td | 75 +-
lib/Target/X86/X86InstrSSE.td | 10 +-
lib/Target/X86/X86JITInfo.cpp | 2 +-
lib/Target/X86/X86RegisterInfo.cpp | 9 +
lib/Target/X86/X86Subtarget.cpp | 3 +-
lib/Target/X86/X86Subtarget.h | 7 +-
lib/Target/XCore/XCoreISelDAGToDAG.cpp | 31 +-
lib/Transforms/IPO/ArgumentPromotion.cpp | 10 +-
.../IPO/DeadArgumentElimination.cpp | 18 +-
lib/Transforms/IPO/FunctionAttrs.cpp | 66 +-
lib/Transforms/IPO/GlobalOpt.cpp | 93 +-
lib/Transforms/IPO/Inliner.cpp | 22 +-
lib/Transforms/IPO/Internalize.cpp | 6 +-
lib/Transforms/IPO/MergeFunctions.cpp | 8 +-
lib/Transforms/IPO/PartialInlining.cpp | 2 +-
lib/Transforms/IPO/StructRetPromotion.cpp | 11 +-
lib/Transforms/InstCombine/CMakeLists.txt | 17 +
lib/Transforms/InstCombine/InstCombine.h | 349 +
.../InstCombine/InstCombineAddSub.cpp | 740 +
.../InstCombine/InstCombineAndOrXor.cpp | 1990 +++
.../InstCombine/InstCombineCalls.cpp | 1142 ++
.../InstCombine/InstCombineCasts.cpp | 1301 ++
.../InstCombine/InstCombineCompares.cpp | 2475 +++
.../InstCombineLoadStoreAlloca.cpp | 613 +
.../InstCombine/InstCombineMulDivRem.cpp | 695 +
lib/Transforms/InstCombine/InstCombinePHI.cpp | 841 +
.../InstCombine/InstCombineSelect.cpp | 703 +
.../InstCombine/InstCombineShifts.cpp | 427 +
.../InstCombineSimplifyDemanded.cpp | 1106 ++
.../InstCombine/InstCombineVectorOps.cpp | 560 +
.../InstCombine/InstCombineWorklist.h | 105 +
.../InstCombine/InstructionCombining.cpp | 1274 ++
lib/Transforms/InstCombine/Makefile | 15 +
.../Instrumentation/BlockProfiling.cpp | 128 -
lib/Transforms/Instrumentation/CMakeLists.txt | 2 -
.../Instrumentation/OptimalEdgeProfiling.cpp | 4 +-
.../Instrumentation/ProfilingUtils.cpp | 2 +-
.../Instrumentation/RSProfiling.cpp | 662 -
lib/Transforms/Instrumentation/RSProfiling.h | 31 -
lib/Transforms/Makefile | 2 +-
lib/Transforms/Scalar/ABCD.cpp | 2 +-
lib/Transforms/Scalar/ADCE.cpp | 3 +-
lib/Transforms/Scalar/CMakeLists.txt | 1 -
lib/Transforms/Scalar/CodeGenPrepare.cpp | 12 +-
.../Scalar/DeadStoreElimination.cpp | 86 +-
lib/Transforms/Scalar/GVN.cpp | 44 +-
lib/Transforms/Scalar/IndVarSimplify.cpp | 10 +-
.../Scalar/InstructionCombining.cpp | 13736 ----------------
lib/Transforms/Scalar/JumpThreading.cpp | 255 +-
lib/Transforms/Scalar/LICM.cpp | 10 +-
lib/Transforms/Scalar/LoopIndexSplit.cpp | 4 +-
lib/Transforms/Scalar/LoopStrengthReduce.cpp | 2 +-
lib/Transforms/Scalar/LoopUnrollPass.cpp | 12 +-
lib/Transforms/Scalar/LoopUnswitch.cpp | 26 +-
lib/Transforms/Scalar/MemCpyOptimizer.cpp | 13 +-
lib/Transforms/Scalar/Reassociate.cpp | 48 +-
lib/Transforms/Scalar/SCCP.cpp | 42 +-
lib/Transforms/Scalar/SCCVN.cpp | 3 +-
.../Scalar/ScalarReplAggregates.cpp | 18 +-
lib/Transforms/Scalar/SimplifyCFGPass.cpp | 7 +-
lib/Transforms/Scalar/SimplifyLibCalls.cpp | 85 +-
lib/Transforms/Scalar/TailDuplication.cpp | 6 +-
lib/Transforms/Utils/AddrModeMatcher.cpp | 5 +-
lib/Transforms/Utils/BasicBlockUtils.cpp | 22 +-
lib/Transforms/Utils/BasicInliner.cpp | 10 +-
lib/Transforms/Utils/CloneFunction.cpp | 16 +-
lib/Transforms/Utils/CloneLoop.cpp | 4 +-
lib/Transforms/Utils/CodeExtractor.cpp | 41 +-
lib/Transforms/Utils/InlineFunction.cpp | 45 -
lib/Transforms/Utils/InstructionNamer.cpp | 4 +-
lib/Transforms/Utils/Local.cpp | 56 +-
lib/Transforms/Utils/LoopUnroll.cpp | 22 +-
lib/Transforms/Utils/LowerInvoke.cpp | 2 +-
lib/Transforms/Utils/LowerSwitch.cpp | 10 +-
.../Utils/PromoteMemoryToRegister.cpp | 4 +-
lib/Transforms/Utils/SSAUpdater.cpp | 4 +-
lib/Transforms/Utils/SSI.cpp | 2 +-
lib/Transforms/Utils/SimplifyCFG.cpp | 37 +-
.../Utils/UnifyFunctionExitNodes.cpp | 2 +-
lib/VMCore/AsmWriter.cpp | 34 +-
lib/VMCore/Attributes.cpp | 7 +-
lib/VMCore/AutoUpgrade.cpp | 59 +-
lib/VMCore/ConstantFold.cpp | 12 +-
lib/VMCore/Constants.cpp | 28 +-
lib/VMCore/ConstantsContext.h | 2 +-
lib/VMCore/Core.cpp | 68 +-
lib/VMCore/Function.cpp | 2 +-
lib/VMCore/InlineAsm.cpp | 2 +-
lib/VMCore/Instruction.cpp | 35 +-
lib/VMCore/Instructions.cpp | 29 +-
lib/VMCore/IntrinsicInst.cpp | 28 +-
lib/VMCore/Mangler.cpp | 202 +-
lib/VMCore/Metadata.cpp | 212 +-
lib/VMCore/Module.cpp | 24 +-
lib/VMCore/Pass.cpp | 5 +-
lib/VMCore/PassManager.cpp | 67 +-
lib/VMCore/PrintModulePass.cpp | 5 +-
lib/VMCore/Type.cpp | 31 +-
lib/VMCore/TypeSymbolTable.cpp | 21 +-
lib/VMCore/TypesContext.h | 6 +-
lib/VMCore/Value.cpp | 32 +-
lib/VMCore/ValueSymbolTable.cpp | 20 +-
lib/VMCore/Verifier.cpp | 18 +-
runtime/libprofile/exported_symbols.lst | 2 -
test/Analysis/BasicAA/2007-11-05-SizeCrash.ll | 4 +-
.../2007-07-15-NegativeStride.ll | 2 +-
.../ScalarEvolution/2007-08-06-Unsigned.ll | 2 +-
.../2008-02-11-ReversedCondition.ll | 2 +-
.../2008-02-12-SMAXTripCount.ll | 2 +-
.../2008-11-18-LessThanOrEqual.ll | 2 +-
.../ScalarEvolution/2008-11-18-Stride1.ll | 2 +-
test/Analysis/ScalarEvolution/avoid-smax-0.ll | 2 +-
.../ScalarEvolution/max-trip-count.ll | 2 +-
test/Analysis/ScalarEvolution/nsw-offset.ll | 16 +-
test/Analysis/ScalarEvolution/nsw.ll | 2 +-
test/Analysis/ScalarEvolution/sext-inreg.ll | 4 +-
test/Analysis/ScalarEvolution/sext-iv-0.ll | 2 +-
test/Analysis/ScalarEvolution/sext-iv-1.ll | 2 +-
test/Analysis/ScalarEvolution/sext-iv-2.ll | 4 +-
test/Analysis/ScalarEvolution/trip-count3.ll | 2 +-
test/Analysis/ScalarEvolution/trip-count7.ll | 2 +-
test/Analysis/ScalarEvolution/trip-count8.ll | 2 +-
test/Analysis/ScalarEvolution/zext-wrap.ll | 2 +-
test/Assembler/functionlocal-metadata.ll | 35 +
test/Assembler/vector-cmp.ll | 6 +-
test/CodeGen/ARM/indirectbr.ll | 6 +-
test/CodeGen/ARM/private.ll | 2 +-
test/CodeGen/ARM/tail-opts.ll | 2 +-
test/CodeGen/Alpha/private.ll | 2 +-
.../Blackfin/2009-08-15-SetCC-Undef.ll | 1 -
test/CodeGen/Blackfin/ct32.ll | 6 +-
test/CodeGen/Blackfin/ct64.ll | 6 +-
test/CodeGen/Blackfin/ctlz16.ll | 6 +-
test/CodeGen/Blackfin/ctpop16.ll | 6 +-
test/CodeGen/Blackfin/cttz16.ll | 6 +-
test/CodeGen/Blackfin/promote-logic.ll | 1 +
test/CodeGen/CellSPU/dp_farith.ll | 2 +-
test/CodeGen/CellSPU/mul_ops.ll | 1 -
test/CodeGen/CellSPU/private.ll | 2 +-
.../2009-03-29-SoftFloatVectorExtract.ll | 2 +-
.../Generic/2009-04-28-i128-cmp-crash.ll | 16 +
test/CodeGen/MSP430/bit.ll | 9 +-
test/CodeGen/MSP430/setcc.ll | 1 +
test/CodeGen/MSP430/shifts.ll | 51 +
test/CodeGen/Mips/private.ll | 2 +-
test/CodeGen/PowerPC/indirectbr.ll | 8 +-
test/CodeGen/PowerPC/private.ll | 2 +-
test/CodeGen/SPARC/private.ll | 2 +-
test/CodeGen/SystemZ/2009-06-02-Rotate.ll | 4 +-
test/CodeGen/SystemZ/2010-01-04-DivMem.ll | 50 +
.../Thumb2/2010-01-06-TailDuplicateLabels.ll | 89 +
test/CodeGen/Thumb2/thumb2-add.ll | 16 +-
test/CodeGen/X86/2006-05-11-InstrSched.ll | 14 +-
.../X86}/2007-01-08-X86-64-Pointer.ll | 0
test/CodeGen/X86/2007-02-04-OrAddrMode.ll | 4 +-
test/CodeGen/X86/2009-02-26-MachineLICMBug.ll | 4 +-
.../X86/2009-05-23-dagcombine-shifts.ll | 8 +-
test/CodeGen/X86/2009-11-16-MachineLICM.ll | 2 +-
test/CodeGen/X86/2010-01-05-ZExt-Shl.ll | 15 +
test/CodeGen/X86/2010-01-07-ISelBug.ll | 27 +
test/CodeGen/X86/2010-01-07-UAMemFeature.ll | 11 +
test/CodeGen/X86/2010-01-08-Atomic64Bug.ll | 29 +
test/CodeGen/X86/2010-01-11-ExtraPHIArg.ll | 97 +
test/CodeGen/X86/2010-01-13-OptExtBug.ll | 46 +
test/CodeGen/X86/3addr-or.ll | 27 +
test/CodeGen/X86/addr-label-difference.ll | 22 +
test/CodeGen/X86/and-su.ll | 43 +-
test/CodeGen/X86/anyext-uses.ll | 47 -
test/CodeGen/X86/br-fold.ll | 20 +
test/CodeGen/X86/brcond.ll | 69 +
test/CodeGen/X86/darwin-bzero.ll | 2 +-
test/CodeGen/X86/extractelement-shuffle.ll | 10 +-
test/CodeGen/X86/fast-isel.ll | 2 +-
test/CodeGen/X86/fold-load.ll | 26 +-
test/CodeGen/X86/lsr-sort.ll | 5 +-
test/CodeGen/X86/mul-legalize.ll | 2 +-
test/CodeGen/X86/private.ll | 2 +-
test/CodeGen/X86/remat-mov-0.ll | 13 +
test/CodeGen/X86/sext-subreg.ll | 17 +
test/CodeGen/X86/stack-color-with-reg.ll | 2 +-
test/CodeGen/X86/stride-nine-with-base-reg.ll | 3 +
test/CodeGen/X86/tail-opts.ll | 2 +-
test/CodeGen/X86/tailcall-largecode.ll | 71 +
test/CodeGen/X86/test-nofold.ll | 39 +-
test/CodeGen/X86/twoaddr-lea.ll | 24 +
test/CodeGen/X86/use-add-flags.ll | 56 +
test/CodeGen/X86/vec_cast.ll | 48 +
test/CodeGen/X86/vec_ext_inreg.ll | 1 +
test/CodeGen/X86/vec_shuffle-22.ll | 2 +-
test/CodeGen/X86/vec_shuffle-25.ll | 18 +-
test/CodeGen/X86/vec_shuffle-26.ll | 6 +-
test/CodeGen/X86/widen_select-1.ll | 2 +-
test/CodeGen/X86/widen_shuffle-1.ll | 2 +-
test/CodeGen/X86/widen_shuffle-2.ll | 2 +-
test/CodeGen/X86/x86-64-and-mask.ll | 43 +-
test/CodeGen/X86/x86-64-jumps.ll | 29 +
.../X86/{brcond-srl.ll => xor-icmp.ll} | 21 +-
test/CodeGen/XCore/2009-03-27-v2f64-param.ll | 2 +-
test/CodeGen/XCore/private.ll | 2 +-
test/DebugInfo/2009-10-16-Scope.ll | 5 +-
test/DebugInfo/2009-12-01-CurrentFn.ll | 17 -
test/DebugInfo/2010-01-05-DbgScope.ll | 18 +
test/DebugInfo/printdbginfo2.ll | 13 +-
test/ExecutionEngine/2010-01-15-UndefValue.ll | 9 +
test/Feature/NamedMDNode.ll | 5 +-
test/FrontendC/2010-01-05-LinkageName.c | 15 +
test/FrontendC/2010-01-13-MemBarrier.c | 11 +
test/FrontendC/2010-01-14-FnType-DebugInfo.c | 4 +
test/FrontendC/2010-01-14-StaticVariable.c | 12 +
test/FrontendC/cstring-align.c | 2 +
test/Integer/BitPacked.ll | 4 +-
test/Integer/packed_bt.ll | 4 +-
test/Integer/testvarargs_bt.ll | 2 +-
test/Other/2007-06-28-PassManager.ll | 2 +-
test/Other/2008-02-14-PassManager.ll | 2 +-
test/Other/2008-08-14-PassManager.ll | 2 +-
test/Other/2009-06-05-no-implicit-float.ll | 4 +-
test/TableGen/eq.td | 13 +
test/Transforms/ConstProp/loads.ll | 10 +
test/Transforms/DeadArgElim/canon.ll | 4 +-
.../DeadStoreElimination/const-pointers.ll | 2 +-
.../DeadStoreElimination/no-targetdata.ll | 4 +-
.../FunctionAttrs/2008-10-04-LocalMemory.ll | 56 +-
test/Transforms/GVN/null-aliases-nothing.ll | 2 +-
test/Transforms/GlobalOpt/crash.ll | 16 +
.../Transforms/GlobalOpt/ctor-list-opt-dbg.ll | 2 +-
.../IPConstantProp/return-argument.ll | 4 +-
.../IndVarSimplify/shrunk-constant.ll | 2 +-
.../Inline/2007-12-19-InlineNoUnwind.ll | 2 +-
test/Transforms/InstCombine/apint-shift.ll | 7 -
test/Transforms/InstCombine/bswap-fold.ll | 31 +-
test/Transforms/InstCombine/bswap.ll | 2 +
test/Transforms/InstCombine/cast-and-cast.ll | 17 -
.../InstCombine/cast-cast-to-and.ll | 9 -
test/Transforms/InstCombine/cast-load-gep.ll | 21 -
test/Transforms/InstCombine/cast-propagate.ll | 11 -
test/Transforms/InstCombine/cast-sext-zext.ll | 12 -
test/Transforms/InstCombine/cast.ll | 280 +-
test/Transforms/InstCombine/cast2.ll | 37 -
test/Transforms/InstCombine/cast3.ll | 35 -
.../InstCombine/cast_ld_addr_space.ll | 19 -
test/Transforms/InstCombine/cast_ptr.ll | 41 +
test/Transforms/InstCombine/fsub-fadd.ll | 39 +
test/Transforms/InstCombine/intrinsics.ll | 47 +-
test/Transforms/InstCombine/load-cmp.ll | 112 +
test/Transforms/InstCombine/load.ll | 9 +
.../InstCombine/loadstore-alignment.ll | 4 +-
test/Transforms/InstCombine/or.ll | 63 +-
.../Transforms/InstCombine/setcc-cast-cast.ll | 46 -
test/Transforms/InstCombine/shift-sra.ll | 45 +-
test/Transforms/InstCombine/sub.ll | 29 +-
test/Transforms/JumpThreading/basic.ll | 18 +-
test/Transforms/LICM/licm_preserve_dbginfo.ll | 55 -
.../SplitValue-2007-08-24-dbg.ll | 2 +-
test/Transforms/LoopRotate/PhiRename-1.ll | 2 +-
.../2009-04-28-no-reduce-mul.ll | 10 +-
.../LoopStrengthReduce/dont_reverse.ll | 4 +-
.../quadradic-exit-value.ll | 2 +-
test/Transforms/PruneEH/simplenoreturntest.ll | 2 +-
test/Transforms/Reassociate/crash.ll | 33 +
.../ScalarRepl/2009-01-09-scalarrepl-empty.ll | 2 +-
.../SimplifyCFG/2003-08-17-FoldSwitch-dbg.ll | 2 +-
.../2009-03-05-Speculative-Hoist-Dbg.ll | 2 +-
.../Transforms/SimplifyCFG/branch_fold_dbg.ll | 2 +-
.../SimplifyCFG/hoist-common-code.dbg.ll | 2 +-
.../SimplifyCFG/switch_formation.dbg.ll | 2 +-
.../SimplifyCFG/two-entry-phi-return.dbg.ll | 2 +-
.../TailCallElim/dont_reorder_load.ll | 6 +-
test/Verifier/2006-10-15-AddrLabel.ll | 2 +-
tools/llc/llc.cpp | 5 +
tools/llvm-mc/AsmLexer.cpp | 2 +-
tools/llvm-mc/AsmParser.cpp | 28 +-
tools/llvmc/plugins/Base/Base.td.in | 3 +-
tools/lto/LTOCodeGenerator.cpp | 6 +-
tools/opt/opt.cpp | 4 +
unittests/ADT/BitVectorTest.cpp | 140 +
unittests/ADT/SmallBitVectorTest.cpp | 140 +
unittests/VMCore/MetadataTest.cpp | 2 +-
utils/TableGen/AsmMatcherEmitter.cpp | 22 +-
utils/TableGen/CodeEmitterGen.cpp | 9 +-
utils/TableGen/CodeGenInstruction.cpp | 4 +-
utils/TableGen/CodeGenTarget.cpp | 21 +-
utils/TableGen/CodeGenTarget.h | 5 -
utils/TableGen/DAGISelEmitter.cpp | 196 +-
utils/TableGen/FastISelEmitter.cpp | 2 +-
utils/TableGen/InstrInfoEmitter.cpp | 3 +-
utils/TableGen/IntrinsicEmitter.cpp | 2 +-
utils/TableGen/OptParserEmitter.cpp | 24 +-
utils/TableGen/Record.cpp | 10 +
utils/TableGen/Record.h | 2 +-
utils/TableGen/SubtargetEmitter.cpp | 4 +-
utils/TableGen/TGLexer.cpp | 1 +
utils/TableGen/TGLexer.h | 2 +-
utils/TableGen/TGParser.cpp | 7 +
utils/buildit/GNUmakefile | 10 +-
utils/vim/llvm.vim | 4 +-
utils/vim/vimrc | 2 +-
532 files changed, 23259 insertions(+), 19972 deletions(-)
create mode 100644 include/llvm/ADT/SmallBitVector.h
create mode 100644 include/llvm/MC/MCParsedAsmOperand.h
create mode 100644 lib/CodeGen/OptimizeExts.cpp
create mode 100644 lib/Transforms/InstCombine/CMakeLists.txt
create mode 100644 lib/Transforms/InstCombine/InstCombine.h
create mode 100644 lib/Transforms/InstCombine/InstCombineAddSub.cpp
create mode 100644 lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
create mode 100644 lib/Transforms/InstCombine/InstCombineCalls.cpp
create mode 100644 lib/Transforms/InstCombine/InstCombineCasts.cpp
create mode 100644 lib/Transforms/InstCombine/InstCombineCompares.cpp
create mode 100644 lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
create mode 100644 lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
create mode 100644 lib/Transforms/InstCombine/InstCombinePHI.cpp
create mode 100644 lib/Transforms/InstCombine/InstCombineSelect.cpp
create mode 100644 lib/Transforms/InstCombine/InstCombineShifts.cpp
create mode 100644 lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
create mode 100644 lib/Transforms/InstCombine/InstCombineVectorOps.cpp
create mode 100644 lib/Transforms/InstCombine/InstCombineWorklist.h
create mode 100644 lib/Transforms/InstCombine/InstructionCombining.cpp
create mode 100644 lib/Transforms/InstCombine/Makefile
delete mode 100644 lib/Transforms/Instrumentation/BlockProfiling.cpp
delete mode 100644 lib/Transforms/Instrumentation/RSProfiling.cpp
delete mode 100644 lib/Transforms/Instrumentation/RSProfiling.h
delete mode 100644 lib/Transforms/Scalar/InstructionCombining.cpp
create mode 100644 test/Assembler/functionlocal-metadata.ll
create mode 100644 test/CodeGen/MSP430/shifts.ll
create mode 100644 test/CodeGen/SystemZ/2010-01-04-DivMem.ll
create mode 100644 test/CodeGen/Thumb2/2010-01-06-TailDuplicateLabels.ll
rename test/{Transforms/IndVarSimplify => CodeGen/X86}/2007-01-08-X86-64-Pointer.ll (100%)
create mode 100644 test/CodeGen/X86/2010-01-05-ZExt-Shl.ll
create mode 100644 test/CodeGen/X86/2010-01-07-ISelBug.ll
create mode 100644 test/CodeGen/X86/2010-01-07-UAMemFeature.ll
create mode 100644 test/CodeGen/X86/2010-01-08-Atomic64Bug.ll
create mode 100644 test/CodeGen/X86/2010-01-11-ExtraPHIArg.ll
create mode 100644 test/CodeGen/X86/2010-01-13-OptExtBug.ll
create mode 100644 test/CodeGen/X86/3addr-or.ll
create mode 100644 test/CodeGen/X86/addr-label-difference.ll
delete mode 100644 test/CodeGen/X86/anyext-uses.ll
create mode 100644 test/CodeGen/X86/br-fold.ll
create mode 100644 test/CodeGen/X86/brcond.ll
create mode 100644 test/CodeGen/X86/remat-mov-0.ll
create mode 100644 test/CodeGen/X86/sext-subreg.ll
create mode 100644 test/CodeGen/X86/tailcall-largecode.ll
create mode 100644 test/CodeGen/X86/twoaddr-lea.ll
create mode 100644 test/CodeGen/X86/use-add-flags.ll
create mode 100644 test/CodeGen/X86/vec_cast.ll
rename test/CodeGen/X86/{brcond-srl.ll => xor-icmp.ll} (64%)
delete mode 100644 test/DebugInfo/2009-12-01-CurrentFn.ll
create mode 100644 test/DebugInfo/2010-01-05-DbgScope.ll
create mode 100644 test/ExecutionEngine/2010-01-15-UndefValue.ll
create mode 100644 test/FrontendC/2010-01-05-LinkageName.c
create mode 100644 test/FrontendC/2010-01-13-MemBarrier.c
create mode 100644 test/FrontendC/2010-01-14-FnType-DebugInfo.c
create mode 100644 test/FrontendC/2010-01-14-StaticVariable.c
create mode 100644 test/TableGen/eq.td
create mode 100644 test/Transforms/GlobalOpt/crash.ll
delete mode 100644 test/Transforms/InstCombine/cast-and-cast.ll
delete mode 100644 test/Transforms/InstCombine/cast-cast-to-and.ll
delete mode 100644 test/Transforms/InstCombine/cast-load-gep.ll
delete mode 100644 test/Transforms/InstCombine/cast-propagate.ll
delete mode 100644 test/Transforms/InstCombine/cast-sext-zext.ll
delete mode 100644 test/Transforms/InstCombine/cast2.ll
delete mode 100644 test/Transforms/InstCombine/cast3.ll
delete mode 100644 test/Transforms/InstCombine/cast_ld_addr_space.ll
create mode 100644 test/Transforms/InstCombine/fsub-fadd.ll
create mode 100644 test/Transforms/InstCombine/load-cmp.ll
delete mode 100644 test/Transforms/InstCombine/setcc-cast-cast.ll
delete mode 100644 test/Transforms/LICM/licm_preserve_dbginfo.ll
create mode 100644 test/Transforms/Reassociate/crash.ll
create mode 100644 unittests/ADT/BitVectorTest.cpp
create mode 100644 unittests/ADT/SmallBitVectorTest.cpp
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9bce0392db4f..7063640ca4d7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -296,6 +296,7 @@ add_subdirectory(lib/Bitcode/Reader)
add_subdirectory(lib/Bitcode/Writer)
add_subdirectory(lib/Transforms/Utils)
add_subdirectory(lib/Transforms/Instrumentation)
+add_subdirectory(lib/Transforms/InstCombine)
add_subdirectory(lib/Transforms/Scalar)
add_subdirectory(lib/Transforms/IPO)
add_subdirectory(lib/Transforms/Hello)
diff --git a/LICENSE.TXT b/LICENSE.TXT
index fd49172664b5..b8d2c742096f 100644
--- a/LICENSE.TXT
+++ b/LICENSE.TXT
@@ -4,7 +4,7 @@ LLVM Release License
University of Illinois/NCSA
Open Source License
-Copyright (c) 2003-2009 University of Illinois at Urbana-Champaign.
+Copyright (c) 2003-2010 University of Illinois at Urbana-Champaign.
All rights reserved.
Developed by:
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 9ebaadc3bbcf..7915593db4e5 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -512,7 +512,7 @@ case "$enableval" in
PIC16) TARGETS_TO_BUILD="PIC16 $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" ;;
+ s390x) TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;;
Blackfin) TARGETS_TO_BUILD="Blackfin $TARGETS_TO_BUILD" ;;
*) AC_MSG_ERROR([Can not set target to build]) ;;
esac ;;
diff --git a/cmake/modules/LLVMLibDeps.cmake b/cmake/modules/LLVMLibDeps.cmake
index 97d07bd9fdf9..bc2f45b3de31 100644
--- a/cmake/modules/LLVMLibDeps.cmake
+++ b/cmake/modules/LLVMLibDeps.cmake
@@ -7,9 +7,9 @@ set(MSVC_LIB_DEPS_LLVMAlphaCodeGen LLVMAlphaInfo LLVMCodeGen LLVMCore LLVMMC LLV
set(MSVC_LIB_DEPS_LLVMAlphaInfo LLVMSupport)
set(MSVC_LIB_DEPS_LLVMAnalysis LLVMCore LLVMSupport LLVMSystem LLVMTarget)
set(MSVC_LIB_DEPS_LLVMArchive LLVMBitReader LLVMCore LLVMSupport LLVMSystem)
-set(MSVC_LIB_DEPS_LLVMAsmParser LLVMCore LLVMSupport LLVMSystem)
+set(MSVC_LIB_DEPS_LLVMAsmParser LLVMCore LLVMSupport)
set(MSVC_LIB_DEPS_LLVMAsmPrinter LLVMAnalysis LLVMCodeGen LLVMCore LLVMMC LLVMSupport LLVMSystem LLVMTarget)
-set(MSVC_LIB_DEPS_LLVMBitReader LLVMCore LLVMSupport LLVMSystem)
+set(MSVC_LIB_DEPS_LLVMBitReader LLVMCore LLVMSupport)
set(MSVC_LIB_DEPS_LLVMBitWriter LLVMCore LLVMSupport LLVMSystem)
set(MSVC_LIB_DEPS_LLVMBlackfinAsmPrinter LLVMAsmPrinter LLVMBlackfinInfo LLVMCodeGen LLVMCore LLVMMC LLVMSupport LLVMSystem LLVMTarget)
set(MSVC_LIB_DEPS_LLVMBlackfinCodeGen LLVMBlackfinInfo LLVMCodeGen LLVMCore LLVMMC LLVMSelectionDAG LLVMSupport LLVMTarget)
@@ -21,15 +21,16 @@ set(MSVC_LIB_DEPS_LLVMCellSPUCodeGen LLVMCellSPUInfo LLVMCodeGen LLVMCore LLVMMC
set(MSVC_LIB_DEPS_LLVMCellSPUInfo LLVMSupport)
set(MSVC_LIB_DEPS_LLVMCodeGen LLVMAnalysis LLVMCore LLVMMC LLVMScalarOpts LLVMSupport LLVMSystem LLVMTarget LLVMTransformUtils)
set(MSVC_LIB_DEPS_LLVMCore LLVMSupport LLVMSystem)
-set(MSVC_LIB_DEPS_LLVMCppBackend LLVMCore LLVMCppBackendInfo LLVMSupport LLVMSystem LLVMTarget)
+set(MSVC_LIB_DEPS_LLVMCppBackend LLVMCore LLVMCppBackendInfo LLVMSupport LLVMTarget)
set(MSVC_LIB_DEPS_LLVMCppBackendInfo LLVMSupport)
set(MSVC_LIB_DEPS_LLVMExecutionEngine LLVMCore LLVMSupport LLVMSystem LLVMTarget)
-set(MSVC_LIB_DEPS_LLVMInstrumentation LLVMAnalysis LLVMCore LLVMScalarOpts LLVMSupport LLVMSystem LLVMTransformUtils)
+set(MSVC_LIB_DEPS_LLVMInstCombine LLVMAnalysis LLVMCore LLVMSupport LLVMSystem LLVMTarget LLVMTransformUtils)
+set(MSVC_LIB_DEPS_LLVMInstrumentation LLVMAnalysis LLVMCore LLVMSupport LLVMSystem LLVMTransformUtils)
set(MSVC_LIB_DEPS_LLVMInterpreter LLVMCodeGen LLVMCore LLVMExecutionEngine LLVMSupport LLVMSystem LLVMTarget)
set(MSVC_LIB_DEPS_LLVMJIT LLVMCodeGen LLVMCore LLVMExecutionEngine LLVMMC LLVMSupport LLVMSystem LLVMTarget)
set(MSVC_LIB_DEPS_LLVMLinker LLVMArchive LLVMBitReader LLVMCore LLVMSupport LLVMSystem)
set(MSVC_LIB_DEPS_LLVMMC LLVMSupport LLVMSystem)
-set(MSVC_LIB_DEPS_LLVMMSIL LLVMAnalysis LLVMCodeGen LLVMCore LLVMMSILInfo LLVMScalarOpts LLVMSupport LLVMSystem LLVMTarget LLVMTransformUtils LLVMipa)
+set(MSVC_LIB_DEPS_LLVMMSIL LLVMAnalysis LLVMCodeGen LLVMCore LLVMMSILInfo LLVMScalarOpts LLVMSupport LLVMTarget LLVMTransformUtils LLVMipa)
set(MSVC_LIB_DEPS_LLVMMSILInfo LLVMSupport)
set(MSVC_LIB_DEPS_LLVMMSP430AsmPrinter LLVMAsmPrinter LLVMCodeGen LLVMCore LLVMMC LLVMMSP430Info LLVMSupport LLVMSystem LLVMTarget)
set(MSVC_LIB_DEPS_LLVMMSP430CodeGen LLVMCodeGen LLVMCore LLVMMC LLVMMSP430Info LLVMSelectionDAG LLVMSupport LLVMSystem LLVMTarget)
@@ -37,13 +38,13 @@ set(MSVC_LIB_DEPS_LLVMMSP430Info LLVMSupport)
set(MSVC_LIB_DEPS_LLVMMipsAsmPrinter LLVMAsmPrinter LLVMCodeGen LLVMCore LLVMMC LLVMMipsCodeGen LLVMMipsInfo LLVMSupport LLVMSystem LLVMTarget)
set(MSVC_LIB_DEPS_LLVMMipsCodeGen LLVMCodeGen LLVMCore LLVMMC LLVMMipsInfo LLVMSelectionDAG LLVMSupport LLVMSystem LLVMTarget)
set(MSVC_LIB_DEPS_LLVMMipsInfo LLVMSupport)
-set(MSVC_LIB_DEPS_LLVMPIC16 LLVMAnalysis LLVMCodeGen LLVMCore LLVMMC LLVMPIC16Info LLVMSelectionDAG LLVMSupport LLVMSystem LLVMTarget)
-set(MSVC_LIB_DEPS_LLVMPIC16AsmPrinter LLVMAsmPrinter LLVMCodeGen LLVMCore LLVMMC LLVMPIC16 LLVMPIC16Info LLVMSupport LLVMSystem LLVMTarget)
+set(MSVC_LIB_DEPS_LLVMPIC16 LLVMAnalysis LLVMCodeGen LLVMCore LLVMMC LLVMPIC16Info LLVMSelectionDAG LLVMSupport LLVMTarget)
+set(MSVC_LIB_DEPS_LLVMPIC16AsmPrinter LLVMAsmPrinter LLVMCodeGen LLVMCore LLVMMC LLVMPIC16 LLVMPIC16Info LLVMSupport LLVMTarget)
set(MSVC_LIB_DEPS_LLVMPIC16Info LLVMSupport)
set(MSVC_LIB_DEPS_LLVMPowerPCAsmPrinter LLVMAsmPrinter LLVMCodeGen LLVMCore LLVMMC LLVMPowerPCInfo LLVMSupport LLVMSystem LLVMTarget)
set(MSVC_LIB_DEPS_LLVMPowerPCCodeGen LLVMCodeGen LLVMCore LLVMMC LLVMPowerPCInfo LLVMSelectionDAG LLVMSupport LLVMSystem LLVMTarget)
set(MSVC_LIB_DEPS_LLVMPowerPCInfo LLVMSupport)
-set(MSVC_LIB_DEPS_LLVMScalarOpts LLVMAnalysis LLVMCore LLVMSupport LLVMSystem LLVMTarget LLVMTransformUtils)
+set(MSVC_LIB_DEPS_LLVMScalarOpts LLVMAnalysis LLVMCore LLVMInstCombine LLVMSupport LLVMSystem LLVMTarget LLVMTransformUtils)
set(MSVC_LIB_DEPS_LLVMSelectionDAG LLVMAnalysis LLVMAsmPrinter LLVMCodeGen LLVMCore LLVMSupport LLVMSystem LLVMTarget)
set(MSVC_LIB_DEPS_LLVMSparcAsmPrinter LLVMAsmPrinter LLVMCodeGen LLVMCore LLVMMC LLVMSparcInfo LLVMSupport LLVMSystem LLVMTarget)
set(MSVC_LIB_DEPS_LLVMSparcCodeGen LLVMCodeGen LLVMCore LLVMMC LLVMSelectionDAG LLVMSparcInfo LLVMSupport LLVMSystem LLVMTarget)
@@ -53,14 +54,14 @@ set(MSVC_LIB_DEPS_LLVMSystem )
set(MSVC_LIB_DEPS_LLVMSystemZAsmPrinter LLVMAsmPrinter LLVMCodeGen LLVMCore LLVMMC LLVMSupport LLVMSystem LLVMSystemZInfo LLVMTarget)
set(MSVC_LIB_DEPS_LLVMSystemZCodeGen LLVMCodeGen LLVMCore LLVMMC LLVMSelectionDAG LLVMSupport LLVMSystemZInfo LLVMTarget)
set(MSVC_LIB_DEPS_LLVMSystemZInfo LLVMSupport)
-set(MSVC_LIB_DEPS_LLVMTarget LLVMCore LLVMMC LLVMSupport LLVMSystem)
+set(MSVC_LIB_DEPS_LLVMTarget LLVMCore LLVMMC LLVMSupport)
set(MSVC_LIB_DEPS_LLVMTransformUtils LLVMAnalysis LLVMCore LLVMSupport LLVMSystem LLVMTarget LLVMipa)
set(MSVC_LIB_DEPS_LLVMX86AsmParser LLVMMC LLVMX86Info)
set(MSVC_LIB_DEPS_LLVMX86AsmPrinter LLVMAsmPrinter LLVMCodeGen LLVMCore LLVMMC LLVMSupport LLVMSystem LLVMTarget LLVMX86CodeGen LLVMX86Info)
-set(MSVC_LIB_DEPS_LLVMX86CodeGen LLVMCodeGen LLVMCore LLVMMC LLVMSelectionDAG LLVMSupport LLVMSystem LLVMTarget LLVMX86Disassembler LLVMX86Info)
-set(MSVC_LIB_DEPS_LLVMX86Disassembler )
+set(MSVC_LIB_DEPS_LLVMX86CodeGen LLVMCodeGen LLVMCore LLVMMC LLVMSelectionDAG LLVMSupport LLVMSystem LLVMTarget LLVMX86Info)
+set(MSVC_LIB_DEPS_LLVMX86Disassembler LLVMMC LLVMSupport LLVMX86Info)
set(MSVC_LIB_DEPS_LLVMX86Info LLVMSupport)
-set(MSVC_LIB_DEPS_LLVMXCore LLVMCodeGen LLVMCore LLVMMC LLVMSelectionDAG LLVMSupport LLVMSystem LLVMTarget LLVMXCoreInfo)
+set(MSVC_LIB_DEPS_LLVMXCore LLVMCodeGen LLVMCore LLVMMC LLVMSelectionDAG LLVMSupport LLVMTarget LLVMXCoreInfo)
set(MSVC_LIB_DEPS_LLVMXCoreAsmPrinter LLVMAsmPrinter LLVMCodeGen LLVMCore LLVMMC LLVMSupport LLVMSystem LLVMTarget LLVMXCoreInfo)
set(MSVC_LIB_DEPS_LLVMXCoreInfo LLVMSupport)
set(MSVC_LIB_DEPS_LLVMipa LLVMAnalysis LLVMCore LLVMSupport LLVMSystem)
diff --git a/configure b/configure
index 3e0ca0a680b6..fc30999dc904 100755
--- a/configure
+++ b/configure
@@ -5080,7 +5080,7 @@ case "$enableval" in
PIC16) TARGETS_TO_BUILD="PIC16 $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" ;;
+ s390x) TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;;
Blackfin) TARGETS_TO_BUILD="Blackfin $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;}
diff --git a/docs/CodeGenerator.html b/docs/CodeGenerator.html
index d39de19ec6a5..2eb7abcacd11 100644
--- a/docs/CodeGenerator.html
+++ b/docs/CodeGenerator.html
@@ -1731,11 +1731,6 @@ define fastcc i32 @tailcaller(i32 %in1, i32 %in2) {
(because one or more of above constraints are not met) to be followed by a
readjustment of the stack. So performance might be worse in such cases.
-On x86 and x86-64 one register is reserved for indirect tail calls (e.g via a
- function pointer). So there is one less register for integer argument
- passing. For x86 this means 2 registers (if inreg parameter
- attribute is used) and for x86-64 this means 5 register are used.
-
@@ -2121,7 +2116,7 @@ MOVSX32rm16 -> movsx, 32-bit register, 16-bit memory
Chris Lattner
The LLVM Compiler Infrastructure
- Last modified: $Date: 2009-10-10 23:30:55 +0200 (Sat, 10 Oct 2009) $
+ Last modified: $Date: 2010-01-11 19:53:47 +0100 (Mon, 11 Jan 2010) $