OmniSciDB  a5dc49c757
 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)
 
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 232 of file ExtensionsIR.cpp.

233  {
234  Executor* exec_ptr = reinterpret_cast<Executor*>(exec);
235  if (buffer != nullptr) {
236  exec_ptr->getRowSetMemoryOwner()->addVarlenBuffer(buffer);
237  }
238 }

Variable Documentation

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