MCPcopy Create free account
hub / github.com/apache/impala / CodegenGetFnCtx

Method CodegenGetFnCtx

be/src/codegen/codegen-anyval-read-write-info.cc:144–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144llvm::Value* CodegenAnyValReadWriteInfo::CodegenGetFnCtx() const {
145 llvm::Function* const get_func_ctx_fn =
146 codegen_->GetFunction(IRFunction::GET_FUNCTION_CTX, false);
147 return builder_->CreateCall(get_func_ctx_fn,
148 {eval_, codegen_->GetI32Constant(fn_ctx_idx_)}, "fn_ctx");
149}
150
151llvm::PHINode* CodegenAnyValReadWriteInfo::CodegenNullPhiNode(
152 llvm::Value* non_null_value, llvm::Value* null_value, const std::string& name) {

Callers 1

Calls 3

CreateCallMethod · 0.80
GetI32ConstantMethod · 0.80
GetFunctionMethod · 0.45

Tested by

no test coverage detected