PostgreSQL Source Code: src/include/jit/jit.h Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11#ifndef JIT_H
12#define JIT_H
13
16
17
18
19#define PGJIT_NONE 0
20#define PGJIT_PERFORM (1 << 0)
21#define PGJIT_OPT3 (1 << 1)
22#define PGJIT_INLINE (1 << 2)
23#define PGJIT_EXPR (1 << 3)
24#define PGJIT_DEFORM (1 << 4)
25
26
28{
29
31
32
34
35
37
38
40
41
43
44
47
48
49
50
52{
56
58{
59
61
64
66
73
75{
79};
80
81
82
93
94
97
98
99
100
101
104
105
106#endif
#define FLEXIBLE_ARRAY_MEMBER
struct SharedJitInstrumentation SharedJitInstrumentation
void jit_reset_after_error(void)
PGDLLIMPORT double jit_inline_above_cost
PGDLLEXPORT void _PG_jit_provider_init(JitProviderCallbacks *cb)
PGDLLIMPORT char * jit_provider
PGDLLIMPORT double jit_optimize_above_cost
bool(* JitProviderCompileExprCB)(struct ExprState *state)
void InstrJitAgg(JitInstrumentation *dst, JitInstrumentation *add)
struct JitInstrumentation JitInstrumentation
bool jit_compile_expr(struct ExprState *state)
PGDLLIMPORT bool jit_tuple_deforming
void(* JitProviderInit)(JitProviderCallbacks *cb)
PGDLLIMPORT bool jit_dump_bitcode
struct JitContext JitContext
void jit_release_context(JitContext *context)
void(* JitProviderReleaseContextCB)(JitContext *context)
void(* JitProviderResetAfterErrorCB)(void)
PGDLLIMPORT bool jit_debugging_support
PGDLLIMPORT bool jit_enabled
PGDLLIMPORT bool jit_expressions
PGDLLIMPORT double jit_above_cost
PGDLLIMPORT bool jit_profiling_support
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