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

Method GetNonNullVal

be/src/codegen/codegen-anyval.cc:845–851  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

843}
844
845CodegenAnyVal CodegenAnyVal::GetNonNullVal(LlvmCodeGen* codegen, LlvmBuilder* builder,
846 const ColumnType& type, const char* name) {
847 llvm::Type* val_type = GetLoweredType(codegen, type);
848 // All zeros => 'is_null' = false
849 llvm::Value* value = llvm::Constant::getNullValue(val_type);
850 return CodegenAnyVal(codegen, builder, type, value, name);
851}
852
853// Returns the last block generated so we can set it as a predecessor in PHI nodes.
854llvm::BasicBlock* CodegenAnyVal::CreateStructValFromReadWriteInfo(

Callers

nothing calls this directly

Calls 1

CodegenAnyValClass · 0.70

Tested by

no test coverage detected