Get reference to data array at specified index in the args list.
| 187 | |
| 188 | /// Get reference to data array at specified index in the args list. |
| 189 | llvm::Value* LLVMGenerator::GetDataBufferPtrReference(llvm::Value* arg_addrs, int idx, |
| 190 | FieldPtr field) { |
| 191 | const std::string& name = field->name(); |
| 192 | llvm::Value* load = LoadVectorAtIndex(arg_addrs, types()->i64_type(), idx, name); |
| 193 | return ir_builder()->CreateIntToPtr(load, types()->i8_ptr_type(), name + "_buf_ptr"); |
| 194 | } |
| 195 | |
| 196 | /// Get reference to data array at specified index in the args list. |
| 197 | llvm::Value* LLVMGenerator::GetDataReference(llvm::Value* arg_addrs, int idx, |
nothing calls this directly
no test coverage detected