name string | code string | asm string | file string |
|---|---|---|---|
unsigned long duckdb::TernaryExecutor::SelectLoop<double, double, double, duckdb::UpperInclusiveBetweenOperator, false, false, true>(double const*, double const*, double const*, duckdb::SelectionVector const*, unsigned long, duckdb::SelectionVector const&, duckdb::SelectionVector const&, duckdb::SelectionVector const&,... | static inline idx_t SelectLoop(const A_TYPE *__restrict adata, const B_TYPE *__restrict bdata,
const C_TYPE *__restrict cdata, const SelectionVector *result_sel, idx_t count,
const SelectionVector &asel, const SelectionVector &bsel,
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, 0x30(%rsp)
movq %r8, 0x8(%rsp)
movq %rcx, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdi, 0x10(%rsp)
xorl %ebp, %ebp
xorl %r15d, %r15d
cmpq %rbp, 0x8(%rsp)
je 0x12a0a21
movq 0x28(%rsp), %rax
movq (%rax), %rax
... | /duckdb[P]duckdb/src/include/duckdb/common/vector_operations/ternary_executor.hpp |
unsigned long duckdb::TernaryExecutor::SelectLoop<double, double, double, duckdb::UpperInclusiveBetweenOperator, true, true, true>(double const*, double const*, double const*, duckdb::SelectionVector const*, unsigned long, duckdb::SelectionVector const&, duckdb::SelectionVector const&, duckdb::SelectionVector const&, d... | static inline idx_t SelectLoop(const A_TYPE *__restrict adata, const B_TYPE *__restrict bdata,
const C_TYPE *__restrict cdata, const SelectionVector *result_sel, idx_t count,
const SelectionVector &asel, const SelectionVector &bsel,
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, 0x20(%rsp)
movq %r8, %r14
movq %rcx, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq %rdi, %rbp
xorl %r15d, %r15d
xorl %r12d, %r12d
xorl %ebx, %ebx
cmpq %r15, %r14
je 0x12a0b4e
movq 0x18(%rsp), %rax
movq (%rax), %rax... | /duckdb[P]duckdb/src/include/duckdb/common/vector_operations/ternary_executor.hpp |
unsigned long duckdb::TernaryExecutor::SelectLoop<double, double, double, duckdb::UpperInclusiveBetweenOperator, true, true, false>(double const*, double const*, double const*, duckdb::SelectionVector const*, unsigned long, duckdb::SelectionVector const&, duckdb::SelectionVector const&, duckdb::SelectionVector const&, ... | static inline idx_t SelectLoop(const A_TYPE *__restrict adata, const B_TYPE *__restrict bdata,
const C_TYPE *__restrict cdata, const SelectionVector *result_sel, idx_t count,
const SelectionVector &asel, const SelectionVector &bsel,
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, 0x10(%rsp)
movq %r8, %r14
movq %rcx, 0x8(%rsp)
movq %rdx, (%rsp)
movq %rsi, %r13
movq %rdi, %rbp
xorl %r15d, %r15d
xorl %ebx, %ebx
cmpq %r15, %r14
je 0x12a0c18
movq 0x8(%rsp), %rax
movq (%rax), %rax
movq %r15, %r12
testq %rax, ... | /duckdb[P]duckdb/src/include/duckdb/common/vector_operations/ternary_executor.hpp |
unsigned long duckdb::TernaryExecutor::SelectLoop<double, double, double, duckdb::UpperInclusiveBetweenOperator, true, false, true>(double const*, double const*, double const*, duckdb::SelectionVector const*, unsigned long, duckdb::SelectionVector const&, duckdb::SelectionVector const&, duckdb::SelectionVector const&, ... | static inline idx_t SelectLoop(const A_TYPE *__restrict adata, const B_TYPE *__restrict bdata,
const C_TYPE *__restrict cdata, const SelectionVector *result_sel, idx_t count,
const SelectionVector &asel, const SelectionVector &bsel,
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, 0x10(%rsp)
movq %r8, %rbx
movq %rcx, 0x8(%rsp)
movq %rdx, (%rsp)
movq %rsi, %r13
movq %rdi, %rbp
xorl %r14d, %r14d
xorl %r15d, %r15d
cmpq %r14, %rbx
je 0x12a0ce8
movq 0x8(%rsp), %rax
movq (%rax), %rax
movq %r14, %r12
testq %rax... | /duckdb[P]duckdb/src/include/duckdb/common/vector_operations/ternary_executor.hpp |
unsigned long duckdb::TernaryExecutor::SelectLoopSelSwitch<duckdb::string_t, duckdb::string_t, duckdb::string_t, duckdb::UpperInclusiveBetweenOperator, true>(duckdb::UnifiedVectorFormat&, duckdb::UnifiedVectorFormat&, duckdb::UnifiedVectorFormat&, duckdb::SelectionVector const*, unsigned long, duckdb::SelectionVector*,... | static inline idx_t SelectLoopSelSwitch(UnifiedVectorFormat &adata, UnifiedVectorFormat &bdata,
UnifiedVectorFormat &cdata, const SelectionVector *sel, idx_t count,
SelectionVector *true_sel, SelectionVector *false_sel) {
if (true_sel &... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %rbx
movq %rdx, %r11
movq %rsi, %r10
movq %rdi, %rax
movq 0x40(%rsp), %r12
testq %r9, %r9
sete %bpl
testq %r12, %r12
sete %r13b
movq (%rdi), %r9
movq 0x8(%rdi), %rdi
movq (%rsi), %r14
movq 0x8(%rsi), %rsi
movq (%rdx), %r15
movq 0x8(%... | /duckdb[P]duckdb/src/include/duckdb/common/vector_operations/ternary_executor.hpp |
unsigned long duckdb::TernaryExecutor::SelectLoop<duckdb::string_t, duckdb::string_t, duckdb::string_t, duckdb::UpperInclusiveBetweenOperator, false, true, true>(duckdb::string_t const*, duckdb::string_t const*, duckdb::string_t const*, duckdb::SelectionVector const*, unsigned long, duckdb::SelectionVector const&, duck... | static inline idx_t SelectLoop(const A_TYPE *__restrict adata, const B_TYPE *__restrict bdata,
const C_TYPE *__restrict cdata, const SelectionVector *result_sel, idx_t count,
const SelectionVector &asel, const SelectionVector &bsel,
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, 0x20(%rsp)
movq %r8, 0x28(%rsp)
movq %rcx, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq %rdi, (%rsp)
xorl %ebp, %ebp
xorl %r13d, %r13d
xorl %edx, %edx
cmpq %rbp, 0x28(%rsp)
je 0x12a0fb4
movq 0x18(%rsp), %rax
movq ... | /duckdb[P]duckdb/src/include/duckdb/common/vector_operations/ternary_executor.hpp |
unsigned long duckdb::TernaryExecutor::SelectLoop<short, short, short, duckdb::ExclusiveBetweenOperator, false, true, true>(short const*, short const*, short const*, duckdb::SelectionVector const*, unsigned long, duckdb::SelectionVector const&, duckdb::SelectionVector const&, duckdb::SelectionVector const&, duckdb::Val... | static inline idx_t SelectLoop(const A_TYPE *__restrict adata, const B_TYPE *__restrict bdata,
const C_TYPE *__restrict cdata, const SelectionVector *result_sel, idx_t count,
const SelectionVector &asel, const SelectionVector &bsel,
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, 0x20(%rsp)
movq %r8, 0x28(%rsp)
movq %rcx, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq %rdi, (%rsp)
xorl %r12d, %r12d
xorl %ebp, %ebp
xorl %edx, %edx
cmpq %r12, 0x28(%rsp)
je 0x12a36dd
movq 0x18(%rsp), %rax
movq ... | /duckdb[P]duckdb/src/include/duckdb/common/vector_operations/ternary_executor.hpp |
unsigned long duckdb::TernaryExecutor::SelectLoop<short, short, short, duckdb::ExclusiveBetweenOperator, true, true, false>(short const*, short const*, short const*, duckdb::SelectionVector const*, unsigned long, duckdb::SelectionVector const&, duckdb::SelectionVector const&, duckdb::SelectionVector const&, duckdb::Val... | static inline idx_t SelectLoop(const A_TYPE *__restrict adata, const B_TYPE *__restrict bdata,
const C_TYPE *__restrict cdata, const SelectionVector *result_sel, idx_t count,
const SelectionVector &asel, const SelectionVector &bsel,
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq 0x60(%rsp), %r10
movq 0x40(%rsp), %rax
movq 0x38(%rsp), %r11
movq (%r9), %r9
movq (%r11), %r11
movq (%rax), %rbx
xorl %r14d, %r14d
xorl %eax, %eax
cmpq %r14, %r8
je 0x12a3a76
movq (%rcx), %r12
movq %r14, %r15
testq %r12, %r12
je 0x12a3a25
movl (%r12... | /duckdb[P]duckdb/src/include/duckdb/common/vector_operations/ternary_executor.hpp |
unsigned long duckdb::TernaryExecutor::SelectLoopSelSwitch<long, long, long, duckdb::ExclusiveBetweenOperator, false>(duckdb::UnifiedVectorFormat&, duckdb::UnifiedVectorFormat&, duckdb::UnifiedVectorFormat&, duckdb::SelectionVector const*, unsigned long, duckdb::SelectionVector*, duckdb::SelectionVector*) | static inline idx_t SelectLoopSelSwitch(UnifiedVectorFormat &adata, UnifiedVectorFormat &bdata,
UnifiedVectorFormat &cdata, const SelectionVector *sel, idx_t count,
SelectionVector *true_sel, SelectionVector *false_sel) {
if (true_sel &... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %rbx
movq %rdx, %r11
movq %rsi, %r10
movq %rdi, %rax
movq 0x40(%rsp), %r12
testq %r9, %r9
sete %bpl
testq %r12, %r12
sete %r13b
movq (%rdi), %r9
movq 0x8(%rdi), %rdi
movq (%rsi), %r14
movq 0x8(%rsi), %rsi
movq (%rdx), %r15
movq 0x8(%... | /duckdb[P]duckdb/src/include/duckdb/common/vector_operations/ternary_executor.hpp |
unsigned long duckdb::BinaryExecutor::SelectGenericLoopSwitch<unsigned int, unsigned int, duckdb::NotEquals>(unsigned int const*, unsigned int const*, duckdb::SelectionVector const*, duckdb::SelectionVector const*, duckdb::SelectionVector const*, unsigned long, duckdb::ValidityMask&, duckdb::ValidityMask&, duckdb::Sele... | static inline idx_t
SelectGenericLoopSwitch(const LEFT_TYPE *__restrict ldata, const RIGHT_TYPE *__restrict rdata,
const SelectionVector *__restrict lsel, const SelectionVector *__restrict rsel,
const SelectionVector *__restrict result_sel, idx_t count, ValidityMask &l... | pushq %rax
movq 0x18(%rsp), %r10
movq 0x10(%rsp), %rax
movq (%r10), %r11
orq (%rax), %r11
jne 0x12c7c31
pushq 0x28(%rsp)
pushq 0x28(%rsp)
pushq %r10
pushq %rax
callq 0x10ee3c0
addq $0x20, %rsp
popq %rcx
retq
popq %rax
jmp 0x10c56d0
nop
| /duckdb[P]duckdb/src/include/duckdb/common/vector_operations/binary_executor.hpp |
unsigned long duckdb::BinaryExecutor::SelectGenericLoop<unsigned int, unsigned int, duckdb::NotEquals, true, true, true>(unsigned int const*, unsigned int const*, duckdb::SelectionVector const*, duckdb::SelectionVector const*, duckdb::SelectionVector const*, unsigned long, duckdb::ValidityMask&, duckdb::ValidityMask&, ... | static inline idx_t
SelectGenericLoop(const LEFT_TYPE *__restrict ldata, const RIGHT_TYPE *__restrict rdata,
const SelectionVector *__restrict lsel, const SelectionVector *__restrict rsel,
const SelectionVector *__restrict result_sel, idx_t count, ValidityMask &lvalidity,
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq 0x50(%rsp), %r10
movq 0x48(%rsp), %r11
xorl %ebx, %ebx
xorl %r14d, %r14d
xorl %eax, %eax
cmpq %rbx, %r9
je 0x12c801b
movq (%r8), %r12
movq %rbx, %r15
testq %r12, %r12
je 0x12c7fcf
movl (%r12,%rbx,4), %r15d
movq (%rdx), %r13
movq %rbx, %r12
testq %r1... | /duckdb[P]duckdb/src/include/duckdb/common/vector_operations/binary_executor.hpp |
unsigned long duckdb::BinaryExecutor::SelectGenericLoop<unsigned int, unsigned int, duckdb::NotEquals, true, true, false>(unsigned int const*, unsigned int const*, duckdb::SelectionVector const*, duckdb::SelectionVector const*, duckdb::SelectionVector const*, unsigned long, duckdb::ValidityMask&, duckdb::ValidityMask&,... | static inline idx_t
SelectGenericLoop(const LEFT_TYPE *__restrict ldata, const RIGHT_TYPE *__restrict rdata,
const SelectionVector *__restrict lsel, const SelectionVector *__restrict rsel,
const SelectionVector *__restrict result_sel, idx_t count, ValidityMask &lvalidity,
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq 0x40(%rsp), %r10
xorl %r11d, %r11d
xorl %eax, %eax
cmpq %r11, %r9
je 0x12c8083
movq (%r8), %r14
movq %r11, %rbx
testq %r14, %r14
je 0x12c804c
movl (%r14,%r11,4), %ebx
movq (%rdx), %r15
movq %r11, %r14
testq %r15, %r15
je 0x12c805b
movl (%r15,%r11,4), %r14d
mov... | /duckdb[P]duckdb/src/include/duckdb/common/vector_operations/binary_executor.hpp |
unsigned long duckdb::BinaryExecutor::SelectConstant<unsigned long, unsigned long, duckdb::NotEquals>(duckdb::Vector&, duckdb::Vector&, duckdb::SelectionVector const*, unsigned long, duckdb::SelectionVector*, duckdb::SelectionVector*) | static idx_t SelectConstant(Vector &left, Vector &right, const SelectionVector *sel, idx_t count,
SelectionVector *true_sel, SelectionVector *false_sel) {
auto ldata = ConstantVector::GetData<LEFT_TYPE>(left);
auto rdata = ConstantVector::GetData<RIGHT_TYPE>(right);
// both sides are... | movq %rcx, %rax
movq 0x20(%rdi), %rcx
movq 0x28(%rdi), %r10
movq 0x20(%rsi), %rdi
testq %r10, %r10
je 0x12c8114
testb $0x1, (%r10)
je 0x12c812a
movq 0x28(%rsi), %rsi
testq %rsi, %rsi
je 0x12c8122
testb $0x1, (%rsi)
je 0x12c812a
movq (%rcx), %rcx
cmpq (%rdi), %rcx
jne 0x12c8152
testq %r9, %r9
je 0x12c814f
xorl %ecx, %ec... | /duckdb[P]duckdb/src/include/duckdb/common/vector_operations/binary_executor.hpp |
unsigned long duckdb::BinaryExecutor::SelectGeneric<unsigned long, unsigned long, duckdb::NotEquals>(duckdb::Vector&, duckdb::Vector&, duckdb::SelectionVector const*, unsigned long, duckdb::SelectionVector*, duckdb::SelectionVector*) | static idx_t SelectGeneric(Vector &left, Vector &right, const SelectionVector *sel, idx_t count,
SelectionVector *true_sel, SelectionVector *false_sel) {
UnifiedVectorFormat ldata, rdata;
left.ToUnifiedFormat(count, ldata);
right.ToUnifiedFormat(count, rdata);
return SelectGenericL... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %r9, %r14
movq %r8, %rbx
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbp
leaq 0x50(%rsp), %rdi
callq 0x10cbc50
leaq 0x8(%rsp), %rdi
callq 0x10cbc50
leaq 0x50(%rsp), %rdx
movq %rbp, %rdi
movq %r15, %rsi
callq 0x105721... | /duckdb[P]duckdb/src/include/duckdb/common/vector_operations/binary_executor.hpp |
unsigned long duckdb::BinaryExecutor::SelectFlatLoop<unsigned long, unsigned long, duckdb::NotEquals, true, false, true, true>(unsigned long const*, unsigned long const*, duckdb::SelectionVector const*, unsigned long, duckdb::ValidityMask&, duckdb::SelectionVector*, duckdb::SelectionVector*) | static inline idx_t SelectFlatLoop(const LEFT_TYPE *__restrict ldata, const RIGHT_TYPE *__restrict rdata,
const SelectionVector *sel, idx_t count, ValidityMask &validity_mask,
SelectionVector *true_sel, SelectionVector *false_sel) {
idx_t true_co... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq 0x38(%rsp), %r10
movq %rcx, -0x20(%rsp)
leaq 0x3f(%rcx), %rax
shrq $0x6, %rax
movq %rax, -0x18(%rsp)
movq (%r8), %r13
xorl %ecx, %ecx
xorl %r15d, %r15d
xorl %r14d, %r14d
xorl %eax, %eax
movq %r13, -0x28(%rsp)
cmpq -0x18(%rsp), %rcx
je 0x12c85e0
test... | /duckdb[P]duckdb/src/include/duckdb/common/vector_operations/binary_executor.hpp |
unsigned long duckdb::BinaryExecutor::SelectFlatLoop<unsigned long, unsigned long, duckdb::NotEquals, false, true, true, true>(unsigned long const*, unsigned long const*, duckdb::SelectionVector const*, unsigned long, duckdb::ValidityMask&, duckdb::SelectionVector*, duckdb::SelectionVector*) | static inline idx_t SelectFlatLoop(const LEFT_TYPE *__restrict ldata, const RIGHT_TYPE *__restrict rdata,
const SelectionVector *sel, idx_t count, ValidityMask &validity_mask,
SelectionVector *true_sel, SelectionVector *false_sel) {
idx_t true_co... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq 0x38(%rsp), %r10
movq %rcx, -0x20(%rsp)
leaq 0x3f(%rcx), %rax
shrq $0x6, %rax
movq %rax, -0x18(%rsp)
movq (%r8), %r13
xorl %ecx, %ecx
xorl %r15d, %r15d
xorl %r14d, %r14d
xorl %eax, %eax
movq %r13, -0x28(%rsp)
cmpq -0x18(%rsp), %rcx
je 0x12c89fc
test... | /duckdb[P]duckdb/src/include/duckdb/common/vector_operations/binary_executor.hpp |
unsigned long duckdb::BinaryExecutor::SelectFlatLoop<duckdb::hugeint_t, duckdb::hugeint_t, duckdb::NotEquals, true, false, true, true>(duckdb::hugeint_t const*, duckdb::hugeint_t const*, duckdb::SelectionVector const*, unsigned long, duckdb::ValidityMask&, duckdb::SelectionVector*, duckdb::SelectionVector*) | static inline idx_t SelectFlatLoop(const LEFT_TYPE *__restrict ldata, const RIGHT_TYPE *__restrict rdata,
const SelectionVector *sel, idx_t count, ValidityMask &validity_mask,
SelectionVector *true_sel, SelectionVector *false_sel) {
idx_t true_co... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq 0x38(%rsp), %r10
movq %rcx, -0x10(%rsp)
leaq 0x3f(%rcx), %rax
shrq $0x6, %rax
movq %rax, -0x8(%rsp)
movq (%r8), %r11
addq $0x8, %rsi
movq %rsi, -0x18(%rsp)
xorl %ecx, %ecx
xorl %r15d, %r15d
xorl %r14d, %r14d
xorl %eax, %eax
movq %r11, -0x20(%rsp)
cm... | /duckdb[P]duckdb/src/include/duckdb/common/vector_operations/binary_executor.hpp |
unsigned long duckdb::BinaryExecutor::SelectFlatLoopSwitch<duckdb::hugeint_t, duckdb::hugeint_t, duckdb::NotEquals, false, false>(duckdb::hugeint_t const*, duckdb::hugeint_t const*, duckdb::SelectionVector const*, unsigned long, duckdb::ValidityMask&, duckdb::SelectionVector*, duckdb::SelectionVector*) | static inline idx_t SelectFlatLoopSwitch(const LEFT_TYPE *__restrict ldata, const RIGHT_TYPE *__restrict rdata,
const SelectionVector *sel, idx_t count, ValidityMask &mask,
SelectionVector *true_sel, SelectionVector *false_sel) {
if (... | pushq %rax
movq 0x10(%rsp), %rax
testq %r9, %r9
sete %r10b
testq %rax, %rax
sete %r11b
orb %r10b, %r11b
jne 0x12ca1fe
movq %rax, (%rsp)
callq 0x10d1010
jmp 0x12ca20c
testq %r9, %r9
je 0x12ca20e
movq %rax, (%rsp)
callq 0x1090350
popq %rcx
retq
xorl %r9d, %r9d
popq %rax
jmp 0x107e460
nop
| /duckdb[P]duckdb/src/include/duckdb/common/vector_operations/binary_executor.hpp |
unsigned long duckdb::BinaryExecutor::SelectGenericLoopSelSwitch<float, float, duckdb::GreaterThan, false>(float const*, float const*, duckdb::SelectionVector const*, duckdb::SelectionVector const*, duckdb::SelectionVector const*, unsigned long, duckdb::ValidityMask&, duckdb::ValidityMask&, duckdb::SelectionVector*, du... | static inline idx_t
SelectGenericLoopSelSwitch(const LEFT_TYPE *__restrict ldata, const RIGHT_TYPE *__restrict rdata,
const SelectionVector *__restrict lsel, const SelectionVector *__restrict rsel,
const SelectionVector *__restrict result_sel, idx_t count, Validi... | pushq %rbp
pushq %r14
pushq %rbx
movq 0x38(%rsp), %r11
movq 0x30(%rsp), %rbx
movq 0x28(%rsp), %r10
movq 0x20(%rsp), %rax
testq %rbx, %rbx
sete %bpl
testq %r11, %r11
sete %r14b
orb %bpl, %r14b
jne 0x12e273c
pushq %r11
pushq %rbx
pushq %r10
pushq %rax
callq 0x1035f00
jmp 0x12e2756
testq %rbx, %rbx
je 0x12e274a
popq %rbx
... | /duckdb[P]duckdb/src/include/duckdb/common/vector_operations/binary_executor.hpp |
duckdb::unique_ptr<duckdb::ConjunctionState, std::default_delete<duckdb::ConjunctionState>, true>::AssertNotNull(bool) | static inline void AssertNotNull(const bool null) {
#if defined(DUCKDB_DEBUG_NO_SAFETY) || defined(DUCKDB_CLANG_TIDY)
return;
#else
if (DUCKDB_UNLIKELY(null)) {
throw duckdb::InternalException("Attempted to dereference unique_ptr that is NULL!");
}
#endif
} | pushq %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
testl %edi, %edi
jne 0x12fc90d
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
pushq $0x10
popq %rdi
callq 0x10a7430
movq %rax, %rbx
leaq 0xbb09e8(%rip), %rsi # 0x1ead307
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1063d80
movb $0x1, %bpl
leaq 0x10(%rsp), ... | /duckdb[P]duckdb/src/include/duckdb/common/unique_ptr.hpp |
duckdb::unique_ptr<duckdb::AdaptiveFilter, std::default_delete<duckdb::AdaptiveFilter>, true>::AssertNotNull(bool) | static inline void AssertNotNull(const bool null) {
#if defined(DUCKDB_DEBUG_NO_SAFETY) || defined(DUCKDB_CLANG_TIDY)
return;
#else
if (DUCKDB_UNLIKELY(null)) {
throw duckdb::InternalException("Attempted to dereference unique_ptr that is NULL!");
}
#endif
} | pushq %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
testl %edi, %edi
jne 0x12fc993
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
pushq $0x10
popq %rdi
callq 0x10a7430
movq %rax, %rbx
leaq 0xbb0962(%rip), %rsi # 0x1ead307
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1063d80
movb $0x1, %bpl
leaq 0x10(%rsp), ... | /duckdb[P]duckdb/src/include/duckdb/common/unique_ptr.hpp |
duckdb::shared_ptr<duckdb::BoundParameterData, true>::AssertNotNull(bool) | static inline void AssertNotNull(const bool null) {
#if defined(DUCKDB_DEBUG_NO_SAFETY) || defined(DUCKDB_CLANG_TIDY)
return;
#else
if (DUCKDB_UNLIKELY(null)) {
throw duckdb::InternalException("Attempted to dereference shared_ptr that is NULL!");
}
#endif
} | pushq %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
testl %edi, %edi
jne 0x12fca9f
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
pushq $0x10
popq %rdi
callq 0x10a7430
movq %rax, %rbx
leaq 0xbaf65a(%rip), %rsi # 0x1eac10b
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1063d80
movb $0x1, %bpl
leaq 0x10(%rsp), ... | /duckdb[P]duckdb/src/include/duckdb/common/shared_ptr_ipp.hpp |
duckdb::CSVEncoder::CSVEncoder(duckdb::DBConfig const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned long) | CSVEncoder::CSVEncoder(const DBConfig &config, const string &encoding_name_to_find, idx_t buffer_size) {
encoding_name = StringUtil::Lower(encoding_name_to_find);
auto function = config.GetEncodeFunction(encoding_name_to_find);
if (!function) {
auto loaded_encodings = config.GetLoadedEncodedFunctions();
std::ost... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp # imm = 0x1B8
movq %rcx, %r15
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
xorl %eax, %eax
movb %al, 0x10(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rdi)
movb ... | /duckdb[P]duckdb/src/execution/operator/csv_scanner/encode/csv_encoder.cpp |
duckdb::optional_ptr<duckdb::EncodingFunction, true>::CheckValid() const | void CheckValid() const {
if (MemorySafety<SAFE>::ENABLED) {
if (!ptr) {
throw InternalException("Attempting to dereference an optional pointer that is not set");
}
}
} | pushq %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
cmpq $0x0, (%rdi)
je 0x12fd075
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
pushq $0x10
popq %rdi
callq 0x10a7430
movq %rax, %rbx
leaq 0xbb1577(%rip), %rsi # 0x1eae5fe
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1063d80
movb $0x1, %bpl
leaq 0x10(%rsp), ... | /duckdb[P]duckdb/src/include/duckdb/common/optional_ptr.hpp |
duckdb::vector<char, true>::AssertIndexInBounds(unsigned long, unsigned long) | static inline void AssertIndexInBounds(idx_t index, idx_t size) {
#if defined(DUCKDB_DEBUG_NO_SAFETY) || defined(DUCKDB_CLANG_TIDY)
return;
#else
if (DUCKDB_UNLIKELY(index >= size)) {
throw InternalException("Attempted to access index %ld within vector of size %ld", index, size);
}
#endif
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
cmpq %rsi, %rdi
jae 0x12fd22a
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rsi, %r14
movq %rdi, %r15
pushq $0x10
popq %rdi
callq 0x10a7430
movq %rax, %rbx
leaq 0xbaee77(%rip), %rsi # 0x1eac0b9
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rd... | /duckdb[P]duckdb/src/include/duckdb/common/vector.hpp |
duckdb::PhysicalPlanGenerator::CreatePlan(duckdb::LogicalAggregate&) | PhysicalOperator &PhysicalPlanGenerator::CreatePlan(LogicalAggregate &op) {
D_ASSERT(op.children.size() == 1);
reference<PhysicalOperator> plan = CreatePlan(*op.children[0]);
plan = ExtractAggregateExpressions(plan, op.expressions, op.groups);
bool can_use_simple_aggregation = true;
for (auto &expression : op.ex... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp # imm = 0x128
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x10(%rsi), %rdi
xorl %esi, %esi
callq 0x1104a50
movq %rax, %rdi
callq 0x10523c0
movq %r14, %rdi
movq %rax, %rsi
callq 0x10018f0
leaq 0x28(%rbx), %rdx
leaq 0x80(%rbx), %rcx
m... | /duckdb[P]duckdb/src/execution/physical_plan/plan_aggregate.cpp |
duckdb::PhysicalPlanGenerator::PlanAsOfJoin(duckdb::LogicalComparisonJoin&) | PhysicalOperator &PhysicalPlanGenerator::PlanAsOfJoin(LogicalComparisonJoin &op) {
// now visit the children
D_ASSERT(op.children.size() == 2);
idx_t lhs_cardinality = op.children[0]->EstimateCardinality(context);
idx_t rhs_cardinality = op.children[1]->EstimateCardinality(context);
auto &left = CreatePlan(*op.chi... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp # imm = 0x108
movq %rsi, %rbx
movq %rdi, %r12
leaq 0x10(%rsi), %r15
xorl %r13d, %r13d
movq %r15, %rdi
xorl %esi, %esi
callq 0x1104a50
movq %rax, %rdi
callq 0x1040eb0
movq 0xe8(%r12), %rsi
movq (%rax), %rcx
movq %rax, %rdi
cal... | /duckdb[P]duckdb/src/execution/physical_plan/plan_asof_join.cpp |
duckdb::PhysicalPlanGenerator::PlanDelimJoin(duckdb::LogicalComparisonJoin&) | PhysicalOperator &PhysicalPlanGenerator::PlanDelimJoin(LogicalComparisonJoin &op) {
// first create the underlying join
auto &plan = PlanComparisonJoin(op);
// this should create a join, not a cross product
D_ASSERT(plan.type != PhysicalOperatorType::CROSS_PRODUCT);
// duplicate eliminated join
// first gather th... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rsi, %r14
movq %rdi, %r13
callq 0x1028280
movq %rax, %rbx
movq %r14, 0x10(%rsp)
movzbl 0x100(%r14), %esi
xorq $0x1, %rsi
xorps %xmm0, %xmm0
movaps %xmm0, 0x20(%rsp)
andq $0x0, 0x30(%rsp)
leaq 0x10(%rax), %rdi
callq 0x106dda0
movq (... | /duckdb[P]duckdb/src/execution/physical_plan/plan_delim_join.cpp |
duckdb::PhysicalPlanGenerator::CreatePlan(duckdb::LogicalCopyToFile&) | PhysicalOperator &PhysicalPlanGenerator::CreatePlan(LogicalCopyToFile &op) {
auto &plan = CreatePlan(*op.children[0]);
bool preserve_insertion_order = PhysicalPlanGenerator::PreserveInsertionOrder(context, plan);
bool supports_batch_index = PhysicalPlanGenerator::UseBatchIndex(context, plan);
if (op.preserve_order... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rsi, %rbx
movq %rdi, %r15
leaq 0x10(%rsi), %rdi
xorl %esi, %esi
callq 0x1104a50
movq %rax, %rdi
callq 0x10523c0
movq %r15, %rdi
movq %rax, %rsi
callq 0x10018f0
movq %rax, %r14
movq 0xe8(%r15), %rdi
movq %rax, %rsi
callq 0x10523f0
m... | /duckdb[P]duckdb/src/execution/physical_plan/plan_copy_to_file.cpp |
duckdb::roaring::ContainerMetadataCollection::Deserialize(unsigned char*, unsigned long) | void ContainerMetadataCollection::Deserialize(data_ptr_t src, idx_t container_count) {
container_type.resize(AlignValue<idx_t, BitpackingPrimitives::BITPACKING_ALGORITHM_GROUP_SIZE>(container_count));
count_in_segment = container_count;
// Load the types of the containers
idx_t types_size = BitpackingPrimitives::G... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x1f(%rdx), %rsi
andq $-0x20, %rsi
callq 0x1088260
movq %r15, 0x48(%r14)
movq 0x8(%r14), %rdi
subq (%r14), %rdi
pushq $0x2
popq %rbp
movl %ebp, %esi
callq 0x11050e0
movq %rax, %r13
movq (%r1... | /duckdb[P]duckdb/src/storage/compression/roaring/metadata.cpp |
void duckdb::Serializer::WritePropertyWithDefault<duckdb::vector<duckdb::ColumnBinding, true>>(unsigned short, char const*, duckdb::vector<duckdb::ColumnBinding, true> const&) | void WritePropertyWithDefault(const field_id_t field_id, const char *tag, const T &value) {
// If current value is default, don't write it
if (!options.serialize_default_values && SerializationDefaultValue::IsDefault<T>(value)) {
OnOptionalPropertyBegin(field_id, tag, false);
OnOptionalPropertyEnd(false);
... | pushq %rbp
pushq %r14
pushq %rbx
movq %rcx, %r14
movq %rdi, %rbx
cmpb $0x0, 0x9(%rdi)
jne 0x141791b
movq (%r14), %rax
cmpq 0x8(%r14), %rax
je 0x141794c
movq (%rbx), %rax
movzwl %si, %esi
pushq $0x1
popq %rcx
movq %rbx, %rdi
callq *0x20(%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10f9dc0
movb $0x1, %bpl
movq (%rbx), %... | /duckdb[P]duckdb/src/include/duckdb/common/serializer/serializer.hpp |
duckdb::LogicalExplain::LogicalExplain(duckdb::ExplainType) | explicit LogicalExplain(ExplainType explain_type)
: LogicalOperator(LogicalOperatorType::LOGICAL_EXPLAIN), explain_type(explain_type) {} | pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
movl $0x96, %esi
callq 0x107c510
movq 0x12d93ee(%rip), %rax # 0x26f0e38
addq $0x10, %rax
movq %rax, (%r14)
movb %bl, 0x61(%r14)
leaq 0x78(%r14), %rax
movq %rax, 0x68(%r14)
andq $0x0, 0x70(%r14)
xorl %eax, %eax
movb %al, 0x78(%r14)
leaq 0x98(%r14), %rcx
... | /duckdb[P]duckdb/src/include/duckdb/planner/operator/logical_explain.hpp |
duckdb::vector<duckdb::vector<duckdb::unique_ptr<duckdb::Expression, std::default_delete<duckdb::Expression>, true>, true>, true> duckdb::Deserializer::ReadPropertyWithDefault<duckdb::vector<duckdb::vector<duckdb::unique_ptr<duckdb::Expression, std::default_delete<duckdb::Expression>, true>, true>, true>>(unsigned shor... | inline T ReadPropertyWithDefault(const field_id_t field_id, const char *tag) {
if (!OnOptionalPropertyBegin(field_id, tag)) {
OnOptionalPropertyEnd(false);
return std::forward<T>(SerializationDefaultValue::GetDefault<T>());
}
auto ret = Read<T>();
OnOptionalPropertyEnd(true);
return ret;
} | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %rax
movq %rsi, %rdi
movl %edx, %esi
movq %rcx, %rdx
callq *0x20(%rax)
testb %al, %al
je 0x1417c02
movq %rbx, %rdi
movq %r14, %rsi
callq 0x108c5d0
movq (%r14), %rax
pushq $0x1
popq %rsi
movq %r14, %rdi
callq *0x28(%rax)
jmp 0x1417c28
mo... | /duckdb[P]duckdb/src/include/duckdb/common/serializer/deserializer.hpp |
duckdb::vector<duckdb::BoundOrderByNode, true> duckdb::Deserializer::ReadPropertyWithDefault<duckdb::vector<duckdb::BoundOrderByNode, true>>(unsigned short, char const*) | inline T ReadPropertyWithDefault(const field_id_t field_id, const char *tag) {
if (!OnOptionalPropertyBegin(field_id, tag)) {
OnOptionalPropertyEnd(false);
return std::forward<T>(SerializationDefaultValue::GetDefault<T>());
}
auto ret = Read<T>();
OnOptionalPropertyEnd(true);
return ret;
} | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %rax
movq %rsi, %rdi
movl %edx, %esi
movq %rcx, %rdx
callq *0x20(%rax)
testb %al, %al
je 0x141805c
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10f9170
movq (%r14), %rax
pushq $0x1
popq %rsi
movq %r14, %rdi
callq *0x28(%rax)
jmp 0x1418082
mo... | /duckdb[P]duckdb/src/include/duckdb/common/serializer/deserializer.hpp |
bool duckdb::Deserializer::ReadPropertyWithExplicitDefault<bool>(unsigned short, char const*, bool) | inline T ReadPropertyWithExplicitDefault(const field_id_t field_id, const char *tag, T default_value) {
if (!OnOptionalPropertyBegin(field_id, tag)) {
OnOptionalPropertyEnd(false);
return std::forward<T>(default_value);
}
auto ret = Read<T>();
OnOptionalPropertyEnd(true);
return ret;
} | pushq %rbp
pushq %r14
pushq %rbx
movl %ecx, %ebx
movq %rdi, %r14
movq (%rdi), %rax
callq *0x20(%rax)
movl %eax, %ebp
movq (%r14), %rax
testb %bpl, %bpl
je 0x14183a4
movq %r14, %rdi
callq *0x60(%rax)
movl %eax, %ebx
movq (%r14), %rax
movzbl %bpl, %esi
movq %r14, %rdi
callq *0x28(%rax)
movl %ebx, %eax
popq %rbx
popq %r14... | /duckdb[P]duckdb/src/include/duckdb/common/serializer/deserializer.hpp |
duckdb::StringStats::Serialize(duckdb::BaseStatistics const&, duckdb::Serializer&) | void StringStats::Serialize(const BaseStatistics &stats, Serializer &serializer) {
auto &string_data = StringStats::GetDataUnsafe(stats);
serializer.WriteProperty(200, "min", string_data.min, StringStatsData::MAX_STRING_MINMAX_SIZE);
serializer.WriteProperty(201, "max", string_data.max, StringStatsData::MAX_STRING_M... | pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x28(%rdi), %rcx
leaq 0xaca9a0(%rip), %rdx # 0x1f025a6
pushq $0x8
popq %r15
movq %rsi, %rdi
movl $0xc8, %esi
movq %r15, %r8
callq 0x1014af0
leaq 0x30(%rbx), %rcx
leaq 0xaca9b3(%rip), %rdx # 0x1f025d8
movq %r14, %rdi
movl $0xc9, %esi
movq %r15, ... | /duckdb[P]duckdb/src/storage/statistics/string_stats.cpp |
duckdb::StringStats::Deserialize(duckdb::Deserializer&, duckdb::BaseStatistics&) | void StringStats::Deserialize(Deserializer &deserializer, BaseStatistics &base) {
auto &string_data = StringStats::GetDataUnsafe(base);
deserializer.ReadProperty(200, "min", string_data.min, StringStatsData::MAX_STRING_MINMAX_SIZE);
deserializer.ReadProperty(201, "max", string_data.max, StringStatsData::MAX_STRING_M... | pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x28(%rsi), %rcx
leaq 0xaca90a(%rip), %rdx # 0x1f025a6
pushq $0x8
popq %r15
movl $0xc8, %esi
movq %r15, %r8
callq 0x109a9e0
leaq 0x30(%rbx), %rcx
leaq 0xaca920(%rip), %rdx # 0x1f025d8
movq %r14, %rdi
movl $0xc9, %esi
movq %r15, %r8
callq 0x109a... | /duckdb[P]duckdb/src/storage/statistics/string_stats.cpp |
duckdb::StringValueComparison(unsigned char const*, unsigned long, unsigned char const*) | static int StringValueComparison(const_data_ptr_t data, idx_t len, const_data_ptr_t comparison) {
for (idx_t i = 0; i < len; i++) {
if (data[i] < comparison[i]) {
return -1;
} else if (data[i] > comparison[i]) {
return 1;
}
}
return 0;
} | xorl %eax, %eax
pushq $-0x1
popq %rcx
pushq $0x1
popq %r8
xorl %r9d, %r9d
cmpq %r9, %rsi
je 0x1437d41
movb (%rdi,%r9), %r10b
movb (%rdx,%r9), %r11b
cmpb %r11b, %r10b
jb 0x1437d42
incq %r9
cmpb %r11b, %r10b
jbe 0x1437d24
movl %r8d, %eax
retq
movl %ecx, %eax
retq
nop
| /duckdb[P]duckdb/src/storage/statistics/string_stats.cpp |
duckdb::StringStats::CheckZonemap(duckdb::BaseStatistics const&, duckdb::ExpressionType, duckdb::array_ptr<duckdb::Value, true>) | FilterPropagateResult StringStats::CheckZonemap(const BaseStatistics &stats, ExpressionType comparison_type,
array_ptr<Value> constants) {
auto &string_data = StringStats::GetDataUnsafe(stats);
for (auto &constant_value : constants) {
D_ASSERT(constant_value.type() ==... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq %rdi, %r15
movq %rsp, %rax
movq %rdx, (%rax)
andq $0x0, 0x8(%rax)
leaq 0x28(%rdi), %r13
movq %rcx, 0x10(%rax)
addq $0x30, %r15
xorl %eax, %eax
movzbl %sil, %ebp
pushq $0x8
popq %r12
xorq %r14, %rdx
xo... | /duckdb[P]duckdb/src/storage/statistics/string_stats.cpp |
duckdb::StringStats::CheckZonemap(unsigned char const*, unsigned long, unsigned char const*, unsigned long, duckdb::ExpressionType, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | FilterPropagateResult StringStats::CheckZonemap(const_data_ptr_t min_data, idx_t min_len, const_data_ptr_t max_data,
idx_t max_len, ExpressionType comparison_type, const string &constant) {
auto data = const_data_ptr_cast(constant.c_str());
idx_t size = constant.size();... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r8d, %r14d
movq %rcx, %r15
movq %rdx, %r12
movq %rdi, %rdx
movq (%r9), %r13
movq 0x8(%r9), %rbp
cmpq %rbp, %rsi
cmovaeq %rbp, %rsi
movq %r13, %rdi
callq 0x1437d18
movl %eax, %ebx
cmpq %rbp, %r15
cmovbq %r15, %rbp
movq %r13, %rdi
mo... | /duckdb[P]duckdb/src/storage/statistics/string_stats.cpp |
duckdb::GetValidMinMaxSubstring(unsigned char const*) | static idx_t GetValidMinMaxSubstring(const_data_ptr_t data) {
for (idx_t i = 0; i < StringStatsData::MAX_STRING_MINMAX_SIZE; i++) {
if (data[i] == '\0') {
return i;
}
if ((data[i] & 0x80) != 0) {
return i;
}
}
return StringStatsData::MAX_STRING_MINMAX_SIZE;
} | xorl %eax, %eax
cmpq $0x8, %rax
je 0x1437f10
cmpb $0x0, (%rdi,%rax)
jle 0x1437f10
incq %rax
jmp 0x1437eff
retq
nop
| /duckdb[P]duckdb/src/storage/statistics/string_stats.cpp |
duckdb::unique_ptr<duckdb::DummyBinding, std::default_delete<duckdb::DummyBinding>, true>::AssertNotNull(bool) | static inline void AssertNotNull(const bool null) {
#if defined(DUCKDB_DEBUG_NO_SAFETY) || defined(DUCKDB_CLANG_TIDY)
return;
#else
if (DUCKDB_UNLIKELY(null)) {
throw duckdb::InternalException("Attempted to dereference unique_ptr that is NULL!");
}
#endif
} | pushq %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
testl %edi, %edi
jne 0x14fc1db
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
pushq $0x10
popq %rdi
callq 0x10a7430
movq %rax, %rbx
leaq 0x9b111a(%rip), %rsi # 0x1ead307
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1063d80
movb $0x1, %bpl
leaq 0x10(%rsp), ... | /duckdb[P]duckdb/src/include/duckdb/common/unique_ptr.hpp |
duckdb::optional_ptr<duckdb::BoundParameterMap, true>::CheckValid() const | void CheckValid() const {
if (MemorySafety<SAFE>::ENABLED) {
if (!ptr) {
throw InternalException("Attempting to dereference an optional pointer that is not set");
}
}
} | pushq %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
cmpq $0x0, (%rdi)
je 0x14fc3dd
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
pushq $0x10
popq %rdi
callq 0x10a7430
movq %rax, %rbx
leaq 0x9b220f(%rip), %rsi # 0x1eae5fe
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1063d80
movb $0x1, %bpl
leaq 0x10(%rsp), ... | /duckdb[P]duckdb/src/include/duckdb/common/optional_ptr.hpp |
duckdb::DuckCatalog::BindCreateIndex(duckdb::Binder&, duckdb::CreateStatement&, duckdb::TableCatalogEntry&, duckdb::unique_ptr<duckdb::LogicalOperator, std::default_delete<duckdb::LogicalOperator>, true>) | unique_ptr<LogicalOperator> DuckCatalog::BindCreateIndex(Binder &binder, CreateStatement &stmt,
TableCatalogEntry &table, unique_ptr<LogicalOperator> plan) {
D_ASSERT(plan->type == LogicalOperatorType::LOGICAL_GET);
auto create_index_info = unique_ptr_cast<Crea... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa0, %rsp
movq %r9, %r12
movq %r8, %r14
movq %rdx, %r13
movq %rdi, %rbx
movq 0x78(%rcx), %r15
andq $0x0, 0x78(%rcx)
movq 0x10(%rdx), %rdx
leaq 0x28(%rsp), %rdi
movq %r13, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x100d3d0
movq 0x10(%r13), %rdx
leaq 0x20(%r... | /duckdb[P]duckdb/src/planner/binder/statement/bind_create.cpp |
duckdb::Binder::Bind(duckdb::CreateStatement&) | BoundStatement Binder::Bind(CreateStatement &stmt) {
BoundStatement result;
result.names = {"Count"};
result.types = {LogicalType::BIGINT};
auto catalog_type = stmt.info->type;
auto &properties = GetStatementProperties();
switch (catalog_type) {
case CatalogType::SCHEMA_ENTRY: {
auto &base = stmt.info->Cast<C... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x368, %rsp # imm = 0x368
movq %rdx, %r13
movq %rsi, 0x30(%rsp)
movq %rdi, %r14
xorps %xmm0, %xmm0
movaps %xmm0, 0x1e0(%rsp)
movaps %xmm0, 0x1d0(%rsp)
movaps %xmm0, 0x1c0(%rsp)
andq $0x0, 0x1f0(%rsp)
leaq 0x9b48e5(%rip), %rsi # 0x1eb8... | /duckdb[P]duckdb/src/planner/binder/statement/bind_create.cpp |
duckdb::Binder::BindCreateTableInfo(duckdb::unique_ptr<duckdb::CreateInfo, std::default_delete<duckdb::CreateInfo>, true>) | unique_ptr<BoundCreateTableInfo> Binder::BindCreateTableInfo(unique_ptr<CreateInfo> info) {
auto &base = info->Cast<CreateTableInfo>();
auto &schema = BindCreateSchema(base);
return BindCreateTableInfo(std::move(info), schema);
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq %rdx, %rdi
callq 0x1004d50
movq %r15, %rdi
movq %rax, %rsi
callq 0x10a00f0
movq (%r14), %rcx
leaq 0x8(%rsp), %rdx
movq %rcx, (%rdx)
andq $0x0, (%r14)
movq %rbx, %rdi
movq %r15, %rsi
movq %rax, %rcx
callq 0x1090fa0
mov... | /duckdb[P]duckdb/src/planner/binder/statement/bind_create_table.cpp |
duckdb::Binder::BindGeneratedColumns(duckdb::BoundCreateTableInfo&) | void Binder::BindGeneratedColumns(BoundCreateTableInfo &info) {
auto &base = info.base->Cast<CreateTableInfo>();
vector<string> names;
vector<LogicalType> types;
D_ASSERT(base.type == CatalogType::TABLE_ENTRY);
for (auto &col : base.columns.Logical()) {
names.push_back(col.Name());
types.push_back(col.Type()... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp # imm = 0x258
movq %rdi, 0x10(%rsp)
movq %rsi, 0x78(%rsp)
leaq 0x8(%rsi), %rdi
callq 0x1004d50
movq %rax, %r15
xorps %xmm0, %xmm0
movaps %xmm0, 0x60(%rsp)
andq $0x0, 0x70(%rsp)
movaps %xmm0, 0x40(%rsp)
andq $0x0, 0x50(%rsp)
l... | /duckdb[P]duckdb/src/planner/binder/statement/bind_create_table.cpp |
duckdb::ExpressionContainsGeneratedColumn(duckdb::ParsedExpression const&, std::unordered_set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::equal_to<std::__cxx11::basic_string<char, std::cha... | void ExpressionContainsGeneratedColumn(const ParsedExpression &expr, const unordered_set<string> &gcols,
bool &contains_gcol) {
if (contains_gcol) {
return;
}
if (expr.GetExpressionType() == ExpressionType::COLUMN_REF) {
auto &column_ref = expr.Cast<ColumnRefExpression>();
... | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
cmpb $0x0, (%rdx)
jne 0x15081b1
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
cmpb $-0x35, 0x8(%rdi)
jne 0x1508181
movq %rbx, %rdi
callq 0x1005480
movq %rax, %rdi
callq 0x10d5440
movq %r15, %rdi
movq %rax, %rsi
callq 0x1095420
testq %rax, %rax
je 0x1508181
movb $0x1, ... | /duckdb[P]duckdb/src/planner/binder/statement/bind_create_table.cpp |
duckdb::Binder::Bind(duckdb::ExplainStatement&) | BoundStatement Binder::Bind(ExplainStatement &stmt) {
BoundStatement result;
// bind the underlying statement
auto plan = Bind(*stmt.stmt);
// get the unoptimized logical plan, and create the explain statement
auto logical_plan_unopt = plan.plan->ToString(stmt.explain_format);
auto explain = make_uniq<LogicalExp... | pushq %r15
pushq %r14
pushq %rbx
subq $0xc0, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rdi)
movups %xmm0, 0x10(%rdi)
movups %xmm0, (%rdi)
andq $0x0, 0x30(%rdi)
leaq 0x78(%rdx), %rdi
callq 0x10e5aa0
leaq 0x88(%rsp), %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x10ce8a0
le... | /duckdb[P]duckdb/src/planner/binder/statement/bind_explain.cpp |
duckdb::Binder::Bind(duckdb::TransactionStatement&) | BoundStatement Binder::Bind(TransactionStatement &stmt) {
auto &properties = GetStatementProperties();
// Transaction statements do not require a valid transaction.
properties.requires_valid_transaction = stmt.info->type == TransactionType::BEGIN_TRANSACTION;
BoundStatement result;
result.names = {"Success"};
r... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r15
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x103d990
movq %rax, %r14
addq $0x78, %r15
movq %r15, %rdi
callq 0x10f2930
cmpb $0x1, 0x9(%rax)
sete 0x70(%r14)
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rbx)
movups %xmm0, 0x10(%rbx)
movups %xmm0, (%rbx)
and... | /duckdb[P]duckdb/src/planner/binder/statement/bind_simple.cpp |
duckdb::FindForeignKeyIndexes(duckdb::ColumnList const&, duckdb::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, true> const&, duckdb::vector<duckdb::PhysicalIndex, true>&) | static void FindForeignKeyIndexes(const ColumnList &columns, const vector<string> &names,
vector<PhysicalIndex> &indexes) {
D_ASSERT(indexes.empty());
D_ASSERT(!names.empty());
for (auto &name : names) {
if (!columns.ColumnExists(name)) {
throw BinderException("column \"%s\" na... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdx, %rbx
movq %rdi, %r15
movq (%rsi), %r14
movq 0x8(%rsi), %rbp
leaq 0x8(%rsp), %r12
cmpq %rbp, %r14
je 0x1513aa3
movq %r15, %rdi
movq %r14, %rsi
callq 0x1094e80
testb %al, %al
je 0x1513b17
movq %r15, %rdi
movq %r14, %rsi
callq 0x... | /duckdb[P]duckdb/src/planner/binder/statement/bind_create_table.cpp |
duckdb::LogicalGet::LogicalGet() | LogicalGet::LogicalGet() : LogicalOperator(LogicalOperatorType::LOGICAL_GET) {
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
pushq $0x19
popq %rsi
callq 0x107c510
movq 0x11b2c2c(%rip), %rax # 0x26f04f0
addq $0x10, %rax
movq %rax, (%rbx)
leaq 0x70(%rbx), %r14
movq %r14, %rdi
callq 0x10632b0
leaq 0x228(%rbx), %r15
leaq 0x260(%rbx), %r12
leaq 0x... | /duckdb[P]duckdb/src/planner/operator/logical_get.cpp |
duckdb::LogicalGet::EstimateCardinality(duckdb::ClientContext&) | idx_t LogicalGet::EstimateCardinality(ClientContext &context) {
// join order optimizer does better cardinality estimation.
if (has_estimated_cardinality) {
return estimated_cardinality;
}
if (function.cardinality) {
auto node_stats = function.cardinality(context, bind_data.get());
if (node_stats && node_stat... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
cmpb $0x1, 0x60(%rdi)
jne 0x153e7ad
movq 0x58(%r14), %r15
jmp 0x153e836
movq %rsi, %rbx
movq 0x188(%r14), %rax
testq %rax, %rax
je 0x153e801
movq 0x228(%r14), %rdx
movq %rsp, %r15
movq %r15, %rdi
movq %rbx, %rsi
callq *%rax
movb $0x1, %bpl
cmpq $0x0... | /duckdb[P]duckdb/src/planner/operator/logical_get.cpp |
duckdb::LogicalJoin::ResolveTypes() | void LogicalJoin::ResolveTypes() {
types = MapTypes(children[0]->types, left_projection_map);
if (join_type == JoinType::SEMI || join_type == JoinType::ANTI) {
// for SEMI and ANTI join we only project the left hand side
return;
}
if (join_type == JoinType::MARK) {
// for MARK join we project the left hand si... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, %rdi
xorl %esi, %esi
callq 0x1104a50
movq %rax, %rdi
callq 0x1040eb0
leaq 0x40(%rax), %rsi
leaq 0x70(%rbx), %rdx
movq %rsp, %r12
movq %r12, %rdi
callq 0x10ca730
leaq 0x40(%rbx), %r14
movq %r14, %rdi
movq %r12, ... | /duckdb[P]duckdb/src/planner/operator/logical_join.cpp |
duckdb::LogicalJoin::GetExpressionBindings(duckdb::Expression&, std::unordered_set<unsigned long, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<unsigned long>>&) | void LogicalJoin::GetExpressionBindings(Expression &expr, unordered_set<idx_t> &bindings) {
if (expr.GetExpressionType() == ExpressionType::BOUND_COLUMN_REF) {
auto &colref = expr.Cast<BoundColumnRefExpression>();
D_ASSERT(colref.depth == 0);
bindings.insert(colref.binding.table_index);
}
ExpressionIterator::E... | pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
cmpb $-0x1c, 0x8(%rdi)
jne 0x153fd25
movq %rbx, %rdi
callq 0x107b5e0
leaq 0x58(%rax), %rsi
movq %r14, %rdi
callq 0x10dfa10
leaq 0x8(%rsp), %rsi
andq $0x0, 0x8(%rsi)
movq %r14, (%rsi)
leaq 0x1733(%rip), %rax # 0x154146c
movq %rax, 0x18(%rsi)
lea... | /duckdb[P]duckdb/src/planner/operator/logical_join.cpp |
duckdb::LogicalPivot::GetColumnBindings() | vector<ColumnBinding> LogicalPivot::GetColumnBindings() {
vector<ColumnBinding> result;
for (idx_t i = 0; i < bound_pivot.types.size(); i++) {
result.emplace_back(pivot_index, i);
}
return result;
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
andq $0x0, 0x10(%rdi)
leaq 0x68(%rsi), %r15
xorl %ecx, %ecx
pushq $0x18
popq %r13
leaq 0x8(%rsp), %r12
movq %rcx, 0x8(%rsp)
movq 0x80(%r14), %rax
subq 0x78(%r14), %rax
cqto
idi... | /duckdb[P]duckdb/src/planner/operator/logical_pivot.cpp |
duckdb::LogicalProjection::ResolveTypes() | void LogicalProjection::ResolveTypes() {
for (auto &expr : expressions) {
types.push_back(expr->return_type);
}
} | pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x28(%rdi), %r14
movq 0x30(%rdi), %r15
addq $0x40, %rbx
cmpq %r15, %r14
je 0x1540593
movq %r14, %rdi
callq 0x1084fa0
leaq 0x38(%rax), %rsi
movq %rbx, %rdi
callq 0x10b7d80
addq $0x8, %r14
jmp 0x1540574
popq %rbx
popq %r14
popq %r15
retq
nop
| /duckdb[P]duckdb/src/planner/operator/logical_projection.cpp |
duckdb::LogicalUnconditionalJoin::GetColumnBindings() | vector<ColumnBinding> LogicalUnconditionalJoin::GetColumnBindings() {
auto left_bindings = children[0]->GetColumnBindings();
auto right_bindings = children[1]->GetColumnBindings();
left_bindings.insert(left_bindings.end(), right_bindings.begin(), right_bindings.end());
return left_bindings;
} | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
leaq 0x10(%rsi), %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0x1104a50
movq %rax, %rdi
callq 0x1040eb0
movq (%rax), %rcx
movq %rbx, %rdi
movq %rax, %rsi
callq *0x10(%rcx)
pushq $0x1
popq %rsi
movq %r14, %rdi
callq 0x1104a50
movq %rax, %rdi
callq 0x1040eb0
movq (%rax... | /duckdb[P]duckdb/src/planner/operator/logical_unconditional_join.cpp |
duckdb::LogicalVacuum::Deserialize(duckdb::Deserializer&) | unique_ptr<LogicalOperator> LogicalVacuum::Deserialize(Deserializer &deserializer) {
auto result = unique_ptr<LogicalVacuum>(new LogicalVacuum());
auto tmp_info = deserializer.ReadPropertyWithDefault<unique_ptr<ParseInfo>>(200, "info");
deserializer.ReadProperty(201, "column_id_map", result->column_id_map);
resul... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movl $0xb0, %edi
callq 0x1087910
movq %rax, %r15
movq %rax, %rdi
callq 0x1055370
movq %r15, 0x8(%rsp)
leaq 0xa0e32b(%rip), %rcx # 0x1f4f3bc
leaq 0x20(%rsp), %rdi
movq %r14, %rsi
movl $0xc8, %edx
callq 0x1030020
leaq 0x8(%rsp... | /duckdb[P]duckdb/src/planner/operator/logical_vacuum.cpp |
void duckdb::FunctionSerializer::Serialize<duckdb::TableFunction>(duckdb::Serializer&, duckdb::TableFunction const&, duckdb::optional_ptr<duckdb::FunctionData, true>) | static void Serialize(Serializer &serializer, const FUNC &function, optional_ptr<FunctionData> bind_info) {
D_ASSERT(!function.name.empty());
serializer.WriteProperty(500, "name", function.name);
serializer.WriteProperty(501, "arguments", function.arguments);
serializer.WriteProperty(502, "original_arguments", ... | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq %rdx, 0x8(%rsp)
leaq 0x8(%rsi), %rcx
leaq 0x9d8fc2(%rip), %rdx # 0x1f1aa09
movl $0x1f4, %esi # imm = 0x1F4
callq 0x1070c00
leaq 0x48(%rbx), %rcx
leaq 0xa05b52(%rip), %rdx # 0x1f475ae
movq %r14, %rdi
movl $0x1f5, %esi... | /duckdb[P]duckdb/src/include/duckdb/function/function_serialization.hpp |
std::enable_if<std::is_enum<duckdb::CopyFunctionReturnType>::value, duckdb::CopyFunctionReturnType>::type duckdb::Deserializer::Read<duckdb::CopyFunctionReturnType>() | inline typename std::enable_if<std::is_enum<T>::value, T>::type Read() {
if (deserialize_enum_from_string) {
auto str = ReadString();
return EnumUtil::FromString<T>(str.c_str());
} else {
return (T)Read<typename std::underlying_type<T>::type>();
}
} | pushq %rbx
subq $0x20, %rsp
movq %rdi, %rsi
cmpb $0x1, 0x8(%rdi)
jne 0x1542e97
movq (%rsi), %rax
movq %rsp, %rbx
movq %rbx, %rdi
callq *0xd0(%rax)
movq (%rbx), %rdi
callq 0x105dc70
movl %eax, %ebx
movq %rsp, %rdi
callq 0x10c92b0
movl %ebx, %eax
addq $0x20, %rsp
popq %rbx
retq
movq (%rsi), %rax
movq %rsi, %rdi
addq $0x2... | /duckdb[P]duckdb/src/include/duckdb/common/serializer/deserializer.hpp |
duckdb::unique_ptr<duckdb::OperatorExtension, std::default_delete<duckdb::OperatorExtension>, true>::AssertNotNull(bool) | static inline void AssertNotNull(const bool null) {
#if defined(DUCKDB_DEBUG_NO_SAFETY) || defined(DUCKDB_CLANG_TIDY)
return;
#else
if (DUCKDB_UNLIKELY(null)) {
throw duckdb::InternalException("Attempted to dereference unique_ptr that is NULL!");
}
#endif
} | pushq %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
testl %edi, %edi
jne 0x1542ff3
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
pushq $0x10
popq %rdi
callq 0x10a7430
movq %rax, %rbx
leaq 0x96a302(%rip), %rsi # 0x1ead307
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1063d80
movb $0x1, %bpl
leaq 0x10(%rsp), ... | /duckdb[P]duckdb/src/include/duckdb/common/unique_ptr.hpp |
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> duckdb::Exception::ConstructMessage<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, duckdb::LogicalType, duckdb::LogicalType>(std... | static string ConstructMessage(const string &msg, ARGS... params) {
const std::size_t num_args = sizeof...(ARGS);
if (num_args == 0) {
return msg;
}
std::vector<ExceptionFormatValue> values;
return ConstructMessageRecursive(msg, values, params...);
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa0, %rsp
movq %r9, %r15
movq %r8, %r12
movq %rcx, %r13
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
andq $0x0, 0x20(%rsp)
leaq 0x80(%rsp), %rdi
movq %rdx, %rsi
callq 0x1025cf0
leaq 0x60(%rsp), %rdi
movq %r13, %rsi
callq 0x1025... | /duckdb[P]duckdb/src/include/duckdb/common/exception.hpp |
duckdb::BindingAlias::ToString[abi:cxx11]() const | string BindingAlias::ToString() const {
string result;
if (!catalog.empty()) {
result += KeywordHelper::WriteOptionallyQuoted(catalog) + ".";
}
if (!schema.empty()) {
result += KeywordHelper::WriteOptionallyQuoted(schema) + ".";
}
result += KeywordHelper::WriteOptionallyQuoted(alias);
return result;
} | pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
movq %rsi, %r14
movb $0x0, 0x10(%rdi)
cmpq $0x0, 0x8(%rsi)
je 0x1543c22
leaq 0x28(%rsp), %rdi
pushq $0x22
popq %rdx
pushq $0x1
popq %rcx
movq %r14, %rsi
callq 0xff9e40
leaq 0xb36d09(%rip), %rdx # 0x207... | /duckdb[P]duckdb/src/planner/binding_alias.cpp |
duckdb::BoundParameterMap::CreateOrGetData(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | shared_ptr<BoundParameterData> BoundParameterMap::CreateOrGetData(const string &identifier) {
auto entry = parameters.find(identifier);
if (entry == parameters.end()) {
// no entry yet: create a new one
auto data = make_shared_ptr<BoundParameterData>();
data->return_type = GetReturnType(identifier);
CreateNe... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rsi), %rdi
movq %rdx, %rsi
callq 0x104d900
testq %rax, %rax
je 0x154474a
addq $0x28, %rax
movq %rbx, %rdi
movq %rax, %rsi
callq 0x1021790
jmp 0x1544790
movq %rbx, %rdi
callq 0x1108c80
movq %rsp, %rdi
m... | /duckdb[P]duckdb/src/planner/bound_parameter_map.cpp |
duckdb::PushVarcharCollation(duckdb::ClientContext&, duckdb::unique_ptr<duckdb::Expression, std::default_delete<duckdb::Expression>, true>&, duckdb::LogicalType const&, duckdb::CollationType) | bool PushVarcharCollation(ClientContext &context, unique_ptr<Expression> &source, const LogicalType &sql_type,
CollationType type) {
if (sql_type.id() != LogicalTypeId::VARCHAR) {
// only VARCHAR columns require collation
return false;
}
// replace default collation with system collatio... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x278, %rsp # imm = 0x278
cmpb $0x19, (%rdx)
jne 0x1544ab1
movl %ecx, %ebp
movq %rsi, %r14
movq %rdi, %r15
leaq 0x130(%rsp), %rbx
movq %rbx, %rdi
movq %rdx, %rsi
callq 0x1061780
leaq 0x60(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x... | /duckdb[P]duckdb/src/planner/collation_binding.cpp |
duckdb::Expression::IsVolatile() const | bool Expression::IsVolatile() const {
bool is_volatile = false;
ExpressionIterator::EnumerateChildren(*this, [&](const Expression &child) {
if (child.IsVolatile()) {
is_volatile = true;
}
});
return is_volatile;
} | pushq %rbx
subq $0x30, %rsp
leaq 0xf(%rsp), %rax
movb $0x0, (%rax)
leaq 0x10(%rsp), %rsi
andq $0x0, 0x8(%rsi)
movq %rax, (%rsi)
leaq 0xcf75(%rip), %rax # 0x155301c
movq %rax, 0x18(%rsi)
leaq 0xcf84(%rip), %rax # 0x1553036
movq %rax, 0x10(%rsi)
callq 0x10b9f30
leaq 0x10(%rsp), %rdi
callq 0x10b0a90
movb 0xf(%rs... | /duckdb[P]duckdb/src/planner/expression.cpp |
duckdb::Binding::GetAlias(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, duckdb::optional_ptr<duckdb::StandardEntry, true>) | BindingAlias Binding::GetAlias(const string &explicit_alias, optional_ptr<StandardEntry> entry) {
if (!explicit_alias.empty()) {
return BindingAlias(explicit_alias);
}
if (!entry) {
throw InternalException("Binding::GetAlias called - but neither an alias nor an entry was provided");
}
// no explicit alias prov... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x50, %rsp
movq %rdi, %rbx
movq %rdx, 0x8(%rsp)
cmpq $0x0, 0x8(%rsi)
je 0x1546a59
leaq 0x30(%rsp), %r14
movq %r14, %rdi
callq 0x1025cf0
movq %rbx, %rdi
movq %r14, %rsi
callq 0xfee8b0
leaq 0x30(%rsp), %rdi
callq 0x10c92b0
jmp 0x1546a73
testq %rdx, %rdx
je 0x1546a7f
leaq 0x8(%rsp), ... | /duckdb[P]duckdb/src/planner/table_binding.cpp |
duckdb::TableBinding::GetBoundColumnIds() const | const vector<ColumnIndex> &TableBinding::GetBoundColumnIds() const {
#ifdef DEBUG
unordered_set<idx_t> column_ids;
for (auto &col_id : bound_column_ids) {
idx_t id = col_id.IsRowIdColumn() ? DConstants::INVALID_INDEX : col_id.GetPrimaryIndex();
auto result = column_ids.insert(id);
// assert that all entries in ... | movq 0xe0(%rdi), %rax
retq
| /duckdb[P]duckdb/src/planner/table_binding.cpp |
duckdb::TableBinding::Bind(duckdb::ColumnRefExpression&, unsigned long) | BindResult TableBinding::Bind(ColumnRefExpression &colref, idx_t depth) {
auto &column_name = colref.GetColumnName();
column_t column_index;
bool success = false;
success = TryGetBindingIndex(column_name, column_index);
if (!success) {
return BindResult(ColumnNotFoundError(column_name));
}
auto entry = GetStan... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq %rcx, 0x40(%rsp)
movq %rdx, %rdi
callq 0x10d5440
movq %rax, %r12
leaq 0x10(%rsp), %rdx
movq %r15, %rdi
movq %rax, %rsi
callq 0x10fbbb0
testb %al, %al
je 0x1547243
movq (%r15), %rax
movq %r15, %rdi
callq *0x... | /duckdb[P]duckdb/src/planner/table_binding.cpp |
duckdb::DummyBinding::DummyBinding(duckdb::vector<duckdb::LogicalType, true>, duckdb::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, true>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | DummyBinding::DummyBinding(vector<LogicalType> types, vector<string> names, string dummy_name)
: Binding(BindingType::DUMMY, BindingAlias(DummyBinding::DUMMY_NAME + dummy_name), std::move(types),
std::move(names), DConstants::INVALID_INDEX),
dummy_name(std::move(dummy_name)) {
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc0, %rsp
movq %rcx, %rbx
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r14
leaq 0x9714ae(%rip), %rsi # 0x1eb8a2f
leaq 0x40(%rsp), %r13
movq %r13, %rdi
movq %rcx, %rdx
callq 0x1045e60
leaq 0x60(%rsp), %rdi
movq %r13, %rsi
callq 0xfee8b0
movups (%r12), %xmm0... | /duckdb[P]duckdb/src/planner/table_binding.cpp |
duckdb::ExpressionBinder::BindExpression(duckdb::unique_ptr<duckdb::ParsedExpression, std::default_delete<duckdb::ParsedExpression>, true>&, unsigned long, bool) | BindResult ExpressionBinder::BindExpression(unique_ptr<ParsedExpression> &expr, idx_t depth, bool root_expression) {
auto stack_checker = StackCheck(*expr);
auto &expr_ref = *expr;
switch (expr_ref.GetExpressionClass()) {
case ExpressionClass::BETWEEN:
return BindExpression(expr_ref.Cast<BetweenExpression>(), de... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %r8d, %ebp
movq %rcx, %r14
movq %rdx, %r13
movq %rsi, %r15
movq %rdi, %rbx
movq %rdx, %rdi
callq 0x1028420
leaq 0x38(%rsp), %rdi
pushq $0x1
popq %rcx
movq %r15, %rsi
callq 0x1015b00
movq %r13, %rdi
callq 0x1028420
movq %rax, %r12
mo... | /duckdb[P]duckdb/src/planner/expression_binder.cpp |
duckdb::ExpressionBinder::ExchangeType(duckdb::LogicalType const&, duckdb::LogicalTypeId, duckdb::LogicalType) | LogicalType ExpressionBinder::ExchangeType(const LogicalType &type, LogicalTypeId target, LogicalType new_type) {
if (type.id() == target) {
return new_type;
}
switch (type.id()) {
case LogicalTypeId::STRUCT: {
// we make a copy of the child types of the struct here
auto child_types = StructType::GetChildType... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rcx, %r14
movl %edx, %ebp
movzbl (%rsi), %eax
cmpb %bpl, %al
jne 0x1548dfb
movq %rdi, %rbx
movq %r14, %rsi
callq 0xff4370
movq %rbx, %rax
jmp 0x154908b
movq %rsi, %r15
addl $-0x64, %eax
cmpl $0x8, %eax
ja 0x1548e9b
leaq 0x9c88b3(%r... | /duckdb[P]duckdb/src/planner/expression_binder.cpp |
duckdb::LogicalOperator::MapBindings(duckdb::vector<duckdb::ColumnBinding, true> const&, duckdb::vector<unsigned long, true> const&) | vector<ColumnBinding> LogicalOperator::MapBindings(const vector<ColumnBinding> &bindings,
const vector<idx_t> &projection_map) {
if (projection_map.empty()) {
return bindings;
} else {
vector<ColumnBinding> result_bindings;
result_bindings.reserve(projection_ma... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdx), %rax
movq 0x8(%rdx), %rsi
cmpq %rsi, %rax
je 0x154a05a
movq %rdx, %r15
andq $0x0, 0x10(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
subq %rax, %rsi
sarq $0x3, %rsi
movq %rbx, %rdi
callq 0x10e5d00
movq (%r15), %r12
movq ... | /duckdb[P]duckdb/src/planner/logical_operator.cpp |
duckdb::Binder::GetBinderDepth() const | idx_t Binder::GetBinderDepth() const {
const_reference<Binder> root = *this;
idx_t depth = 1;
while (root.get().parent) {
depth++;
root = *root.get().parent;
}
return depth;
} | pushq %rbx
pushq $0x1
popq %rbx
cmpq $0x0, 0x1f0(%rdi)
je 0x154a4c8
addq $0x1f0, %rdi # imm = 0x1F0
incq %rbx
callq 0x10da730
movq %rax, %rdi
jmp 0x154a4aa
movq %rbx, %rax
popq %rbx
retq
nop
| /duckdb[P]duckdb/src/planner/binder.cpp |
duckdb::Binder::BindMaterializedCTE(duckdb::CommonTableExpressionMap&) | unique_ptr<BoundCTENode> Binder::BindMaterializedCTE(CommonTableExpressionMap &cte_map) {
// Extract materialized CTEs from cte_map
vector<unique_ptr<CTENode>> materialized_ctes;
for (auto &cte : cte_map.map) {
auto &cte_entry = cte.second;
if (cte_entry->materialized == CTEMaterialize::CTE_MATERIALIZE_ALWAYS) {... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdx, %r15
movq %rsi, 0x30(%rsp)
movq %rdi, 0x28(%rsp)
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %r12
movaps %xmm0, (%r12)
andq $0x0, 0x10(%r12)
movq (%rdx), %r13
movq 0x8(%rdx), %r14
leaq 0x38(%rsp), %rbp
cmpq %r14, %r13
je 0x154ab08
lea... | /duckdb[P]duckdb/src/planner/binder.cpp |
duckdb::BindContext::AddBaseTable(unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, duckdb::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, true> const&, duckdb::vector<duckdb::LogicalType, true> const&, duckdb::vector<duckdb::Co... | void BindContext::AddBaseTable(idx_t index, const string &alias, const vector<string> &names,
const vector<LogicalType> &types, vector<ColumnIndex> &bound_column_ids,
TableCatalogEntry &entry, bool add_virtual_columns) {
virtual_column_map_t virtual_columns... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %r9, %r14
movq %r8, %r12
movq %rcx, %r15
movq %rdx, %r13
movq %rdi, %rbx
movq 0xc0(%rsp), %rdx
movb 0xc8(%rsp), %al
movq %rsi, 0x8(%rsp)
leaq 0x80(%rsp), %rcx
movq %rcx, -0x30(%rcx)
movq $0x1, -0x28(%rcx)
xorps %xmm0, %xmm0
movups %... | /duckdb[P]duckdb/src/planner/bind_context.cpp |
duckdb::MinimumUniqueAlias[abi:cxx11](duckdb::BindingAlias const&, duckdb::BindingAlias const&) | string MinimumUniqueAlias(const BindingAlias &alias, const BindingAlias &other) {
if (!StringUtil::CIEquals(alias.GetAlias(), other.GetAlias())) {
return alias.GetAlias();
}
if (!StringUtil::CIEquals(alias.GetSchema(), other.GetSchema())) {
return alias.GetSchema() + "." + alias.GetAlias();
}
return alias.ToSt... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x1079ad0
movq %rax, %r12
movq %r15, %rdi
callq 0x1079ad0
movq %r12, %rdi
movq %rax, %rsi
callq 0x10d2d90
testb %al, %al
je 0x154ced2
leaq 0x20(%r14), %r12
addq $0x20, %r15
movq %r12, %rdi
... | /duckdb[P]duckdb/src/planner/bind_context.cpp |
duckdb::BindContext::CreateColumnReference(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::ba... | unique_ptr<ParsedExpression> BindContext::CreateColumnReference(const string &catalog_name, const string &schema_name,
const string &table_name, const string &column_name,
ColumnBindType bind_... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x178, %rsp # imm = 0x178
movq %r9, %r14
movq %r8, %r12
movq %rcx, %r13
movq %rdx, %rbp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0xf8(%rsp), %rdi
callq 0x10cb170
andq $0x0, 0x20(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
cmpq $0x0, 0x... | /duckdb[P]duckdb/src/planner/bind_context.cpp |
duckdb::BindContext::AddEntryBinding(unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, duckdb::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, true> const&, duckdb::vector<duckdb::LogicalType, true> const&, duckdb::StandardEntry&... | void BindContext::AddEntryBinding(idx_t index, const string &alias, const vector<string> &names,
const vector<LogicalType> &types, StandardEntry &entry) {
AddBinding(make_uniq<EntryBinding>(alias, types, names, index, entry));
} | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %r8, %rax
movq %rdi, %rbx
leaq 0x10(%rsp), %r8
movq %rsi, (%r8)
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rdx, %rsi
movq %rax, %rdx
callq 0xff2490
movq (%r14), %rax
andq $0x0, (%r14)
movq %rsp, %rsi
movq %rax, (%rsi)
addq $0x40, %rbx
movq %rbx, %rdi
callq 0x10afc40
movq (%rs... | /duckdb[P]duckdb/src/planner/bind_context.cpp |
duckdb::PragmaHandler::HandlePragmaStatementsInternal(duckdb::vector<duckdb::unique_ptr<duckdb::SQLStatement, std::default_delete<duckdb::SQLStatement>, true>, true>&) | void PragmaHandler::HandlePragmaStatementsInternal(vector<unique_ptr<SQLStatement>> &statements) {
vector<unique_ptr<SQLStatement>> new_statements;
for (idx_t i = 0; i < statements.size(); i++) {
if (statements[i]->type == StatementType::MULTI_STATEMENT) {
auto &multi_statement = statements[i]->Cast<MultiStateme... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rsi, %rbx
movq %rdi, 0x20(%rsp)
leaq 0x50(%rsp), %r15
andq $0x0, 0x10(%r15)
xorps %xmm0, %xmm0
movaps %xmm0, (%r15)
xorl %r12d, %r12d
leaq 0x88(%rsp), %r13
movq 0x8(%rbx), %rax
subq (%rbx), %rax
sarq $0x3, %rax
cmpq %rax, %r12
jae ... | /duckdb[P]duckdb/src/planner/pragma_handler.cpp |
duckdb::DynamicTableFilterSet::PushFilter(duckdb::PhysicalOperator const&, unsigned long, duckdb::unique_ptr<duckdb::TableFilter, std::default_delete<duckdb::TableFilter>, true>) | void DynamicTableFilterSet::PushFilter(const PhysicalOperator &op, idx_t column_index, unique_ptr<TableFilter> filter) {
lock_guard<mutex> l(lock);
auto entry = filters.find(op);
optional_ptr<TableFilterSet> filter_ptr;
if (entry == filters.end()) {
auto filter_set = make_uniq<TableFilterSet>();
filter_ptr = fi... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
callq 0x10abd70
leaq 0x28(%rbx), %r13
leaq 0x18(%rsp), %rsi
movq %r12, (%rsi)
movq %r13, %rdi
callq 0x10d8710
testq %rax, %rax
je 0x15526d8
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
... | /duckdb[P]duckdb/src/planner/table_filter.cpp |
duckdb::GetTableRefCountsExpr(std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, unsigned long, duckdb::CaseInsensitiveStringHashFunction, duckdb::CaseInsensitiveStringEquality, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocat... | static void GetTableRefCountsExpr(case_insensitive_map_t<idx_t> &cte_ref_counts, ParsedExpression &expr) {
if (expr.GetExpressionType() == ExpressionType::SUBQUERY) {
auto &subquery = expr.Cast<SubqueryExpression>();
GetTableRefCountsNode(cte_ref_counts, *subquery.subquery->node);
} else {
ParsedExpressionItera... | pushq %rbx
subq $0x20, %rsp
movq %rsi, %rax
movq %rdi, %rbx
cmpb $-0x51, 0x8(%rsi)
jne 0x1552d80
movq %rax, %rdi
callq 0x1042a90
leaq 0x38(%rax), %rdi
callq 0x10c80c0
leaq 0x78(%rax), %rdi
callq 0x104f090
movq %rbx, %rdi
movq %rax, %rsi
addq $0x20, %rsp
popq %rbx
jmp 0x154b3f3
movq %rsp, %rsi
andq $0x0, 0x8(%rsi)
movq ... | /duckdb[P]duckdb/src/planner/binder.cpp |
duckdb::BoundOrderModifier& duckdb::BoundResultModifier::Cast<duckdb::BoundOrderModifier>() | TARGET &Cast() {
if (type != TARGET::TYPE) {
throw InternalException("Failed to cast result modifier to type - result modifier type mismatch");
}
return reinterpret_cast<TARGET &>(*this);
} | pushq %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
cmpb $0x2, 0x8(%rdi)
jne 0x15538ba
movq %rdi, %rax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
pushq $0x10
popq %rdi
callq 0x10a7430
movq %rax, %rbx
leaq 0x95abdc(%rip), %rsi # 0x1eae4a8
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1063d80
movb $0x1, %b... | /duckdb[P]duckdb/src/include/duckdb/planner/bound_result_modifier.hpp |
duckdb::BoundStatement duckdb::Binder::BindWithCTE<duckdb::DeleteStatement>(duckdb::DeleteStatement&) | BoundStatement Binder::BindWithCTE(T &statement) {
BoundStatement bound_statement;
auto bound_cte = BindMaterializedCTE(statement.template Cast<T>().cte_map);
if (bound_cte) {
reference<BoundCTENode> tail_ref = *bound_cte;
while (tail_ref.get().child && tail_ref.get().child->type == QueryNodeType::CTE_NODE) {
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rdi)
movups %xmm0, 0x10(%rdi)
movups %xmm0, (%rdi)
andq $0x0, 0x30(%rdi)
movq %rdx, %rdi
callq 0x10f7a10
addq $0xb8, %rax
movq %rsp, %rdi
movq %r14, %... | /duckdb[P]duckdb/src/planner/binder.cpp |
duckdb::PragmaStatement& duckdb::SQLStatement::Cast<duckdb::PragmaStatement>() | TARGET &Cast() {
if (type != TARGET::TYPE && TARGET::TYPE != StatementType::INVALID_STATEMENT) {
throw InternalException("Failed to cast statement to type - statement type mismatch");
}
return reinterpret_cast<TARGET &>(*this);
} | pushq %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
cmpb $0x11, 0x8(%rdi)
jne 0x1554a9e
movq %rdi, %rax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
pushq $0x10
popq %rdi
callq 0x10a7430
movq %rax, %rbx
leaq 0x959b05(%rip), %rsi # 0x1eae5b5
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1063d80
movb $0x1, %... | /duckdb[P]duckdb/src/include/duckdb/parser/sql_statement.hpp |
duckdb::BoundStatement duckdb::Binder::BindWithCTE<duckdb::SetOperationNode>(duckdb::SetOperationNode&) | BoundStatement Binder::BindWithCTE(T &statement) {
BoundStatement bound_statement;
auto bound_cte = BindMaterializedCTE(statement.template Cast<T>().cte_map);
if (bound_cte) {
reference<BoundCTENode> tail_ref = *bound_cte;
while (tail_ref.get().child && tail_ref.get().child->type == QueryNodeType::CTE_NODE) {
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rdi)
movups %xmm0, 0x10(%rdi)
movups %xmm0, (%rdi)
andq $0x0, 0x30(%rdi)
movq %rdx, %rdi
callq 0x10d6cd0
addq $0x28, %rax
movq %rsp, %rdi
movq %r14, %... | /duckdb[P]duckdb/src/planner/binder.cpp |
void duckdb::BinarySerializer::Serialize<duckdb::LogicalOperator>(duckdb::LogicalOperator const&, duckdb::WriteStream&, duckdb::SerializationOptions) | static void Serialize(const T &value, WriteStream &stream, SerializationOptions options = SerializationOptions()) {
BinarySerializer serializer(stream, std::move(options));
serializer.OnObjectBegin();
value.Serialize(serializer);
serializer.OnObjectEnd();
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x570, %rsp # imm = 0x570
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %rdx, %rsi
callq 0x10cda10
leaq 0x40(%rsp), %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x105cd70
leaq 0x10(%rsp), %rdi
callq 0x10c92b0
leaq 0x40(%rsp), %rdi
callq 0x102c0... | /duckdb[P]duckdb/src/include/duckdb/common/serializer/binary_serializer.hpp |
duckdb::vector<duckdb::unique_ptr<duckdb::BoundResultModifier, std::default_delete<duckdb::BoundResultModifier>, true>, true>::AssertIndexInBounds(unsigned long, unsigned long) | static inline void AssertIndexInBounds(idx_t index, idx_t size) {
#if defined(DUCKDB_DEBUG_NO_SAFETY) || defined(DUCKDB_CLANG_TIDY)
return;
#else
if (DUCKDB_UNLIKELY(index >= size)) {
throw InternalException("Attempted to access index %ld within vector of size %ld", index, size);
}
#endif
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
cmpq %rsi, %rdi
jae 0x15587d6
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rsi, %r14
movq %rdi, %r15
pushq $0x10
popq %rdi
callq 0x10a7430
movq %rax, %rbx
leaq 0x9538cb(%rip), %rsi # 0x1eac0b9
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rd... | /duckdb[P]duckdb/src/include/duckdb/common/vector.hpp |
duckdb::BetweenExpression::BetweenExpression(duckdb::unique_ptr<duckdb::ParsedExpression, std::default_delete<duckdb::ParsedExpression>, true>, duckdb::unique_ptr<duckdb::ParsedExpression, std::default_delete<duckdb::ParsedExpression>, true>, duckdb::unique_ptr<duckdb::ParsedExpression, std::default_delete<duckdb::Pars... | BaseExpression(ExpressionType type, ExpressionClass expression_class)
: type(type), expression_class(expression_class) {
} | movw $0x1326, 0x8(%rdi) # imm = 0x1326
leaq 0x20(%rdi), %rax
movq %rax, 0x10(%rdi)
andq $0x0, 0x18(%rdi)
movb $0x0, 0x20(%rdi)
orq $-0x1, 0x30(%rdi)
movq 0x1189f9d(%rip), %rax # 0x26e7c40
addq $0x10, %rax
movq %rax, (%rdi)
movq (%rsi), %rax
movq %rax, 0x38(%rdi)
andq $0x0, (%rsi)
movq (%rdx), %rax
movq %rax, 0x4... | /duckdb[P]duckdb/src/include/duckdb/parser/base_expression.hpp |
duckdb::FunctionExpression::FunctionExpression(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, duckdb::vector<duckdb::uni... | FunctionExpression::FunctionExpression(string catalog, string schema, const string &function_name,
vector<unique_ptr<ParsedExpression>> children_p,
unique_ptr<ParsedExpression> filter, unique_ptr<OrderModifier> order_bys_p,
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, %r13
movq %r8, %rbp
movq %rcx, %r14
movq %rdx, %r12
movq %rdi, %rbx
movw $0x98c, 0x8(%rdi) # imm = 0x98C
leaq 0x20(%rdi), %rax
movq %rax, 0x10(%rdi)
andq $0x0, 0x18(%rdi)
movb $0x0, 0x20(%rdi)
orq $-0x1, 0x30(%rdi)
movq 0... | /duckdb[P]duckdb/src/parser/expression/function_expression.cpp |
duckdb::LambdaExpression::LambdaExpression() | BaseExpression(ExpressionType type, ExpressionClass expression_class)
: type(type), expression_class(expression_class) {
} | movw $0x11e7, 0x8(%rdi) # imm = 0x11E7
leaq 0x20(%rdi), %rax
movq %rax, 0x10(%rdi)
andq $0x0, 0x18(%rdi)
movb $0x0, 0x20(%rdi)
orq $-0x1, 0x30(%rdi)
movq 0x118b27f(%rip), %rax # 0x26eac80
addq $0x10, %rax
movq %rax, (%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x38(%rdi)
andq $0x0, 0x48(%rdi)
retq
nop
| /duckdb[P]duckdb/src/include/duckdb/parser/base_expression.hpp |
duckdb::LambdaRefExpression::LambdaRefExpression(unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | LambdaRefExpression::LambdaRefExpression(idx_t lambda_idx, string column_name_p)
: ParsedExpression(ExpressionType::LAMBDA_REF, ExpressionClass::LAMBDA_REF), lambda_idx(lambda_idx),
column_name(std::move(column_name_p)) {
alias = column_name;
} | pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movw $0x14ce, 0x8(%rdi) # imm = 0x14CE
leaq 0x10(%rdi), %r15
leaq 0x20(%rdi), %rax
movq %rax, 0x10(%rdi)
andq $0x0, 0x18(%rdi)
movb $0x0, 0x20(%rdi)
orq $-0x1, 0x30(%rdi)
movq 0x1182f95(%rip), %rax # 0x26e2e48
addq $0x10, %rax
movq %rax, (%rdi)
movq %rsi, 0x38(%rd... | /duckdb[P]duckdb/src/parser/expression/lambdaref_expression.cpp |
duckdb::ParameterExpression::Copy() const | unique_ptr<ParsedExpression> ParameterExpression::Copy() const {
auto copy = make_uniq<ParameterExpression>();
copy->identifier = identifier;
copy->CopyProperties(*this);
return std::move(copy);
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x10cc4e0
movq %r15, %rdi
callq 0x10997c0
leaq 0x38(%r14), %rsi
addq $0x38, %rax
movq %rax, %rdi
callq 0x1077780
leaq 0x8(%rsp), %rdi
callq 0x10997c0
movq %rax, %rdi
movq %r14, %rsi
callq 0x100c9... | /duckdb[P]duckdb/src/parser/expression/parameter_expression.cpp |
duckdb::PositionalReferenceExpression::PositionalReferenceExpression() | BaseExpression(ExpressionType type, ExpressionClass expression_class)
: type(type), expression_class(expression_class) {
} | movw $0x12e8, 0x8(%rdi) # imm = 0x12E8
leaq 0x20(%rdi), %rax
movq %rax, 0x10(%rdi)
andq $0x0, 0x18(%rdi)
movb $0x0, 0x20(%rdi)
orq $-0x1, 0x30(%rdi)
movq 0x118a829(%rip), %rax # 0x26eace0
addq $0x10, %rax
movq %rax, (%rdi)
retq
nop
| /duckdb[P]duckdb/src/include/duckdb/parser/base_expression.hpp |
duckdb::StarExpression::ToString[abi:cxx11]() const | string StarExpression::ToString() const {
string result;
if (expr) {
D_ASSERT(columns);
result += "COLUMNS(" + expr->ToString() + ")";
return result;
}
if (columns) {
result += "COLUMNS(";
}
result += relation_name.empty() ? "*" : relation_name + ".*";
if (!exclude_list.empty()) {
result += " EXCLUDE (... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
movq %rsi, %r13
movb $0x0, 0x10(%rdi)
cmpq $0x0, 0x100(%rsi)
je 0x1560737
addq $0x100, %r13 # imm = 0x100
movq %r13, %rdi
callq 0x103e3b0
movq (%rax)... | /duckdb[P]duckdb/src/parser/expression/star_expression.cpp |
duckdb::SubqueryExpression::SubqueryExpression() | BaseExpression(ExpressionType type, ExpressionClass expression_class)
: type(type), expression_class(expression_class) {
} | movw $0xdaf, 0x8(%rdi) # imm = 0xDAF
leaq 0x20(%rdi), %rax
movq %rax, 0x10(%rdi)
andq $0x0, 0x18(%rdi)
xorl %eax, %eax
movb %al, 0x20(%rdi)
orq $-0x1, 0x30(%rdi)
movq 0x118aee4(%rip), %rcx # 0x26ec098
addq $0x10, %rcx
movq %rcx, (%rdi)
andq $0x0, 0x38(%rdi)
movb %al, 0x40(%rdi)
andq $0x0, 0x48(%rdi)
movb %al, 0... | /duckdb[P]duckdb/src/include/duckdb/parser/base_expression.hpp |
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> duckdb::CastExpression::ToString<duckdb::CastExpression, duckdb::ParsedExpression>(duckdb::CastExpression const&) | static string ToString(const T &entry) {
return (entry.try_cast ? "TRY_CAST(" : "CAST(") + entry.child->ToString() + " AS " +
entry.cast_type.ToString() + ")";
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x9a7717(%rip), %rax # 0x1f09f8c
cmpb $0x0, 0x58(%rsi)
leaq 0x9a7710(%rip), %r15 # 0x1f09f90
cmovneq %rax, %r15
leaq 0x38(%rsi), %rdi
callq 0x103e3b0
movq (%rax), %rcx
leaq 0x88(%rsp), %r12
movq %r12, %rdi
movq %rax,... | /duckdb[P]duckdb/src/include/duckdb/parser/expression/cast_expression.hpp |
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> duckdb::WindowExpression::ToString<duckdb::WindowExpression, duckdb::ParsedExpression, duckdb::OrderByNode>(duckdb::WindowExpression const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11:... | static string ToString(const T &entry, const string &schema, const string &function_name) {
// Start with function call
string result = schema.empty() ? function_name : schema + "." + function_name;
result += "(";
if (entry.children.size()) {
// Only one DISTINCT is allowed (on the first argument)
int dis... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rcx, %r15
movq %rsi, %r14
movq %rdi, %rbx
cmpq $0x0, 0x8(%rdx)
je 0x1564c05
leaq 0xb15d23(%rip), %rax # 0x207a8fb
leaq 0x28(%rsp), %r12
movq %r12, %rdi
movq %rdx, %rsi
movq %rax, %rdx
callq 0x106acc0
movq %rbx, %rdi
movq %r12, %... | /duckdb[P]duckdb/src/include/duckdb/parser/expression/window_expression.hpp |
duckdb::unique_ptr<duckdb::DefaultExpression, std::default_delete<duckdb::DefaultExpression>, true>::AssertNotNull(bool) | static inline void AssertNotNull(const bool null) {
#if defined(DUCKDB_DEBUG_NO_SAFETY) || defined(DUCKDB_CLANG_TIDY)
return;
#else
if (DUCKDB_UNLIKELY(null)) {
throw duckdb::InternalException("Attempted to dereference unique_ptr that is NULL!");
}
#endif
} | pushq %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
testl %edi, %edi
jne 0x1566471
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
pushq $0x10
popq %rdi
callq 0x10a7430
movq %rax, %rbx
leaq 0x946e84(%rip), %rsi # 0x1ead307
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1063d80
movb $0x1, %bpl
leaq 0x10(%rsp), ... | /duckdb[P]duckdb/src/include/duckdb/common/unique_ptr.hpp |
Subsets and Splits
SQL Console for LLM4Binary/decompile-bench
Filters out entries with file names ending in .cpp, providing a basic subset of the dataset that excludes C++ files.