Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Implement the "linker_private_weak" linkage type. This will be used for | Bill Wendling | 2010-07-01 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | Objective-C metadata types which should be marked as "weak", but which the linker will remove upon final linkage. However, this linkage isn't specific to Objective-C. For example, the "objc_msgSend_fixup_alloc" symbol is defined like this: .globl l_objc_msgSend_fixup_alloc .weak_definition l_objc_msgSend_fixup_alloc .section __DATA, __objc_msgrefs, coalesced .align 3 l_objc_msgSend_fixup_alloc: .quad _objc_msgSend_fixup .quad L_OBJC_METH_VAR_NAME_1 This is different from the "linker_private" linkage type, because it can't have the metadata defined with ".weak_definition". Currently only supported on Darwin platforms. llvm-svn: 107433 | |||||
* | Revert r107205 and r107207. | Bill Wendling | 2010-06-29 | 1 | -4/+2 | |
| | | | | llvm-svn: 107215 | |||||
* | Introducing the "linker_weak" linkage type. This will be used for Objective-C | Bill Wendling | 2010-06-29 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | | | | | | metadata types which should be marked as "weak", but which the linker will remove upon final linkage. For example, the "objc_msgSend_fixup_alloc" symbol is defined like this: .globl l_objc_msgSend_fixup_alloc .weak_definition l_objc_msgSend_fixup_alloc .section __DATA, __objc_msgrefs, coalesced .align 3 l_objc_msgSend_fixup_alloc: .quad _objc_msgSend_fixup .quad L_OBJC_METH_VAR_NAME_1 This is different from the "linker_private" linkage type, because it can't have the metadata defined with ".weak_definition". llvm-svn: 107205 | |||||
* | add attributes and module level asm to the ocaml bindings, | Chris Lattner | 2010-04-10 | 3 | -33/+86 | |
| | | | | | | patch by Patrick Walton! llvm-svn: 100932 | |||||
* | Add OCaml tutorial to the examples. | Erick Tryzelaar | 2010-03-08 | 1 | -28/+95 | |
| | | | | llvm-svn: 97966 | |||||
* | Add a LLVMWriteBitcodeToFD that exposes the raw_fd_ostream options. | Erick Tryzelaar | 2010-03-06 | 3 | -0/+34 | |
| | | | | llvm-svn: 97858 | |||||
* | Expose the rest of the llvm-c scalar opts to ocaml. | Erick Tryzelaar | 2010-03-03 | 3 | -20/+226 | |
| | | | | llvm-svn: 97685 | |||||
* | Rename some ocaml functions. | Erick Tryzelaar | 2010-03-03 | 3 | -13/+13 | |
| | | | | llvm-svn: 97684 | |||||
* | Expose the external functions for ocaml's execution engine as an optimization. | Erick Tryzelaar | 2010-03-03 | 1 | -29/+36 | |
| | | | | llvm-svn: 97683 | |||||
* | Expose alignment and stack alignment attributes to llvm-c and ocaml. | Erick Tryzelaar | 2010-03-03 | 2 | -0/+4 | |
| | | | | llvm-svn: 97682 | |||||
* | Use the ocaml tag 0 since we are just returning an option value. | Erick Tryzelaar | 2010-03-02 | 1 | -1/+1 | |
| | | | | llvm-svn: 97612 | |||||
* | Don't use an ocaml keyword in an ocamldoc comment. | Erick Tryzelaar | 2010-03-02 | 1 | -7/+8 | |
| | | | | llvm-svn: 97611 | |||||
* | Expose the optimization level for the jit in ocaml. | Erick Tryzelaar | 2010-03-02 | 3 | -31/+10 | |
| | | | | llvm-svn: 97610 | |||||
* | Remove module providers from ocaml. | Erick Tryzelaar | 2010-03-02 | 9 | -112/+71 | |
| | | | | llvm-svn: 97609 | |||||
* | Add support for use to ocaml. | Erick Tryzelaar | 2010-03-02 | 3 | -0/+104 | |
| | | | | llvm-svn: 97586 | |||||
* | Add support getting the operands of a User to ocaml. | Erick Tryzelaar | 2010-02-28 | 3 | -0/+17 | |
| | | | | llvm-svn: 97414 | |||||
* | Add support for global aliases to ocaml. | Erick Tryzelaar | 2010-02-28 | 3 | -0/+20 | |
| | | | | llvm-svn: 97413 | |||||
* | Add support for inserting inline asm to ocaml. | Erick Tryzelaar | 2010-02-28 | 3 | -0/+17 | |
| | | | | llvm-svn: 97412 | |||||
* | Add support for getting a null pointer. | Erick Tryzelaar | 2010-02-28 | 2 | -0/+5 | |
| | | | | llvm-svn: 97380 | |||||
* | Add a way to look up a type by it's name in a module. | Erick Tryzelaar | 2010-02-28 | 3 | -0/+19 | |
| | | | | llvm-svn: 97379 | |||||
* | Add replace_all_uses_with to ocaml. | Erick Tryzelaar | 2010-02-28 | 2 | -0/+7 | |
| | | | | llvm-svn: 97378 | |||||
* | Add support for global variables in an address space for llvm-c and ocaml. | Erick Tryzelaar | 2010-02-28 | 3 | -5/+54 | |
| | | | | llvm-svn: 97377 | |||||
* | Add indirect br support to llvm-c and ocaml. | Erick Tryzelaar | 2010-02-28 | 3 | -0/+37 | |
| | | | | llvm-svn: 97376 | |||||
* | Add metadata functions to llvm-c and ocaml. | Erick Tryzelaar | 2010-02-28 | 3 | -0/+170 | |
| | | | | llvm-svn: 97375 | |||||
* | Add the new builder arthmetic instructions to llvm-c and ocaml. | Erick Tryzelaar | 2010-02-28 | 3 | -0/+165 | |
| | | | | llvm-svn: 97372 | |||||
* | Add the new union arthmetic instructions to llvm-c and ocaml. | Erick Tryzelaar | 2010-02-28 | 3 | -6/+51 | |
| | | | | llvm-svn: 97371 | |||||
* | Fix incorrect uses of an ocaml llbuilder without extracting it from ocaml. | Erick Tryzelaar | 2010-02-28 | 1 | -4/+3 | |
| | | | | llvm-svn: 97368 | |||||
* | Remove malloc and free from the ocaml bindings. | Erick Tryzelaar | 2010-02-28 | 3 | -42/+0 | |
| | | | | llvm-svn: 97367 | |||||
* | Fix the ocaml bindings for the bitcode reader. | Jeffrey Yasskin | 2010-02-27 | 1 | -1/+1 | |
| | | | | | | llvm_get_module_provider() was returning a value of the wrong type. llvm-svn: 97290 | |||||
* | Fix some ocaml documentation | Erick Tryzelaar | 2010-02-16 | 2 | -5/+5 | |
| | | | | llvm-svn: 96323 | |||||
* | fix llvm_build_struct_gep for PR6167, patch by | Chris Lattner | 2010-02-09 | 1 | -4/+3 | |
| | | | | | | Peter Hawkins! llvm-svn: 95644 | |||||
* | Reintroduce the InlineHint function attribute. | Jakob Stoklund Olesen | 2010-02-06 | 2 | -0/+2 | |
| | | | | | | | | | | | | This time it's for real! I am going to hook this up in the frontends as well. The inliner has some experimental heuristics for dealing with the inline hint. When given a -respect-inlinehint option, functions marked with the inline keyword are given a threshold just above the default for -O3. We need some experiments to determine if that is the right thing to do. llvm-svn: 95466 | |||||
* | This corrects an error in the type of the Llvm.dispose_context function. | Chris Lattner | 2010-01-24 | 2 | -2/+2 | |
| | | | | | | Patch by James Woodyatt! llvm-svn: 94343 | |||||
* | Fix bug 5992: O'Caml's llvm_create_module was treating the context as a string. | Erick Tryzelaar | 2010-01-15 | 1 | -3/+3 | |
| | | | | | | Thanks Andy Ray for catching this! llvm-svn: 93588 | |||||
* | Remove the InlineHint attribute. There are no current or planned | Eric Christopher | 2010-01-15 | 2 | -3/+1 | |
| | | | | | | users. llvm-svn: 93558 | |||||
* | Fix another parallel make race condition. | Bob Wilson | 2009-12-18 | 1 | -0/+1 | |
| | | | | llvm-svn: 91709 | |||||
* | Expose the rest of the attribute settings. | Erick Tryzelaar | 2009-09-28 | 2 | -0/+20 | |
| | | | | llvm-svn: 82965 | |||||
* | Fix a bug in ocaml bindings that has incorrect linkage options. | Erick Tryzelaar | 2009-09-28 | 2 | -0/+10 | |
| | | | | llvm-svn: 82964 | |||||
* | Expose initializing the native target for the execution engine. | Erick Tryzelaar | 2009-09-14 | 3 | -2/+12 | |
| | | | | llvm-svn: 81800 | |||||
* | Fix pr4820: Don't run llvm-config during "make clean" since it may have | Bob Wilson | 2009-09-11 | 1 | -0/+4 | |
| | | | | | | already been removed. llvm-svn: 81547 | |||||
* | Fix header comment for bindings/ocaml/llvm/Makefile. | Erick Tryzelaar | 2009-08-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 80526 | |||||
* | Convert the rest of the ocaml types and functions to use context. | Erick Tryzelaar | 2009-08-19 | 3 | -125/+153 | |
| | | | | llvm-svn: 79430 | |||||
* | Add the ocaml binding to LLVMBuildAggregateRet. | Erick Tryzelaar | 2009-08-19 | 1 | -0/+6 | |
| | | | | llvm-svn: 79414 | |||||
* | Allow passing around LLVMContext in ocaml. | Erick Tryzelaar | 2009-08-19 | 6 | -81/+148 | |
| | | | | llvm-svn: 79410 | |||||
* | LLVM Ada language bindings. Credit to Rod Kay and the AuroraUX team. | Edward O'Callaghan | 2009-08-18 | 25 | -0/+17089 | |
| | | | | llvm-svn: 79295 | |||||
* | Expose creating constant ints and floats from strings to ocaml. | Erick Tryzelaar | 2009-08-16 | 3 | -0/+27 | |
| | | | | llvm-svn: 79214 | |||||
* | Add an llvm-c function that lets you insert an instruction with a name. | Erick Tryzelaar | 2009-08-16 | 3 | -0/+15 | |
| | | | | llvm-svn: 79163 | |||||
* | Expose most of the Constant creation functions to ocaml. | Erick Tryzelaar | 2009-08-16 | 3 | -4/+148 | |
| | | | | llvm-svn: 79162 | |||||
* | Expose most of the IRBuilder functionality to ocaml. | Erick Tryzelaar | 2009-08-16 | 3 | -3/+315 | |
| | | | | llvm-svn: 79161 | |||||
* | Fix comment in llvm.mli. | Erick Tryzelaar | 2009-08-10 | 1 | -2/+2 | |
| | | | | llvm-svn: 78591 |