PostgreSQL Source Code  git master
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
 
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
 
void * referenced_functions []
 

Function Documentation

◆ AttributeTemplate()

Datum AttributeTemplate ( PG_FUNCTION_ARGS  )

Definition at line 81 of file llvmjit_types.c.

82 {
84 
86 }
#define AssertVariableIsOfType(varname, typename)
Definition: c.h:981
#define PG_RETURN_NULL()
Definition: fmgr.h:345
Datum(* PGFunction)(FunctionCallInfo fcinfo)
Definition: fmgr.h:40
Datum AttributeTemplate(PG_FUNCTION_ARGS)
Definition: llvmjit_types.c:81

References AssertVariableIsOfType, and PG_RETURN_NULL.

◆ ExecEvalBoolSubroutineTemplate()

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

Definition at line 109 of file llvmjit_types.c.

112 {
115 
116  return false;
117 }
bool(* ExecEvalBoolSubroutine)(ExprState *state, struct ExprEvalStep *op, ExprContext *econtext)
Definition: execExpr.h:39
bool ExecEvalBoolSubroutineTemplate(ExprState *state, struct ExprEvalStep *op, ExprContext *econtext)

References AssertVariableIsOfType.

◆ ExecEvalSubroutineTemplate()

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

Definition at line 97 of file llvmjit_types.c.

100 {
103 }
void(* ExecEvalSubroutine)(ExprState *state, struct ExprEvalStep *op, ExprContext *econtext)
Definition: execExpr.h:34
void ExecEvalSubroutineTemplate(ExprState *state, struct ExprEvalStep *op, ExprContext *econtext)
Definition: llvmjit_types.c:97

References AssertVariableIsOfType.

◆ FunctionReturningBool()

bool FunctionReturningBool ( void  )

Definition at line 128 of file llvmjit_types.c.

129 {
130  return false;
131 }

Variable Documentation

◆ referenced_functions

void* referenced_functions[]

Definition at line 138 of file llvmjit_types.c.

◆ StructAggState

AggState StructAggState

Definition at line 56 of file llvmjit_types.c.

◆ StructAggStatePerGroupData

AggStatePerGroupData StructAggStatePerGroupData

Definition at line 57 of file llvmjit_types.c.

◆ StructAggStatePerTransData

AggStatePerTransData StructAggStatePerTransData

Definition at line 58 of file llvmjit_types.c.

◆ StructExprContext

ExprContext StructExprContext

Definition at line 59 of file llvmjit_types.c.

◆ StructExprEvalStep

ExprEvalStep StructExprEvalStep

Definition at line 60 of file llvmjit_types.c.

◆ StructExprState

ExprState StructExprState

Definition at line 61 of file llvmjit_types.c.

◆ StructFunctionCallInfoData

FunctionCallInfoBaseData StructFunctionCallInfoData

Definition at line 62 of file llvmjit_types.c.

◆ StructHeapTupleData

HeapTupleData StructHeapTupleData

Definition at line 63 of file llvmjit_types.c.

◆ StructHeapTupleHeaderData

HeapTupleHeaderData StructHeapTupleHeaderData

Definition at line 64 of file llvmjit_types.c.

◆ StructHeapTupleTableSlot

HeapTupleTableSlot StructHeapTupleTableSlot

Definition at line 67 of file llvmjit_types.c.

◆ StructMemoryContextData

MemoryContextData StructMemoryContextData

Definition at line 65 of file llvmjit_types.c.

◆ StructMinimalTupleData

MinimalTupleData StructMinimalTupleData

Definition at line 71 of file llvmjit_types.c.

◆ StructMinimalTupleTableSlot

MinimalTupleTableSlot StructMinimalTupleTableSlot

Definition at line 68 of file llvmjit_types.c.

◆ StructNullableDatum

NullableDatum StructNullableDatum

Definition at line 55 of file llvmjit_types.c.

◆ StructPlanState

PlanState StructPlanState

Definition at line 70 of file llvmjit_types.c.

◆ StructTupleDescData

TupleDescData StructTupleDescData

Definition at line 69 of file llvmjit_types.c.

◆ StructTupleTableSlot

TupleTableSlot StructTupleTableSlot

Definition at line 66 of file llvmjit_types.c.

◆ TypeExecEvalBoolSubroutine

ExecEvalBoolSubroutine TypeExecEvalBoolSubroutine

Definition at line 53 of file llvmjit_types.c.

◆ TypeExecEvalSubroutine

ExecEvalSubroutine TypeExecEvalSubroutine

Definition at line 52 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 50 of file llvmjit_types.c.