PostgreSQL Source Code
git master
|
Go to the source code of this file.
Data Structures | |
struct | JitInstrumentation |
struct | SharedJitInstrumentation |
struct | JitContext |
struct | JitProviderCallbacks |
Macros | |
#define | PGJIT_NONE 0 |
#define | PGJIT_PERFORM (1 << 0) |
#define | PGJIT_OPT3 (1 << 1) |
#define | PGJIT_INLINE (1 << 2) |
#define | PGJIT_EXPR (1 << 3) |
#define | PGJIT_DEFORM (1 << 4) |
Typedefs | |
typedef struct JitInstrumentation | JitInstrumentation |
typedef struct SharedJitInstrumentation | SharedJitInstrumentation |
typedef struct JitContext | JitContext |
typedef struct JitProviderCallbacks | JitProviderCallbacks |
typedef void(* | JitProviderInit) (JitProviderCallbacks *cb) |
typedef void(* | JitProviderResetAfterErrorCB) (void) |
typedef void(* | JitProviderReleaseContextCB) (JitContext *context) |
typedef bool(* | JitProviderCompileExprCB) (struct ExprState *state) |
Functions | |
PGDLLEXPORT void | _PG_jit_provider_init (JitProviderCallbacks *cb) |
void | jit_reset_after_error (void) |
void | jit_release_context (JitContext *context) |
bool | jit_compile_expr (struct ExprState *state) |
void | InstrJitAgg (JitInstrumentation *dst, JitInstrumentation *add) |
Variables | |
PGDLLIMPORT bool | jit_enabled |
PGDLLIMPORT char * | jit_provider |
PGDLLIMPORT bool | jit_debugging_support |
PGDLLIMPORT bool | jit_dump_bitcode |
PGDLLIMPORT bool | jit_expressions |
PGDLLIMPORT bool | jit_profiling_support |
PGDLLIMPORT bool | jit_tuple_deforming |
PGDLLIMPORT double | jit_above_cost |
PGDLLIMPORT double | jit_inline_above_cost |
PGDLLIMPORT double | jit_optimize_above_cost |
typedef struct JitContext JitContext |
typedef struct JitInstrumentation JitInstrumentation |
typedef struct JitProviderCallbacks JitProviderCallbacks |
typedef void(* JitProviderInit) (JitProviderCallbacks *cb) |
typedef void(* JitProviderReleaseContextCB) (JitContext *context) |
typedef struct SharedJitInstrumentation SharedJitInstrumentation |
PGDLLEXPORT void _PG_jit_provider_init | ( | JitProviderCallbacks * | cb | ) |
Definition at line 148 of file llvmjit.c.
References JitProviderCallbacks::compile_expr, llvm_compile_expr(), llvm_release_context(), llvm_reset_after_error(), JitProviderCallbacks::release_context, and JitProviderCallbacks::reset_after_error.
void InstrJitAgg | ( | JitInstrumentation * | dst, |
JitInstrumentation * | add | ||
) |
Definition at line 182 of file jit.c.
References JitInstrumentation::created_functions, JitInstrumentation::deform_counter, JitInstrumentation::emission_counter, JitInstrumentation::generation_counter, JitInstrumentation::inlining_counter, INSTR_TIME_ADD, and JitInstrumentation::optimization_counter.
Referenced by ExecParallelRetrieveJitInstrumentation(), and ExplainPrintJITSummary().
bool jit_compile_expr | ( | struct ExprState * | state | ) |
Definition at line 151 of file jit.c.
References JitProviderCallbacks::compile_expr, PGJIT_EXPR, PGJIT_PERFORM, provider, and provider_init().
Referenced by ExecReadyExpr().
void jit_release_context | ( | JitContext * | context | ) |
Definition at line 137 of file jit.c.
References context, pfree(), provider, provider_successfully_loaded, and JitProviderCallbacks::release_context.
Referenced by FreeExecutorState(), and ResOwnerReleaseJitContext().
void jit_reset_after_error | ( | void | ) |
Definition at line 127 of file jit.c.
References provider, provider_successfully_loaded, and JitProviderCallbacks::reset_after_error.
Referenced by PostgresMain().
|
extern |
Definition at line 39 of file jit.c.
Referenced by standard_planner().
|
extern |
Definition at line 34 of file jit.c.
Referenced by llvm_create_object_layer().
|
extern |
Definition at line 35 of file jit.c.
Referenced by llvm_compile_module().
|
extern |
Definition at line 32 of file jit.c.
Referenced by provider_init(), and standard_planner().
|
extern |
Definition at line 36 of file jit.c.
Referenced by standard_planner().
|
extern |
Definition at line 40 of file jit.c.
Referenced by standard_planner().
|
extern |
Definition at line 41 of file jit.c.
Referenced by standard_planner().
|
extern |
Definition at line 37 of file jit.c.
Referenced by llvm_create_object_layer().
|
extern |
Definition at line 33 of file jit.c.
Referenced by provider_init().
|
extern |
Definition at line 38 of file jit.c.
Referenced by standard_planner().