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

Method GetLen

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

Source from the content-addressed store, hash-verified

514}
515
516llvm::Value* CodegenAnyVal::GetLen() {
517 // Get the high bytes of the first value.
518 DCHECK(type_.IsStringType() || type_.IsCollectionType() || type_.IsStructType());
519 llvm::Value* v = builder_->CreateExtractValue(value_, 0);
520 return GetHighBits(32, v);
521}
522
523void CodegenAnyVal::SetPtr(llvm::Value* ptr) {
524 // Set the second pointer value to 'ptr'.

Callers 2

Calls 3

IsStringTypeMethod · 0.80
IsCollectionTypeMethod · 0.80
IsStructTypeMethod · 0.80

Tested by

no test coverage detected