svn commit: r204642 - in vendor/llvm/dist: . autoconf autoconf/m4
bindings/ocaml/bitreader bindings/ocaml/executionengine
bindings/ocaml/llvm docs docs/CommandGuide docs/tutorial
examples include/l...
Roman Divacky
rdivacky at FreeBSD.org
Wed Mar 3 17:27:16 UTC 2010
Author: rdivacky
Date: Wed Mar 3 17:27:15 2010
New Revision: 204642
URL: http://svn.freebsd.org/changeset/base/204642
Log:
Update LLVM to 97654.
Added:
vendor/llvm/dist/autoconf/m4/cxx_flag_check.m4
vendor/llvm/dist/docs/AdvancedGetElementPtr.html
vendor/llvm/dist/docs/Packaging.html
vendor/llvm/dist/include/llvm/Target/TargetAsmBackend.h
vendor/llvm/dist/lib/CodeGen/MachineCSE.cpp
vendor/llvm/dist/lib/MC/TargetAsmBackend.cpp
vendor/llvm/dist/lib/Target/MBlaze/
vendor/llvm/dist/lib/Target/MBlaze/AsmPrinter/
vendor/llvm/dist/lib/Target/MBlaze/AsmPrinter/CMakeLists.txt
vendor/llvm/dist/lib/Target/MBlaze/AsmPrinter/MBlazeAsmPrinter.cpp
vendor/llvm/dist/lib/Target/MBlaze/AsmPrinter/Makefile
vendor/llvm/dist/lib/Target/MBlaze/CMakeLists.txt
vendor/llvm/dist/lib/Target/MBlaze/MBlaze.h
vendor/llvm/dist/lib/Target/MBlaze/MBlaze.td
vendor/llvm/dist/lib/Target/MBlaze/MBlazeCallingConv.td
vendor/llvm/dist/lib/Target/MBlaze/MBlazeDelaySlotFiller.cpp
vendor/llvm/dist/lib/Target/MBlaze/MBlazeISelDAGToDAG.cpp
vendor/llvm/dist/lib/Target/MBlaze/MBlazeISelLowering.cpp
vendor/llvm/dist/lib/Target/MBlaze/MBlazeISelLowering.h
vendor/llvm/dist/lib/Target/MBlaze/MBlazeInstrFPU.td
vendor/llvm/dist/lib/Target/MBlaze/MBlazeInstrFSL.td
vendor/llvm/dist/lib/Target/MBlaze/MBlazeInstrFormats.td
vendor/llvm/dist/lib/Target/MBlaze/MBlazeInstrInfo.cpp
vendor/llvm/dist/lib/Target/MBlaze/MBlazeInstrInfo.h
vendor/llvm/dist/lib/Target/MBlaze/MBlazeInstrInfo.td
vendor/llvm/dist/lib/Target/MBlaze/MBlazeIntrinsicInfo.cpp
vendor/llvm/dist/lib/Target/MBlaze/MBlazeIntrinsicInfo.h
vendor/llvm/dist/lib/Target/MBlaze/MBlazeIntrinsics.td
vendor/llvm/dist/lib/Target/MBlaze/MBlazeMCAsmInfo.cpp
vendor/llvm/dist/lib/Target/MBlaze/MBlazeMCAsmInfo.h
vendor/llvm/dist/lib/Target/MBlaze/MBlazeMachineFunction.h
vendor/llvm/dist/lib/Target/MBlaze/MBlazeRegisterInfo.cpp
vendor/llvm/dist/lib/Target/MBlaze/MBlazeRegisterInfo.h
vendor/llvm/dist/lib/Target/MBlaze/MBlazeRegisterInfo.td
vendor/llvm/dist/lib/Target/MBlaze/MBlazeSchedule.td
vendor/llvm/dist/lib/Target/MBlaze/MBlazeSubtarget.cpp
vendor/llvm/dist/lib/Target/MBlaze/MBlazeSubtarget.h
vendor/llvm/dist/lib/Target/MBlaze/MBlazeTargetMachine.cpp
vendor/llvm/dist/lib/Target/MBlaze/MBlazeTargetMachine.h
vendor/llvm/dist/lib/Target/MBlaze/MBlazeTargetObjectFile.cpp
vendor/llvm/dist/lib/Target/MBlaze/MBlazeTargetObjectFile.h
vendor/llvm/dist/lib/Target/MBlaze/Makefile
vendor/llvm/dist/lib/Target/MBlaze/TargetInfo/
vendor/llvm/dist/lib/Target/MBlaze/TargetInfo/CMakeLists.txt
vendor/llvm/dist/lib/Target/MBlaze/TargetInfo/MBlazeTargetInfo.cpp
vendor/llvm/dist/lib/Target/MBlaze/TargetInfo/Makefile
vendor/llvm/dist/lib/Target/PIC16/PIC16Passes/PIC16Cloner.cpp
vendor/llvm/dist/lib/Target/PIC16/PIC16Passes/PIC16Cloner.h
vendor/llvm/dist/lib/Target/X86/X86AsmBackend.cpp
vendor/llvm/dist/test/Analysis/ScalarEvolution/trip-count10.ll
vendor/llvm/dist/test/CodeGen/ARM/neon_minmax.ll
vendor/llvm/dist/test/CodeGen/MBlaze/
vendor/llvm/dist/test/CodeGen/MBlaze/brind.ll
vendor/llvm/dist/test/CodeGen/MBlaze/callind.ll
vendor/llvm/dist/test/CodeGen/MBlaze/cc.ll
vendor/llvm/dist/test/CodeGen/MBlaze/dg.exp
vendor/llvm/dist/test/CodeGen/MBlaze/div.ll
vendor/llvm/dist/test/CodeGen/MBlaze/fpu.ll
vendor/llvm/dist/test/CodeGen/MBlaze/fsl.ll
vendor/llvm/dist/test/CodeGen/MBlaze/imm.ll
vendor/llvm/dist/test/CodeGen/MBlaze/jumptable.ll
vendor/llvm/dist/test/CodeGen/MBlaze/loop.ll
vendor/llvm/dist/test/CodeGen/MBlaze/mul.ll
vendor/llvm/dist/test/CodeGen/MBlaze/mul64.ll
vendor/llvm/dist/test/CodeGen/MBlaze/select.ll
vendor/llvm/dist/test/CodeGen/MBlaze/shift.ll
vendor/llvm/dist/test/CodeGen/PowerPC/2010-02-26-FoldFloats.ll
vendor/llvm/dist/test/CodeGen/PowerPC/lsr-postinc-pos.ll
vendor/llvm/dist/test/CodeGen/Thumb2/2010-02-24-BigStack.ll
vendor/llvm/dist/test/CodeGen/X86/2010-02-11-NonTemporal.ll
vendor/llvm/dist/test/CodeGen/X86/2010-02-19-TailCallRetAddrBug.ll
vendor/llvm/dist/test/CodeGen/X86/2010-02-23-DAGCombineBug.ll
vendor/llvm/dist/test/CodeGen/X86/2010-02-23-DIV8rDefinesAX.ll
vendor/llvm/dist/test/CodeGen/X86/2010-02-23-RematImplicitSubreg.ll
vendor/llvm/dist/test/CodeGen/X86/2010-02-23-SingleDefPhiJoin.ll
vendor/llvm/dist/test/CodeGen/X86/code_placement_eh.ll
vendor/llvm/dist/test/CodeGen/X86/licm-symbol.ll
vendor/llvm/dist/test/CodeGen/X86/lsr-overflow.ll
vendor/llvm/dist/test/CodeGen/X86/lsr-wrap.ll
vendor/llvm/dist/test/CodeGen/XCore/2010-02-25-LSR-Crash.ll
vendor/llvm/dist/test/CodeGen/XCore/switch.ll
vendor/llvm/dist/test/CodeGen/XCore/switch_long.ll
vendor/llvm/dist/test/DebugInfo/inheritance.ll
vendor/llvm/dist/test/FrontendC++/2010-02-17-DbgArtificialArg.cpp
vendor/llvm/dist/test/FrontendC/2010-02-15-DbgStaticVar.c
vendor/llvm/dist/test/FrontendC/2010-02-16-DbgVarScope.c
vendor/llvm/dist/test/FrontendC/2010-02-18-Dbg-VectorType.c
vendor/llvm/dist/test/FrontendObjC/2010-02-23-DbgInheritance.m
vendor/llvm/dist/test/MC/MachO/Darwin/optimal_nop.s
vendor/llvm/dist/test/Transforms/GlobalOpt/2010-02-25-MallocPromote.ll
vendor/llvm/dist/test/Transforms/GlobalOpt/2010-02-26-MallocSROA.ll
vendor/llvm/dist/test/Transforms/InstCombine/fcmp-select.ll
vendor/llvm/dist/test/Transforms/InstCombine/fcmp-special.ll
vendor/llvm/dist/test/Transforms/LoopDeletion/simplify-then-delete.ll
vendor/llvm/dist/test/Transforms/LoopStrengthReduce/nonlinear-postinc.ll
vendor/llvm/dist/test/Transforms/SCCP/retvalue-undef.ll
vendor/llvm/dist/tools/llvm-shlib/
vendor/llvm/dist/tools/llvm-shlib/Makefile
vendor/llvm/dist/utils/TableGen/DAGISelMatcherOpt.cpp
vendor/llvm/dist/utils/git/
vendor/llvm/dist/utils/git/find-rev (contents, props changed)
Deleted:
vendor/llvm/dist/include/llvm/CodeGen/DAGISelHeader.h
vendor/llvm/dist/lib/Analysis/IPA/Andersens.cpp
vendor/llvm/dist/test/Analysis/Andersens/
vendor/llvm/dist/test/CodeGen/Generic/debug-info.ll
vendor/llvm/dist/test/CodeGen/X86/2009-07-16-LoadFoldingBug.ll
vendor/llvm/dist/test/CodeGen/X86/omit-label.ll
vendor/llvm/dist/test/DebugInfo/2009-02-27-licm.ll
vendor/llvm/dist/test/DebugInfo/2009-03-03-cheapdse.ll
vendor/llvm/dist/test/DebugInfo/2009-03-05-gvn.ll
vendor/llvm/dist/test/DebugInfo/deaddebuglabel.ll
vendor/llvm/dist/test/DebugInfo/funccall.ll
vendor/llvm/dist/test/DebugInfo/globalGetElementPtr.ll
vendor/llvm/dist/test/FrontendC++/2010-02-08-NamespaceVar.cpp
vendor/llvm/dist/test/Other/2008-03-19-PassManager.ll
vendor/llvm/dist/test/Transforms/GVN/2009-03-05-dbg.ll
vendor/llvm/dist/test/Transforms/GlobalOpt/2009-03-03-dbg.ll
vendor/llvm/dist/test/Transforms/GlobalOpt/ctor-list-opt-dbg.ll
vendor/llvm/dist/test/Transforms/InstCombine/constant-fold-ptr-casts.ll
vendor/llvm/dist/test/Transforms/LoopIndexSplit/SplitValue-2007-08-24-dbg.ll
vendor/llvm/dist/test/Transforms/ScalarRepl/2009-03-17-CleanUp.ll
Modified:
vendor/llvm/dist/CREDITS.TXT
vendor/llvm/dist/Makefile
vendor/llvm/dist/Makefile.config.in
vendor/llvm/dist/Makefile.rules
vendor/llvm/dist/README.txt
vendor/llvm/dist/autoconf/ExportMap.map
vendor/llvm/dist/autoconf/configure.ac
vendor/llvm/dist/autoconf/m4/huge_val.m4
vendor/llvm/dist/bindings/ocaml/bitreader/bitreader_ocaml.c
vendor/llvm/dist/bindings/ocaml/bitreader/llvm_bitreader.ml
vendor/llvm/dist/bindings/ocaml/bitreader/llvm_bitreader.mli
vendor/llvm/dist/bindings/ocaml/executionengine/executionengine_ocaml.c
vendor/llvm/dist/bindings/ocaml/executionengine/llvm_executionengine.ml
vendor/llvm/dist/bindings/ocaml/executionengine/llvm_executionengine.mli
vendor/llvm/dist/bindings/ocaml/llvm/llvm.ml
vendor/llvm/dist/bindings/ocaml/llvm/llvm.mli
vendor/llvm/dist/bindings/ocaml/llvm/llvm_ocaml.c
vendor/llvm/dist/configure
vendor/llvm/dist/docs/AliasAnalysis.html
vendor/llvm/dist/docs/CodeGenerator.html
vendor/llvm/dist/docs/CodingStandards.html
vendor/llvm/dist/docs/CommandGuide/FileCheck.pod
vendor/llvm/dist/docs/CommandGuide/bugpoint.pod
vendor/llvm/dist/docs/CommandGuide/index.html
vendor/llvm/dist/docs/CommandGuide/llc.pod
vendor/llvm/dist/docs/CommandGuide/lli.pod
vendor/llvm/dist/docs/CommandGuide/llvm-as.pod
vendor/llvm/dist/docs/CommandGuide/llvm-bcanalyzer.pod
vendor/llvm/dist/docs/CommandGuide/llvm-config.pod
vendor/llvm/dist/docs/CommandGuide/llvm-dis.pod
vendor/llvm/dist/docs/CommandGuide/llvm-extract.pod
vendor/llvm/dist/docs/CommandGuide/llvm-link.pod
vendor/llvm/dist/docs/CommandGuide/llvm-nm.pod
vendor/llvm/dist/docs/CommandGuide/llvm-prof.pod
vendor/llvm/dist/docs/CommandGuide/llvm-ranlib.pod
vendor/llvm/dist/docs/CommandGuide/llvmc.pod
vendor/llvm/dist/docs/CommandGuide/tblgen.pod
vendor/llvm/dist/docs/CommandLine.html
vendor/llvm/dist/docs/CompilerDriver.html
vendor/llvm/dist/docs/DeveloperPolicy.html
vendor/llvm/dist/docs/FAQ.html
vendor/llvm/dist/docs/GetElementPtr.html
vendor/llvm/dist/docs/GettingStarted.html
vendor/llvm/dist/docs/LangRef.html
vendor/llvm/dist/docs/MakefileGuide.html
vendor/llvm/dist/docs/Passes.html
vendor/llvm/dist/docs/ProgrammersManual.html
vendor/llvm/dist/docs/ReleaseNotes.html
vendor/llvm/dist/docs/TableGenFundamentals.html
vendor/llvm/dist/docs/TestingGuide.html
vendor/llvm/dist/docs/WritingAnLLVMPass.html
vendor/llvm/dist/docs/index.html
vendor/llvm/dist/docs/tutorial/LangImpl3.html
vendor/llvm/dist/docs/tutorial/LangImpl4.html
vendor/llvm/dist/docs/tutorial/LangImpl5.html
vendor/llvm/dist/docs/tutorial/LangImpl7.html
vendor/llvm/dist/docs/tutorial/OCamlLangImpl3.html
vendor/llvm/dist/docs/tutorial/OCamlLangImpl4.html
vendor/llvm/dist/docs/tutorial/OCamlLangImpl5.html
vendor/llvm/dist/docs/tutorial/OCamlLangImpl7.html
vendor/llvm/dist/examples/Makefile
vendor/llvm/dist/include/llvm-c/BitReader.h
vendor/llvm/dist/include/llvm-c/Core.h
vendor/llvm/dist/include/llvm-c/ExecutionEngine.h
vendor/llvm/dist/include/llvm/ADT/APFloat.h
vendor/llvm/dist/include/llvm/ADT/APInt.h
vendor/llvm/dist/include/llvm/ADT/DeltaAlgorithm.h
vendor/llvm/dist/include/llvm/ADT/ScopedHashTable.h
vendor/llvm/dist/include/llvm/ADT/StringRef.h
vendor/llvm/dist/include/llvm/ADT/Triple.h
vendor/llvm/dist/include/llvm/Analysis/DebugInfo.h
vendor/llvm/dist/include/llvm/Analysis/Dominators.h
vendor/llvm/dist/include/llvm/Analysis/IVUsers.h
vendor/llvm/dist/include/llvm/Analysis/LoopInfo.h
vendor/llvm/dist/include/llvm/Analysis/MemoryDependenceAnalysis.h
vendor/llvm/dist/include/llvm/Analysis/PHITransAddr.h
vendor/llvm/dist/include/llvm/Analysis/Passes.h
vendor/llvm/dist/include/llvm/Analysis/ScalarEvolution.h
vendor/llvm/dist/include/llvm/Attributes.h
vendor/llvm/dist/include/llvm/CodeGen/AsmPrinter.h
vendor/llvm/dist/include/llvm/CodeGen/LiveInterval.h
vendor/llvm/dist/include/llvm/CodeGen/LiveIntervalAnalysis.h
vendor/llvm/dist/include/llvm/CodeGen/LiveVariables.h
vendor/llvm/dist/include/llvm/CodeGen/MachineBasicBlock.h
vendor/llvm/dist/include/llvm/CodeGen/MachineInstr.h
vendor/llvm/dist/include/llvm/CodeGen/MachineInstrBuilder.h
vendor/llvm/dist/include/llvm/CodeGen/MachineOperand.h
vendor/llvm/dist/include/llvm/CodeGen/Passes.h
vendor/llvm/dist/include/llvm/CodeGen/SelectionDAG.h
vendor/llvm/dist/include/llvm/CodeGen/SelectionDAGISel.h
vendor/llvm/dist/include/llvm/CodeGen/SelectionDAGNodes.h
vendor/llvm/dist/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
vendor/llvm/dist/include/llvm/CompilerDriver/Common.td
vendor/llvm/dist/include/llvm/CompilerDriver/Main.inc
vendor/llvm/dist/include/llvm/CompilerDriver/Tool.h
vendor/llvm/dist/include/llvm/Constants.h
vendor/llvm/dist/include/llvm/Instructions.h
vendor/llvm/dist/include/llvm/LinkAllPasses.h
vendor/llvm/dist/include/llvm/MC/MCAssembler.h
vendor/llvm/dist/include/llvm/MC/MCContext.h
vendor/llvm/dist/include/llvm/MC/MCStreamer.h
vendor/llvm/dist/include/llvm/Metadata.h
vendor/llvm/dist/include/llvm/Pass.h
vendor/llvm/dist/include/llvm/Support/CommandLine.h
vendor/llvm/dist/include/llvm/Support/Regex.h
vendor/llvm/dist/include/llvm/Support/TargetFolder.h
vendor/llvm/dist/include/llvm/System/Path.h
vendor/llvm/dist/include/llvm/Target/Target.td
vendor/llvm/dist/include/llvm/Target/TargetAsmParser.h
vendor/llvm/dist/include/llvm/Target/TargetInstrInfo.h
vendor/llvm/dist/include/llvm/Target/TargetLowering.h
vendor/llvm/dist/include/llvm/Target/TargetMachine.h
vendor/llvm/dist/include/llvm/Target/TargetOpcodes.h
vendor/llvm/dist/include/llvm/Target/TargetRegisterInfo.h
vendor/llvm/dist/include/llvm/Target/TargetRegistry.h
vendor/llvm/dist/include/llvm/Target/TargetSelectionDAG.td
vendor/llvm/dist/include/llvm/Transforms/Scalar.h
vendor/llvm/dist/include/llvm/Transforms/Utils/BasicBlockUtils.h
vendor/llvm/dist/include/llvm/Type.h
vendor/llvm/dist/lib/Analysis/AliasAnalysisCounter.cpp
vendor/llvm/dist/lib/Analysis/AliasAnalysisEvaluator.cpp
vendor/llvm/dist/lib/Analysis/BasicAliasAnalysis.cpp
vendor/llvm/dist/lib/Analysis/CaptureTracking.cpp
vendor/llvm/dist/lib/Analysis/ConstantFolding.cpp
vendor/llvm/dist/lib/Analysis/DebugInfo.cpp
vendor/llvm/dist/lib/Analysis/IPA/CMakeLists.txt
vendor/llvm/dist/lib/Analysis/IPA/GlobalsModRef.cpp
vendor/llvm/dist/lib/Analysis/IVUsers.cpp
vendor/llvm/dist/lib/Analysis/InlineCost.cpp
vendor/llvm/dist/lib/Analysis/InstructionSimplify.cpp
vendor/llvm/dist/lib/Analysis/MemoryDependenceAnalysis.cpp
vendor/llvm/dist/lib/Analysis/PHITransAddr.cpp
vendor/llvm/dist/lib/Analysis/PointerTracking.cpp
vendor/llvm/dist/lib/Analysis/ScalarEvolution.cpp
vendor/llvm/dist/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp
vendor/llvm/dist/lib/Analysis/ScalarEvolutionExpander.cpp
vendor/llvm/dist/lib/Analysis/ValueTracking.cpp
vendor/llvm/dist/lib/AsmParser/LLParser.cpp
vendor/llvm/dist/lib/Bitcode/Reader/BitReader.cpp
vendor/llvm/dist/lib/Bitcode/Reader/BitcodeReader.cpp
vendor/llvm/dist/lib/Bitcode/Writer/ValueEnumerator.cpp
vendor/llvm/dist/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
vendor/llvm/dist/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
vendor/llvm/dist/lib/CodeGen/AsmPrinter/DwarfException.cpp
vendor/llvm/dist/lib/CodeGen/AsmPrinter/DwarfPrinter.cpp
vendor/llvm/dist/lib/CodeGen/AsmPrinter/DwarfPrinter.h
vendor/llvm/dist/lib/CodeGen/CMakeLists.txt
vendor/llvm/dist/lib/CodeGen/CalcSpillWeights.cpp
vendor/llvm/dist/lib/CodeGen/CodePlacementOpt.cpp
vendor/llvm/dist/lib/CodeGen/DeadMachineInstructionElim.cpp
vendor/llvm/dist/lib/CodeGen/LLVMTargetMachine.cpp
vendor/llvm/dist/lib/CodeGen/LiveIntervalAnalysis.cpp
vendor/llvm/dist/lib/CodeGen/LiveVariables.cpp
vendor/llvm/dist/lib/CodeGen/MachineBasicBlock.cpp
vendor/llvm/dist/lib/CodeGen/MachineFunction.cpp
vendor/llvm/dist/lib/CodeGen/MachineInstr.cpp
vendor/llvm/dist/lib/CodeGen/MachineLICM.cpp
vendor/llvm/dist/lib/CodeGen/MachineSink.cpp
vendor/llvm/dist/lib/CodeGen/PBQP/HeuristicSolver.h
vendor/llvm/dist/lib/CodeGen/PHIElimination.cpp
vendor/llvm/dist/lib/CodeGen/PHIElimination.h
vendor/llvm/dist/lib/CodeGen/Passes.cpp
vendor/llvm/dist/lib/CodeGen/PrologEpilogInserter.cpp
vendor/llvm/dist/lib/CodeGen/RegAllocLinearScan.cpp
vendor/llvm/dist/lib/CodeGen/RegAllocPBQP.cpp
vendor/llvm/dist/lib/CodeGen/ScheduleDAGInstrs.cpp
vendor/llvm/dist/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
vendor/llvm/dist/lib/CodeGen/SelectionDAG/FastISel.cpp
vendor/llvm/dist/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
vendor/llvm/dist/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
vendor/llvm/dist/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
vendor/llvm/dist/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
vendor/llvm/dist/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
vendor/llvm/dist/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
vendor/llvm/dist/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
vendor/llvm/dist/lib/CodeGen/SelectionDAG/TargetLowering.cpp
vendor/llvm/dist/lib/CodeGen/SimpleRegisterCoalescing.cpp
vendor/llvm/dist/lib/CodeGen/TargetInstrInfoImpl.cpp
vendor/llvm/dist/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
vendor/llvm/dist/lib/CodeGen/TwoAddressInstructionPass.cpp
vendor/llvm/dist/lib/CodeGen/VirtRegMap.cpp
vendor/llvm/dist/lib/CodeGen/VirtRegRewriter.cpp
vendor/llvm/dist/lib/CompilerDriver/CompilationGraph.cpp
vendor/llvm/dist/lib/CompilerDriver/Main.cpp
vendor/llvm/dist/lib/CompilerDriver/Tool.cpp
vendor/llvm/dist/lib/ExecutionEngine/ExecutionEngine.cpp
vendor/llvm/dist/lib/ExecutionEngine/ExecutionEngineBindings.cpp
vendor/llvm/dist/lib/ExecutionEngine/Interpreter/Execution.cpp
vendor/llvm/dist/lib/ExecutionEngine/JIT/JIT.cpp
vendor/llvm/dist/lib/Linker/LinkModules.cpp
vendor/llvm/dist/lib/MC/CMakeLists.txt
vendor/llvm/dist/lib/MC/MCAsmStreamer.cpp
vendor/llvm/dist/lib/MC/MCAssembler.cpp
vendor/llvm/dist/lib/MC/MCMachOStreamer.cpp
vendor/llvm/dist/lib/MC/MCNullStreamer.cpp
vendor/llvm/dist/lib/MC/MCParser/AsmParser.cpp
vendor/llvm/dist/lib/Support/APFloat.cpp
vendor/llvm/dist/lib/Support/APInt.cpp
vendor/llvm/dist/lib/Support/CommandLine.cpp
vendor/llvm/dist/lib/Support/FormattedStream.cpp
vendor/llvm/dist/lib/Support/GraphWriter.cpp
vendor/llvm/dist/lib/Support/MemoryBuffer.cpp
vendor/llvm/dist/lib/Support/Regex.cpp
vendor/llvm/dist/lib/Support/StringRef.cpp
vendor/llvm/dist/lib/Support/Triple.cpp
vendor/llvm/dist/lib/Target/ARM/ARMBaseInstrInfo.cpp
vendor/llvm/dist/lib/Target/ARM/ARMBaseInstrInfo.h
vendor/llvm/dist/lib/Target/ARM/ARMBaseRegisterInfo.cpp
vendor/llvm/dist/lib/Target/ARM/ARMBaseRegisterInfo.h
vendor/llvm/dist/lib/Target/ARM/ARMISelDAGToDAG.cpp
vendor/llvm/dist/lib/Target/ARM/ARMISelLowering.cpp
vendor/llvm/dist/lib/Target/ARM/ARMISelLowering.h
vendor/llvm/dist/lib/Target/ARM/ARMInstrFormats.td
vendor/llvm/dist/lib/Target/ARM/ARMInstrInfo.td
vendor/llvm/dist/lib/Target/ARM/ARMInstrNEON.td
vendor/llvm/dist/lib/Target/ARM/ARMInstrThumb.td
vendor/llvm/dist/lib/Target/ARM/ARMInstrThumb2.td
vendor/llvm/dist/lib/Target/ARM/ARMInstrVFP.td
vendor/llvm/dist/lib/Target/ARM/ARMJITInfo.cpp
vendor/llvm/dist/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
vendor/llvm/dist/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
vendor/llvm/dist/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
vendor/llvm/dist/lib/Target/ARM/AsmPrinter/ARMInstPrinter.h
vendor/llvm/dist/lib/Target/ARM/README.txt
vendor/llvm/dist/lib/Target/ARM/Thumb1RegisterInfo.cpp
vendor/llvm/dist/lib/Target/Alpha/AlphaISelDAGToDAG.cpp
vendor/llvm/dist/lib/Target/Alpha/AlphaInstrInfo.td
vendor/llvm/dist/lib/Target/Blackfin/BlackfinISelDAGToDAG.cpp
vendor/llvm/dist/lib/Target/CBackend/CBackend.cpp
vendor/llvm/dist/lib/Target/CBackend/CTargetMachine.h
vendor/llvm/dist/lib/Target/CellSPU/SPU64InstrInfo.td
vendor/llvm/dist/lib/Target/CellSPU/SPUISelDAGToDAG.cpp
vendor/llvm/dist/lib/Target/CellSPU/SPUISelLowering.cpp
vendor/llvm/dist/lib/Target/CppBackend/CPPBackend.cpp
vendor/llvm/dist/lib/Target/CppBackend/CPPTargetMachine.h
vendor/llvm/dist/lib/Target/MSIL/MSILWriter.cpp
vendor/llvm/dist/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
vendor/llvm/dist/lib/Target/MSP430/MSP430ISelLowering.cpp
vendor/llvm/dist/lib/Target/MSP430/MSP430InstrInfo.td
vendor/llvm/dist/lib/Target/Mips/MipsISelDAGToDAG.cpp
vendor/llvm/dist/lib/Target/Mips/MipsInstrInfo.td
vendor/llvm/dist/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
vendor/llvm/dist/lib/Target/PIC16/PIC16ABINames.h
vendor/llvm/dist/lib/Target/PIC16/PIC16DebugInfo.cpp
vendor/llvm/dist/lib/Target/PIC16/PIC16ISelDAGToDAG.cpp
vendor/llvm/dist/lib/Target/PIC16/PIC16ISelDAGToDAG.h
vendor/llvm/dist/lib/Target/PIC16/PIC16ISelLowering.cpp
vendor/llvm/dist/lib/Target/PIC16/PIC16Passes/PIC16Overlay.cpp
vendor/llvm/dist/lib/Target/PIC16/PIC16Passes/PIC16Overlay.h
vendor/llvm/dist/lib/Target/PowerPC/PPCHazardRecognizers.cpp
vendor/llvm/dist/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
vendor/llvm/dist/lib/Target/PowerPC/PPCISelLowering.cpp
vendor/llvm/dist/lib/Target/PowerPC/PPCInstr64Bit.td
vendor/llvm/dist/lib/Target/PowerPC/PPCInstrInfo.cpp
vendor/llvm/dist/lib/Target/PowerPC/PPCInstrInfo.td
vendor/llvm/dist/lib/Target/PowerPC/PPCRegisterInfo.td
vendor/llvm/dist/lib/Target/PowerPC/README.txt
vendor/llvm/dist/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp
vendor/llvm/dist/lib/Target/Sparc/README.txt
vendor/llvm/dist/lib/Target/Sparc/SparcISelDAGToDAG.cpp
vendor/llvm/dist/lib/Target/Sparc/SparcMachineFunctionInfo.h
vendor/llvm/dist/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
vendor/llvm/dist/lib/Target/SystemZ/SystemZInstrFP.td
vendor/llvm/dist/lib/Target/SystemZ/SystemZInstrInfo.td
vendor/llvm/dist/lib/Target/SystemZ/SystemZMachineFunctionInfo.h
vendor/llvm/dist/lib/Target/TargetData.cpp
vendor/llvm/dist/lib/Target/TargetLoweringObjectFile.cpp
vendor/llvm/dist/lib/Target/X86/AsmPrinter/X86ATTInstPrinter.cpp
vendor/llvm/dist/lib/Target/X86/CMakeLists.txt
vendor/llvm/dist/lib/Target/X86/README-SSE.txt
vendor/llvm/dist/lib/Target/X86/README.txt
vendor/llvm/dist/lib/Target/X86/X86.h
vendor/llvm/dist/lib/Target/X86/X86FastISel.cpp
vendor/llvm/dist/lib/Target/X86/X86ISelDAGToDAG.cpp
vendor/llvm/dist/lib/Target/X86/X86ISelLowering.cpp
vendor/llvm/dist/lib/Target/X86/X86ISelLowering.h
vendor/llvm/dist/lib/Target/X86/X86Instr64bit.td
vendor/llvm/dist/lib/Target/X86/X86InstrFPStack.td
vendor/llvm/dist/lib/Target/X86/X86InstrInfo.cpp
vendor/llvm/dist/lib/Target/X86/X86InstrInfo.td
vendor/llvm/dist/lib/Target/X86/X86InstrMMX.td
vendor/llvm/dist/lib/Target/X86/X86InstrSSE.td
vendor/llvm/dist/lib/Target/X86/X86MCAsmInfo.cpp
vendor/llvm/dist/lib/Target/X86/X86RegisterInfo.cpp
vendor/llvm/dist/lib/Target/X86/X86RegisterInfo.h
vendor/llvm/dist/lib/Target/X86/X86RegisterInfo.td
vendor/llvm/dist/lib/Target/X86/X86Subtarget.h
vendor/llvm/dist/lib/Target/X86/X86TargetMachine.cpp
vendor/llvm/dist/lib/Target/X86/X86TargetObjectFile.cpp
vendor/llvm/dist/lib/Target/X86/X86TargetObjectFile.h
vendor/llvm/dist/lib/Target/XCore/AsmPrinter/XCoreAsmPrinter.cpp
vendor/llvm/dist/lib/Target/XCore/XCoreISelDAGToDAG.cpp
vendor/llvm/dist/lib/Target/XCore/XCoreISelLowering.cpp
vendor/llvm/dist/lib/Target/XCore/XCoreISelLowering.h
vendor/llvm/dist/lib/Target/XCore/XCoreInstrInfo.cpp
vendor/llvm/dist/lib/Target/XCore/XCoreInstrInfo.td
vendor/llvm/dist/lib/Transforms/Hello/Hello.cpp
vendor/llvm/dist/lib/Transforms/IPO/ArgumentPromotion.cpp
vendor/llvm/dist/lib/Transforms/IPO/DeadArgumentElimination.cpp
vendor/llvm/dist/lib/Transforms/IPO/FunctionAttrs.cpp
vendor/llvm/dist/lib/Transforms/IPO/GlobalOpt.cpp
vendor/llvm/dist/lib/Transforms/InstCombine/InstCombineAddSub.cpp
vendor/llvm/dist/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
vendor/llvm/dist/lib/Transforms/InstCombine/InstCombineCalls.cpp
vendor/llvm/dist/lib/Transforms/InstCombine/InstCombineCasts.cpp
vendor/llvm/dist/lib/Transforms/InstCombine/InstCombineCompares.cpp
vendor/llvm/dist/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
vendor/llvm/dist/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
vendor/llvm/dist/lib/Transforms/InstCombine/InstCombinePHI.cpp
vendor/llvm/dist/lib/Transforms/InstCombine/InstCombineSelect.cpp
vendor/llvm/dist/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
vendor/llvm/dist/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
vendor/llvm/dist/lib/Transforms/InstCombine/InstructionCombining.cpp
vendor/llvm/dist/lib/Transforms/Scalar/ABCD.cpp
vendor/llvm/dist/lib/Transforms/Scalar/CodeGenPrepare.cpp
vendor/llvm/dist/lib/Transforms/Scalar/GVN.cpp
vendor/llvm/dist/lib/Transforms/Scalar/IndVarSimplify.cpp
vendor/llvm/dist/lib/Transforms/Scalar/JumpThreading.cpp
vendor/llvm/dist/lib/Transforms/Scalar/LICM.cpp
vendor/llvm/dist/lib/Transforms/Scalar/LoopStrengthReduce.cpp
vendor/llvm/dist/lib/Transforms/Scalar/LoopUnswitch.cpp
vendor/llvm/dist/lib/Transforms/Scalar/Reassociate.cpp
vendor/llvm/dist/lib/Transforms/Scalar/SCCP.cpp
vendor/llvm/dist/lib/Transforms/Scalar/ScalarReplAggregates.cpp
vendor/llvm/dist/lib/Transforms/Scalar/SimplifyLibCalls.cpp
vendor/llvm/dist/lib/Transforms/Utils/AddrModeMatcher.cpp
vendor/llvm/dist/lib/Transforms/Utils/BasicBlockUtils.cpp
vendor/llvm/dist/lib/Transforms/Utils/Local.cpp
vendor/llvm/dist/lib/Transforms/Utils/LoopSimplify.cpp
vendor/llvm/dist/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
vendor/llvm/dist/lib/Transforms/Utils/SimplifyCFG.cpp
vendor/llvm/dist/lib/VMCore/AsmWriter.cpp
vendor/llvm/dist/lib/VMCore/Attributes.cpp
vendor/llvm/dist/lib/VMCore/ConstantFold.cpp
vendor/llvm/dist/lib/VMCore/Constants.cpp
vendor/llvm/dist/lib/VMCore/Core.cpp
vendor/llvm/dist/lib/VMCore/Function.cpp
vendor/llvm/dist/lib/VMCore/InlineAsm.cpp
vendor/llvm/dist/lib/VMCore/Instructions.cpp
vendor/llvm/dist/lib/VMCore/LLVMContextImpl.h
vendor/llvm/dist/lib/VMCore/Metadata.cpp
vendor/llvm/dist/lib/VMCore/PassManager.cpp
vendor/llvm/dist/lib/VMCore/Type.cpp
vendor/llvm/dist/lib/VMCore/Value.cpp
vendor/llvm/dist/lib/VMCore/ValueTypes.cpp
vendor/llvm/dist/lib/VMCore/Verifier.cpp
vendor/llvm/dist/projects/sample/configure
vendor/llvm/dist/runtime/libprofile/Makefile
vendor/llvm/dist/test/Bindings/Ocaml/bitreader.ml
vendor/llvm/dist/test/Bindings/Ocaml/executionengine.ml
vendor/llvm/dist/test/Bindings/Ocaml/scalar_opts.ml
vendor/llvm/dist/test/Bindings/Ocaml/vmcore.ml
vendor/llvm/dist/test/CodeGen/ARM/call.ll
vendor/llvm/dist/test/CodeGen/Alpha/add.ll
vendor/llvm/dist/test/CodeGen/Blackfin/promote-logic.ll
vendor/llvm/dist/test/CodeGen/Generic/GC/argpromotion.ll
vendor/llvm/dist/test/CodeGen/MSP430/AddrMode-bis-rx.ll
vendor/llvm/dist/test/CodeGen/MSP430/AddrMode-bis-xr.ll
vendor/llvm/dist/test/CodeGen/MSP430/AddrMode-mov-rx.ll
vendor/llvm/dist/test/CodeGen/MSP430/AddrMode-mov-xr.ll
vendor/llvm/dist/test/CodeGen/MSP430/Inst16mm.ll
vendor/llvm/dist/test/CodeGen/MSP430/Inst8rr.ll
vendor/llvm/dist/test/CodeGen/MSP430/bit.ll
vendor/llvm/dist/test/CodeGen/MSP430/setcc.ll
vendor/llvm/dist/test/CodeGen/PIC16/C16-11.ll
vendor/llvm/dist/test/CodeGen/PIC16/C16-15.ll
vendor/llvm/dist/test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll
vendor/llvm/dist/test/CodeGen/PowerPC/2009-08-17-inline-asm-addr-mode-breakage.ll
vendor/llvm/dist/test/CodeGen/PowerPC/Frames-alloca.ll
vendor/llvm/dist/test/CodeGen/PowerPC/LargeAbsoluteAddr.ll
vendor/llvm/dist/test/CodeGen/PowerPC/addc.ll
vendor/llvm/dist/test/CodeGen/PowerPC/indirectbr.ll
vendor/llvm/dist/test/CodeGen/PowerPC/mem_update.ll
vendor/llvm/dist/test/CodeGen/PowerPC/retaddr.ll
vendor/llvm/dist/test/CodeGen/Thumb2/ldr-str-imm12.ll
vendor/llvm/dist/test/CodeGen/X86/2005-01-17-CycleInDAG.ll
vendor/llvm/dist/test/CodeGen/X86/2006-10-07-ScalarSSEMiscompile.ll
vendor/llvm/dist/test/CodeGen/X86/2008-02-22-ReMatBug.ll
vendor/llvm/dist/test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll
vendor/llvm/dist/test/CodeGen/X86/2009-09-07-CoalescerBug.ll
vendor/llvm/dist/test/CodeGen/X86/and-or-fold.ll
vendor/llvm/dist/test/CodeGen/X86/critical-edge-split.ll
vendor/llvm/dist/test/CodeGen/X86/ins_subreg_coalesce-3.ll
vendor/llvm/dist/test/CodeGen/X86/lsr-reuse-trunc.ll
vendor/llvm/dist/test/CodeGen/X86/lsr-reuse.ll
vendor/llvm/dist/test/CodeGen/X86/pr3495-2.ll
vendor/llvm/dist/test/CodeGen/X86/ptrtoint-constexpr.ll
vendor/llvm/dist/test/CodeGen/X86/sink-hoist.ll
vendor/llvm/dist/test/CodeGen/X86/sse-minmax.ll
vendor/llvm/dist/test/CodeGen/X86/sse3.ll
vendor/llvm/dist/test/CodeGen/X86/stack-align.ll
vendor/llvm/dist/test/CodeGen/X86/store_op_load_fold.ll
vendor/llvm/dist/test/CodeGen/X86/store_op_load_fold2.ll
vendor/llvm/dist/test/CodeGen/X86/trunc-to-bool.ll
vendor/llvm/dist/test/CodeGen/X86/vec_cast.ll
vendor/llvm/dist/test/CodeGen/X86/vec_insert.ll
vendor/llvm/dist/test/CodeGen/X86/vec_shuffle-36.ll
vendor/llvm/dist/test/CodeGen/X86/vec_ss_load_fold.ll
vendor/llvm/dist/test/CodeGen/X86/xor-icmp.ll
vendor/llvm/dist/test/ExecutionEngine/2010-01-15-UndefValue.ll
vendor/llvm/dist/test/FrontendC/2003-12-14-ExternInlineSupport.c
vendor/llvm/dist/test/FrontendC/2007-09-17-WeakRef.c
vendor/llvm/dist/test/LLVMC/AppendCmdHook.td
vendor/llvm/dist/test/LLVMC/EnvParentheses.td
vendor/llvm/dist/test/LLVMC/ExternOptions.td
vendor/llvm/dist/test/LLVMC/ForwardAs.td
vendor/llvm/dist/test/LLVMC/ForwardTransformedValue.td
vendor/llvm/dist/test/LLVMC/ForwardValue.td
vendor/llvm/dist/test/LLVMC/HookWithArguments.td
vendor/llvm/dist/test/LLVMC/HookWithInFile.td
vendor/llvm/dist/test/LLVMC/Init.td
vendor/llvm/dist/test/LLVMC/MultiValuedOption.td
vendor/llvm/dist/test/LLVMC/MultiplePluginPriorities.td
vendor/llvm/dist/test/LLVMC/NoActions.td
vendor/llvm/dist/test/LLVMC/OneOrMore.td
vendor/llvm/dist/test/LLVMC/OptionPreprocessor.td
vendor/llvm/dist/test/Makefile
vendor/llvm/dist/test/Makefile.tests
vendor/llvm/dist/test/Other/constant-fold-gep.ll
vendor/llvm/dist/test/Transforms/GVN/2008-02-13-NewPHI.ll
vendor/llvm/dist/test/Transforms/GVN/pre-load.ll
vendor/llvm/dist/test/Transforms/GlobalOpt/2009-03-05-dbg.ll
vendor/llvm/dist/test/Transforms/IndVarSimplify/2003-09-12-MultiplePred.ll
vendor/llvm/dist/test/Transforms/IndVarSimplify/2003-12-10-RemoveInstrCrash.ll
vendor/llvm/dist/test/Transforms/IndVarSimplify/2003-12-15-Crash.ll
vendor/llvm/dist/test/Transforms/IndVarSimplify/2005-11-18-Crash.ll
vendor/llvm/dist/test/Transforms/IndVarSimplify/2006-12-10-BitCast.ll
vendor/llvm/dist/test/Transforms/IndVarSimplify/2009-05-24-useafterfree.ll
vendor/llvm/dist/test/Transforms/IndVarSimplify/avoid-i0.ll
vendor/llvm/dist/test/Transforms/IndVarSimplify/max-pointer.ll
vendor/llvm/dist/test/Transforms/InstCombine/2009-01-19-fmod-constant-float-specials.ll
vendor/llvm/dist/test/Transforms/InstCombine/bswap-fold.ll
vendor/llvm/dist/test/Transforms/InstCombine/multi-use-or.ll
vendor/llvm/dist/test/Transforms/InstCombine/objsize.ll
vendor/llvm/dist/test/Transforms/InstCombine/ptr-int-cast.ll
vendor/llvm/dist/test/Transforms/InstCombine/vec_narrow.ll
vendor/llvm/dist/test/Transforms/InstCombine/xor2.ll
vendor/llvm/dist/test/Transforms/SimplifyCFG/2009-06-15-InvokeCrash.ll
vendor/llvm/dist/test/Unit/lit.cfg
vendor/llvm/dist/test/Unit/lit.site.cfg.in
vendor/llvm/dist/test/lib/llvm.exp
vendor/llvm/dist/test/lit.cfg
vendor/llvm/dist/test/site.exp.in
vendor/llvm/dist/tools/Makefile
vendor/llvm/dist/tools/bugpoint/CrashDebugger.cpp
vendor/llvm/dist/tools/bugpoint/ExtractFunction.cpp
vendor/llvm/dist/tools/llc/llc.cpp
vendor/llvm/dist/tools/llvm-config/CMakeLists.txt
vendor/llvm/dist/tools/llvmc/example/mcc16/plugins/PIC16Base/PIC16Base.td
vendor/llvm/dist/tools/llvmc/plugins/Base/Base.td.in
vendor/llvm/dist/tools/llvmc/plugins/Clang/Clang.td
vendor/llvm/dist/tools/opt/opt.cpp
vendor/llvm/dist/unittests/ADT/APFloatTest.cpp
vendor/llvm/dist/unittests/Makefile.unittest
vendor/llvm/dist/unittests/Support/AllocatorTest.cpp
vendor/llvm/dist/unittests/Support/RegexTest.cpp
vendor/llvm/dist/utils/GenLibDeps.pl
vendor/llvm/dist/utils/TableGen/CMakeLists.txt
vendor/llvm/dist/utils/TableGen/CodeGenDAGPatterns.cpp
vendor/llvm/dist/utils/TableGen/CodeGenDAGPatterns.h
vendor/llvm/dist/utils/TableGen/CodeGenInstruction.cpp
vendor/llvm/dist/utils/TableGen/CodeGenInstruction.h
vendor/llvm/dist/utils/TableGen/DAGISelEmitter.cpp
vendor/llvm/dist/utils/TableGen/DAGISelEmitter.h
vendor/llvm/dist/utils/TableGen/DAGISelMatcher.cpp
vendor/llvm/dist/utils/TableGen/DAGISelMatcher.h
vendor/llvm/dist/utils/TableGen/DAGISelMatcherEmitter.cpp
vendor/llvm/dist/utils/TableGen/DAGISelMatcherGen.cpp
vendor/llvm/dist/utils/TableGen/InstrEnumEmitter.cpp
vendor/llvm/dist/utils/TableGen/LLVMCConfigurationEmitter.cpp
vendor/llvm/dist/utils/TableGen/Record.h
vendor/llvm/dist/utils/TableGen/X86RecognizableInstr.cpp
vendor/llvm/dist/utils/buildit/GNUmakefile
vendor/llvm/dist/utils/lit/lit/ExampleTests/LLVM.InTree/test/site.exp
vendor/llvm/dist/utils/lit/lit/ExampleTests/LLVM.OutOfTree/obj/test/site.exp
vendor/llvm/dist/utils/llvm.grm
vendor/llvm/dist/utils/vim/llvm.vim
vendor/llvm/dist/utils/vim/tablegen.vim
vendor/llvm/dist/utils/vim/vimrc
Modified: vendor/llvm/dist/CREDITS.TXT
==============================================================================
--- vendor/llvm/dist/CREDITS.TXT Wed Mar 3 17:13:29 2010 (r204641)
+++ vendor/llvm/dist/CREDITS.TXT Wed Mar 3 17:27:15 2010 (r204642)
@@ -335,3 +335,8 @@ D: Bunches of stuff
N: Bob Wilson
E: bob.wilson at acm.org
D: Advanced SIMD (NEON) support in the ARM backend
+
+N: Wesley Peck
+E: peckw at wesleypeck.com
+W: http://wesleypeck.com/
+D: MicroBlaze backend
Modified: vendor/llvm/dist/Makefile
==============================================================================
--- vendor/llvm/dist/Makefile Wed Mar 3 17:13:29 2010 (r204641)
+++ vendor/llvm/dist/Makefile Wed Mar 3 17:27:15 2010 (r204642)
@@ -30,8 +30,8 @@ ifeq ($(BUILD_DIRS_ONLY),1)
DIRS := lib/System lib/Support utils
OPTIONAL_DIRS :=
else
- DIRS := lib/System lib/Support utils lib/VMCore lib tools/llvm-config \
- tools runtime docs unittests
+ DIRS := lib/System lib/Support utils lib/VMCore lib tools/llvm-shlib \
+ tools/llvm-config tools runtime docs unittests
OPTIONAL_DIRS := projects bindings
endif
@@ -43,12 +43,9 @@ EXTRA_DIST := test unittests llvm.spec i
include $(LEVEL)/Makefile.config
-# llvm-gcc4 doesn't need runtime libs. llvm-gcc4 is the only supported one.
-# FIXME: Remove runtime entirely once we have an understanding of where
-# libprofile etc should go.
-#ifeq ($(LLVMGCC_MAJVERS),4)
-# DIRS := $(filter-out runtime, $(DIRS))
-#endif
+ifneq ($(ENABLE_SHARED),1)
+ DIRS := $(filter-out tools/llvm-shlib, $(DIRS))
+endif
ifeq ($(MAKECMDGOALS),libs-only)
DIRS := $(filter-out tools runtime docs, $(DIRS))
Modified: vendor/llvm/dist/Makefile.config.in
==============================================================================
--- vendor/llvm/dist/Makefile.config.in Wed Mar 3 17:13:29 2010 (r204641)
+++ vendor/llvm/dist/Makefile.config.in Wed Mar 3 17:27:15 2010 (r204642)
@@ -183,25 +183,21 @@ TARGETS_TO_BUILD=@TARGETS_TO_BUILD@
# want to override the value set by configure.
LLVMGCCDIR := @LLVMGCCDIR@
-# Determine the target for which LLVM should generate code.
-ifeq (@LLVMGCC_MAJVERS@,3)
-LLVMGCCARCH := @target@/3.4-llvm
-else
-LLVMGCCARCH := @target@/@LLVMGCC_VERSION@
-endif
-
-# Determine the path where the library executables are
-LLVMGCCLIBEXEC := @LLVMGCCLIBEXEC@
-
# Full pathnames of LLVM C/C++ front-end 'cc1' and 'cc1plus' binaries:
LLVMGCC := @LLVMGCC@
LLVMGXX := @LLVMGXX@
LLVMCC1 := @LLVMCC1@
LLVMCC1PLUS := @LLVMCC1PLUS@
-LLVMGCC_VERSION := @LLVMGCC_VERSION@
-LLVMGCC_MAJVERS := @LLVMGCC_MAJVERS@
LLVMGCC_LANGS := @LLVMGCC_LANGS@
+# Information on Clang, if configured.
+CLANGPATH := @CLANGPATH@
+CLANGXXPATH := @CLANGXXPATH@
+ENABLE_BUILT_CLANG := @ENABLE_BUILT_CLANG@
+
+# The LLVM capable compiler to use.
+LLVMCC_OPTION := @LLVMCC_OPTION@
+
# Path to directory where object files should be stored during a build.
# Set OBJ_ROOT to "." if you do not want to use a separate place for
# object files.
@@ -266,6 +262,9 @@ ENABLE_THREADS := @ENABLE_THREADS@
# Do we want to build with position independent code?
ENABLE_PIC := @ENABLE_PIC@
+# Do we want to build a shared library and link the tools with it?
+ENABLE_SHARED := @ENABLE_SHARED@
+
# Use -fvisibility-inlines-hidden?
ENABLE_VISIBILITY_INLINES_HIDDEN := @ENABLE_VISIBILITY_INLINES_HIDDEN@
@@ -276,6 +275,9 @@ ENABLE_VISIBILITY_INLINES_HIDDEN := @ENA
# Enable JIT for this platform
TARGET_HAS_JIT = @TARGET_HAS_JIT@
+# Environment variable to set to change the runtime shared library search path.
+SHLIBPATH_VAR = @SHLIBPATH_VAR@
+
# Shared library extension for host platform.
SHLIBEXT = @SHLIBEXT@
Modified: vendor/llvm/dist/Makefile.rules
==============================================================================
--- vendor/llvm/dist/Makefile.rules Wed Mar 3 17:13:29 2010 (r204641)
+++ vendor/llvm/dist/Makefile.rules Wed Mar 3 17:27:15 2010 (r204642)
@@ -493,7 +493,27 @@ ExmplDir := $(PROJ_OBJ_ROOT)/$(BuildM
LLVMLibDir := $(LLVM_OBJ_ROOT)/$(BuildMode)/lib
LLVMToolDir := $(LLVM_OBJ_ROOT)/$(BuildMode)/bin
LLVMExmplDir:= $(LLVM_OBJ_ROOT)/$(BuildMode)/examples
-CFERuntimeLibDir := $(LLVMGCCDIR)/lib
+
+#--------------------------------------------------------------------
+# LLVM Capable Compiler
+#--------------------------------------------------------------------
+
+ifeq ($(LLVMCC_OPTION),llvm-gcc)
+ LLVMCC := $(LLVMGCC)
+ LLVMCXX := $(LLVMGXX)
+else
+ ifeq ($(LLVMCC_OPTION),clang)
+ ifneq ($(CLANGPATH),)
+ LLVMCC := $(CLANGPATH)
+ LLVMCXX := $(CLANGXXPATH)
+ else
+ ifeq ($(ENABLE_BUILT_CLANG),1)
+ LLVMCC := $(LLVMToolDir)/clang
+ LLVMCXX := $(LLVMToolDir)/clang++
+ endif
+ endif
+ endif
+endif
#--------------------------------------------------------------------
# Full Paths To Compiled Tools and Utilities
@@ -529,16 +549,6 @@ endif
ifndef LBUGPOINT
LBUGPOINT := $(LLVMToolDir)/bugpoint$(EXEEXT)
endif
-ifndef LUPGRADE
-LUPGRADE := $(LLVMToolDir)/llvm-upgrade$(EXEEXT)
-endif
-ifeq ($(LLVMGCC_MAJVERS),3)
-LLVMGCCWITHPATH := PATH="$(LLVMToolDir):$(PATH)" $(LLVMGCC)
-LLVMGXXWITHPATH := PATH="$(LLVMToolDir):$(PATH)" $(LLVMGXX)
-else
-LLVMGCCWITHPATH := $(LLVMGCC)
-LLVMGXXWITHPATH := $(LLVMGXX)
-endif
#--------------------------------------------------------------------
# Adjust to user's request
@@ -613,11 +623,12 @@ endif
ifneq ($(HOST_OS),Darwin)
ifneq ($(DARWIN_MAJVERS),4)
ifdef TOOLNAME
-ifdef EXAMPLE_TOOL
- LD.Flags += $(RPATH) -Wl,$(ExmplDir) $(RDYNAMIC)
-else
- LD.Flags += $(RPATH) -Wl,$(ToolDir) $(RDYNAMIC)
-endif
+ LD.Flags += $(RPATH) -Wl,'$$ORIGIN/../lib'
+ ifdef EXAMPLE_TOOL
+ LD.Flags += $(RPATH) -Wl,$(ExmplDir) $(RDYNAMIC)
+ else
+ LD.Flags += $(RPATH) -Wl,$(ToolDir) $(RDYNAMIC)
+ endif
endif
endif
endif
@@ -710,14 +721,12 @@ else
$(TargetCommonOpts) $(CompileCommonOpts) $(LD.Flags) $(Strip)
endif
-BCCompile.C = $(LLVMGCCWITHPATH) $(CPP.Flags) $(C.Flags) $(CFLAGS) \
- $(CPPFLAGS) \
+BCCompile.C = $(LLVMCC) $(CPP.Flags) $(C.Flags) $(CFLAGS) $(CPPFLAGS) \
$(TargetCommonOpts) $(CompileCommonOpts)
Preprocess.C = $(CC) $(CPP.Flags) $(C.Flags) $(CPPFLAGS) \
$(TargetCommonOpts) $(CompileCommonOpts) -E
-BCCompile.CXX = $(LLVMGXXWITHPATH) $(CPP.Flags) $(CXX.Flags) $(CXXFLAGS) \
- $(CPPFLAGS) \
+BCCompile.CXX = $(LLVMCXX) $(CPP.Flags) $(CXX.Flags) $(CXXFLAGS) $(CPPFLAGS) \
$(TargetCommonOpts) $(CompileCommonOpts)
ProgInstall = $(INSTALL) $(Install.StripFlag) -m 0755
@@ -952,11 +961,16 @@ $(LLVM_CONFIG):
$(ToolDir)/$(strip $(TOOLNAME))$(EXEEXT): $(LLVM_CONFIG)
+ifeq ($(ENABLE_SHARED), 1)
+LLVMLibsOptions += -lLLVM-$(LLVMVersion)
+LLVMLibsPaths += $(LibDir)/libLLVM-$(LLVMVersion)$(SHLIBEXT)
+else
LLVMLibsOptions += $(shell $(LLVM_CONFIG) --libs $(LINK_COMPONENTS))
LLVMLibsPaths += $(LLVM_CONFIG) \
$(shell $(LLVM_CONFIG) --libfiles $(LINK_COMPONENTS))
endif
endif
+endif
###############################################################################
# Library Build Rules: Four ways to build a library
@@ -971,12 +985,12 @@ endif
#---------------------------------------------------------
ifdef MODULE_NAME
-ifeq ($(strip $(LLVMGCC)),)
-$(warning Modules require llvm-gcc but no llvm-gcc is available ****)
+ifeq ($(strip $(LLVMCC)),)
+$(warning Modules require LLVM capable compiler but none is available ****)
else
Module := $(LibDir)/$(MODULE_NAME).bc
-LinkModule := $(LLVMLD) -L$(CFERuntimeLibDir) -r
+LinkModule := $(LLVMLD) -r
ifdef EXPORTED_SYMBOL_FILE
@@ -1097,15 +1111,14 @@ endif
# targets for building them.
#---------------------------------------------------------
ifdef BYTECODE_LIBRARY
-ifeq ($(strip $(LLVMGCC)),)
-$(warning Bytecode libraries require llvm-gcc which could not be found ****)
+ifeq ($(strip $(LLVMCC)),)
+$(warning Bytecode libraries require LLVM capable compiler but none is available ****)
else
all-local:: $(LibName.BCA)
ifdef EXPORTED_SYMBOL_FILE
-BCLinkLib = $(LLVMLD) -L$(CFERuntimeLibDir) \
- -internalize-public-api-file=$(EXPORTED_SYMBOL_FILE)
+BCLinkLib = $(LLVMLD) -internalize-public-api-file=$(EXPORTED_SYMBOL_FILE)
$(LibName.BCA): $(ObjectsBC) $(LibDir)/.dir $(LLVMLD) \
$(LLVMToolDir)/llvm-ar
@@ -1162,11 +1175,13 @@ endif
# If neither BUILD_ARCHIVE or LOADABLE_MODULE are specified, default to
# building an archive.
#---------------------------------------------------------
+ifndef NO_BUILD_ARCHIVE
ifndef BUILD_ARCHIVE
ifndef LOADABLE_MODULE
BUILD_ARCHIVE = 1
endif
endif
+endif
#---------------------------------------------------------
# Archive Library Targets:
@@ -1382,19 +1397,19 @@ BC_DEPEND_OPTIONS = -MMD -MP -MF "$(ObjD
BC_DEPEND_MOVEFILE = then $(MV) -f "$(ObjDir)/$*.bc.d.tmp" "$(ObjDir)/$*.bc.d"; \
else $(RM) "$(ObjDir)/$*.bc.d.tmp"; exit 1; fi
-$(ObjDir)/%.ll: %.cpp $(ObjDir)/.dir $(BUILT_SOURCES) $(LLVMGXX)
+$(ObjDir)/%.ll: %.cpp $(ObjDir)/.dir $(BUILT_SOURCES) $(LLVMCXX)
$(Echo) "Compiling $*.cpp for $(BuildMode) build (bytecode)"
$(Verb) if $(BCCompile.CXX) $(BC_DEPEND_OPTIONS) \
$< -o $(ObjDir)/$*.ll -S -emit-llvm ; \
$(BC_DEPEND_MOVEFILE)
-$(ObjDir)/%.ll: %.cc $(ObjDir)/.dir $(BUILT_SOURCES) $(LLVMGXX)
+$(ObjDir)/%.ll: %.cc $(ObjDir)/.dir $(BUILT_SOURCES) $(LLVMCXX)
$(Echo) "Compiling $*.cc for $(BuildMode) build (bytecode)"
$(Verb) if $(BCCompile.CXX) $(BC_DEPEND_OPTIONS) \
$< -o $(ObjDir)/$*.ll -S -emit-llvm ; \
$(BC_DEPEND_MOVEFILE)
-$(ObjDir)/%.ll: %.c $(ObjDir)/.dir $(BUILT_SOURCES) $(LLVMGCC)
+$(ObjDir)/%.ll: %.c $(ObjDir)/.dir $(BUILT_SOURCES) $(LLVMCC)
$(Echo) "Compiling $*.c for $(BuildMode) build (bytecode)"
$(Verb) if $(BCCompile.C) $(BC_DEPEND_OPTIONS) \
$< -o $(ObjDir)/$*.ll -S -emit-llvm ; \
@@ -1415,15 +1430,15 @@ $(ObjDir)/%.o: %.c $(ObjDir)/.dir $(BUIL
$(Echo) "Compiling $*.c for $(BuildMode) build" $(PIC_FLAG)
$(Compile.C) $< -o $@
-$(ObjDir)/%.ll: %.cpp $(ObjDir)/.dir $(BUILT_SOURCES) $(LLVMGXX)
+$(ObjDir)/%.ll: %.cpp $(ObjDir)/.dir $(BUILT_SOURCES) $(LLVMCXX)
$(Echo) "Compiling $*.cpp for $(BuildMode) build (bytecode)"
$(BCCompile.CXX) $< -o $@ -S -emit-llvm
-$(ObjDir)/%.ll: %.cc $(ObjDir)/.dir $(BUILT_SOURCES) $(LLVMGXX)
+$(ObjDir)/%.ll: %.cc $(ObjDir)/.dir $(BUILT_SOURCES) $(LLVMCXX)
$(Echo) "Compiling $*.cc for $(BuildMode) build (bytecode)"
$(BCCompile.CXX) $< -o $@ -S -emit-llvm
-$(ObjDir)/%.ll: %.c $(ObjDir)/.dir $(BUILT_SOURCES) $(LLVMGCC)
+$(ObjDir)/%.ll: %.c $(ObjDir)/.dir $(BUILT_SOURCES) $(LLVMCC)
$(Echo) "Compiling $*.c for $(BuildMode) build (bytecode)"
$(BCCompile.C) $< -o $@ -S -emit-llvm
Modified: vendor/llvm/dist/README.txt
==============================================================================
--- vendor/llvm/dist/README.txt Wed Mar 3 17:13:29 2010 (r204641)
+++ vendor/llvm/dist/README.txt Wed Mar 3 17:27:15 2010 (r204642)
@@ -10,3 +10,6 @@ the license agreement found in LICENSE.t
Please see the HTML documentation provided in docs/index.html for further
assistance with LLVM.
+
+If you're writing a package for LLVM, see docs/Packaging.html for our
+suggestions.
Modified: vendor/llvm/dist/autoconf/ExportMap.map
==============================================================================
--- vendor/llvm/dist/autoconf/ExportMap.map Wed Mar 3 17:13:29 2010 (r204641)
+++ vendor/llvm/dist/autoconf/ExportMap.map Wed Mar 3 17:27:15 2010 (r204642)
@@ -1,4 +1,7 @@
{
global: main;
+ __progname;
+ environ;
+
local: *;
};
Modified: vendor/llvm/dist/autoconf/configure.ac
==============================================================================
--- vendor/llvm/dist/autoconf/configure.ac Wed Mar 3 17:13:29 2010 (r204641)
+++ vendor/llvm/dist/autoconf/configure.ac Wed Mar 3 17:27:15 2010 (r204642)
@@ -80,6 +80,7 @@ do
llvm-tv) AC_CONFIG_SUBDIRS([projects/llvm-tv]) ;;
llvm-poolalloc) AC_CONFIG_SUBDIRS([projects/llvm-poolalloc]) ;;
poolalloc) AC_CONFIG_SUBDIRS([projects/poolalloc]) ;;
+ safecode) AC_CONFIG_SUBDIRS([projects/safecode]) ;;
llvm-kernel) AC_CONFIG_SUBDIRS([projects/llvm-kernel]) ;;
*)
AC_MSG_WARN([Unknown project (${i}) won't be configured automatically])
@@ -184,7 +185,7 @@ AC_CACHE_CHECK([type of operating system
llvm_cv_link_all_option="-Wl,--whole-archive"
llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
llvm_cv_os_type="Haiku"
- llvm_cv_platform_type="Unix" ;;
+ llvm_cv_platform_type="Unix" ;;
*-unknown-eabi*)
llvm_cv_link_all_option="-Wl,--whole-archive"
llvm_cv_no_link_all_option="-Wl,--no-whole-archive"
@@ -236,7 +237,7 @@ AC_CACHE_CHECK([type of operating system
*-*-mingw*)
llvm_cv_target_os_type="MingW" ;;
*-*-haiku*)
- llvm_cv_target_os_type="Haiku" ;;
+ llvm_cv_target_os_type="Haiku" ;;
*-unknown-eabi*)
llvm_cv_target_os_type="Freestanding" ;;
*)
@@ -291,6 +292,7 @@ AC_CACHE_CHECK([target architecture],[ll
msp430-*) llvm_cv_target_arch="MSP430" ;;
s390x-*) llvm_cv_target_arch="SystemZ" ;;
bfin-*) llvm_cv_target_arch="Blackfin" ;;
+ mblaze-*) llvm_cv_target_arch="MBlaze" ;;
*) llvm_cv_target_arch="Unknown" ;;
esac])
@@ -427,6 +429,7 @@ else
MSP430) AC_SUBST(TARGET_HAS_JIT,0) ;;
SystemZ) AC_SUBST(TARGET_HAS_JIT,0) ;;
Blackfin) AC_SUBST(TARGET_HAS_JIT,0) ;;
+ MBlaze) AC_SUBST(TARGET_HAS_JIT,0) ;;
*) AC_SUBST(TARGET_HAS_JIT,0) ;;
esac
fi
@@ -470,6 +473,18 @@ esac
AC_DEFINE_UNQUOTED([ENABLE_PIC],$ENABLE_PIC,
[Define if position independent code is enabled])
+dnl Allow building a shared library and linking tools against it.
+AC_ARG_ENABLE(shared,
+ AS_HELP_STRING([--enable-shared],
+ [Build a shared library and link tools against it (default is NO)]),,
+ enableval=default)
+case "$enableval" in
+ yes) AC_SUBST(ENABLE_SHARED,[1]) ;;
+ no) AC_SUBST(ENABLE_SHARED,[0]) ;;
+ default) AC_SUBST(ENABLE_SHARED,[0]) ;;
+ *) AC_MSG_ERROR([Invalid setting for --enable-shared. Use "yes" or "no"]) ;;
+esac
+
dnl Allow specific targets to be specified for building (or not)
TARGETS_TO_BUILD=""
AC_ARG_ENABLE([targets],AS_HELP_STRING([--enable-targets],
@@ -481,7 +496,7 @@ if test "$enableval" = host-only ; then
enableval=host
fi
case "$enableval" in
- all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha ARM Mips CellSPU PIC16 XCore MSP430 SystemZ Blackfin CBackend MSIL CppBackend" ;;
+ all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha ARM Mips CellSPU PIC16 XCore MSP430 SystemZ Blackfin CBackend MSIL CppBackend MBlaze" ;;
*)for a_target in `echo $enableval|sed -e 's/,/ /g' ` ; do
case "$a_target" in
x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
@@ -500,6 +515,7 @@ case "$enableval" in
cbe) TARGETS_TO_BUILD="CBackend $TARGETS_TO_BUILD" ;;
msil) TARGETS_TO_BUILD="MSIL $TARGETS_TO_BUILD" ;;
cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;;
+ mblaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;;
host) case "$llvm_cv_target_arch" in
x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
@@ -508,6 +524,7 @@ case "$enableval" in
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" ;;
PIC16) TARGETS_TO_BUILD="PIC16 $TARGETS_TO_BUILD" ;;
XCore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
@@ -612,6 +629,56 @@ if test -n "$LLVMGXX" && test -z "$LLVMG
AC_MSG_ERROR([Invalid llvm-gcc. Use --with-llvmgcc when --with-llvmgxx is used]);
fi
+dnl Allow a specific Clang compiler to be used with this LLVM config.
+AC_ARG_WITH(clang,
+ AS_HELP_STRING([--with-clang],
+ [Specify location of clang compiler (default is --with-built-clang)]),
+ [],[with_clang=default])
+
+dnl Enable use of the built Clang.
+AC_ARG_WITH(built-clang,
+ AS_HELP_STRING([--with-built-clang],
+ [Use the compiled Clang as the LLVM compiler (default=check)]),
+ [],[with_built_clang=check])
+
+dnl Select the Clang compiler option.
+dnl
+dnl If --with-clang is given, always honor that; otherwise honor
+dnl --with-built-clang, or check if we have the clang sources.
+AC_MSG_CHECKING([clang compiler])
+WITH_CLANGPATH=""
+WITH_BUILT_CLANG=0
+if test "$with_clang" != "default"; then
+ WITH_CLANGPATH="$with_clang"
+ if ! test -x "$WITH_CLANGPATH"; then
+ AC_MSG_ERROR([invalid --with-clang, path does not specify an executable])
+ fi
+elif test "$with_built_clang" = "yes"; then
+ WITH_BUILT_CLANG=1
+elif test "$with_built_clang" = "no"; then
+ WITH_BUILT_CLANG=0
+else
+ if test "$with_built_clang" != "check"; then
+ AC_MSG_ERROR([invalid value for --with-built-clang.])
+ fi
+
+ if test -f ${srcdir}/tools/clang/README.txt; then
+ WITH_BUILT_CLANG=1
+ fi
+fi
+
+if ! test -z "$WITH_CLANGPATH"; then
+ AC_MSG_RESULT([$WITH_CLANGPATH])
+ WITH_CLANGXXPATH=`"$WITH_CLANGPATH" --print-prog-name=clang++`
+elif test "$WITH_BUILT_CLANG" = "1"; then
+ AC_MSG_RESULT([built])
+else
+ AC_MSG_RESULT([none])
+fi
+AC_SUBST(CLANGPATH,$WITH_CLANGPATH)
+AC_SUBST(CLANGXXPATH,$WITH_CLANGXXPATH)
+AC_SUBST(ENABLE_BUILT_CLANG,$WITH_BUILT_CLANG)
+
dnl Override the option to use for optimized builds.
AC_ARG_WITH(optimize-option,
AS_HELP_STRING([--with-optimize-option],
@@ -946,6 +1013,29 @@ else
AC_SUBST(LLVMGXXCOMMAND,$LLVMGXXCOMMAND)
fi
+dnl Select the LLVM capable compiler to use, we default to using llvm-gcc if
+dnl found, otherwise clang if available.
+AC_ARG_WITH(llvmcc,
+ AS_HELP_STRING([--with-llvmcc=<name>],
+ [Choose the LLVM capable compiler to use (llvm-gcc, clang, or none; default=check)]),
+ [],[with_llvmcc=check])
+AC_MSG_CHECKING([LLVM capable compiler])
+if test "$with_llvmcc" != "check"; then
+ if (test "$with_llvmcc" != "llvm-gcc" &&
+ test "$with_llvmcc" != "clang" &&
+ test "$with_llvmcc" != "none"); then
+ AC_MSG_ERROR([invalid value for --with-llvmcc, expected 'llvm-gcc', 'clang', or 'none'.])
+ fi
+ WITH_LLVMCC="$with_llvmcc"
+elif test -n "$LLVMGCC"; then
+ WITH_LLVMCC=llvm-gcc
+elif test -n "$WITH_CLANGPATH" || test "$WITH_BUILT_CLANG" -ne "0"; then
+ WITH_LLVMCC=clang
+else
+ WITH_LLVMCC=none
+fi
+AC_MSG_RESULT([$WITH_LLVMCC])
+AC_SUBST(LLVMCC_OPTION,$WITH_LLVMCC)
AC_MSG_CHECKING([tool compatibility])
@@ -994,7 +1084,7 @@ fi
dnl Tool compatibility is okay if we make it here.
AC_MSG_RESULT([ok])
-dnl Check optional compiler flags.
+dnl Check optional compiler flags.
AC_MSG_CHECKING([optional compiler flags])
CXX_FLAG_CHECK(NO_VARIADIC_MACROS, [-Wno-variadic-macros])
CXX_FLAG_CHECK(NO_MISSING_FIELD_INITIALIZERS, [-Wno-missing-field-initializers])
@@ -1250,12 +1340,6 @@ if test "$llvm_cv_llvmgcc_sanity" = "yes
AC_SUBST(LLVMCC1PLUS,$llvmcc1pluspath)
llvmgccdir=`echo "$llvmcc1path" | sed 's,/libexec/.*,,'`
AC_SUBST(LLVMGCCDIR,$llvmgccdir)
- llvmgcclibexec=`echo "$llvmcc1path" | sed 's,/cc1,,'`
- AC_SUBST(LLVMGCCLIBEXEC,$llvmgcclibexec)
- llvmgccversion=[`"$LLVMGCC" -dumpversion 2>&1 | sed 's/^\([0-9.]*\).*/\1/'`]
- llvmgccmajvers=[`echo $llvmgccversion | sed 's/^\([0-9]\).*/\1/'`]
- AC_SUBST(LLVMGCC_VERSION,$llvmgccversion)
- AC_SUBST(LLVMGCC_MAJVERS,$llvmgccmajvers)
llvmgcclangs=[`"$LLVMGCC" -v --help 2>&1 | grep '^Configured with:' | sed 's/^.*--enable-languages=\([^ ]*\).*/\1/'`]
AC_SUBST(LLVMGCC_LANGS,$llvmgcclangs)
AC_MSG_RESULT([ok])
@@ -1265,6 +1349,10 @@ dnl Propagate the shared library extensi
dnl the Makefiles so we can use it there too
AC_SUBST(SHLIBEXT,$libltdl_cv_shlibext)
+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
@@ -1275,7 +1363,7 @@ eval LLVM_PREFIX="${prefix}";
eval LLVM_BINDIR="${prefix}/bin";
eval LLVM_LIBDIR="${prefix}/lib";
eval LLVM_DATADIR="${prefix}/share/llvm";
-eval LLVM_DOCSDIR="${prefix}/docs/llvm";
+eval LLVM_DOCSDIR="${prefix}/share/doc/llvm";
eval LLVM_ETCDIR="${prefix}/etc/llvm";
eval LLVM_INCLUDEDIR="${prefix}/include";
eval LLVM_INFODIR="${prefix}/info";
Added: vendor/llvm/dist/autoconf/m4/cxx_flag_check.m4
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ vendor/llvm/dist/autoconf/m4/cxx_flag_check.m4 Wed Mar 3 17:27:15 2010 (r204642)
@@ -0,0 +1,2 @@
+AC_DEFUN([CXX_FLAG_CHECK],
+ [AC_SUBST($1, `$CXX $2 -fsyntax-only -xc /dev/null 2>/dev/null && echo $2`)])
Modified: vendor/llvm/dist/autoconf/m4/huge_val.m4
==============================================================================
--- vendor/llvm/dist/autoconf/m4/huge_val.m4 Wed Mar 3 17:13:29 2010 (r204641)
+++ vendor/llvm/dist/autoconf/m4/huge_val.m4 Wed Mar 3 17:27:15 2010 (r204642)
@@ -5,6 +5,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
AC_RUN_IFELSE(
AC_LANG_PROGRAM(
@@ -12,6 +13,7 @@ AC_DEFUN([AC_HUGE_VAL_CHECK],[
[double x = HUGE_VAL; return x != x; ]),
[ac_cv_huge_val_sanity=yes],[ac_cv_huge_val_sanity=no],
[ac_cv_huge_val_sanity=yes])
+ CXXFLAGS=$ac_save_CXXFLAGS
AC_LANG_POP([C++])
])
AC_SUBST(HUGE_VAL_SANITY,$ac_cv_huge_val_sanity)
Modified: vendor/llvm/dist/bindings/ocaml/bitreader/bitreader_ocaml.c
==============================================================================
--- vendor/llvm/dist/bindings/ocaml/bitreader/bitreader_ocaml.c Wed Mar 3 17:13:29 2010 (r204641)
+++ vendor/llvm/dist/bindings/ocaml/bitreader/bitreader_ocaml.c Wed Mar 3 17:27:15 2010 (r204642)
@@ -46,17 +46,16 @@ static void llvm_raise(value Prototype,
/*===-- Modules -----------------------------------------------------------===*/
/* Llvm.llcontext -> Llvm.llmemorybuffer -> Llvm.llmodule */
-CAMLprim value llvm_get_module_provider(LLVMContextRef C,
- LLVMMemoryBufferRef MemBuf) {
+CAMLprim value llvm_get_module(LLVMContextRef C, LLVMMemoryBufferRef MemBuf) {
CAMLparam0();
CAMLlocal2(Variant, MessageVal);
char *Message;
- LLVMModuleProviderRef MP;
- if (LLVMGetBitcodeModuleProviderInContext(C, MemBuf, &MP, &Message))
+ LLVMModuleRef M;
+ if (LLVMGetBitcodeModuleInContext(C, MemBuf, &M, &Message))
llvm_raise(llvm_bitreader_error_exn, Message);
- CAMLreturn((value) MemBuf);
+ CAMLreturn((value) M);
}
/* Llvm.llcontext -> Llvm.llmemorybuffer -> Llvm.llmodule */
Modified: vendor/llvm/dist/bindings/ocaml/bitreader/llvm_bitreader.ml
==============================================================================
--- vendor/llvm/dist/bindings/ocaml/bitreader/llvm_bitreader.ml Wed Mar 3 17:13:29 2010 (r204641)
+++ vendor/llvm/dist/bindings/ocaml/bitreader/llvm_bitreader.ml Wed Mar 3 17:27:15 2010 (r204642)
@@ -13,9 +13,8 @@ exception Error of string
external register_exns : exn -> unit = "llvm_register_bitreader_exns"
let _ = register_exns (Error "")
-external get_module_provider : Llvm.llcontext -> Llvm.llmemorybuffer ->
- Llvm.llmoduleprovider
- = "llvm_get_module_provider"
+external get_module : Llvm.llcontext -> Llvm.llmemorybuffer -> Llvm.llmodule
+ = "llvm_get_module"
external parse_bitcode : Llvm.llcontext -> Llvm.llmemorybuffer -> Llvm.llmodule
= "llvm_parse_bitcode"
Modified: vendor/llvm/dist/bindings/ocaml/bitreader/llvm_bitreader.mli
==============================================================================
--- vendor/llvm/dist/bindings/ocaml/bitreader/llvm_bitreader.mli Wed Mar 3 17:13:29 2010 (r204641)
+++ vendor/llvm/dist/bindings/ocaml/bitreader/llvm_bitreader.mli Wed Mar 3 17:27:15 2010 (r204642)
@@ -14,14 +14,12 @@
exception Error of string
-(** [get_module_provider context mb] reads the bitcode for a new
- module provider [m] from the memory buffer [mb] in the context [context].
- Returns [m] if successful, or raises [Error msg] otherwise, where [msg] is a
- description of the error encountered. See the function
- [llvm::getBitcodeModuleProvider]. *)
-external get_module_provider : Llvm.llcontext -> Llvm.llmemorybuffer ->
- Llvm.llmoduleprovider
- = "llvm_get_module_provider"
+(** [get_module context mb] reads the bitcode for a new module [m] from the
+ memory buffer [mb] in the context [context]. Returns [m] if successful, or
+ raises [Error msg] otherwise, where [msg] is a description of the error
+ encountered. See the function [llvm::getBitcodeModule]. *)
+external get_module : Llvm.llcontext -> Llvm.llmemorybuffer -> Llvm.llmodule
+ = "llvm_get_module"
(** [parse_bitcode context mb] parses the bitcode for a new module [m] from the
memory buffer [mb] in the context [context]. Returns [m] if successful, or
Modified: vendor/llvm/dist/bindings/ocaml/executionengine/executionengine_ocaml.c
==============================================================================
--- vendor/llvm/dist/bindings/ocaml/executionengine/executionengine_ocaml.c Wed Mar 3 17:13:29 2010 (r204641)
+++ vendor/llvm/dist/bindings/ocaml/executionengine/executionengine_ocaml.c Wed Mar 3 17:27:15 2010 (r204642)
@@ -168,41 +168,31 @@ CAMLprim value llvm_genericvalue_as_nati
/*--... Operations on execution engines ....................................--*/
-/* llmoduleprovider -> ExecutionEngine.t */
-CAMLprim LLVMExecutionEngineRef llvm_ee_create(LLVMModuleProviderRef MP) {
+/* llmodule -> ExecutionEngine.t */
+CAMLprim LLVMExecutionEngineRef llvm_ee_create(LLVMModuleRef M) {
LLVMExecutionEngineRef Interp;
char *Error;
- if (LLVMCreateExecutionEngine(&Interp, MP, &Error))
+ if (LLVMCreateExecutionEngineForModule(&Interp, M, &Error))
llvm_raise(llvm_ee_error_exn, Error);
return Interp;
}
-/* llmoduleprovider -> ExecutionEngine.t */
+/* llmodule -> ExecutionEngine.t */
CAMLprim LLVMExecutionEngineRef
-llvm_ee_create_interpreter(LLVMModuleProviderRef MP) {
+llvm_ee_create_interpreter(LLVMModuleRef M) {
LLVMExecutionEngineRef Interp;
char *Error;
- if (LLVMCreateInterpreter(&Interp, MP, &Error))
+ if (LLVMCreateInterpreterForModule(&Interp, M, &Error))
llvm_raise(llvm_ee_error_exn, Error);
return Interp;
}
-/* llmoduleprovider -> ExecutionEngine.t */
+/* llmodule -> int -> ExecutionEngine.t */
CAMLprim LLVMExecutionEngineRef
-llvm_ee_create_jit(LLVMModuleProviderRef MP) {
+llvm_ee_create_jit(LLVMModuleRef M, value OptLevel) {
LLVMExecutionEngineRef JIT;
char *Error;
- if (LLVMCreateJITCompiler(&JIT, MP, 3, &Error))
- llvm_raise(llvm_ee_error_exn, Error);
- return JIT;
-}
-
-/* llmoduleprovider -> ExecutionEngine.t */
-CAMLprim LLVMExecutionEngineRef
-llvm_ee_create_fast_jit(LLVMModuleProviderRef MP) {
- LLVMExecutionEngineRef JIT;
- char *Error;
- if (LLVMCreateJITCompiler(&JIT, MP, 0, &Error))
+ if (LLVMCreateJITCompilerForModule(&JIT, M, Int_val(OptLevel), &Error))
llvm_raise(llvm_ee_error_exn, Error);
return JIT;
}
@@ -213,19 +203,18 @@ CAMLprim value llvm_ee_dispose(LLVMExecu
return Val_unit;
}
-/* llmoduleprovider -> ExecutionEngine.t -> unit */
-CAMLprim value llvm_ee_add_mp(LLVMModuleProviderRef MP,
- LLVMExecutionEngineRef EE) {
- LLVMAddModuleProvider(EE, MP);
+/* llmodule -> ExecutionEngine.t -> unit */
+CAMLprim value llvm_ee_add_mp(LLVMModuleRef M, LLVMExecutionEngineRef EE) {
+ LLVMAddModule(EE, M);
return Val_unit;
}
-/* llmoduleprovider -> ExecutionEngine.t -> llmodule */
-CAMLprim LLVMModuleRef llvm_ee_remove_mp(LLVMModuleProviderRef MP,
+/* llmodule -> ExecutionEngine.t -> llmodule */
+CAMLprim LLVMModuleRef llvm_ee_remove_mp(LLVMModuleRef M,
LLVMExecutionEngineRef EE) {
LLVMModuleRef RemovedModule;
char *Error;
- if (LLVMRemoveModuleProvider(EE, MP, &RemovedModule, &Error))
+ if (LLVMRemoveModule(EE, M, &RemovedModule, &Error))
llvm_raise(llvm_ee_error_exn, Error);
return RemovedModule;
}
@@ -237,7 +226,7 @@ CAMLprim value llvm_ee_find_function(val
LLVMValueRef Found;
if (LLVMFindFunction(EE, String_val(Name), &Found))
CAMLreturn(Val_unit);
- Option = alloc(1, 1);
+ Option = alloc(1, 0);
Field(Option, 0) = Val_op(Found);
CAMLreturn(Option);
}
Modified: vendor/llvm/dist/bindings/ocaml/executionengine/llvm_executionengine.ml
==============================================================================
--- vendor/llvm/dist/bindings/ocaml/executionengine/llvm_executionengine.ml Wed Mar 3 17:13:29 2010 (r204641)
+++ vendor/llvm/dist/bindings/ocaml/executionengine/llvm_executionengine.ml Wed Mar 3 17:27:15 2010 (r204642)
@@ -56,19 +56,17 @@ module ExecutionEngine = struct
call into LLVM. *)
let _ = register_exns (Error "")
- external create: Llvm.llmoduleprovider -> t
+ external create: Llvm.llmodule -> t
= "llvm_ee_create"
- external create_interpreter: Llvm.llmoduleprovider -> t
+ external create_interpreter: Llvm.llmodule -> t
= "llvm_ee_create_interpreter"
- external create_jit: Llvm.llmoduleprovider -> t
+ external create_jit: Llvm.llmodule -> int -> t
= "llvm_ee_create_jit"
- external create_fast_jit: Llvm.llmoduleprovider -> t
- = "llvm_ee_create_fast_jit"
external dispose: t -> unit
= "llvm_ee_dispose"
- external add_module_provider: Llvm.llmoduleprovider -> t -> unit
+ external add_module: Llvm.llmodule -> t -> unit
= "llvm_ee_add_mp"
- external remove_module_provider: Llvm.llmoduleprovider -> t -> Llvm.llmodule
+ external remove_module: Llvm.llmodule -> t -> Llvm.llmodule
= "llvm_ee_remove_mp"
external find_function: string -> t -> Llvm.llvalue option
= "llvm_ee_find_function"
Modified: vendor/llvm/dist/bindings/ocaml/executionengine/llvm_executionengine.mli
==============================================================================
--- vendor/llvm/dist/bindings/ocaml/executionengine/llvm_executionengine.mli Wed Mar 3 17:13:29 2010 (r204641)
+++ vendor/llvm/dist/bindings/ocaml/executionengine/llvm_executionengine.mli Wed Mar 3 17:27:15 2010 (r204642)
@@ -85,48 +85,38 @@ module ExecutionEngine: sig
invoking a static compiler and generating a native executable. *)
type t
- (** [create mp] creates a new execution engine, taking ownership of the
- module provider [mp] if successful. Creates a JIT if possible, else falls
- back to an interpreter. Raises [Error msg] if an error occurrs. The
- execution engine is not garbage collected and must be destroyed with
- [dispose ee]. See the function [llvm::EngineBuilder::create]. *)
- val create: Llvm.llmoduleprovider -> t
-
- (** [create_interpreter mp] creates a new interpreter, taking ownership of the
- module provider [mp] if successful. Raises [Error msg] if an error
- occurrs. The execution engine is not garbage collected and must be
- destroyed with [dispose ee].
+ (** [create m] creates a new execution engine, taking ownership of the
+ module [m] if successful. Creates a JIT if possible, else falls back to an
+ interpreter. Raises [Error msg] if an error occurrs. The execution engine
+ is not garbage collected and must be destroyed with [dispose ee].
See the function [llvm::EngineBuilder::create]. *)
- val create_interpreter: Llvm.llmoduleprovider -> t
+ val create: Llvm.llmodule -> t
- (** [create_jit mp] creates a new JIT (just-in-time compiler), taking
- ownership of the module provider [mp] if successful. This function creates
- a JIT which favors code quality over compilation speed. Raises [Error msg]
- if an error occurrs. The execution engine is not garbage collected and
- must be destroyed with [dispose ee].
+ (** [create_interpreter m] creates a new interpreter, taking ownership of the
+ module [m] if successful. Raises [Error msg] if an error occurrs. The
+ execution engine is not garbage collected and must be destroyed with
+ [dispose ee].
See the function [llvm::EngineBuilder::create]. *)
- val create_jit: Llvm.llmoduleprovider -> t
+ val create_interpreter: Llvm.llmodule -> t
- (** [create_fast_jit mp] creates a new JIT (just-in-time compiler) which
- favors compilation speed over code quality. It takes ownership of the
- module provider [mp] if successful. Raises [Error msg] if an error
- occurrs. The execution engine is not garbage collected and must be
- destroyed with [dispose ee].
+ (** [create_jit m optlevel] creates a new JIT (just-in-time compiler), taking
+ ownership of the module [m] if successful with the desired optimization
+ level [optlevel]. Raises [Error msg] if an error occurrs. The execution
+ engine is not garbage collected and must be destroyed with [dispose ee].
See the function [llvm::EngineBuilder::create]. *)
- val create_fast_jit: Llvm.llmoduleprovider -> t
-
+ val create_jit : Llvm.llmodule -> int -> t
+
(** [dispose ee] releases the memory used by the execution engine and must be
invoked to avoid memory leaks. *)
val dispose: t -> unit
- (** [add_module_provider mp ee] adds the module provider [mp] to the execution
- engine [ee]. *)
- val add_module_provider: Llvm.llmoduleprovider -> t -> unit
-
- (** [remove_module_provider mp ee] removes the module provider [mp] from the
- execution engine [ee], disposing of [mp] and the module referenced by
- [mp]. Raises [Error msg] if an error occurs. *)
- val remove_module_provider: Llvm.llmoduleprovider -> t -> Llvm.llmodule
+ (** [add_module m ee] adds the module [m] to the execution engine [ee]. *)
+ val add_module: Llvm.llmodule -> t -> unit
+
+ (** [remove_module m ee] removes the module [m] from the execution engine
+ [ee], disposing of [m] and the module referenced by [mp]. Raises
+ [Error msg] if an error occurs. *)
+ val remove_module: Llvm.llmodule -> t -> Llvm.llmodule
(** [find_function n ee] finds the function named [n] defined in any of the
modules owned by the execution engine [ee]. Returns [None] if the function
Modified: vendor/llvm/dist/bindings/ocaml/llvm/llvm.ml
==============================================================================
--- vendor/llvm/dist/bindings/ocaml/llvm/llvm.ml Wed Mar 3 17:13:29 2010 (r204641)
+++ vendor/llvm/dist/bindings/ocaml/llvm/llvm.ml Wed Mar 3 17:27:15 2010 (r204642)
@@ -13,9 +13,9 @@ type llmodule
type lltype
type lltypehandle
type llvalue
+type lluse
type llbasicblock
type llbuilder
-type llmoduleprovider
type llmemorybuffer
module TypeKind = struct
@@ -35,6 +35,7 @@ module TypeKind = struct
| Opaque
| Vector
| Metadata
+ | Union
end
module Linkage = struct
@@ -147,6 +148,7 @@ type ('a, 'b) llrev_pos =
external create_context : unit -> llcontext = "llvm_create_context"
external dispose_context : llcontext -> unit = "llvm_dispose_context"
external global_context : unit -> llcontext = "llvm_global_context"
+external mdkind_id : llcontext -> string -> int = "llvm_mdkind_id"
(*===-- Modules -----------------------------------------------------------===*)
external create_module : llcontext -> string -> llmodule = "llvm_create_module"
@@ -163,6 +165,8 @@ external define_type_name : string -> ll
= "llvm_add_type_name"
external delete_type_name : string -> llmodule -> unit
= "llvm_delete_type_name"
+external type_by_name : llmodule -> string -> lltype option
+ = "llvm_type_by_name"
external dump_module : llmodule -> unit = "llvm_dump_module"
(*===-- Types -------------------------------------------------------------===*)
@@ -198,9 +202,15 @@ external param_types : lltype -> lltype
external struct_type : llcontext -> lltype array -> lltype = "llvm_struct_type"
external packed_struct_type : llcontext -> lltype array -> lltype
= "llvm_packed_struct_type"
-external element_types : lltype -> lltype array = "llvm_element_types"
+external struct_element_types : lltype -> lltype array
+ = "llvm_struct_element_types"
external is_packed : lltype -> bool = "llvm_is_packed"
+(*--... Operations on union types ..........................................--*)
+external union_type : llcontext -> lltype array -> lltype = "llvm_union_type"
+external union_element_types : lltype -> lltype array
+ = "llvm_union_element_types"
+
(*--... Operations on pointer, vector, and array types .....................--*)
external array_type : lltype -> int -> lltype = "llvm_array_type"
external pointer_type : lltype -> lltype = "llvm_pointer_type"
@@ -229,15 +239,63 @@ external type_of : llvalue -> lltype = "
external value_name : llvalue -> string = "llvm_value_name"
external set_value_name : string -> llvalue -> unit = "llvm_set_value_name"
external dump_value : llvalue -> unit = "llvm_dump_value"
+external replace_all_uses_with : llvalue -> llvalue -> unit
+ = "LLVMReplaceAllUsesWith"
+
+(*--... Operations on uses .................................................--*)
+external use_begin : llvalue -> lluse option = "llvm_use_begin"
+external use_succ : lluse -> lluse option = "llvm_use_succ"
+external user : lluse -> llvalue = "llvm_user"
+external used_value : lluse -> llvalue = "llvm_used_value"
+
+let iter_uses f v =
+ let rec aux = function
+ | None -> ()
+ | Some u ->
+ f u;
+ aux (use_succ u)
+ in
+ aux (use_begin v)
+
+let fold_left_uses f init v =
+ let rec aux init u =
+ match u with
+ | None -> init
+ | Some u -> aux (f init u) (use_succ u)
+ in
+ aux init (use_begin v)
+
+let fold_right_uses f v init =
+ let rec aux u init =
+ match u with
+ | None -> init
+ | Some u -> f u (aux (use_succ u) init)
+ in
+ aux (use_begin v) init
+
+
+(*--... Operations on users ................................................--*)
+external operand : llvalue -> int -> llvalue = "llvm_operand"
(*--... Operations on constants of (mostly) any type .......................--*)
external is_constant : llvalue -> bool = "llvm_is_constant"
external const_null : lltype -> llvalue = "LLVMConstNull"
external const_all_ones : (*int|vec*)lltype -> llvalue = "LLVMConstAllOnes"
+external const_pointer_null : lltype -> llvalue = "LLVMConstPointerNull"
external undef : lltype -> llvalue = "LLVMGetUndef"
external is_null : llvalue -> bool = "llvm_is_null"
external is_undef : llvalue -> bool = "llvm_is_undef"
+(*--... Operations on instructions .........................................--*)
+external has_metadata : llvalue -> bool = "llvm_has_metadata"
+external metadata : llvalue -> int -> llvalue option = "llvm_metadata"
+external set_metadata : llvalue -> int -> llvalue -> unit = "llvm_set_metadata"
+external clear_metadata : llvalue -> int -> unit = "llvm_clear_metadata"
+
+(*--... Operations on metadata .......,.....................................--*)
+external mdstring : llcontext -> string -> llvalue = "llvm_mdstring"
+external mdnode : llcontext -> llvalue array -> llvalue = "llvm_mdnode"
+
(*--... Operations on scalar constants .....................................--*)
external const_int : lltype -> int -> llvalue = "llvm_const_int"
external const_of_int64 : lltype -> Int64.t -> bool -> llvalue
@@ -257,19 +315,27 @@ external const_struct : llcontext -> llv
external const_packed_struct : llcontext -> llvalue array -> llvalue
= "llvm_const_packed_struct"
external const_vector : llvalue array -> llvalue = "llvm_const_vector"
+external const_union : lltype -> llvalue -> llvalue = "LLVMConstUnion"
(*--... Constant expressions ...............................................--*)
external align_of : lltype -> llvalue = "LLVMAlignOf"
external size_of : lltype -> llvalue = "LLVMSizeOf"
external const_neg : llvalue -> llvalue = "LLVMConstNeg"
+external const_nsw_neg : llvalue -> llvalue = "LLVMConstNSWNeg"
+external const_nuw_neg : llvalue -> llvalue = "LLVMConstNUWNeg"
external const_fneg : llvalue -> llvalue = "LLVMConstFNeg"
external const_not : llvalue -> llvalue = "LLVMConstNot"
external const_add : llvalue -> llvalue -> llvalue = "LLVMConstAdd"
external const_nsw_add : llvalue -> llvalue -> llvalue = "LLVMConstNSWAdd"
+external const_nuw_add : llvalue -> llvalue -> llvalue = "LLVMConstNUWAdd"
external const_fadd : llvalue -> llvalue -> llvalue = "LLVMConstFAdd"
external const_sub : llvalue -> llvalue -> llvalue = "LLVMConstSub"
+external const_nsw_sub : llvalue -> llvalue -> llvalue = "LLVMConstNSWSub"
+external const_nuw_sub : llvalue -> llvalue -> llvalue = "LLVMConstNUWSub"
external const_fsub : llvalue -> llvalue -> llvalue = "LLVMConstFSub"
external const_mul : llvalue -> llvalue -> llvalue = "LLVMConstMul"
+external const_nsw_mul : llvalue -> llvalue -> llvalue = "LLVMConstNSWMul"
+external const_nuw_mul : llvalue -> llvalue -> llvalue = "LLVMConstNUWMul"
external const_fmul : llvalue -> llvalue -> llvalue = "LLVMConstFMul"
external const_udiv : llvalue -> llvalue -> llvalue = "LLVMConstUDiv"
external const_sdiv : llvalue -> llvalue -> llvalue = "LLVMConstSDiv"
@@ -325,6 +391,10 @@ external const_extractvalue : llvalue ->
= "llvm_const_extractvalue"
external const_insertvalue : llvalue -> llvalue -> int array -> llvalue
= "llvm_const_insertvalue"
+external const_inline_asm : lltype -> string -> string -> bool -> bool ->
+ llvalue
+ = "llvm_const_inline_asm"
+external block_address : llvalue -> llbasicblock -> llvalue = "LLVMBlockAddress"
(*--... Operations on global variables, functions, and aliases (globals) ...--*)
external global_parent : llvalue -> llmodule = "LLVMGetGlobalParent"
@@ -344,8 +414,14 @@ external set_global_constant : bool -> l
(*--... Operations on global variables .....................................--*)
external declare_global : lltype -> string -> llmodule -> llvalue
= "llvm_declare_global"
+external declare_qualified_global : lltype -> string -> int -> llmodule ->
+ llvalue
+ = "llvm_declare_qualified_global"
external define_global : string -> llvalue -> llmodule -> llvalue
= "llvm_define_global"
+external define_qualified_global : string -> llvalue -> int -> llmodule ->
+ llvalue
+ = "llvm_define_qualified_global"
external lookup_global : string -> llmodule -> llvalue option
= "llvm_lookup_global"
external delete_global : llvalue -> unit = "llvm_delete_global"
@@ -403,6 +479,10 @@ let rec fold_right_global_range f i e in
let fold_right_globals f m init =
fold_right_global_range f (global_end m) (At_start m) init
+(*--... Operations on aliases ..............................................--*)
+external add_alias : llmodule -> lltype -> llvalue -> string -> llvalue
+ = "llvm_add_alias"
+
(*--... Operations on functions ............................................--*)
external declare_function : string -> lltype -> llmodule -> llvalue
= "llvm_declare_function"
@@ -680,6 +760,17 @@ let position_before i = position_builder
let position_at_end bb = position_builder (At_end bb)
+(*--... Metadata ...........................................................--*)
+external set_current_debug_location : llbuilder -> llvalue -> unit
+ = "llvm_set_current_debug_location"
+external clear_current_debug_location : llbuilder -> unit
+ = "llvm_clear_current_debug_location"
+external current_debug_location : llbuilder -> llvalue option
+ = "llvm_current_debug_location"
+external set_inst_debug_location : llbuilder -> llvalue -> unit
+ = "llvm_set_inst_debug_location"
+
+
(*--... Terminators ........................................................--*)
external build_ret_void : llbuilder -> llvalue = "llvm_build_ret_void"
external build_ret : llvalue -> llbuilder -> llvalue = "llvm_build_ret"
@@ -692,6 +783,10 @@ external build_switch : llvalue -> llbas
= "llvm_build_switch"
*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
More information about the svn-src-all
mailing list