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

Method GetOffsetsReference

cpp/src/gandiva/llvm_generator.cc:213–218  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

211
212/// Get reference to offsets array at specified index in the args list.
213llvm::Value* LLVMGenerator::GetOffsetsReference(llvm::Value* arg_addrs, int idx,
214 FieldPtr field) {
215 const std::string& name = field->name();
216 llvm::Value* load = LoadVectorAtIndex(arg_addrs, types()->i64_type(), idx, name);
217 return ir_builder()->CreateIntToPtr(load, types()->i32_ptr_type(), name + "_oarray");
218}
219
220/// Get reference to local bitmap array at specified index in the args list.
221llvm::Value* LLVMGenerator::GetLocalBitMapReference(llvm::Value* arg_bitmaps, 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