Unused. Deprecated by gallivm_free_ir().
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
return jit_func;
}
-
-
-/**
- * Free the function (and its machine code).
- */
-void
-gallivm_free_function(struct gallivm_state *gallivm,
- LLVMValueRef func,
- const void *code)
-{
-#if !USE_MCJIT
- if (code) {
- LLVMFreeMachineCodeForFunction(gallivm->engine, func);
- }
-
- LLVMDeleteFunction(func);
-#endif
-}
gallivm_jit_function(struct gallivm_state *gallivm,
LLVMValueRef func);
-void
-gallivm_free_function(struct gallivm_state *gallivm,
- LLVMValueRef func,
- const void * code);
-
void
lp_set_load_alignment(LLVMValueRef Inst,
unsigned Align);