#endif
+struct lp_generated_code;
extern void
-lp_register_oprofile_jit_event_listener(LLVMExecutionEngineRef EE);
+gallivm_init_llvm_targets(void);
extern void
lp_set_target_options(void);
-extern void
-lp_func_delete_body(LLVMValueRef func);
-
-
extern LLVMValueRef
lp_build_load_volatile(LLVMBuilderRef B, LLVMValueRef PointerVal,
const char *Name);
extern int
lp_build_create_jit_compiler_for_module(LLVMExecutionEngineRef *OutJIT,
+ struct lp_generated_code **OutCode,
LLVMModuleRef M,
+ LLVMMCJITMemoryManagerRef MM,
unsigned OptLevel,
int useMCJIT,
char **OutError);
+extern void
+lp_free_generated_code(struct lp_generated_code *code);
+
+extern LLVMMCJITMemoryManagerRef
+lp_get_default_memory_manager();
+
+extern void
+lp_free_memory_manager(LLVMMCJITMemoryManagerRef memorymgr);
#ifdef __cplusplus
}