Displaying 2 results from an estimated 2 matches for "big_fn_ty".
2007 Sep 14
0
[LLVMdev] C interface
...bindings in each library instead. They're just glue
> which the linker will trivially DCE, so that approach may have merit.
>
> — Gordon
>
>
> [1]
> *$ cat emit_bc.ml*
> open Llvm
>
> let emit_bc filename =
> let m = create_module filename in
>
> let big_fn_ty = make_pointer_type
> (make_function_type (void_type ())
> [| make_vector_type (float_type ()) 4;
> make_pointer_type
> (make_struct_type [| double_type ();
>...
2007 Sep 12
7
[LLVMdev] C interface
...indings—but it might make more sense
to implement the C bindings in each library instead. They're just
glue which the linker will trivially DCE, so that approach may have
merit.
— Gordon
[1]
$ cat emit_bc.ml
open Llvm
let emit_bc filename =
let m = create_module filename in
let big_fn_ty = make_pointer_type
(make_function_type (void_type ())
[| make_vector_type (float_type ()) 4;
make_pointer_type
(make_struct_type [| double_type ();
x86fp80_typ...