OmniSciDB
a5dc49c757
|
Functions | |
llvm::Function * | generate_entry_point (const CgenState *cgen_state) |
llvm::Type * | get_llvm_type_from_sql_column_type (const SQLTypeInfo elem_ti, llvm::LLVMContext &ctx) |
void | initialize_ptr_member (llvm::Value *member_ptr, llvm::Type *member_llvm_type, llvm::Value *value_ptr, llvm::IRBuilder<> &ir_builder) |
template<typename T > | |
void | initialize_int_member (llvm::Value *member_ptr, llvm::Value *value, int64_t default_value, llvm::LLVMContext &ctx, llvm::IRBuilder<> &ir_builder) |
std::tuple< llvm::Value *, llvm::Value * > | alloc_column (std::string col_name, const size_t index, const SQLTypeInfo &data_target_info, llvm::Value *data_ptr, llvm::Value *data_size, llvm::Value *data_str_dict_proxy_ptr, llvm::LLVMContext &ctx, llvm::IRBuilder<> &ir_builder) |
llvm::Value * | alloc_column_list (std::string col_list_name, const SQLTypeInfo &data_target_info, llvm::Value *data_ptrs, int length, llvm::Value *data_size, llvm::Value *data_str_dict_proxy_ptrs, llvm::LLVMContext &ctx, llvm::IRBuilder<> &ir_builder) |
llvm::Value * | alloc_array (std::string arr_name, const size_t index, const SQLTypeInfo &data_target_info, llvm::Value *data_ptr, llvm::Value *data_size, llvm::Value *data_is_null, llvm::LLVMContext &ctx, llvm::IRBuilder<> &ir_builder) |
std::string | exprsKey (const std::vector< Analyzer::Expr * > &exprs) |
llvm::Value* anonymous_namespace{TableFunctionCompilationContext.cpp}::alloc_array | ( | std::string | arr_name, |
const size_t | index, | ||
const SQLTypeInfo & | data_target_info, | ||
llvm::Value * | data_ptr, | ||
llvm::Value * | data_size, | ||
llvm::Value * | data_is_null, | ||
llvm::LLVMContext & | ctx, | ||
llvm::IRBuilder<> & | ir_builder | ||
) |
Definition at line 275 of file TableFunctionCompilationContext.cpp.
References SQLTypeInfo::get_elem_type(), get_llvm_type_from_sql_column_type(), and initialize_ptr_member().
Referenced by TableFunctionCompilationContext::generateEntryPoint().
std::tuple<llvm::Value*, llvm::Value*> anonymous_namespace{TableFunctionCompilationContext.cpp}::alloc_column | ( | std::string | col_name, |
const size_t | index, | ||
const SQLTypeInfo & | data_target_info, | ||
llvm::Value * | data_ptr, | ||
llvm::Value * | data_size, | ||
llvm::Value * | data_str_dict_proxy_ptr, | ||
llvm::LLVMContext & | ctx, | ||
llvm::IRBuilder<> & | ir_builder | ||
) |
Definition at line 129 of file TableFunctionCompilationContext.cpp.
References SQLTypeInfo::get_compression(), get_llvm_type_from_sql_column_type(), initialize_ptr_member(), SQLTypeInfo::is_string(), and kENCODING_DICT.
Referenced by TableFunctionCompilationContext::generateEntryPoint().
llvm::Value* anonymous_namespace{TableFunctionCompilationContext.cpp}::alloc_column_list | ( | std::string | col_list_name, |
const SQLTypeInfo & | data_target_info, | ||
llvm::Value * | data_ptrs, | ||
int | length, | ||
llvm::Value * | data_size, | ||
llvm::Value * | data_str_dict_proxy_ptrs, | ||
llvm::LLVMContext & | ctx, | ||
llvm::IRBuilder<> & | ir_builder | ||
) |
Definition at line 200 of file TableFunctionCompilationContext.cpp.
References CHECK, SQLTypeInfo::get_compression(), initialize_ptr_member(), SQLTypeInfo::is_string(), and kENCODING_DICT.
Referenced by TableFunctionCompilationContext::generateEntryPoint().
std::string anonymous_namespace{TableFunctionCompilationContext.cpp}::exprsKey | ( | const std::vector< Analyzer::Expr * > & | exprs | ) |
Definition at line 320 of file TableFunctionCompilationContext.cpp.
References run_benchmark_import::result.
Referenced by TableFunctionCompilationContext::compile().
llvm::Function* anonymous_namespace{TableFunctionCompilationContext.cpp}::generate_entry_point | ( | const CgenState * | cgen_state | ) |
Definition at line 31 of file TableFunctionCompilationContext.cpp.
References CgenState::context_, get_int_type(), and CgenState::module_.
Referenced by TableFunctionCompilationContext::compile().
|
inline |
Definition at line 66 of file TableFunctionCompilationContext.cpp.
References CHECK, logger::FATAL, SQLTypeInfo::get_compression(), get_fp_ptr_type(), get_int_ptr_type(), SQLTypeInfo::get_size(), SQLTypeInfo::is_boolean(), SQLTypeInfo::is_fp(), SQLTypeInfo::is_integer(), SQLTypeInfo::is_string(), SQLTypeInfo::is_text_encoding_none(), SQLTypeInfo::is_timestamp(), kENCODING_DICT, LOG, toString(), and SQLTypeInfo::usesFlatBuffer().
Referenced by alloc_array(), and alloc_column().
void anonymous_namespace{TableFunctionCompilationContext.cpp}::initialize_int_member | ( | llvm::Value * | member_ptr, |
llvm::Value * | value, | ||
int64_t | default_value, | ||
llvm::LLVMContext & | ctx, | ||
llvm::IRBuilder<> & | ir_builder | ||
) |
Definition at line 107 of file TableFunctionCompilationContext.cpp.
References CHECK, and heavydb.dtypes::T.
void anonymous_namespace{TableFunctionCompilationContext.cpp}::initialize_ptr_member | ( | llvm::Value * | member_ptr, |
llvm::Type * | member_llvm_type, | ||
llvm::Value * | value_ptr, | ||
llvm::IRBuilder<> & | ir_builder | ||
) |
Definition at line 90 of file TableFunctionCompilationContext.cpp.
Referenced by alloc_array(), alloc_column(), and alloc_column_list().