Displaying 4 results from an estimated 4 matches for "llcontext".
2010 Feb 18
6
[LLVMdev] ocaml survey
...ight if I renamed some functions? Module providers
are being removed for 2.7. I can keep the old functions around, but
I'd prefer to keep the API clean.
3. Are there any llvm functionality that you need exposed to ocaml?
Right now I plan to expose:
add Union to TypeKind.t
external union_type: llcontext -> lltype array -> lltype
external union_element_types : lltype -> lltype array
external build_indirect_br : llvalue -> int -> llbuilder -> llvalue
external add_destination: llvalue -> llbasicblock -> unit
external build_nsw_add : llvalue -> llvalue -> string ->...
2009 Oct 27
0
[LLVMdev] HLVM updated for LLVM 2.6
I have committed the changes to HLVM that bring it up to date with respect to
the new LLVM 2.6 release:
http://hlvm.forge.ocamlcore.org/
This required handling of llcontexts and the injection of a call to the new
Llvm_executionengine.initialize_native_target function (that is undocumented)
*before* the JIT EE is created, otherwise LLVM resorts to the LLVM
interpreter which breaks at run-time because it does not fully implement the
IR generated by HLVM.
I've a...
2010 Feb 18
0
[LLVMdev] ocaml survey
...prefer to keep the API clean.
Fine by me.
> 3. Are there any llvm functionality that you need exposed to ocaml?
Nope. The only feature I'd like is exceptions on the OCaml side from LLVM
errors.
> Right now I plan to expose:
>
> add Union to TypeKind.t
> external union_type: llcontext -> lltype array -> lltype
> external union_element_types : lltype -> lltype array
>
> external build_indirect_br : llvalue -> int -> llbuilder -> llvalue
> external add_destination: llvalue -> llbasicblock -> unit
>
> external build_nsw_add : llvalue ->...
2010 Feb 19
0
[LLVMdev] ocaml survey
...are being removed for 2.7. I can keep the old functions around, but
> I'd prefer to keep the API clean.
Knock yourself out.
> 3. Are there any llvm functionality that you need exposed to ocaml?
> Right now I plan to expose:
>
> add Union to TypeKind.t
> external union_type: llcontext -> lltype array -> lltype
> external union_element_types : lltype -> lltype array
>
> external build_indirect_br : llvalue -> int -> llbuilder -> llvalue
> external add_destination: llvalue -> llbasicblock -> unit
>
> external build_nsw_add : llvalue -&g...