svn commit: r204794 - in projects/clangbsd/contrib/llvm: .
bindings/ocaml/bitwriter bindings/ocaml/executionengine
bindings/ocaml/llvm bindings/ocaml/transforms/scalar docs
docs/CommandGuide docs/t...
Roman Divacky
rdivacky at FreeBSD.org
Sat Mar 6 11:06:54 UTC 2010
Author: rdivacky
Date: Sat Mar 6 11:06:53 2010
New Revision: 204794
URL: http://svn.freebsd.org/changeset/base/204794
Log:
Update from vendor.
Added:
projects/clangbsd/contrib/llvm/include/llvm/Transforms/Utils/BuildLibCalls.h
- copied unchanged from r204793, vendor/llvm/dist/include/llvm/Transforms/Utils/BuildLibCalls.h
projects/clangbsd/contrib/llvm/lib/CodeGen/SelectionDAG/SDDbgValue.h
- copied unchanged from r204793, vendor/llvm/dist/lib/CodeGen/SelectionDAG/SDDbgValue.h
projects/clangbsd/contrib/llvm/lib/Transforms/Utils/BuildLibCalls.cpp
- copied unchanged from r204793, vendor/llvm/dist/lib/Transforms/Utils/BuildLibCalls.cpp
projects/clangbsd/contrib/llvm/test/CodeGen/ARM/2010-03-04-eabi-fp-spill.ll
- copied unchanged from r204793, vendor/llvm/dist/test/CodeGen/ARM/2010-03-04-eabi-fp-spill.ll
projects/clangbsd/contrib/llvm/test/CodeGen/ARM/2010-03-04-stm-undef-addr.ll
- copied unchanged from r204793, vendor/llvm/dist/test/CodeGen/ARM/2010-03-04-stm-undef-addr.ll
projects/clangbsd/contrib/llvm/test/CodeGen/CellSPU/bss.ll
- copied unchanged from r204793, vendor/llvm/dist/test/CodeGen/CellSPU/bss.ll
projects/clangbsd/contrib/llvm/test/CodeGen/X86/2010-03-04-Mul8Bug.ll
- copied unchanged from r204793, vendor/llvm/dist/test/CodeGen/X86/2010-03-04-Mul8Bug.ll
projects/clangbsd/contrib/llvm/test/CodeGen/X86/2010-03-05-ConstantFoldCFG.ll
- copied unchanged from r204793, vendor/llvm/dist/test/CodeGen/X86/2010-03-05-ConstantFoldCFG.ll
projects/clangbsd/contrib/llvm/test/CodeGen/X86/2010-03-05-EFLAGS-Redef.ll
- copied unchanged from r204793, vendor/llvm/dist/test/CodeGen/X86/2010-03-05-EFLAGS-Redef.ll
projects/clangbsd/contrib/llvm/test/CodeGen/X86/crash.ll
- copied unchanged from r204793, vendor/llvm/dist/test/CodeGen/X86/crash.ll
projects/clangbsd/contrib/llvm/test/FrontendC/2010-03-5-LexicalScope.c
- copied unchanged from r204793, vendor/llvm/dist/test/FrontendC/2010-03-5-LexicalScope.c
projects/clangbsd/contrib/llvm/test/Transforms/InstCombine/2010-03-03-ExtElim.ll
- copied unchanged from r204793, vendor/llvm/dist/test/Transforms/InstCombine/2010-03-03-ExtElim.ll
projects/clangbsd/contrib/llvm/test/Transforms/SimplifyLibCalls/memset_chk.ll
- copied unchanged from r204793, vendor/llvm/dist/test/Transforms/SimplifyLibCalls/memset_chk.ll
projects/clangbsd/contrib/llvm/tools/clang/include/clang/Basic/BuiltinsARM.def
- copied unchanged from r204793, vendor/clang/dist/include/clang/Basic/BuiltinsARM.def
projects/clangbsd/contrib/llvm/tools/clang/lib/Headers/smmintrin.h
- copied unchanged from r204793, vendor/clang/dist/lib/Headers/smmintrin.h
projects/clangbsd/contrib/llvm/tools/clang/test/Analysis/inline3.c
- copied unchanged from r204793, vendor/clang/dist/test/Analysis/inline3.c
projects/clangbsd/contrib/llvm/tools/clang/test/CXX/class.derived/class.member.lookup/p8.cpp
- copied unchanged from r204793, vendor/clang/dist/test/CXX/class.derived/class.member.lookup/p8.cpp
projects/clangbsd/contrib/llvm/tools/clang/test/CXX/except/except.handle/p16.cpp
- copied unchanged from r204793, vendor/clang/dist/test/CXX/except/except.handle/p16.cpp
projects/clangbsd/contrib/llvm/tools/clang/test/CodeGen/attr-weakref.c
- copied unchanged from r204793, vendor/clang/dist/test/CodeGen/attr-weakref.c
projects/clangbsd/contrib/llvm/tools/clang/test/CodeGen/attr-weakref2.c
- copied unchanged from r204793, vendor/clang/dist/test/CodeGen/attr-weakref2.c
projects/clangbsd/contrib/llvm/tools/clang/test/CodeGen/blockstret.c
- copied unchanged from r204793, vendor/clang/dist/test/CodeGen/blockstret.c
projects/clangbsd/contrib/llvm/tools/clang/test/CodeGen/builtins-arm.c
- copied unchanged from r204793, vendor/clang/dist/test/CodeGen/builtins-arm.c
projects/clangbsd/contrib/llvm/tools/clang/test/CodeGenCXX/mangle-local-class-names.cpp
- copied unchanged from r204793, vendor/clang/dist/test/CodeGenCXX/mangle-local-class-names.cpp
projects/clangbsd/contrib/llvm/tools/clang/test/Rewriter/rewrite-static-block.mm
- copied unchanged from r204793, vendor/clang/dist/test/Rewriter/rewrite-static-block.mm
Deleted:
projects/clangbsd/contrib/llvm/test/Transforms/InstCombine/2006-12-08-ICmp-Combining.ll
projects/clangbsd/contrib/llvm/tools/clang/test/CodeGen/asm-2.c
projects/clangbsd/contrib/llvm/tools/clang/test/CodeGen/asm-inout.c
projects/clangbsd/contrib/llvm/utils/lit/ExampleTests.ObjDir/lit.site.cfg
projects/clangbsd/contrib/llvm/utils/lit/ExampleTests/Clang/fsyntax-only.c
projects/clangbsd/contrib/llvm/utils/lit/ExampleTests/Clang/lit.cfg
projects/clangbsd/contrib/llvm/utils/lit/ExampleTests/LLVM.InTree/test/Bar/bar-test.ll
projects/clangbsd/contrib/llvm/utils/lit/ExampleTests/LLVM.InTree/test/Bar/dg.exp
projects/clangbsd/contrib/llvm/utils/lit/ExampleTests/LLVM.InTree/test/lit.cfg
projects/clangbsd/contrib/llvm/utils/lit/ExampleTests/LLVM.InTree/test/lit.site.cfg
projects/clangbsd/contrib/llvm/utils/lit/ExampleTests/LLVM.InTree/test/site.exp
projects/clangbsd/contrib/llvm/utils/lit/ExampleTests/LLVM.OutOfTree/lit.local.cfg
projects/clangbsd/contrib/llvm/utils/lit/ExampleTests/LLVM.OutOfTree/obj/test/Foo/lit.local.cfg
projects/clangbsd/contrib/llvm/utils/lit/ExampleTests/LLVM.OutOfTree/obj/test/lit.site.cfg
projects/clangbsd/contrib/llvm/utils/lit/ExampleTests/LLVM.OutOfTree/obj/test/site.exp
projects/clangbsd/contrib/llvm/utils/lit/ExampleTests/LLVM.OutOfTree/src/test/Foo/data.txt
projects/clangbsd/contrib/llvm/utils/lit/ExampleTests/LLVM.OutOfTree/src/test/Foo/dg.exp
projects/clangbsd/contrib/llvm/utils/lit/ExampleTests/LLVM.OutOfTree/src/test/Foo/pct-S.ll
projects/clangbsd/contrib/llvm/utils/lit/ExampleTests/LLVM.OutOfTree/src/test/lit.cfg
projects/clangbsd/contrib/llvm/utils/lit/ExampleTests/ShExternal/lit.local.cfg
projects/clangbsd/contrib/llvm/utils/lit/ExampleTests/ShInternal/lit.local.cfg
projects/clangbsd/contrib/llvm/utils/lit/ExampleTests/TclTest/lit.local.cfg
projects/clangbsd/contrib/llvm/utils/lit/ExampleTests/TclTest/stderr-pipe.ll
projects/clangbsd/contrib/llvm/utils/lit/ExampleTests/TclTest/tcl-redir-1.ll
projects/clangbsd/contrib/llvm/utils/lit/ExampleTests/fail.c
projects/clangbsd/contrib/llvm/utils/lit/ExampleTests/lit.cfg
projects/clangbsd/contrib/llvm/utils/lit/ExampleTests/pass.c
projects/clangbsd/contrib/llvm/utils/lit/ExampleTests/xfail.c
projects/clangbsd/contrib/llvm/utils/lit/ExampleTests/xpass.c
projects/clangbsd/contrib/llvm/utils/lit/LitConfig.py
projects/clangbsd/contrib/llvm/utils/lit/LitFormats.py
projects/clangbsd/contrib/llvm/utils/lit/ProgressBar.py
projects/clangbsd/contrib/llvm/utils/lit/ShCommands.py
projects/clangbsd/contrib/llvm/utils/lit/ShUtil.py
projects/clangbsd/contrib/llvm/utils/lit/TclUtil.py
projects/clangbsd/contrib/llvm/utils/lit/Test.py
projects/clangbsd/contrib/llvm/utils/lit/TestFormats.py
projects/clangbsd/contrib/llvm/utils/lit/TestRunner.py
projects/clangbsd/contrib/llvm/utils/lit/TestingConfig.py
projects/clangbsd/contrib/llvm/utils/lit/Util.py
projects/clangbsd/contrib/llvm/utils/unittest/googletest/tempfile.tmp
Modified:
projects/clangbsd/contrib/llvm/CMakeLists.txt
projects/clangbsd/contrib/llvm/Makefile.config.in
projects/clangbsd/contrib/llvm/Makefile.rules
projects/clangbsd/contrib/llvm/bindings/ocaml/bitwriter/bitwriter_ocaml.c
projects/clangbsd/contrib/llvm/bindings/ocaml/bitwriter/llvm_bitwriter.ml
projects/clangbsd/contrib/llvm/bindings/ocaml/bitwriter/llvm_bitwriter.mli
projects/clangbsd/contrib/llvm/bindings/ocaml/executionengine/executionengine_ocaml.c
projects/clangbsd/contrib/llvm/bindings/ocaml/executionengine/llvm_executionengine.ml
projects/clangbsd/contrib/llvm/bindings/ocaml/executionengine/llvm_executionengine.mli
projects/clangbsd/contrib/llvm/bindings/ocaml/llvm/llvm.ml
projects/clangbsd/contrib/llvm/bindings/ocaml/llvm/llvm.mli
projects/clangbsd/contrib/llvm/bindings/ocaml/transforms/scalar/llvm_scalar_opts.ml
projects/clangbsd/contrib/llvm/bindings/ocaml/transforms/scalar/llvm_scalar_opts.mli
projects/clangbsd/contrib/llvm/bindings/ocaml/transforms/scalar/scalar_opts_ocaml.c
projects/clangbsd/contrib/llvm/docs/CommandGuide/Makefile
projects/clangbsd/contrib/llvm/docs/LangRef.html
projects/clangbsd/contrib/llvm/docs/Makefile
projects/clangbsd/contrib/llvm/docs/tutorial/Makefile
projects/clangbsd/contrib/llvm/include/llvm-c/BitWriter.h
projects/clangbsd/contrib/llvm/include/llvm-c/Core.h
projects/clangbsd/contrib/llvm/include/llvm/ADT/ScopedHashTable.h
projects/clangbsd/contrib/llvm/include/llvm/Analysis/ValueTracking.h
projects/clangbsd/contrib/llvm/include/llvm/CodeGen/MachineInstr.h
projects/clangbsd/contrib/llvm/include/llvm/CodeGen/MachineRegisterInfo.h
projects/clangbsd/contrib/llvm/include/llvm/CodeGen/SelectionDAGISel.h
projects/clangbsd/contrib/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
projects/clangbsd/contrib/llvm/include/llvm/CompilerDriver/Common.td
projects/clangbsd/contrib/llvm/include/llvm/GlobalValue.h
projects/clangbsd/contrib/llvm/include/llvm/Support/Compiler.h
projects/clangbsd/contrib/llvm/include/llvm/Support/IRBuilder.h
projects/clangbsd/contrib/llvm/lib/Analysis/InstructionSimplify.cpp
projects/clangbsd/contrib/llvm/lib/Analysis/ScalarEvolutionExpander.cpp
projects/clangbsd/contrib/llvm/lib/Analysis/ValueTracking.cpp
projects/clangbsd/contrib/llvm/lib/Bitcode/Writer/BitWriter.cpp
projects/clangbsd/contrib/llvm/lib/CodeGen/BranchFolding.cpp
projects/clangbsd/contrib/llvm/lib/CodeGen/CriticalAntiDepBreaker.cpp
projects/clangbsd/contrib/llvm/lib/CodeGen/LLVMTargetMachine.cpp
projects/clangbsd/contrib/llvm/lib/CodeGen/LiveVariables.cpp
projects/clangbsd/contrib/llvm/lib/CodeGen/MachineCSE.cpp
projects/clangbsd/contrib/llvm/lib/CodeGen/MachineInstr.cpp
projects/clangbsd/contrib/llvm/lib/CodeGen/MachineRegisterInfo.cpp
projects/clangbsd/contrib/llvm/lib/CodeGen/MachineSink.cpp
projects/clangbsd/contrib/llvm/lib/CodeGen/PHIElimination.cpp
projects/clangbsd/contrib/llvm/lib/CodeGen/PHIElimination.h
projects/clangbsd/contrib/llvm/lib/CodeGen/PostRASchedulerList.cpp
projects/clangbsd/contrib/llvm/lib/CodeGen/PseudoSourceValue.cpp
projects/clangbsd/contrib/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
projects/clangbsd/contrib/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
projects/clangbsd/contrib/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.h
projects/clangbsd/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
projects/clangbsd/contrib/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
projects/clangbsd/contrib/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
projects/clangbsd/contrib/llvm/lib/CodeGen/SjLjEHPrepare.cpp
projects/clangbsd/contrib/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
projects/clangbsd/contrib/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
projects/clangbsd/contrib/llvm/lib/CompilerDriver/Action.cpp
projects/clangbsd/contrib/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp
projects/clangbsd/contrib/llvm/lib/Support/raw_ostream.cpp
projects/clangbsd/contrib/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
projects/clangbsd/contrib/llvm/lib/Target/ARM/ARMInstrThumb.td
projects/clangbsd/contrib/llvm/lib/Target/ARM/ARMInstrThumb2.td
projects/clangbsd/contrib/llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
projects/clangbsd/contrib/llvm/lib/Target/ARM/Thumb1RegisterInfo.cpp
projects/clangbsd/contrib/llvm/lib/Target/Alpha/AlphaCallingConv.td
projects/clangbsd/contrib/llvm/lib/Target/CellSPU/SPUMCAsmInfo.cpp
projects/clangbsd/contrib/llvm/lib/Target/PIC16/TargetInfo/PIC16TargetInfo.cpp
projects/clangbsd/contrib/llvm/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp
projects/clangbsd/contrib/llvm/lib/Target/X86/X86FastISel.cpp
projects/clangbsd/contrib/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
projects/clangbsd/contrib/llvm/lib/Target/X86/X86ISelLowering.cpp
projects/clangbsd/contrib/llvm/lib/Target/X86/X86InstrInfo.td
projects/clangbsd/contrib/llvm/lib/Transforms/InstCombine/InstCombine.h
projects/clangbsd/contrib/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
projects/clangbsd/contrib/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
projects/clangbsd/contrib/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
projects/clangbsd/contrib/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
projects/clangbsd/contrib/llvm/lib/Transforms/Scalar/Reassociate.cpp
projects/clangbsd/contrib/llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp
projects/clangbsd/contrib/llvm/lib/Transforms/Utils/CMakeLists.txt
projects/clangbsd/contrib/llvm/lib/VMCore/ConstantFold.cpp
projects/clangbsd/contrib/llvm/lib/VMCore/LLVMContextImpl.h
projects/clangbsd/contrib/llvm/lib/VMCore/Makefile
projects/clangbsd/contrib/llvm/runtime/Makefile
projects/clangbsd/contrib/llvm/test/Bindings/Ocaml/bitwriter.ml
projects/clangbsd/contrib/llvm/test/Bindings/Ocaml/scalar_opts.ml
projects/clangbsd/contrib/llvm/test/CodeGen/Thumb2/thumb2-uxtb.ll
projects/clangbsd/contrib/llvm/test/CodeGen/X86/2008-08-05-SpillerBug.ll
projects/clangbsd/contrib/llvm/test/CodeGen/X86/bswap-inline-asm.ll
projects/clangbsd/contrib/llvm/test/CodeGen/X86/global-sections.ll
projects/clangbsd/contrib/llvm/test/CodeGen/X86/lsr-reuse-trunc.ll
projects/clangbsd/contrib/llvm/test/CodeGen/X86/sink-hoist.ll
projects/clangbsd/contrib/llvm/test/CodeGen/X86/tailcall2.ll
projects/clangbsd/contrib/llvm/test/CodeGen/X86/use-add-flags.ll
projects/clangbsd/contrib/llvm/test/Transforms/InstCombine/JavaCompare.ll
projects/clangbsd/contrib/llvm/test/Transforms/InstCombine/crash.ll
projects/clangbsd/contrib/llvm/test/Transforms/InstCombine/icmp.ll
projects/clangbsd/contrib/llvm/test/Transforms/InstCombine/load-cmp.ll
projects/clangbsd/contrib/llvm/test/Transforms/InstCombine/objsize.ll
projects/clangbsd/contrib/llvm/test/Transforms/InstCombine/or.ll
projects/clangbsd/contrib/llvm/test/Transforms/InstCombine/phi.ll
projects/clangbsd/contrib/llvm/test/Transforms/Reassociate/crash.ll
projects/clangbsd/contrib/llvm/test/lit.cfg
projects/clangbsd/contrib/llvm/tools/Makefile
projects/clangbsd/contrib/llvm/tools/clang/docs/Makefile
projects/clangbsd/contrib/llvm/tools/clang/docs/tools/Makefile
projects/clangbsd/contrib/llvm/tools/clang/include/clang/AST/ASTContext.h
projects/clangbsd/contrib/llvm/tools/clang/include/clang/AST/DeclBase.h
projects/clangbsd/contrib/llvm/tools/clang/include/clang/Basic/Builtins.def
projects/clangbsd/contrib/llvm/tools/clang/include/clang/Basic/BuiltinsX86.def
projects/clangbsd/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticSemaKinds.td
projects/clangbsd/contrib/llvm/tools/clang/include/clang/Basic/TargetBuiltins.h
projects/clangbsd/contrib/llvm/tools/clang/include/clang/Basic/TokenKinds.def
projects/clangbsd/contrib/llvm/tools/clang/include/clang/Checker/PathSensitive/Environment.h
projects/clangbsd/contrib/llvm/tools/clang/include/clang/Checker/PathSensitive/GRState.h
projects/clangbsd/contrib/llvm/tools/clang/include/clang/Checker/PathSensitive/SymbolManager.h
projects/clangbsd/contrib/llvm/tools/clang/include/clang/Driver/HostInfo.h
projects/clangbsd/contrib/llvm/tools/clang/include/clang/Driver/Options.td
projects/clangbsd/contrib/llvm/tools/clang/include/clang/Frontend/ASTUnit.h
projects/clangbsd/contrib/llvm/tools/clang/lib/AST/ASTContext.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/AST/DeclBase.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/Basic/Targets.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/Basic/Version.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/Checker/Environment.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/Checker/GRExprEngine.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/Checker/GRState.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/Checker/SymbolManager.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/CodeGen/CGBlocks.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/CodeGen/CGBlocks.h
projects/clangbsd/contrib/llvm/tools/clang/lib/CodeGen/CGBuiltin.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/CodeGen/CGCXX.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/CodeGen/CGExpr.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/CodeGen/CGExprConstant.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/CodeGen/CGExprScalar.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/CodeGen/CGStmt.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/CodeGen/CodeGenFunction.h
projects/clangbsd/contrib/llvm/tools/clang/lib/CodeGen/CodeGenModule.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/CodeGen/CodeGenModule.h
projects/clangbsd/contrib/llvm/tools/clang/lib/CodeGen/Mangle.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/CodeGen/Mangle.h
projects/clangbsd/contrib/llvm/tools/clang/lib/CodeGen/TargetInfo.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/CodeGen/TargetInfo.h
projects/clangbsd/contrib/llvm/tools/clang/lib/Driver/Driver.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/Driver/HostInfo.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/Driver/ToolChains.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/Driver/ToolChains.h
projects/clangbsd/contrib/llvm/tools/clang/lib/Frontend/ASTUnit.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/Frontend/CacheTokens.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/Frontend/InitHeaderSearch.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/Frontend/RewriteObjC.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/Lex/PPMacroExpansion.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/Sema/Sema.h
projects/clangbsd/contrib/llvm/tools/clang/lib/Sema/SemaDeclCXX.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/Sema/SemaExpr.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/Sema/SemaExprCXX.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/Sema/SemaInit.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/Sema/SemaOverload.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/Sema/SemaType.cpp
projects/clangbsd/contrib/llvm/tools/clang/lib/Sema/TreeTransform.h
projects/clangbsd/contrib/llvm/tools/clang/test/CodeGen/asm.c
projects/clangbsd/contrib/llvm/tools/clang/test/CodeGen/attributes.c
projects/clangbsd/contrib/llvm/tools/clang/test/CodeGen/builtins-x86.c
projects/clangbsd/contrib/llvm/tools/clang/test/CodeGen/builtins.c
projects/clangbsd/contrib/llvm/tools/clang/test/CodeGenObjC/id-isa-codegen.m
projects/clangbsd/contrib/llvm/tools/clang/test/Index/linkage.c
projects/clangbsd/contrib/llvm/tools/clang/test/Rewriter/rewrite-byref-vars.mm
projects/clangbsd/contrib/llvm/tools/clang/test/Rewriter/rewrite-nested-ivar.mm
projects/clangbsd/contrib/llvm/tools/clang/test/Rewriter/rewrite-protocol-qualified.mm
projects/clangbsd/contrib/llvm/tools/clang/test/Sema/block-byref-args.c
projects/clangbsd/contrib/llvm/tools/clang/test/Sema/scope-check.c
projects/clangbsd/contrib/llvm/tools/clang/test/SemaObjC/check-dup-objc-decls-1.m
projects/clangbsd/contrib/llvm/tools/clang/test/SemaObjC/unused.m
projects/clangbsd/contrib/llvm/tools/clang/test/lit.cfg
projects/clangbsd/contrib/llvm/tools/clang/tools/CIndex/CIndex.cpp
projects/clangbsd/contrib/llvm/tools/clang/tools/c-index-test/c-index-test.c
projects/clangbsd/contrib/llvm/tools/llvm-config/Makefile
projects/clangbsd/contrib/llvm/tools/llvmc/doc/LLVMC-Reference.rst
projects/clangbsd/contrib/llvm/tools/llvmc/plugins/Base/Base.td.in
projects/clangbsd/contrib/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp
projects/clangbsd/contrib/llvm/unittests/VMCore/MetadataTest.cpp
projects/clangbsd/contrib/llvm/utils/TableGen/DAGISelMatcher.h
projects/clangbsd/contrib/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp
projects/clangbsd/contrib/llvm/utils/TableGen/DAGISelMatcherGen.cpp
projects/clangbsd/contrib/llvm/utils/TableGen/LLVMCConfigurationEmitter.cpp
projects/clangbsd/contrib/llvm/utils/lit/lit/TestRunner.py
projects/clangbsd/contrib/llvm/utils/lit/lit/TestingConfig.py
Directory Properties:
projects/clangbsd/contrib/llvm/ (props changed)
projects/clangbsd/contrib/llvm/tools/clang/ (props changed)
Modified: projects/clangbsd/contrib/llvm/CMakeLists.txt
==============================================================================
--- projects/clangbsd/contrib/llvm/CMakeLists.txt Sat Mar 6 09:23:02 2010 (r204793)
+++ projects/clangbsd/contrib/llvm/CMakeLists.txt Sat Mar 6 11:06:53 2010 (r204794)
@@ -52,6 +52,7 @@ set(LLVM_ALL_TARGETS
CellSPU
CppBackend
Mips
+ MBlaze
MSIL
MSP430
PIC16
Modified: projects/clangbsd/contrib/llvm/Makefile.config.in
==============================================================================
--- projects/clangbsd/contrib/llvm/Makefile.config.in Sat Mar 6 09:23:02 2010 (r204793)
+++ projects/clangbsd/contrib/llvm/Makefile.config.in Sat Mar 6 11:06:53 2010 (r204794)
@@ -76,14 +76,14 @@ endif
LLVMMAKE := $(LLVM_SRC_ROOT)/make
-PROJ_bindir := $(DESTDIR)$(PROJ_prefix)/bin
-PROJ_libdir := $(DESTDIR)$(PROJ_prefix)/lib
-PROJ_datadir := $(DESTDIR)$(PROJ_prefix)/share
-PROJ_docsdir := $(DESTDIR)$(PROJ_prefix)/docs/llvm
-PROJ_etcdir := $(DESTDIR)$(PROJ_prefix)/etc/llvm
-PROJ_includedir := $(DESTDIR)$(PROJ_prefix)/include
-PROJ_infodir := $(DESTDIR)$(PROJ_prefix)/info
-PROJ_mandir := $(DESTDIR)$(PROJ_prefix)/share/man
+PROJ_bindir := $(PROJ_prefix)/bin
+PROJ_libdir := $(PROJ_prefix)/lib
+PROJ_datadir := $(PROJ_prefix)/share
+PROJ_docsdir := $(PROJ_prefix)/docs/llvm
+PROJ_etcdir := $(PROJ_prefix)/etc/llvm
+PROJ_includedir := $(PROJ_prefix)/include
+PROJ_infodir := $(PROJ_prefix)/info
+PROJ_mandir := $(PROJ_prefix)/share/man
# Determine if we're on a unix type operating system
LLVM_ON_UNIX:=@LLVM_ON_UNIX@
Modified: projects/clangbsd/contrib/llvm/Makefile.rules
==============================================================================
--- projects/clangbsd/contrib/llvm/Makefile.rules Sat Mar 6 09:23:02 2010 (r204793)
+++ projects/clangbsd/contrib/llvm/Makefile.rules Sat Mar 6 11:06:53 2010 (r204794)
@@ -781,7 +781,7 @@ ObjectsBC := $(BaseNameSources:%=$(ObjDi
# in the file so they get built before dependencies
#---------------------------------------------------------
-$(PROJ_bindir) $(PROJ_libdir) $(PROJ_includedir) $(PROJ_etcdir)::
+$(DESTDIR)$(PROJ_bindir) $(DESTDIR)$(PROJ_libdir) $(DESTDIR)$(PROJ_includedir) $(DESTDIR)$(PROJ_etcdir)::
$(Verb) $(MKDIR) $@
# To create other directories, as needed, and timestamp their creation
@@ -904,22 +904,22 @@ install-local::
uninstall-local::
$(Echo) UnInstall circumvented with NO_INSTALL
else
-install-local:: $(PROJ_etcdir) $(CONFIG_FILES)
- $(Echo) Installing Configuration Files To $(PROJ_etcdir)
+install-local:: $(DESTDIR)$(PROJ_etcdir) $(CONFIG_FILES)
+ $(Echo) Installing Configuration Files To $(DESTDIR)$(PROJ_etcdir)
$(Verb)for file in $(CONFIG_FILES); do \
if test -f $(PROJ_OBJ_DIR)/$${file} ; then \
- $(DataInstall) $(PROJ_OBJ_DIR)/$${file} $(PROJ_etcdir) ; \
+ $(DataInstall) $(PROJ_OBJ_DIR)/$${file} $(DESTDIR)$(PROJ_etcdir) ; \
elif test -f $(PROJ_SRC_DIR)/$${file} ; then \
- $(DataInstall) $(PROJ_SRC_DIR)/$${file} $(PROJ_etcdir) ; \
+ $(DataInstall) $(PROJ_SRC_DIR)/$${file} $(DESTDIR)$(PROJ_etcdir) ; \
else \
$(ECHO) Error: cannot find config file $${file}. ; \
fi \
done
uninstall-local::
- $(Echo) Uninstalling Configuration Files From $(PROJ_etcdir)
+ $(Echo) Uninstalling Configuration Files From $(DESTDIR)$(PROJ_etcdir)
$(Verb)for file in $(CONFIG_FILES); do \
- $(RM) -f $(PROJ_etcdir)/$${file} ; \
+ $(RM) -f $(DESTDIR)$(PROJ_etcdir)/$${file} ; \
done
endif
@@ -1011,7 +1011,7 @@ endif
ifdef BYTECODE_DESTINATION
ModuleDestDir := $(BYTECODE_DESTINATION)
else
-ModuleDestDir := $(PROJ_libdir)
+ModuleDestDir := $(DESTDIR)$(PROJ_libdir)
endif
ifdef NO_INSTALL
@@ -1090,17 +1090,17 @@ install-local::
uninstall-local::
$(Echo) Uninstall circumvented with NO_INSTALL
else
-DestSharedLib = $(PROJ_libdir)/lib$(LIBRARYNAME)$(SHLIBEXT)
+DestSharedLib = $(DESTDIR)$(PROJ_libdir)/lib$(LIBRARYNAME)$(SHLIBEXT)
install-local:: $(DestSharedLib)
-$(DestSharedLib): $(LibName.SO) $(PROJ_libdir)
+$(DestSharedLib): $(LibName.SO) $(DESTDIR)$(PROJ_libdir)
$(Echo) Installing $(BuildMode) Shared Library $(DestSharedLib)
$(Verb) $(INSTALL) $(LibName.SO) $(DestSharedLib)
uninstall-local::
$(Echo) Uninstalling $(BuildMode) Shared Library $(DestSharedLib)
- -$(Verb) $(RM) -f $(PROJ_libdir)/lib$(LIBRARYNAME).*
+ -$(Verb) $(RM) -f $(DESTDIR)$(PROJ_libdir)/lib$(LIBRARYNAME).*
endif
endif
@@ -1144,7 +1144,7 @@ endif
ifdef BYTECODE_DESTINATION
BytecodeDestDir := $(BYTECODE_DESTINATION)
else
-BytecodeDestDir := $(PROJ_libdir)
+BytecodeDestDir := $(DESTDIR)$(PROJ_libdir)
endif
DestBytecodeLib = $(BytecodeDestDir)/lib$(LIBRARYNAME).bca
@@ -1209,13 +1209,13 @@ install-local::
uninstall-local::
$(Echo) Uninstall circumvented with NO_INSTALL
else
-DestArchiveLib := $(PROJ_libdir)/lib$(LIBRARYNAME).a
+DestArchiveLib := $(DESTDIR)$(PROJ_libdir)/lib$(LIBRARYNAME).a
install-local:: $(DestArchiveLib)
-$(DestArchiveLib): $(LibName.A) $(PROJ_libdir)
+$(DestArchiveLib): $(LibName.A) $(DESTDIR)$(PROJ_libdir)
$(Echo) Installing $(BuildMode) Archive Library $(DestArchiveLib)
- $(Verb) $(MKDIR) $(PROJ_libdir)
+ $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_libdir)
$(Verb) $(INSTALL) $(LibName.A) $(DestArchiveLib)
uninstall-local::
@@ -1315,11 +1315,11 @@ install-local::
uninstall-local::
$(Echo) Uninstall circumvented with NO_INSTALL
else
-DestTool = $(PROJ_bindir)/$(TOOLEXENAME)
+DestTool = $(DESTDIR)$(PROJ_bindir)/$(TOOLEXENAME)
install-local:: $(DestTool)
-$(DestTool): $(ToolBuildPath) $(PROJ_bindir)
+$(DestTool): $(ToolBuildPath) $(DESTDIR)$(PROJ_bindir)
$(Echo) Installing $(BuildMode) $(DestTool)
$(Verb) $(ProgInstall) $(ToolBuildPath) $(DestTool)
@@ -1964,25 +1964,25 @@ uninstall-local::
else
install-local::
$(Echo) Installing include files
- $(Verb) $(MKDIR) $(PROJ_includedir)
+ $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_includedir)
$(Verb) if test -d "$(PROJ_SRC_ROOT)/include" ; then \
cd $(PROJ_SRC_ROOT)/include && \
for hdr in `find . -type f '!' '(' -name '*~' \
-o -name '.#*' -o -name '*.in' ')' -print | grep -v CVS | \
grep -v .svn` ; do \
- instdir=`dirname "$(PROJ_includedir)/$$hdr"` ; \
+ instdir=`dirname "$(DESTDIR)$(PROJ_includedir)/$$hdr"` ; \
if test \! -d "$$instdir" ; then \
$(EchoCmd) Making install directory $$instdir ; \
$(MKDIR) $$instdir ;\
fi ; \
- $(DataInstall) $$hdr $(PROJ_includedir)/$$hdr ; \
+ $(DataInstall) $$hdr $(DESTDIR)$(PROJ_includedir)/$$hdr ; \
done ; \
fi
ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT))
$(Verb) if test -d "$(PROJ_OBJ_ROOT)/include" ; then \
cd $(PROJ_OBJ_ROOT)/include && \
for hdr in `find . -type f -print | grep -v CVS` ; do \
- $(DataInstall) $$hdr $(PROJ_includedir)/$$hdr ; \
+ $(DataInstall) $$hdr $(DESTDIR)$(PROJ_includedir)/$$hdr ; \
done ; \
fi
endif
@@ -1994,10 +1994,10 @@ uninstall-local::
$(RM) -f `find . -path '*/Internal' -prune -o '(' -type f \
'!' '(' -name '*~' -o -name '.#*' \
-o -name '*.in' ')' -print ')' | \
- grep -v CVS | sed 's#^#$(PROJ_includedir)/#'` ; \
+ grep -v CVS | sed 's#^#$(DESTDIR)$(PROJ_includedir)/#'` ; \
cd $(PROJ_SRC_ROOT)/include && \
$(RM) -f `find . -path '*/Internal' -prune -o '(' -type f -name '*.in' \
- -print ')' | sed 's#\.in$$##;s#^#$(PROJ_includedir)/#'` ; \
+ -print ')' | sed 's#\.in$$##;s#^#$(DESTDIR)$(PROJ_includedir)/#'` ; \
fi
endif
endif
Modified: projects/clangbsd/contrib/llvm/bindings/ocaml/bitwriter/bitwriter_ocaml.c
==============================================================================
--- projects/clangbsd/contrib/llvm/bindings/ocaml/bitwriter/bitwriter_ocaml.c Sat Mar 6 09:23:02 2010 (r204793)
+++ projects/clangbsd/contrib/llvm/bindings/ocaml/bitwriter/bitwriter_ocaml.c Sat Mar 6 11:06:53 2010 (r204794)
@@ -28,3 +28,18 @@ CAMLprim value llvm_write_bitcode_file(v
int res = LLVMWriteBitcodeToFile((LLVMModuleRef) M, String_val(Path));
return Val_bool(res == 0);
}
+
+/* ?unbuffered:bool -> Llvm.llmodule -> Unix.file_descr -> bool */
+CAMLprim value llvm_write_bitcode_to_fd(value U, value M, value FD) {
+ int Unbuffered;
+ int res;
+
+ if (U == Val_int(0)) {
+ Unbuffered = 0;
+ } else {
+ Unbuffered = Bool_val(Field(U,0));
+ }
+
+ res = LLVMWriteBitcodeToFD((LLVMModuleRef) M, Int_val(FD), 0, Unbuffered);
+ return Val_bool(res == 0);
+}
Modified: projects/clangbsd/contrib/llvm/bindings/ocaml/bitwriter/llvm_bitwriter.ml
==============================================================================
--- projects/clangbsd/contrib/llvm/bindings/ocaml/bitwriter/llvm_bitwriter.ml Sat Mar 6 09:23:02 2010 (r204793)
+++ projects/clangbsd/contrib/llvm/bindings/ocaml/bitwriter/llvm_bitwriter.ml Sat Mar 6 11:06:53 2010 (r204794)
@@ -16,3 +16,10 @@
(* Writes the bitcode for module the given path. Returns true if successful. *)
external write_bitcode_file : Llvm.llmodule -> string -> bool
= "llvm_write_bitcode_file"
+
+external write_bitcode_to_fd : ?unbuffered:bool -> Llvm.llmodule
+ -> Unix.file_descr -> bool
+ = "llvm_write_bitcode_to_fd"
+
+let output_bitcode ?unbuffered channel m =
+ write_bitcode_to_fd ?unbuffered m (Unix.descr_of_out_channel channel)
Modified: projects/clangbsd/contrib/llvm/bindings/ocaml/bitwriter/llvm_bitwriter.mli
==============================================================================
--- projects/clangbsd/contrib/llvm/bindings/ocaml/bitwriter/llvm_bitwriter.mli Sat Mar 6 09:23:02 2010 (r204793)
+++ projects/clangbsd/contrib/llvm/bindings/ocaml/bitwriter/llvm_bitwriter.mli Sat Mar 6 11:06:53 2010 (r204794)
@@ -16,3 +16,15 @@
[path]. Returns [true] if successful, [false] otherwise. *)
external write_bitcode_file : Llvm.llmodule -> string -> bool
= "llvm_write_bitcode_file"
+
+(** [write_bitcode_to_fd ~unbuffered fd m] writes the bitcode for module
+ [m] to the channel [c]. If [unbuffered] is [true], after every write the fd
+ will be flushed. Returns [true] if successful, [false] otherwise. *)
+external write_bitcode_to_fd : ?unbuffered:bool -> Llvm.llmodule
+ -> Unix.file_descr -> bool
+ = "llvm_write_bitcode_to_fd"
+
+(** [output_bitcode ~unbuffered c m] writes the bitcode for module [m]
+ to the channel [c]. If [unbuffered] is [true], after every write the fd
+ will be flushed. Returns [true] if successful, [false] otherwise. *)
+val output_bitcode : ?unbuffered:bool -> out_channel -> Llvm.llmodule -> bool
Modified: projects/clangbsd/contrib/llvm/bindings/ocaml/executionengine/executionengine_ocaml.c
==============================================================================
--- projects/clangbsd/contrib/llvm/bindings/ocaml/executionengine/executionengine_ocaml.c Sat Mar 6 09:23:02 2010 (r204793)
+++ projects/clangbsd/contrib/llvm/bindings/ocaml/executionengine/executionengine_ocaml.c Sat Mar 6 11:06:53 2010 (r204794)
@@ -91,7 +91,7 @@ CAMLprim value llvm_genericvalue_of_floa
}
/* 'a -> t */
-CAMLprim value llvm_genericvalue_of_value(value V) {
+CAMLprim value llvm_genericvalue_of_pointer(value V) {
CAMLparam1(V);
CAMLreturn(alloc_generic_value(LLVMCreateGenericValueOfPointer(Op_val(V))));
}
@@ -130,7 +130,7 @@ CAMLprim value llvm_genericvalue_as_floa
}
/* t -> 'a */
-CAMLprim value llvm_genericvalue_as_value(value GenVal) {
+CAMLprim value llvm_genericvalue_as_pointer(value GenVal) {
return Val_op(LLVMGenericValueToPointer(Genericvalue_val(GenVal)));
}
@@ -204,14 +204,14 @@ CAMLprim value llvm_ee_dispose(LLVMExecu
}
/* llmodule -> ExecutionEngine.t -> unit */
-CAMLprim value llvm_ee_add_mp(LLVMModuleRef M, LLVMExecutionEngineRef EE) {
+CAMLprim value llvm_ee_add_module(LLVMModuleRef M, LLVMExecutionEngineRef EE) {
LLVMAddModule(EE, M);
return Val_unit;
}
/* llmodule -> ExecutionEngine.t -> llmodule */
-CAMLprim LLVMModuleRef llvm_ee_remove_mp(LLVMModuleRef M,
- LLVMExecutionEngineRef EE) {
+CAMLprim LLVMModuleRef llvm_ee_remove_module(LLVMModuleRef M,
+ LLVMExecutionEngineRef EE) {
LLVMModuleRef RemovedModule;
char *Error;
if (LLVMRemoveModule(EE, M, &RemovedModule, &Error))
Modified: projects/clangbsd/contrib/llvm/bindings/ocaml/executionengine/llvm_executionengine.ml
==============================================================================
--- projects/clangbsd/contrib/llvm/bindings/ocaml/executionengine/llvm_executionengine.ml Sat Mar 6 09:23:02 2010 (r204793)
+++ projects/clangbsd/contrib/llvm/bindings/ocaml/executionengine/llvm_executionengine.ml Sat Mar 6 11:06:53 2010 (r204794)
@@ -20,7 +20,7 @@ module GenericValue = struct
external of_float: Llvm.lltype -> float -> t
= "llvm_genericvalue_of_float"
external of_pointer: 'a -> t
- = "llvm_genericvalue_of_value"
+ = "llvm_genericvalue_of_pointer"
external of_int32: Llvm.lltype -> int32 -> t
= "llvm_genericvalue_of_int32"
external of_int: Llvm.lltype -> int -> t
@@ -33,7 +33,7 @@ module GenericValue = struct
external as_float: Llvm.lltype -> t -> float
= "llvm_genericvalue_as_float"
external as_pointer: t -> 'a
- = "llvm_genericvalue_as_value"
+ = "llvm_genericvalue_as_pointer"
external as_int32: t -> int32
= "llvm_genericvalue_as_int32"
external as_int: t -> int
@@ -65,9 +65,9 @@ module ExecutionEngine = struct
external dispose: t -> unit
= "llvm_ee_dispose"
external add_module: Llvm.llmodule -> t -> unit
- = "llvm_ee_add_mp"
+ = "llvm_ee_add_module"
external remove_module: Llvm.llmodule -> t -> Llvm.llmodule
- = "llvm_ee_remove_mp"
+ = "llvm_ee_remove_module"
external find_function: string -> t -> Llvm.llvalue option
= "llvm_ee_find_function"
external run_function: Llvm.llvalue -> GenericValue.t array -> t ->
Modified: projects/clangbsd/contrib/llvm/bindings/ocaml/executionengine/llvm_executionengine.mli
==============================================================================
--- projects/clangbsd/contrib/llvm/bindings/ocaml/executionengine/llvm_executionengine.mli Sat Mar 6 09:23:02 2010 (r204793)
+++ projects/clangbsd/contrib/llvm/bindings/ocaml/executionengine/llvm_executionengine.mli Sat Mar 6 11:06:53 2010 (r204794)
@@ -25,57 +25,58 @@ module GenericValue: sig
(** [of_float fpty n] boxes the float [n] in a float-valued generic value
according to the floating point type [fpty]. See the fields
[llvm::GenericValue::DoubleVal] and [llvm::GenericValue::FloatVal]. *)
- val of_float: Llvm.lltype -> float -> t
+ external of_float : Llvm.lltype -> float -> t = "llvm_genericvalue_of_float"
(** [of_pointer v] boxes the pointer value [v] in a generic value. See the
field [llvm::GenericValue::PointerVal]. *)
- val of_pointer: 'a -> t
+ external of_pointer : 'a -> t = "llvm_genericvalue_of_pointer"
(** [of_int32 n w] boxes the int32 [i] in a generic value with the bitwidth
[w]. See the field [llvm::GenericValue::IntVal]. *)
- val of_int32: Llvm.lltype -> int32 -> t
+ external of_int32 : Llvm.lltype -> int32 -> t = "llvm_genericvalue_of_int32"
(** [of_int n w] boxes the int [i] in a generic value with the bitwidth
[w]. See the field [llvm::GenericValue::IntVal]. *)
- val of_int: Llvm.lltype -> int -> t
+ external of_int : Llvm.lltype -> int -> t = "llvm_genericvalue_of_int"
(** [of_natint n w] boxes the native int [i] in a generic value with the
bitwidth [w]. See the field [llvm::GenericValue::IntVal]. *)
- val of_nativeint: Llvm.lltype -> nativeint -> t
-
+ external of_nativeint : Llvm.lltype -> nativeint -> t
+ = "llvm_genericvalue_of_nativeint"
+
(** [of_int64 n w] boxes the int64 [i] in a generic value with the bitwidth
[w]. See the field [llvm::GenericValue::IntVal]. *)
- val of_int64: Llvm.lltype -> int64 -> t
-
+ external of_int64 : Llvm.lltype -> int64 -> t = "llvm_genericvalue_of_int64"
+
(** [as_float fpty gv] unboxes the floating point-valued generic value [gv] of
floating point type [fpty]. See the fields [llvm::GenericValue::DoubleVal]
and [llvm::GenericValue::FloatVal]. *)
- val as_float: Llvm.lltype -> t -> float
+ external as_float : Llvm.lltype -> t -> float = "llvm_genericvalue_as_float"
(** [as_pointer gv] unboxes the pointer-valued generic value [gv]. See the
field [llvm::GenericValue::PointerVal]. *)
- val as_pointer: t -> 'a
+ external as_pointer : t -> 'a = "llvm_genericvalue_as_pointer"
(** [as_int32 gv] unboxes the integer-valued generic value [gv] as an [int32].
Is invalid if [gv] has a bitwidth greater than 32 bits. See the field
[llvm::GenericValue::IntVal]. *)
- val as_int32: t -> int32
+ external as_int32 : t -> int32 = "llvm_genericvalue_as_int32"
(** [as_int gv] unboxes the integer-valued generic value [gv] as an [int].
Is invalid if [gv] has a bitwidth greater than the host bit width (but the
most significant bit may be lost). See the field
[llvm::GenericValue::IntVal]. *)
- val as_int: t -> int
+ external as_int : t -> int = "llvm_genericvalue_as_int"
(** [as_natint gv] unboxes the integer-valued generic value [gv] as a
[nativeint]. Is invalid if [gv] has a bitwidth greater than
[nativeint]. See the field [llvm::GenericValue::IntVal]. *)
- val as_nativeint: t -> nativeint
+ external as_nativeint : t -> nativeint = "llvm_genericvalue_as_nativeint"
(** [as_int64 gv] returns the integer-valued generic value [gv] as an [int64].
Is invalid if [gv] has a bitwidth greater than [int64]. See the field
[llvm::GenericValue::IntVal]. *)
- val as_int64: t -> int64
+ external as_int64 : t -> int64 = "llvm_genericvalue_as_int64"
end
@@ -90,66 +91,72 @@ module ExecutionEngine: sig
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.llmodule -> t
+ external create : Llvm.llmodule -> t = "llvm_ee_create"
(** [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_interpreter: Llvm.llmodule -> t
+ external create_interpreter : Llvm.llmodule -> t = "llvm_ee_create_interpreter"
(** [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_jit : Llvm.llmodule -> int -> t
+ external create_jit : Llvm.llmodule -> int -> t = "llvm_ee_create_jit"
(** [dispose ee] releases the memory used by the execution engine and must be
invoked to avoid memory leaks. *)
- val dispose: t -> unit
+ external dispose : t -> unit = "llvm_ee_dispose"
(** [add_module m ee] adds the module [m] to the execution engine [ee]. *)
- val add_module: Llvm.llmodule -> t -> unit
+ external add_module : Llvm.llmodule -> t -> unit = "llvm_ee_add_module"
(** [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
+ external remove_module : Llvm.llmodule -> t -> Llvm.llmodule
+ = "llvm_ee_remove_module"
(** [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
is not found and [Some f] otherwise. *)
- val find_function: string -> t -> Llvm.llvalue option
+ external find_function : string -> t -> Llvm.llvalue option
+ = "llvm_ee_find_function"
(** [run_function f args ee] synchronously executes the function [f] with the
arguments [args], which must be compatible with the parameter types. *)
- val run_function: Llvm.llvalue -> GenericValue.t array -> t ->
- GenericValue.t
+ external run_function : Llvm.llvalue -> GenericValue.t array -> t ->
+ GenericValue.t
+ = "llvm_ee_run_function"
(** [run_static_ctors ee] executes the static constructors of each module in
the execution engine [ee]. *)
- val run_static_ctors: t -> unit
+ external run_static_ctors : t -> unit = "llvm_ee_run_static_ctors"
(** [run_static_dtors ee] executes the static destructors of each module in
the execution engine [ee]. *)
- val run_static_dtors: t -> unit
+ external run_static_dtors : t -> unit = "llvm_ee_run_static_dtors"
(** [run_function_as_main f args env ee] executes the function [f] as a main
function, passing it [argv] and [argc] according to the string array
[args], and [envp] as specified by the array [env]. Returns the integer
return value of the function. *)
- val run_function_as_main: Llvm.llvalue -> string array ->
- (string * string) array -> t -> int
+ external run_function_as_main : Llvm.llvalue -> string array ->
+ (string * string) array -> t -> int
+ = "llvm_ee_run_function_as_main"
(** [free_machine_code f ee] releases the memory in the execution engine [ee]
used to store the machine code for the function [f]. *)
- val free_machine_code: Llvm.llvalue -> t -> unit
+ external free_machine_code : Llvm.llvalue -> t -> unit
+ = "llvm_ee_free_machine_code"
(** [target_data ee] is the target data owned by the execution engine
[ee]. *)
- val target_data: t -> Llvm_target.TargetData.t
+ external target_data : t -> Llvm_target.TargetData.t
+ = "LLVMGetExecutionEngineTargetData"
end
external initialize_native_target : unit -> bool
Modified: projects/clangbsd/contrib/llvm/bindings/ocaml/llvm/llvm.ml
==============================================================================
--- projects/clangbsd/contrib/llvm/bindings/ocaml/llvm/llvm.ml Sat Mar 6 09:23:02 2010 (r204793)
+++ projects/clangbsd/contrib/llvm/bindings/ocaml/llvm/llvm.ml Sat Mar 6 11:06:53 2010 (r204794)
@@ -90,11 +90,13 @@ module Attribute = struct
| Optsize
| Ssp
| Sspreq
+ | Alignment
| Nocapture
| Noredzone
| Noimplicitfloat
| Naked
| Inlinehint
+ | Stackalignment
end
module Icmp = struct
Modified: projects/clangbsd/contrib/llvm/bindings/ocaml/llvm/llvm.mli
==============================================================================
--- projects/clangbsd/contrib/llvm/bindings/ocaml/llvm/llvm.mli Sat Mar 6 09:23:02 2010 (r204793)
+++ projects/clangbsd/contrib/llvm/bindings/ocaml/llvm/llvm.mli Sat Mar 6 11:06:53 2010 (r204794)
@@ -139,11 +139,13 @@ module Attribute : sig
| Optsize
| Ssp
| Sspreq
+ | Alignment
| Nocapture
| Noredzone
| Noimplicitfloat
| Naked
| Inlinehint
+ | Stackalignment
end
(** The predicate for an integer comparison ([icmp]) instruction.
Modified: projects/clangbsd/contrib/llvm/bindings/ocaml/transforms/scalar/llvm_scalar_opts.ml
==============================================================================
--- projects/clangbsd/contrib/llvm/bindings/ocaml/transforms/scalar/llvm_scalar_opts.ml Sat Mar 6 09:23:02 2010 (r204793)
+++ projects/clangbsd/contrib/llvm/bindings/ocaml/transforms/scalar/llvm_scalar_opts.ml Sat Mar 6 11:06:53 2010 (r204794)
@@ -10,9 +10,38 @@
external add_constant_propagation : [<Llvm.PassManager.any] Llvm.PassManager.t
-> unit
= "llvm_add_constant_propagation"
-external add_instruction_combining : [<Llvm.PassManager.any] Llvm.PassManager.t
- -> unit
- = "llvm_add_instruction_combining"
+external add_sccp : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit
+ = "llvm_add_sccp"
+external add_dead_store_elimination : [<Llvm.PassManager.any] Llvm.PassManager.t
+ -> unit
+ = "llvm_add_dead_store_elimination"
+external add_aggressive_dce : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit
+ = "llvm_add_aggressive_dce"
+external
+add_scalar_repl_aggregation : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit
+ = "llvm_add_scalar_repl_aggregation"
+external add_ind_var_simplification : [<Llvm.PassManager.any] Llvm.PassManager.t
+ -> unit
+ = "llvm_add_ind_var_simplification"
+external
+add_instruction_combination : [<Llvm.PassManager.any] Llvm.PassManager.t
+ -> unit
+ = "llvm_add_instruction_combination"
+external add_licm : [<Llvm.PassManager.any] Llvm.PassManager.t
+ -> unit
+ = "llvm_add_licm"
+external add_loop_unswitch : [<Llvm.PassManager.any] Llvm.PassManager.t
+ -> unit
+ = "llvm_add_loop_unswitch"
+external add_loop_unroll : [<Llvm.PassManager.any] Llvm.PassManager.t
+ -> unit
+ = "llvm_add_loop_unroll"
+external add_loop_rotation : [<Llvm.PassManager.any] Llvm.PassManager.t
+ -> unit
+ = "llvm_add_loop_rotation"
+external add_loop_index_split : [<Llvm.PassManager.any] Llvm.PassManager.t
+ -> unit
+ = "llvm_add_loop_index_split"
external
add_memory_to_register_promotion : [<Llvm.PassManager.any] Llvm.PassManager.t
-> unit
@@ -21,12 +50,26 @@ external
add_memory_to_register_demotion : [<Llvm.PassManager.any] Llvm.PassManager.t
-> unit
= "llvm_add_memory_to_register_demotion"
-external add_reassociation : [<Llvm.PassManager.any] Llvm.PassManager.t
- -> unit
+external add_reassociation : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit
= "llvm_add_reassociation"
-external add_gvn : [<Llvm.PassManager.any] Llvm.PassManager.t
- -> unit
- = "llvm_add_gvn"
+external add_jump_threading : [<Llvm.PassManager.any] Llvm.PassManager.t
+ -> unit
+ = "llvm_add_jump_threading"
external add_cfg_simplification : [<Llvm.PassManager.any] Llvm.PassManager.t
-> unit
= "llvm_add_cfg_simplification"
+external
+add_tail_call_elimination : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit
+ = "llvm_add_tail_call_elimination"
+external add_gvn : [<Llvm.PassManager.any] Llvm.PassManager.t
+ -> unit
+ = "llvm_add_gvn"
+external add_memcpy_opt : [<Llvm.PassManager.any] Llvm.PassManager.t
+ -> unit
+ = "llvm_add_memcpy_opt"
+external add_loop_deletion : [<Llvm.PassManager.any] Llvm.PassManager.t
+ -> unit
+ = "llvm_add_loop_deletion"
+external
+add_lib_call_simplification : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit
+ = "llvm_add_lib_call_simplification"
Modified: projects/clangbsd/contrib/llvm/bindings/ocaml/transforms/scalar/llvm_scalar_opts.mli
==============================================================================
--- projects/clangbsd/contrib/llvm/bindings/ocaml/transforms/scalar/llvm_scalar_opts.mli Sat Mar 6 09:23:02 2010 (r204793)
+++ projects/clangbsd/contrib/llvm/bindings/ocaml/transforms/scalar/llvm_scalar_opts.mli Sat Mar 6 11:06:53 2010 (r204794)
@@ -17,10 +17,59 @@ external add_constant_propagation : [<Ll
-> unit
= "llvm_add_constant_propagation"
+(** See the [llvm::createSCCPPass] function. *)
+external add_sccp : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit
+ = "llvm_add_sccp"
+
+(** See [llvm::createDeadStoreEliminationPass] function. *)
+external add_dead_store_elimination : [<Llvm.PassManager.any] Llvm.PassManager.t
+ -> unit
+ = "llvm_add_dead_store_elimination"
+
+(** See The [llvm::createAggressiveDCEPass] function. *)
+external add_aggressive_dce : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit
+ = "llvm_add_aggressive_dce"
+
+(** See the [llvm::createScalarReplAggregatesPass] function. *)
+external
+add_scalar_repl_aggregation : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit
+ = "llvm_add_scalar_repl_aggregation"
+
+(** See the [llvm::createIndVarSimplifyPass] function. *)
+external add_ind_var_simplification : [<Llvm.PassManager.any] Llvm.PassManager.t
+ -> unit
+ = "llvm_add_ind_var_simplification"
+
(** See the [llvm::createInstructionCombiningPass] function. *)
-external add_instruction_combining : [<Llvm.PassManager.any] Llvm.PassManager.t
- -> unit
- = "llvm_add_instruction_combining"
+external
+add_instruction_combination : [<Llvm.PassManager.any] Llvm.PassManager.t
+ -> unit
+ = "llvm_add_instruction_combination"
+
+(** See the [llvm::createLICMPass] function. *)
+external add_licm : [<Llvm.PassManager.any] Llvm.PassManager.t
+ -> unit
+ = "llvm_add_licm"
+
+(** See the [llvm::createLoopUnswitchPass] function. *)
+external add_loop_unswitch : [<Llvm.PassManager.any] Llvm.PassManager.t
+ -> unit
+ = "llvm_add_loop_unswitch"
+
+(** See the [llvm::createLoopUnrollPass] function. *)
+external add_loop_unroll : [<Llvm.PassManager.any] Llvm.PassManager.t
+ -> unit
+ = "llvm_add_loop_unroll"
+
+(** See the [llvm::createLoopRotatePass] function. *)
+external add_loop_rotation : [<Llvm.PassManager.any] Llvm.PassManager.t
+ -> unit
+ = "llvm_add_loop_rotation"
+
+(** See the [llvm::createLoopIndexSplitPass] function. *)
+external add_loop_index_split : [<Llvm.PassManager.any] Llvm.PassManager.t
+ -> unit
+ = "llvm_add_loop_index_split"
(** See the [llvm::createPromoteMemoryToRegisterPass] function. *)
external
@@ -35,16 +84,40 @@ add_memory_to_register_demotion : [<Llvm
= "llvm_add_memory_to_register_demotion"
(** See the [llvm::createReassociatePass] function. *)
-external add_reassociation : [<Llvm.PassManager.any] Llvm.PassManager.t
- -> unit
+external add_reassociation : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit
= "llvm_add_reassociation"
-(** See the [llvm::createGVNPass] function. *)
-external add_gvn : [<Llvm.PassManager.any] Llvm.PassManager.t
- -> unit
- = "llvm_add_gvn"
+(** See the [llvm::createJumpThreadingPass] function. *)
+external add_jump_threading : [<Llvm.PassManager.any] Llvm.PassManager.t
+ -> unit
+ = "llvm_add_jump_threading"
(** See the [llvm::createCFGSimplificationPass] function. *)
external add_cfg_simplification : [<Llvm.PassManager.any] Llvm.PassManager.t
-> unit
= "llvm_add_cfg_simplification"
+
+(** See the [llvm::createTailCallEliminationPass] function. *)
+external
+add_tail_call_elimination : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit
+ = "llvm_add_tail_call_elimination"
+
+(** See the [llvm::createGVNPass] function. *)
+external add_gvn : [<Llvm.PassManager.any] Llvm.PassManager.t
+ -> unit
+ = "llvm_add_gvn"
+
+(** See the [llvm::createMemCpyOptPass] function. *)
+external add_memcpy_opt : [<Llvm.PassManager.any] Llvm.PassManager.t
+ -> unit
+ = "llvm_add_memcpy_opt"
+
+(** See the [llvm::createLoopDeletionPass] function. *)
+external add_loop_deletion : [<Llvm.PassManager.any] Llvm.PassManager.t
+ -> unit
+ = "llvm_add_loop_deletion"
+
+(** See the [llvm::createSimplifyLibCallsPass] function. *)
+external
+add_lib_call_simplification : [<Llvm.PassManager.any] Llvm.PassManager.t -> unit
+ = "llvm_add_lib_call_simplification"
Modified: projects/clangbsd/contrib/llvm/bindings/ocaml/transforms/scalar/scalar_opts_ocaml.c
==============================================================================
--- projects/clangbsd/contrib/llvm/bindings/ocaml/transforms/scalar/scalar_opts_ocaml.c Sat Mar 6 09:23:02 2010 (r204793)
+++ projects/clangbsd/contrib/llvm/bindings/ocaml/transforms/scalar/scalar_opts_ocaml.c Sat Mar 6 11:06:53 2010 (r204794)
@@ -26,12 +26,72 @@ CAMLprim value llvm_add_constant_propaga
}
/* [<Llvm.PassManager.any] Llvm.PassManager.t -> unit */
-CAMLprim value llvm_add_instruction_combining(LLVMPassManagerRef PM) {
+CAMLprim value llvm_add_sccp(LLVMPassManagerRef PM) {
+ LLVMAddSCCPPass(PM);
+ return Val_unit;
+}
+
+/* [<Llvm.PassManager.any] Llvm.PassManager.t -> unit */
+CAMLprim value llvm_add_dead_store_elimination(LLVMPassManagerRef PM) {
+ LLVMAddDeadStoreEliminationPass(PM);
+ return Val_unit;
+}
+
+/* [<Llvm.PassManager.any] Llvm.PassManager.t -> unit */
+CAMLprim value llvm_add_aggressive_dce(LLVMPassManagerRef PM) {
+ LLVMAddAggressiveDCEPass(PM);
+ return Val_unit;
+}
+
+/* [<Llvm.PassManager.any] Llvm.PassManager.t -> unit */
+CAMLprim value llvm_add_scalar_repl_aggregation(LLVMPassManagerRef PM) {
+ LLVMAddScalarReplAggregatesPass(PM);
+ return Val_unit;
+}
+
+/* [<Llvm.PassManager.any] Llvm.PassManager.t -> unit */
+CAMLprim value llvm_add_ind_var_simplification(LLVMPassManagerRef PM) {
+ LLVMAddIndVarSimplifyPass(PM);
+ return Val_unit;
+}
+
+/* [<Llvm.PassManager.any] Llvm.PassManager.t -> unit */
+CAMLprim value llvm_add_instruction_combination(LLVMPassManagerRef PM) {
LLVMAddInstructionCombiningPass(PM);
return Val_unit;
}
/* [<Llvm.PassManager.any] Llvm.PassManager.t -> unit */
+CAMLprim value llvm_add_licm(LLVMPassManagerRef PM) {
+ LLVMAddLICMPass(PM);
+ return Val_unit;
+}
+
+/* [<Llvm.PassManager.any] Llvm.PassManager.t -> unit */
+CAMLprim value llvm_add_loop_unswitch(LLVMPassManagerRef PM) {
+ LLVMAddLoopUnrollPass(PM);
+ return Val_unit;
+}
+
+/* [<Llvm.PassManager.any] Llvm.PassManager.t -> unit */
+CAMLprim value llvm_add_loop_unroll(LLVMPassManagerRef PM) {
+ LLVMAddLoopUnrollPass(PM);
+ return Val_unit;
+}
+
+/* [<Llvm.PassManager.any] Llvm.PassManager.t -> unit */
+CAMLprim value llvm_add_loop_rotation(LLVMPassManagerRef PM) {
+ LLVMAddLoopRotatePass(PM);
+ return Val_unit;
+}
+
+/* [<Llvm.PassManager.any] Llvm.PassManager.t -> unit */
+CAMLprim value llvm_add_loop_index_split(LLVMPassManagerRef PM) {
+ LLVMAddLoopIndexSplitPass(PM);
+ return Val_unit;
+}
+
+/* [<Llvm.PassManager.any] Llvm.PassManager.t -> unit */
CAMLprim value llvm_add_memory_to_register_promotion(LLVMPassManagerRef PM) {
LLVMAddPromoteMemoryToRegisterPass(PM);
return Val_unit;
@@ -50,8 +110,8 @@ CAMLprim value llvm_add_reassociation(LL
}
/* [<Llvm.PassManager.any] Llvm.PassManager.t -> unit */
-CAMLprim value llvm_add_gvn(LLVMPassManagerRef PM) {
- LLVMAddGVNPass(PM);
+CAMLprim value llvm_add_jump_threading(LLVMPassManagerRef PM) {
+ LLVMAddJumpThreadingPass(PM);
return Val_unit;
}
@@ -60,3 +120,33 @@ CAMLprim value llvm_add_cfg_simplificati
LLVMAddCFGSimplificationPass(PM);
return Val_unit;
}
+
+/* [<Llvm.PassManager.any] Llvm.PassManager.t -> unit */
+CAMLprim value llvm_add_tail_call_elimination(LLVMPassManagerRef PM) {
+ LLVMAddTailCallEliminationPass(PM);
+ return Val_unit;
+}
+
+/* [<Llvm.PassManager.any] Llvm.PassManager.t -> unit */
+CAMLprim value llvm_add_gvn(LLVMPassManagerRef PM) {
+ LLVMAddGVNPass(PM);
+ return Val_unit;
+}
+
+/* [<Llvm.PassManager.any] Llvm.PassManager.t -> unit */
+CAMLprim value llvm_add_memcpy_opt(LLVMPassManagerRef PM) {
+ LLVMAddMemCpyOptPass(PM);
+ return Val_unit;
+}
+
+/* [<Llvm.PassManager.any] Llvm.PassManager.t -> unit */
+CAMLprim value llvm_add_loop_deletion(LLVMPassManagerRef PM) {
+ LLVMAddLoopDeletionPass(PM);
+ return Val_unit;
+}
+
+/* [<Llvm.PassManager.any] Llvm.PassManager.t -> unit */
+CAMLprim value llvm_add_lib_call_simplification(LLVMPassManagerRef PM) {
+ LLVMAddSimplifyLibCallsPass(PM);
+ return Val_unit;
+}
Modified: projects/clangbsd/contrib/llvm/docs/CommandGuide/Makefile
==============================================================================
--- projects/clangbsd/contrib/llvm/docs/CommandGuide/Makefile Sat Mar 6 09:23:02 2010 (r204793)
+++ projects/clangbsd/contrib/llvm/docs/CommandGuide/Makefile Sat Mar 6 11:06:53 2010 (r204794)
@@ -77,9 +77,9 @@ EXTRA_DIST := $(POD) index.html
clean-local::
$(Verb) $(RM) -f pod2htm*.*~~ $(HTML) $(MAN) $(PS)
-HTML_DIR := $(PROJ_docsdir)/html/CommandGuide
-MAN_DIR := $(PROJ_mandir)/man1
-PS_DIR := $(PROJ_docsdir)/ps
+HTML_DIR := $(DESTDIR)$(PROJ_docsdir)/html/CommandGuide
+MAN_DIR := $(DESTDIR)$(PROJ_mandir)/man1
+PS_DIR := $(DESTDIR)$(PROJ_docsdir)/ps
install-local:: $(HTML) $(INSTALL_MANS) $(PS)
$(Echo) Installing HTML CommandGuide Documentation
Modified: projects/clangbsd/contrib/llvm/docs/LangRef.html
==============================================================================
--- projects/clangbsd/contrib/llvm/docs/LangRef.html Sat Mar 6 09:23:02 2010 (r204793)
+++ projects/clangbsd/contrib/llvm/docs/LangRef.html Sat Mar 6 11:06:53 2010 (r204794)
@@ -2520,6 +2520,23 @@ call void asm alignstack "eieio", ""()
metadata nodes, which can be looked up in the module symbol table. For
example: "<tt>!foo = metadata !{!4, !3}</tt>".
+<p>Metadata can be used as function arguments. Here <tt>llvm.dbg.value</tt>
+ function is using two metadata arguments.
+
+ <div class="doc_code">
+ <pre>
+ call void @llvm.dbg.value(metadata !24, i64 0, metadata !25)
+ </pre>
+ </div></p>
+
+<p>Metadata can be attached with an instruction. Here metadata <tt>!21</tt> is
+ attached with <tt>add</tt> instruction using <tt>!dbg</tt> identifier.
+
+ <div class="doc_code">
+ <pre>
+ %indvar.next = add i64 %indvar, 1, !dbg !21
+ </pre>
+ </div></p>
</div>
@@ -7453,7 +7470,7 @@ LLVM</a>.</p>
<a href="mailto:sabre at nondot.org">Chris Lattner</a><br>
<a href="http://llvm.org">The LLVM Compiler Infrastructure</a><br>
- Last modified: $Date: 2010-03-02 07:36:51 +0100 (Tue, 02 Mar 2010) $
+ Last modified: $Date: 2010-03-05 00:44:48 +0100 (Fri, 05 Mar 2010) $
</address>
</body>
Modified: projects/clangbsd/contrib/llvm/docs/Makefile
==============================================================================
--- projects/clangbsd/contrib/llvm/docs/Makefile Sat Mar 6 09:23:02 2010 (r204793)
+++ projects/clangbsd/contrib/llvm/docs/Makefile Sat Mar 6 11:06:53 2010 (r204794)
@@ -48,11 +48,11 @@ generated:: doxygen ocamldoc
install-html: $(PROJ_OBJ_DIR)/html.tar.gz
$(Echo) Installing HTML documentation
- $(Verb) $(MKDIR) $(PROJ_docsdir)/html
- $(Verb) $(MKDIR) $(PROJ_docsdir)/html/img
- $(Verb) $(DataInstall) $(HTML) $(PROJ_docsdir)/html
- $(Verb) $(DataInstall) $(IMAGES) $(PROJ_docsdir)/html/img
- $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/html.tar.gz $(PROJ_docsdir)
+ $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html
+ $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html/img
+ $(Verb) $(DataInstall) $(HTML) $(DESTDIR)$(PROJ_docsdir)/html
+ $(Verb) $(DataInstall) $(IMAGES) $(DESTDIR)$(PROJ_docsdir)/html/img
+ $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/html.tar.gz $(DESTDIR)$(PROJ_docsdir)
$(PROJ_OBJ_DIR)/html.tar.gz: $(HTML)
$(Echo) Packaging HTML documentation
@@ -63,11 +63,11 @@ $(PROJ_OBJ_DIR)/html.tar.gz: $(HTML)
install-doxygen: doxygen
$(Echo) Installing doxygen documentation
- $(Verb) $(MKDIR) $(PROJ_docsdir)/html/doxygen
- $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/doxygen.tar.gz $(PROJ_docsdir)
+ $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html/doxygen
+ $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/doxygen.tar.gz $(DESTDIR)$(PROJ_docsdir)
$(Verb) cd $(PROJ_OBJ_DIR)/doxygen && \
$(FIND) . -type f -exec \
- $(DataInstall) {} $(PROJ_docsdir)/html/doxygen \;
+ $(DataInstall) {} $(DESTDIR)$(PROJ_docsdir)/html/doxygen \;
doxygen: regendoc $(PROJ_OBJ_DIR)/doxygen.tar.gz
@@ -94,11 +94,11 @@ $(LLVM_SRC_ROOT)/docs/userloc.html:
install-ocamldoc: ocamldoc
$(Echo) Installing ocamldoc documentation
- $(Verb) $(MKDIR) $(PROJ_docsdir)/ocamldoc/html
- $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/ocamldoc.tar.gz $(PROJ_docsdir)
+ $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/ocamldoc/html
+ $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/ocamldoc.tar.gz $(DESTDIR)$(PROJ_docsdir)
$(Verb) cd $(PROJ_OBJ_DIR)/ocamldoc && \
$(FIND) . -type f -exec \
- $(DataInstall) {} $(PROJ_docsdir)/ocamldoc/html \;
+ $(DataInstall) {} $(DESTDIR)$(PROJ_docsdir)/ocamldoc/html \;
ocamldoc: regen-ocamldoc
$(Echo) Packaging ocamldoc documentation
@@ -120,4 +120,4 @@ regen-ocamldoc:
uninstall-local::
$(Echo) Uninstalling Documentation
- $(Verb) $(RM) -rf $(PROJ_docsdir)
+ $(Verb) $(RM) -rf $(DESTDIR)$(PROJ_docsdir)
Modified: projects/clangbsd/contrib/llvm/docs/tutorial/Makefile
==============================================================================
--- projects/clangbsd/contrib/llvm/docs/tutorial/Makefile Sat Mar 6 09:23:02 2010 (r204793)
+++ projects/clangbsd/contrib/llvm/docs/tutorial/Makefile Sat Mar 6 11:06:53 2010 (r204794)
@@ -12,7 +12,7 @@ include $(LEVEL)/Makefile.common
HTML := $(wildcard $(PROJ_SRC_DIR)/*.html)
EXTRA_DIST := $(HTML) index.html
-HTML_DIR := $(PROJ_docsdir)/html/tutorial
+HTML_DIR := $(DESTDIR)$(PROJ_docsdir)/html/tutorial
install-local:: $(HTML)
$(Echo) Installing HTML Tutorial Documentation
Modified: projects/clangbsd/contrib/llvm/include/llvm-c/BitWriter.h
==============================================================================
--- projects/clangbsd/contrib/llvm/include/llvm-c/BitWriter.h Sat Mar 6 09:23:02 2010 (r204793)
+++ projects/clangbsd/contrib/llvm/include/llvm-c/BitWriter.h Sat Mar 6 11:06:53 2010 (r204794)
@@ -28,13 +28,16 @@ extern "C" {
/*===-- Operations on modules ---------------------------------------------===*/
-/* Writes a module to an open file descriptor. Returns 0 on success.
- Closes the Handle. Use dup first if this is not what you want. */
-int LLVMWriteBitcodeToFileHandle(LLVMModuleRef M, int Handle);
-
-/* Writes a module to the specified path. Returns 0 on success. */
+/** Writes a module to the specified path. Returns 0 on success. */
int LLVMWriteBitcodeToFile(LLVMModuleRef M, const char *Path);
+/** Writes a module to an open file descriptor. Returns 0 on success. */
+int LLVMWriteBitcodeToFD(LLVMModuleRef M, int FD, int ShouldClose,
+ int Unbuffered);
+
+/** Deprecated for LLVMWriteBitcodeToFD. Writes a module to an open file
+ descriptor. Returns 0 on success. Closes the Handle. */
+int LLVMWriteBitcodeToFileHandle(LLVMModuleRef M, int Handle);
#ifdef __cplusplus
}
Modified: projects/clangbsd/contrib/llvm/include/llvm-c/Core.h
==============================================================================
--- projects/clangbsd/contrib/llvm/include/llvm-c/Core.h Sat Mar 6 09:23:02 2010 (r204793)
+++ projects/clangbsd/contrib/llvm/include/llvm-c/Core.h Sat Mar 6 11:06:53 2010 (r204794)
@@ -112,11 +112,13 @@ typedef enum {
LLVMOptimizeForSizeAttribute = 1<<13,
LLVMStackProtectAttribute = 1<<14,
LLVMStackProtectReqAttribute = 1<<15,
+ LLVMAlignment = 31<<16,
LLVMNoCaptureAttribute = 1<<21,
LLVMNoRedZoneAttribute = 1<<22,
LLVMNoImplicitFloatAttribute = 1<<23,
LLVMNakedAttribute = 1<<24,
- LLVMInlineHintAttribute = 1<<25
+ LLVMInlineHintAttribute = 1<<25,
+ LLVMStackAlignment = 7<<26
} LLVMAttribute;
typedef enum {
Modified: projects/clangbsd/contrib/llvm/include/llvm/ADT/ScopedHashTable.h
==============================================================================
--- projects/clangbsd/contrib/llvm/include/llvm/ADT/ScopedHashTable.h Sat Mar 6 09:23:02 2010 (r204793)
+++ projects/clangbsd/contrib/llvm/include/llvm/ADT/ScopedHashTable.h Sat Mar 6 11:06:53 2010 (r204794)
@@ -139,7 +139,7 @@ public:
}
V lookup(const K &Key) {
- return TopLevelMap[Key].getValue();
+ return TopLevelMap[Key]->getValue();
}
void insert(const K &Key, const V &Val) {
Modified: projects/clangbsd/contrib/llvm/include/llvm/Analysis/ValueTracking.h
==============================================================================
--- projects/clangbsd/contrib/llvm/include/llvm/Analysis/ValueTracking.h Sat Mar 6 09:23:02 2010 (r204793)
+++ projects/clangbsd/contrib/llvm/include/llvm/Analysis/ValueTracking.h Sat Mar 6 11:06:53 2010 (r204794)
@@ -124,6 +124,10 @@ namespace llvm {
/// character is included in the result string.
bool GetConstantStringInfo(Value *V, std::string &Str, uint64_t Offset = 0,
bool StopAtNul = true);
+
+ /// GetStringLength - If we can compute the length of the string pointed to by
+ /// the specified pointer, return 'len+1'. If we can't, return 0.
+ uint64_t GetStringLength(Value *V);
} // end namespace llvm
#endif
Modified: projects/clangbsd/contrib/llvm/include/llvm/CodeGen/MachineInstr.h
==============================================================================
--- projects/clangbsd/contrib/llvm/include/llvm/CodeGen/MachineInstr.h Sat Mar 6 09:23:02 2010 (r204793)
+++ projects/clangbsd/contrib/llvm/include/llvm/CodeGen/MachineInstr.h Sat Mar 6 11:06:53 2010 (r204794)
@@ -419,6 +419,30 @@ private:
void AddRegOperandsToUseLists(MachineRegisterInfo &RegInfo);
};
*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
More information about the svn-src-projects
mailing list