21#include <llvm-c/LLJIT.h>
29 LLVMOrcThreadSafeModuleRef
tsm;
int srn_jit_shutdown(srn_jit_t *jit)
srn_jit_t * srn_jit_make(srn_mm_t *mm)
struct srn_context_t srn_context_t
srn_error_t * srn_jit_add_module(srn_context_t *ctx, srn_jit_module_t *module)
Add a module to the jit compiler.
int srn_jit_init(srn_jit_t *result)
Creates a jit engine and sets the given result to it.
Engine is a structure to own the long living and main pieces of the compiler.
LLVMOrcThreadSafeModuleRef tsm
LLVMOrcLLJITBuilderRef builder
Main memory manager structure that will own all the allocated blocks and data.