OmniSciDB  b28c0d5765
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TableFunctionCompilationContext.cpp File Reference
#include "QueryEngine/TableFunctions/TableFunctionCompilationContext.h"
#include <llvm/IR/InstIterator.h>
#include <llvm/IR/Verifier.h>
#include <llvm/Support/raw_os_ostream.h>
#include <llvm/Transforms/Utils/BasicBlockUtils.h>
#include <algorithm>
#include <boost/algorithm/string.hpp>
#include "QueryEngine/CodeGenerator.h"
#include "QueryEngine/QueryEngine.h"
+ Include dependency graph for TableFunctionCompilationContext.cpp:

Go to the source code of this file.

Namespaces

 anonymous_namespace{TableFunctionCompilationContext.cpp}
 

Functions

llvm::Function * anonymous_namespace{TableFunctionCompilationContext.cpp}::generate_entry_point (const CgenState *cgen_state)
 
llvm::Typeanonymous_namespace{TableFunctionCompilationContext.cpp}::get_llvm_type_from_sql_column_type (const SQLTypeInfo elem_ti, llvm::LLVMContext &ctx)
 
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)
 
void anonymous_namespace{TableFunctionCompilationContext.cpp}::initialize_int64_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 * > 
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)
 
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)
 
static bool anonymous_namespace{TableFunctionCompilationContext.cpp}::columnTypeRequiresCasting (const SQLTypeInfo &ti)
 
llvm::Value * anonymous_namespace{TableFunctionCompilationContext.cpp}::cast_value (llvm::Value *value, SQLTypeInfo &orig_ti, SQLTypeInfo &dest_ti, bool nullable, CodeGenerator &codeGenerator)
 
void anonymous_namespace{TableFunctionCompilationContext.cpp}::cast_column (llvm::Value *col_base_ptr, llvm::Function *func, SQLTypeInfo &orig_ti, SQLTypeInfo &dest_ti, std::string index, llvm::IRBuilder<> &ir_builder, llvm::LLVMContext &ctx, CodeGenerator &codeGenerator)
 
std::string anonymous_namespace{TableFunctionCompilationContext.cpp}::exprsKey (const std::vector< Analyzer::Expr * > &exprs)