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

Method GetValidityReference

cpp/src/gandiva/llvm_generator.cc:181–186  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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