Lines Matching refs:EE
64 CAMLprim value llvm_ee_dispose(LLVMExecutionEngineRef EE) { in llvm_ee_dispose() argument
65 LLVMDisposeExecutionEngine(EE); in llvm_ee_dispose()
70 CAMLprim value llvm_ee_add_module(LLVMModuleRef M, LLVMExecutionEngineRef EE) { in llvm_ee_add_module() argument
71 LLVMAddModule(EE, M); in llvm_ee_add_module()
76 CAMLprim value llvm_ee_remove_module(LLVMModuleRef M, LLVMExecutionEngineRef EE) { in llvm_ee_remove_module() argument
79 if (LLVMRemoveModule(EE, M, &RemovedModule, &Error)) in llvm_ee_remove_module()
85 CAMLprim value llvm_ee_run_static_ctors(LLVMExecutionEngineRef EE) { in llvm_ee_run_static_ctors() argument
86 LLVMRunStaticConstructors(EE); in llvm_ee_run_static_ctors()
91 CAMLprim value llvm_ee_run_static_dtors(LLVMExecutionEngineRef EE) { in llvm_ee_run_static_dtors() argument
92 LLVMRunStaticDestructors(EE); in llvm_ee_run_static_dtors()
99 CAMLprim value llvm_ee_get_data_layout(LLVMExecutionEngineRef EE) { in llvm_ee_get_data_layout() argument
104 OrigDataLayout = LLVMGetExecutionEngineTargetData(EE); in llvm_ee_get_data_layout()
114 LLVMExecutionEngineRef EE) { in llvm_ee_add_global_mapping() argument
115 LLVMAddGlobalMapping(EE, Global, (void*) (Int64_val(Ptr))); in llvm_ee_add_global_mapping()
120 LLVMExecutionEngineRef EE) { in llvm_ee_get_global_value_address() argument
121 return caml_copy_int64((int64_t) LLVMGetGlobalValueAddress(EE, String_val(Name))); in llvm_ee_get_global_value_address()
125 LLVMExecutionEngineRef EE) { in llvm_ee_get_function_address() argument
126 return caml_copy_int64((int64_t) LLVMGetFunctionAddress(EE, String_val(Name))); in llvm_ee_get_function_address()