OmniSciDB  6686921089
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ExtensionsIR.cpp File Reference
#include "CodeGenerator.h"
#include "Execute.h"
#include "ExtensionFunctions.hpp"
#include "ExtensionFunctionsBinding.h"
#include "ExtensionFunctionsWhitelist.h"
#include <tuple>
+ Include dependency graph for ExtensionsIR.cpp:

Go to the source code of this file.

Namespaces

 anonymous_namespace{ExtensionsIR.cpp}
 

Functions

llvm::StructType * anonymous_namespace{ExtensionsIR.cpp}::get_buffer_struct_type (CgenState *cgen_state, const std::string &ext_func_name, size_t param_num, llvm::Type *elem_type, bool has_is_null)
 
llvm::Typeanonymous_namespace{ExtensionsIR.cpp}::ext_arg_type_to_llvm_type (const ExtArgumentType ext_arg_type, llvm::LLVMContext &ctx)
 
SQLTypeInfo anonymous_namespace{ExtensionsIR.cpp}::get_sql_type_from_llvm_type (const llvm::Type *ll_type)
 
llvm::Typeanonymous_namespace{ExtensionsIR.cpp}::get_llvm_type_from_sql_array_type (const SQLTypeInfo ti, llvm::LLVMContext &ctx)
 
bool anonymous_namespace{ExtensionsIR.cpp}::ext_func_call_requires_nullcheck (const Analyzer::FunctionOper *function_oper)
 
RUNTIME_EXPORT void register_buffer_with_executor_rsm (int64_t exec, int8_t *buffer)
 
bool anonymous_namespace{ExtensionsIR.cpp}::call_requires_custom_type_handling (const Analyzer::FunctionOper *function_oper)
 

Variables

std::unique_ptr< llvm::Module > udf_gpu_module
 
std::unique_ptr< llvm::Module > udf_cpu_module
 

Function Documentation

RUNTIME_EXPORT void register_buffer_with_executor_rsm ( int64_t  exec,
int8_t *  buffer 
)

Definition at line 227 of file ExtensionsIR.cpp.

228  {
229  Executor* exec_ptr = reinterpret_cast<Executor*>(exec);
230  if (buffer != nullptr) {
231  exec_ptr->getRowSetMemoryOwner()->addVarlenBuffer(buffer);
232  }
233 }

Variable Documentation

std::unique_ptr<llvm::Module> udf_cpu_module

Definition at line 79 of file NativeCodegen.cpp.

std::unique_ptr<llvm::Module> udf_gpu_module

Definition at line 78 of file NativeCodegen.cpp.