23 #include <string_view>
25 #include <llvm/IR/IRBuilder.h>
27 namespace CodegenUtil {
36 llvm::ConstantInt* ptr,
38 size_t num_devices_to_hoist_literal);
43 size_t num_devices_to_hoist_literal);
std::optional< std::string_view > getCalledFunctionName(llvm::CallInst &call_inst)
std::vector< llvm::Value * > hoistLiteral(CodeGenerator *code_generator, CompilationOptions const &co, Datum d, SQLTypeInfo type, size_t num_devices_to_hoist_literal)
llvm::Function * findCalledFunction(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)