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

Method GetOffsetsReference

cpp/src/gandiva/llvm_generator.cc:214–219  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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