summaryrefslogtreecommitdiffstats
path: root/llvm/bindings
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement the "linker_private_weak" linkage type. This will be used forBill Wendling2010-07-011-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 Wendling2010-06-291-4/+2
| | | | llvm-svn: 107215
* Introducing the "linker_weak" linkage type. This will be used for Objective-CBill Wendling2010-06-291-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 Lattner2010-04-103-33/+86
| | | | | | patch by Patrick Walton! llvm-svn: 100932
* Add OCaml tutorial to the examples.Erick Tryzelaar2010-03-081-28/+95
| | | | llvm-svn: 97966
* Add a LLVMWriteBitcodeToFD that exposes the raw_fd_ostream options.Erick Tryzelaar2010-03-063-0/+34
| | | | llvm-svn: 97858
* Expose the rest of the llvm-c scalar opts to ocaml.Erick Tryzelaar2010-03-033-20/+226
| | | | llvm-svn: 97685
* Rename some ocaml functions.Erick Tryzelaar2010-03-033-13/+13
| | | | llvm-svn: 97684
* Expose the external functions for ocaml's execution engine as an optimization.Erick Tryzelaar2010-03-031-29/+36
| | | | llvm-svn: 97683
* Expose alignment and stack alignment attributes to llvm-c and ocaml.Erick Tryzelaar2010-03-032-0/+4
| | | | llvm-svn: 97682
* Use the ocaml tag 0 since we are just returning an option value.Erick Tryzelaar2010-03-021-1/+1
| | | | llvm-svn: 97612
* Don't use an ocaml keyword in an ocamldoc comment.Erick Tryzelaar2010-03-021-7/+8
| | | | llvm-svn: 97611
* Expose the optimization level for the jit in ocaml.Erick Tryzelaar2010-03-023-31/+10
| | | | llvm-svn: 97610
* Remove module providers from ocaml.Erick Tryzelaar2010-03-029-112/+71
| | | | llvm-svn: 97609
* Add support for use to ocaml.Erick Tryzelaar2010-03-023-0/+104
| | | | llvm-svn: 97586
* Add support getting the operands of a User to ocaml.Erick Tryzelaar2010-02-283-0/+17
| | | | llvm-svn: 97414
* Add support for global aliases to ocaml.Erick Tryzelaar2010-02-283-0/+20
| | | | llvm-svn: 97413
* Add support for inserting inline asm to ocaml.Erick Tryzelaar2010-02-283-0/+17
| | | | llvm-svn: 97412
* Add support for getting a null pointer.Erick Tryzelaar2010-02-282-0/+5
| | | | llvm-svn: 97380
* Add a way to look up a type by it's name in a module.Erick Tryzelaar2010-02-283-0/+19
| | | | llvm-svn: 97379
* Add replace_all_uses_with to ocaml.Erick Tryzelaar2010-02-282-0/+7
| | | | llvm-svn: 97378
* Add support for global variables in an address space for llvm-c and ocaml.Erick Tryzelaar2010-02-283-5/+54
| | | | llvm-svn: 97377
* Add indirect br support to llvm-c and ocaml.Erick Tryzelaar2010-02-283-0/+37
| | | | llvm-svn: 97376
* Add metadata functions to llvm-c and ocaml.Erick Tryzelaar2010-02-283-0/+170
| | | | llvm-svn: 97375
* Add the new builder arthmetic instructions to llvm-c and ocaml.Erick Tryzelaar2010-02-283-0/+165
| | | | llvm-svn: 97372
* Add the new union arthmetic instructions to llvm-c and ocaml.Erick Tryzelaar2010-02-283-6/+51
| | | | llvm-svn: 97371
* Fix incorrect uses of an ocaml llbuilder without extracting it from ocaml.Erick Tryzelaar2010-02-281-4/+3
| | | | llvm-svn: 97368
* Remove malloc and free from the ocaml bindings.Erick Tryzelaar2010-02-283-42/+0
| | | | llvm-svn: 97367
* Fix the ocaml bindings for the bitcode reader.Jeffrey Yasskin2010-02-271-1/+1
| | | | | | llvm_get_module_provider() was returning a value of the wrong type. llvm-svn: 97290
* Fix some ocaml documentationErick Tryzelaar2010-02-162-5/+5
| | | | llvm-svn: 96323
* fix llvm_build_struct_gep for PR6167, patch byChris Lattner2010-02-091-4/+3
| | | | | | Peter Hawkins! llvm-svn: 95644
* Reintroduce the InlineHint function attribute.Jakob Stoklund Olesen2010-02-062-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 Lattner2010-01-242-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 Tryzelaar2010-01-151-3/+3
| | | | | | Thanks Andy Ray for catching this! llvm-svn: 93588
* Remove the InlineHint attribute. There are no current or plannedEric Christopher2010-01-152-3/+1
| | | | | | users. llvm-svn: 93558
* Fix another parallel make race condition.Bob Wilson2009-12-181-0/+1
| | | | llvm-svn: 91709
* Expose the rest of the attribute settings.Erick Tryzelaar2009-09-282-0/+20
| | | | llvm-svn: 82965
* Fix a bug in ocaml bindings that has incorrect linkage options.Erick Tryzelaar2009-09-282-0/+10
| | | | llvm-svn: 82964
* Expose initializing the native target for the execution engine.Erick Tryzelaar2009-09-143-2/+12
| | | | llvm-svn: 81800
* Fix pr4820: Don't run llvm-config during "make clean" since it may haveBob Wilson2009-09-111-0/+4
| | | | | | already been removed. llvm-svn: 81547
* Fix header comment for bindings/ocaml/llvm/Makefile.Erick Tryzelaar2009-08-301-1/+1
| | | | llvm-svn: 80526
* Convert the rest of the ocaml types and functions to use context.Erick Tryzelaar2009-08-193-125/+153
| | | | llvm-svn: 79430
* Add the ocaml binding to LLVMBuildAggregateRet.Erick Tryzelaar2009-08-191-0/+6
| | | | llvm-svn: 79414
* Allow passing around LLVMContext in ocaml.Erick Tryzelaar2009-08-196-81/+148
| | | | llvm-svn: 79410
* LLVM Ada language bindings. Credit to Rod Kay and the AuroraUX team.Edward O'Callaghan2009-08-1825-0/+17089
| | | | llvm-svn: 79295
* Expose creating constant ints and floats from strings to ocaml.Erick Tryzelaar2009-08-163-0/+27
| | | | llvm-svn: 79214
* Add an llvm-c function that lets you insert an instruction with a name.Erick Tryzelaar2009-08-163-0/+15
| | | | llvm-svn: 79163
* Expose most of the Constant creation functions to ocaml.Erick Tryzelaar2009-08-163-4/+148
| | | | llvm-svn: 79162
* Expose most of the IRBuilder functionality to ocaml.Erick Tryzelaar2009-08-163-3/+315
| | | | llvm-svn: 79161
* Fix comment in llvm.mli.Erick Tryzelaar2009-08-101-2/+2
| | | | llvm-svn: 78591
OpenPOWER on IntegriCloud