Home | History | Annotate | Download | only in Ocaml

Lines Matching refs:executionengine

4  * RUN: %ocamlopt -warn-error A llvm.cmxa llvm_target.cmxa llvm_executionengine.cmxa %t.builddir/executionengine.ml -o %t
71 let ee = ExecutionEngine.create m in
72 ExecutionEngine.add_module m2 ee;
75 ExecutionEngine.run_static_ctors ee;
78 let res = ExecutionEngine.run_function_as_main main [|"test"|] [||] ee in
82 ExecutionEngine.free_machine_code main ee;
85 match ExecutionEngine.find_function "dne" ee with
89 match ExecutionEngine.find_function "plus" ee with
94 let res = ExecutionEngine.run_function plus
101 Llvm.dispose_module (ExecutionEngine.remove_module m2 ee);
104 ExecutionEngine.run_static_dtors ee;
107 let dl = ExecutionEngine.data_layout ee in
114 ExecutionEngine.dispose ee