OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ExtensionsIR.cpp File Reference
+ Include dependency graph for ExtensionsIR.cpp:

Go to the source code of this file.

Namespaces

 anonymous_namespace{ExtensionsIR.cpp}
 

Functions

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)
 
bool anonymous_namespace{ExtensionsIR.cpp}::ext_func_call_requires_nullcheck (const Analyzer::FunctionOper *function_oper)
 
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

void register_buffer_with_executor_rsm ( int64_t  exec,
int8_t *  buffer 
)

Definition at line 102 of file ExtensionsIR.cpp.

102  {
103  Executor* exec_ptr = reinterpret_cast<Executor*>(exec);
104  if (buffer != nullptr) {
105  exec_ptr->getRowSetMemoryOwner()->addVarlenBuffer(buffer);
106  }
107 }

Variable Documentation

std::unique_ptr<llvm::Module> udf_cpu_module

Definition at line 67 of file NativeCodegen.cpp.

std::unique_ptr<llvm::Module> udf_gpu_module

Definition at line 27 of file NativeCodegen.cpp.