OmniSciDB
a5dc49c757
|
Functions | |
void | verify_function_ir (const llvm::Function *func) |
llvm::Value * | emit_external_call (const std::string &fname, llvm::Type *ret_type, const std::vector< llvm::Value * > args, llvm::Module *llvm_module, llvm::IRBuilder<> &builder) |
llvm::Function * | create_loop_test_function (llvm::LLVMContext &context, llvm::Module *llvm_module, const std::vector< JoinLoop > &join_loops) |
std::unique_ptr< llvm::Module > | create_loop_test_module () |
std::pair< void *, std::unique_ptr < llvm::ExecutionEngine > > | native_codegen (std::unique_ptr< llvm::Module > &llvm_module, llvm::Function *func) |
std::vector< JoinLoop > | generate_descriptors (const unsigned mask, const unsigned cond_mask, const std::vector< int64_t > &upper_bounds) |
Variables | |
llvm::LLVMContext | g_global_context |
llvm::Function* anonymous_namespace{JoinLoopTest.cpp}::create_loop_test_function | ( | llvm::LLVMContext & | context, |
llvm::Module * | llvm_module, | ||
const std::vector< JoinLoop > & | join_loops | ||
) |
Definition at line 73 of file JoinLoopTest.cpp.
References run_benchmark_import::args, JoinLoop::codegen(), emit_external_call(), and verify_function_ir().
Referenced by main().
std::unique_ptr<llvm::Module> anonymous_namespace{JoinLoopTest.cpp}::create_loop_test_module | ( | ) |
Definition at line 109 of file JoinLoopTest.cpp.
References anonymous_namespace{LLVMGlobalContext.cpp}::g_global_context.
Referenced by main().
llvm::Value* anonymous_namespace{JoinLoopTest.cpp}::emit_external_call | ( | const std::string & | fname, |
llvm::Type * | ret_type, | ||
const std::vector< llvm::Value * > | args, | ||
llvm::Module * | llvm_module, | ||
llvm::IRBuilder<> & | builder | ||
) |
Definition at line 55 of file JoinLoopTest.cpp.
References CHECK, CHECK_EQ, and run_benchmark_import::result.
Referenced by create_loop_test_function().
std::vector<JoinLoop> anonymous_namespace{JoinLoopTest.cpp}::generate_descriptors | ( | const unsigned | mask, |
const unsigned | cond_mask, | ||
const std::vector< int64_t > & | upper_bounds | ||
) |
Definition at line 142 of file JoinLoopTest.cpp.
References CHECK, CHECK_EQ, anonymous_namespace{LLVMGlobalContext.cpp}::g_global_context, INNER, ll_int(), Singleton, JoinLoopDomain::slot_lookup_result, to_string(), JoinLoopDomain::upper_bound, gpu_enabled::upper_bound(), and UpperBound.
Referenced by main().
std::pair<void*, std::unique_ptr<llvm::ExecutionEngine> > anonymous_namespace{JoinLoopTest.cpp}::native_codegen | ( | std::unique_ptr< llvm::Module > & | llvm_module, |
llvm::Function * | func | ||
) |
Definition at line 113 of file JoinLoopTest.cpp.
References CHECK.
Referenced by main().
void anonymous_namespace{JoinLoopTest.cpp}::verify_function_ir | ( | const llvm::Function * | func | ) |
Definition at line 46 of file JoinLoopTest.cpp.
References logger::FATAL, and LOG.
llvm::LLVMContext anonymous_namespace{JoinLoopTest.cpp}::g_global_context |
Definition at line 44 of file JoinLoopTest.cpp.