PostgreSQL Source Code git master
Loading...
Searching...
No Matches
llvmjit_types.c File Reference
#include "postgres.h"
#include "access/htup.h"
#include "access/htup_details.h"
#include "access/tupdesc.h"
#include "catalog/pg_attribute.h"
#include "executor/execExpr.h"
#include "executor/nodeAgg.h"
#include "executor/tuptable.h"
#include "fmgr.h"
#include "nodes/execnodes.h"
#include "nodes/memnodes.h"
#include "utils/expandeddatum.h"
#include "utils/palloc.h"
Include dependency graph for llvmjit_types.c:

Go to the source code of this file.

Functions

Datum AttributeTemplate (PG_FUNCTION_ARGS)
 
void ExecEvalSubroutineTemplate (ExprState *state, struct ExprEvalStep *op, ExprContext *econtext)
 
bool ExecEvalBoolSubroutineTemplate (ExprState *state, struct ExprEvalStep *op, ExprContext *econtext)
 
bool FunctionReturningBool (void)
 

Variables

PGFunction TypePGFunction
 
size_t TypeSizeT
 
Datum TypeDatum
 
bool TypeStorageBool
 
ExecEvalSubroutine TypeExecEvalSubroutine
 
ExecEvalBoolSubroutine TypeExecEvalBoolSubroutine
 
NullableDatum StructNullableDatum
 
AggState StructAggState
 
AggStatePerGroupData StructAggStatePerGroupData
 
AggStatePerTransData StructAggStatePerTransData
 
ExprContext StructExprContext
 
ExprEvalStep StructExprEvalStep
 
ExprState StructExprState
 
FunctionCallInfoBaseData StructFunctionCallInfoData
 
HeapTupleData StructHeapTupleData
 
HeapTupleHeaderData StructHeapTupleHeaderData
 
MemoryContextData StructMemoryContextData
 
TupleTableSlot StructTupleTableSlot
 
HeapTupleTableSlot StructHeapTupleTableSlot
 
MinimalTupleTableSlot StructMinimalTupleTableSlot
 
TupleDescData StructTupleDescData
 
PlanState StructPlanState
 
MinimalTupleData StructMinimalTupleData
 
voidreferenced_functions []
 

Function Documentation

◆ AttributeTemplate()

Datum AttributeTemplate ( PG_FUNCTION_ARGS  )
extern

Definition at line 82 of file llvmjit_types.c.

83{
85
87}
#define StaticAssertVariableIsOfType(varname, typename)
Definition c.h:974
#define PG_RETURN_NULL()
Definition fmgr.h:346
Datum(* PGFunction)(FunctionCallInfo fcinfo)
Definition fmgr.h:40
LLVMValueRef AttributeTemplate
Definition llvmjit.c:79

References AttributeTemplate, PG_RETURN_NULL, and StaticAssertVariableIsOfType.

◆ ExecEvalBoolSubroutineTemplate()

bool ExecEvalBoolSubroutineTemplate ( ExprState state,
struct ExprEvalStep op,
ExprContext econtext 
)
extern

Definition at line 110 of file llvmjit_types.c.

113{
116
117 return false;
118}
bool(* ExecEvalBoolSubroutine)(ExprState *state, struct ExprEvalStep *op, ExprContext *econtext)
Definition execExpr.h:39
LLVMValueRef ExecEvalBoolSubroutineTemplate
Definition llvmjit.c:81

References ExecEvalBoolSubroutineTemplate, and StaticAssertVariableIsOfType.

◆ ExecEvalSubroutineTemplate()

void ExecEvalSubroutineTemplate ( ExprState state,
struct ExprEvalStep op,
ExprContext econtext 
)
extern

Definition at line 98 of file llvmjit_types.c.

101{
104}
void(* ExecEvalSubroutine)(ExprState *state, struct ExprEvalStep *op, ExprContext *econtext)
Definition execExpr.h:34
LLVMValueRef ExecEvalSubroutineTemplate
Definition llvmjit.c:80

References ExecEvalSubroutineTemplate, and StaticAssertVariableIsOfType.

◆ FunctionReturningBool()

bool FunctionReturningBool ( void  )
extern

Definition at line 127 of file llvmjit_types.c.

128{
129 return false;
130}

Variable Documentation

◆ referenced_functions

void* referenced_functions[]

Definition at line 137 of file llvmjit_types.c.

138{
182 strlen,
185};
void ExecEvalParamExtern(ExprState *state, ExprEvalStep *op, ExprContext *econtext)
void ExecEvalFieldStoreForm(ExprState *state, ExprEvalStep *op, ExprContext *econtext)
void ExecEvalGroupingFunc(ExprState *state, ExprEvalStep *op)
void ExecEvalRow(ExprState *state, ExprEvalStep *op)
void ExecEvalFieldStoreDeForm(ExprState *state, ExprEvalStep *op, ExprContext *econtext)
void ExecEvalCurrentOfExpr(ExprState *state, ExprEvalStep *op)
void ExecEvalSQLValueFunction(ExprState *state, ExprEvalStep *op)
void ExecEvalRowNull(ExprState *state, ExprEvalStep *op, ExprContext *econtext)
void ExecEvalArrayExpr(ExprState *state, ExprEvalStep *op)
void ExecEvalParamSet(ExprState *state, ExprEvalStep *op, ExprContext *econtext)
void ExecEvalCoerceViaIOSafe(ExprState *state, ExprEvalStep *op)
Datum ExecInterpExprStillValid(ExprState *state, ExprContext *econtext, bool *isNull)
void ExecEvalConvertRowtype(ExprState *state, ExprEvalStep *op, ExprContext *econtext)
bool ExecEvalPreOrderedDistinctMulti(AggState *aggstate, AggStatePerTrans pertrans)
void ExecEvalFieldSelect(ExprState *state, ExprEvalStep *op, ExprContext *econtext)
int ExecEvalJsonExprPath(ExprState *state, ExprEvalStep *op, ExprContext *econtext)
void ExecEvalConstraintNotNull(ExprState *state, ExprEvalStep *op)
void ExecEvalScalarArrayOp(ExprState *state, ExprEvalStep *op)
void ExecEvalAggOrderedTransDatum(ExprState *state, ExprEvalStep *op, ExprContext *econtext)
void ExecEvalParamExec(ExprState *state, ExprEvalStep *op, ExprContext *econtext)
void ExecEvalJsonCoercion(ExprState *state, ExprEvalStep *op, ExprContext *econtext)
void ExecAggInitGroup(AggState *aggstate, AggStatePerTrans pertrans, AggStatePerGroup pergroup, ExprContext *aggcontext)
void ExecEvalNextValueExpr(ExprState *state, ExprEvalStep *op)
void ExecEvalSysVar(ExprState *state, ExprEvalStep *op, ExprContext *econtext, TupleTableSlot *slot)
void ExecEvalMinMax(ExprState *state, ExprEvalStep *op)
void ExecEvalSubPlan(ExprState *state, ExprEvalStep *op, ExprContext *econtext)
void ExecEvalJsonIsPredicate(ExprState *state, ExprEvalStep *op)
Datum ExecAggCopyTransValue(AggState *aggstate, AggStatePerTrans pertrans, Datum newValue, bool newValueIsNull, Datum oldValue, bool oldValueIsNull)
void ExecEvalMergeSupportFunc(ExprState *state, ExprEvalStep *op, ExprContext *econtext)
void ExecEvalJsonConstructor(ExprState *state, ExprEvalStep *op, ExprContext *econtext)
void ExecEvalWholeRowVar(ExprState *state, ExprEvalStep *op, ExprContext *econtext)
void ExecEvalHashedScalarArrayOp(ExprState *state, ExprEvalStep *op, ExprContext *econtext)
void ExecEvalJsonCoercionFinish(ExprState *state, ExprEvalStep *op)
void ExecEvalRowNotNull(ExprState *state, ExprEvalStep *op, ExprContext *econtext)
void ExecEvalConstraintCheck(ExprState *state, ExprEvalStep *op)
void ExecEvalArrayCoerce(ExprState *state, ExprEvalStep *op, ExprContext *econtext)
void ExecEvalFuncExprStrictFusage(ExprState *state, ExprEvalStep *op, ExprContext *econtext)
void ExecEvalFuncExprFusage(ExprState *state, ExprEvalStep *op, ExprContext *econtext)
void ExecEvalXmlExpr(ExprState *state, ExprEvalStep *op)
bool ExecEvalPreOrderedDistinctSingle(AggState *aggstate, AggStatePerTrans pertrans)
void ExecEvalAggOrderedTransTuple(ExprState *state, ExprEvalStep *op, ExprContext *econtext)
void slot_getmissingattrs(TupleTableSlot *slot, int startAttNum, int lastAttNum)
void slot_getsomeattrs_int(TupleTableSlot *slot, int attnum)
Datum MakeExpandedObjectReadOnlyInternal(Datum d)
size_t varsize_any(void *p)
Definition heaptuple.c:1609
static int fb(int x)

◆ StructAggState

AggState StructAggState

Definition at line 57 of file llvmjit_types.c.

◆ StructAggStatePerGroupData

AggStatePerGroupData StructAggStatePerGroupData

Definition at line 58 of file llvmjit_types.c.

◆ StructAggStatePerTransData

AggStatePerTransData StructAggStatePerTransData

Definition at line 59 of file llvmjit_types.c.

◆ StructExprContext

ExprContext StructExprContext

Definition at line 60 of file llvmjit_types.c.

◆ StructExprEvalStep

ExprEvalStep StructExprEvalStep

Definition at line 61 of file llvmjit_types.c.

◆ StructExprState

ExprState StructExprState

Definition at line 62 of file llvmjit_types.c.

◆ StructFunctionCallInfoData

FunctionCallInfoBaseData StructFunctionCallInfoData

Definition at line 63 of file llvmjit_types.c.

◆ StructHeapTupleData

HeapTupleData StructHeapTupleData

Definition at line 64 of file llvmjit_types.c.

◆ StructHeapTupleHeaderData

HeapTupleHeaderData StructHeapTupleHeaderData

Definition at line 65 of file llvmjit_types.c.

◆ StructHeapTupleTableSlot

HeapTupleTableSlot StructHeapTupleTableSlot

Definition at line 68 of file llvmjit_types.c.

◆ StructMemoryContextData

MemoryContextData StructMemoryContextData

Definition at line 66 of file llvmjit_types.c.

◆ StructMinimalTupleData

MinimalTupleData StructMinimalTupleData

Definition at line 72 of file llvmjit_types.c.

◆ StructMinimalTupleTableSlot

MinimalTupleTableSlot StructMinimalTupleTableSlot

Definition at line 69 of file llvmjit_types.c.

◆ StructNullableDatum

NullableDatum StructNullableDatum

Definition at line 56 of file llvmjit_types.c.

◆ StructPlanState

PlanState StructPlanState

Definition at line 71 of file llvmjit_types.c.

◆ StructTupleDescData

TupleDescData StructTupleDescData

Definition at line 70 of file llvmjit_types.c.

◆ StructTupleTableSlot

TupleTableSlot StructTupleTableSlot

Definition at line 67 of file llvmjit_types.c.

◆ TypeDatum

Datum TypeDatum

Definition at line 50 of file llvmjit_types.c.

◆ TypeExecEvalBoolSubroutine

ExecEvalBoolSubroutine TypeExecEvalBoolSubroutine

Definition at line 54 of file llvmjit_types.c.

◆ TypeExecEvalSubroutine

ExecEvalSubroutine TypeExecEvalSubroutine

Definition at line 53 of file llvmjit_types.c.

◆ TypePGFunction

PGFunction TypePGFunction

Definition at line 48 of file llvmjit_types.c.

◆ TypeSizeT

size_t TypeSizeT

Definition at line 49 of file llvmjit_types.c.

◆ TypeStorageBool

bool TypeStorageBool

Definition at line 51 of file llvmjit_types.c.