OmniSciDB
a5dc49c757
|
Functions | |
llvm::Function * | findCalledFunction (llvm::CallInst &call_inst) |
std::optional< std::string_view > | getCalledFunctionName (llvm::CallInst &call_inst) |
std::vector< llvm::Value * > | createPtrWithHoistedMemoryAddr (CgenState *cgen_state, CodeGenerator *code_generator, CompilationOptions const &co, llvm::ConstantInt *ptr_int_val, llvm::Type *type, size_t num_devices_to_hoist_literal) |
std::vector< llvm::Value * > | hoistLiteral (CodeGenerator *code_generator, CompilationOptions const &co, Datum d, SQLTypeInfo type, size_t num_devices_to_hoist_literal) |
std::vector< llvm::Value * > CodegenUtil::createPtrWithHoistedMemoryAddr | ( | CgenState * | cgen_state, |
CodeGenerator * | code_generator, | ||
CompilationOptions const & | co, | ||
llvm::ConstantInt * | ptr_int_val, | ||
llvm::Type * | type, | ||
size_t | num_devices_to_hoist_literal | ||
) |
Definition at line 49 of file CodegenHelper.cpp.
References Datum::bigintval, CodeGenerator::codegenHoistedConstants(), CompilationOptions::hoist_literals, CgenState::ir_builder_, kBIGINT, and kENCODING_NONE.
Referenced by Executor::aggregateWindowStatePtr(), Executor::codegenAggregateWindowState(), Executor::codegenCurrentPartitionIndex(), CodeGenerator::codegenFixedLengthColVarInWindow(), Executor::codegenFrameNullRange(), Executor::codegenLoadOrderKeyBufPtr(), Executor::codegenLoadPartitionBuffers(), Executor::codegenWindowAvgEpilogue(), Executor::codegenWindowFunctionAggregate(), Executor::codegenWindowFunctionAggregateCalls(), Executor::codegenWindowNavigationFunctionOnFrame(), and Executor::codegenWindowResetStateControlFlow().
llvm::Function * CodegenUtil::findCalledFunction | ( | llvm::CallInst & | call_inst | ) |
Definition at line 21 of file CodegenHelper.cpp.
Referenced by getCalledFunctionName(), and CgenState::replaceFunctionForGpu().
std::optional< std::string_view > CodegenUtil::getCalledFunctionName | ( | llvm::CallInst & | call_inst | ) |
Definition at line 34 of file CodegenHelper.cpp.
References findCalledFunction().
Referenced by GpuSharedMemCodeBuilder::codegenReduction(), CgenState::gpuFunctionsToReplace(), and anonymous_namespace{GpuSharedMemoryUtils.cpp}::replace_called_function_with().
std::vector< llvm::Value * > CodegenUtil::hoistLiteral | ( | CodeGenerator * | code_generator, |
CompilationOptions const & | co, | ||
Datum | d, | ||
SQLTypeInfo | type, | ||
size_t | num_devices_to_hoist_literal | ||
) |
Definition at line 76 of file CodegenHelper.cpp.
References CHECK, CodeGenerator::codegenHoistedConstants(), CompilationOptions::hoist_literals, SQLTypeInfo::is_boolean(), SQLTypeInfo::is_decimal(), SQLTypeInfo::is_fp(), SQLTypeInfo::is_integer(), kENCODING_NONE, and run_benchmark_import::type.
Referenced by InValuesBitmap::prepareBitIsSetParams().