MCPcopy Create free account
hub / github.com/apache/arrow / GetValidityReference

Method GetValidityReference

cpp/src/gandiva/llvm_generator.cc:182–187  ·  view source on GitHub ↗

Get reference to validity array at specified index in the args list.

Source from the content-addressed store, hash-verified

180
181/// Get reference to validity array at specified index in the args list.
182llvm::Value* LLVMGenerator::GetValidityReference(llvm::Value* arg_addrs, int idx,
183 FieldPtr field) {
184 const std::string& name = field->name();
185 llvm::Value* load = LoadVectorAtIndex(arg_addrs, types()->i64_type(), idx, name);
186 return ir_builder()->CreateIntToPtr(load, types()->i64_ptr_type(), name + "_varray");
187}
188
189/// Get reference to data array at specified index in the args list.
190llvm::Value* LLVMGenerator::GetDataBufferPtrReference(llvm::Value* arg_addrs, int idx,

Callers 1

GetBufferReferenceMethod · 0.80

Calls 3

typesFunction · 0.70
ir_builderFunction · 0.70
nameMethod · 0.45

Tested by

no test coverage detected