OmniSciDB
a5dc49c757
|
#include "ResultSetReductionInterpreterStubs.h"
#include "CodeGenerator.h"
#include "ResultSetReductionCodegen.h"
#include "QueryEngine/QueryEngine.h"
#include "Shared/funcannotations.h"
Go to the source code of this file.
Namespaces | |
anonymous_namespace{ResultSetReductionInterpreterStubs.cpp} | |
Functions | |
llvm::Function * | anonymous_namespace{ResultSetReductionInterpreterStubs.cpp}::create_stub_function (const std::string &name, CgenState *cgen_state) |
std::string | anonymous_namespace{ResultSetReductionInterpreterStubs.cpp}::get_stub_read_argument_name (const Type arg_type) |
bool | is_integer_type (const Type type) |
bool | is_pointer_type (const Type type) |
RUNTIME_EXPORT int64_t | read_stub_arg_int (const void *inputs_handle, const int32_t i) |
RUNTIME_EXPORT float | read_stub_arg_float (const void *inputs_handle, const int32_t i) |
RUNTIME_EXPORT double | read_stub_arg_double (const void *inputs_handle, const int32_t i) |
RUNTIME_EXPORT const void * | read_stub_arg_pvoid (const void *inputs_handle, const int32_t i) |
RUNTIME_EXPORT const int8_t * | read_stub_arg_pi8 (const void *inputs_handle, const int32_t i) |
RUNTIME_EXPORT const int32_t * | read_stub_arg_pi32 (const void *inputs_handle, const int32_t i) |
RUNTIME_EXPORT const int32_t * | read_stub_arg_pi64 (const void *inputs_handle, const int32_t i) |
RUNTIME_EXPORT const int64_t *const * | read_stub_arg_ppi64 (const void *inputs_handle, const int32_t i) |
RUNTIME_EXPORT void | write_stub_result_int (void *output_handle, const int64_t int_val) |
bool is_integer_type | ( | const Type | type | ) |
Definition at line 87 of file ResultSetReductionInterpreterStubs.cpp.
References Int1, Int32, Int64, and Int8.
Referenced by StubGenerator::generateStub(), ReductionInterpreterImpl::runAlloca(), ReductionInterpreterImpl::runBinaryOperator(), ReductionInterpreterImpl::runCast(), ReductionInterpreterImpl::runFor(), ReductionInterpreterImpl::runICmp(), and ReductionInterpreterImpl::runMemCpy().
bool is_pointer_type | ( | const Type | type | ) |
Definition at line 101 of file ResultSetReductionInterpreterStubs.cpp.
References DoublePtr, FloatPtr, Int32Ptr, Int64Ptr, Int64PtrPtr, Int8Ptr, and VoidPtr.
Referenced by StubGenerator::generateStub(), ReductionInterpreterImpl::runCast(), ReductionInterpreterImpl::runLoad(), and ReductionInterpreterImpl::runMemCpy().
RUNTIME_EXPORT double read_stub_arg_double | ( | const void * | inputs_handle, |
const int32_t | i | ||
) |
Definition at line 135 of file ResultSetReductionInterpreterStubs.cpp.
References CHECK_LT.
RUNTIME_EXPORT float read_stub_arg_float | ( | const void * | inputs_handle, |
const int32_t | i | ||
) |
Definition at line 128 of file ResultSetReductionInterpreterStubs.cpp.
References CHECK_LT.
RUNTIME_EXPORT int64_t read_stub_arg_int | ( | const void * | inputs_handle, |
const int32_t | i | ||
) |
Definition at line 121 of file ResultSetReductionInterpreterStubs.cpp.
References CHECK_LT.
RUNTIME_EXPORT const int32_t* read_stub_arg_pi32 | ( | const void * | inputs_handle, |
const int32_t | i | ||
) |
Definition at line 154 of file ResultSetReductionInterpreterStubs.cpp.
References read_stub_arg_pvoid().
RUNTIME_EXPORT const int32_t* read_stub_arg_pi64 | ( | const void * | inputs_handle, |
const int32_t | i | ||
) |
Definition at line 159 of file ResultSetReductionInterpreterStubs.cpp.
References read_stub_arg_pvoid().
RUNTIME_EXPORT const int8_t* read_stub_arg_pi8 | ( | const void * | inputs_handle, |
const int32_t | i | ||
) |
Definition at line 149 of file ResultSetReductionInterpreterStubs.cpp.
References read_stub_arg_pvoid().
RUNTIME_EXPORT const int64_t* const* read_stub_arg_ppi64 | ( | const void * | inputs_handle, |
const int32_t | i | ||
) |
Definition at line 164 of file ResultSetReductionInterpreterStubs.cpp.
References read_stub_arg_pvoid().
RUNTIME_EXPORT const void* read_stub_arg_pvoid | ( | const void * | inputs_handle, |
const int32_t | i | ||
) |
Definition at line 142 of file ResultSetReductionInterpreterStubs.cpp.
References CHECK_LT.
Referenced by read_stub_arg_pi32(), read_stub_arg_pi64(), read_stub_arg_pi8(), and read_stub_arg_ppi64().
RUNTIME_EXPORT void write_stub_result_int | ( | void * | output_handle, |
const int64_t | int_val | ||
) |
Definition at line 172 of file ResultSetReductionInterpreterStubs.cpp.
References ReductionInterpreter::EvalValue::int_val.