29#include "utils/fmgrprotos.h"
91 elog(
DEBUG1,
"probing availability of JIT provider at %s", path);
95 "provider not available, disabling JIT for current session");
117 elog(
DEBUG1,
"successfully loaded JIT provider in current session");
void * load_external_function(const char *filename, const char *funcname, bool signalNotFound, void **filehandle)
bool pg_file_exists(const char *name)
#define PG_RETURN_BOOL(x)
char pkglib_path[MAXPGPATH]
#define INSTR_TIME_ADD(x, y)
void jit_reset_after_error(void)
double jit_optimize_above_cost
static bool provider_successfully_loaded
void InstrJitAgg(JitInstrumentation *dst, JitInstrumentation *add)
Datum pg_jit_available(PG_FUNCTION_ARGS)
bool jit_compile_expr(struct ExprState *state)
void jit_release_context(JitContext *context)
static bool provider_failed_loading
double jit_inline_above_cost
static bool provider_init(void)
bool jit_profiling_support
bool jit_debugging_support
static JitProviderCallbacks provider
void(* JitProviderInit)(JitProviderCallbacks *cb)
void pfree(void *pointer)
instr_time generation_counter
instr_time optimization_counter
instr_time deform_counter
instr_time emission_counter
instr_time inlining_counter
JitProviderCompileExprCB compile_expr
JitProviderResetAfterErrorCB reset_after_error
JitProviderReleaseContextCB release_context