Home
last modified time | relevance | path

Searched refs:LLVMBuildGEP (Results 1 – 25 of 36) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_struct.c57 member_ptr = LLVMBuildGEP(gallivm->builder, ptr, indices, Elements(indices), ""); in lp_build_struct_get_ptr()
91 element_ptr = LLVMBuildGEP(gallivm->builder, ptr, indices, Elements(indices), ""); in lp_build_array_get_ptr()
140 element_ptr = LLVMBuildGEP(builder, ptr, &index, 1, ""); in lp_build_pointer_get()
158 element_ptr = LLVMBuildGEP(builder, ptr, &index, 1, ""); in lp_build_pointer_get_unaligned()
175 element_ptr = LLVMBuildGEP(builder, ptr, &index, 1, ""); in lp_build_pointer_set()
189 element_ptr = LLVMBuildGEP(builder, ptr, &index, 1, ""); in lp_build_pointer_set_unaligned()
Dlp_bld_format_aos_array.c75 ptr = LLVMBuildGEP(builder, base_ptr, &offset, 1, ""); in lp_build_fetch_rgba_aos_array()
Dlp_bld_gather.c62 ptr = LLVMBuildGEP(gallivm->builder, base_ptr, &offset, 1, ""); in lp_build_gather_elem_ptr()
Dlp_bld_tgsi_soa.c395 return LLVMBuildGEP(builder, bld->temps_array, &lindex, 1, ""); in lp_get_temp_ptr_soa()
418 return LLVMBuildGEP(builder, bld->outputs_array, &lindex, 1, ""); in lp_get_output_ptr()
446 LLVMValueRef scalar_ptr = LLVMBuildGEP(builder, base_ptr, in build_gather()
488 LLVMValueRef scalar_ptr = LLVMBuildGEP(builder, base_ptr, &index, 1, "scatter_ptr"); in emit_mask_scatter()
620 scalar_ptr = LLVMBuildGEP(builder, bld->consts_ptr, in emit_fetch_constant()
700 LLVMValueRef input_ptr = LLVMBuildGEP(builder, in emit_fetch_input()
2018 LLVMBuildGEP(gallivm->builder, bld->inputs_array, in emit_prologue()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
Dlp_bld_struct.c57 member_ptr = LLVMBuildGEP(gallivm->builder, ptr, indices, Elements(indices), ""); in lp_build_struct_get_ptr()
91 element_ptr = LLVMBuildGEP(gallivm->builder, ptr, indices, Elements(indices), ""); in lp_build_array_get_ptr()
140 element_ptr = LLVMBuildGEP(builder, ptr, &index, 1, ""); in lp_build_pointer_get()
158 element_ptr = LLVMBuildGEP(builder, ptr, &index, 1, ""); in lp_build_pointer_get_unaligned()
175 element_ptr = LLVMBuildGEP(builder, ptr, &index, 1, ""); in lp_build_pointer_set()
189 element_ptr = LLVMBuildGEP(builder, ptr, &index, 1, ""); in lp_build_pointer_set_unaligned()
Dlp_bld_format_aos_array.c75 ptr = LLVMBuildGEP(builder, base_ptr, &offset, 1, ""); in lp_build_fetch_rgba_aos_array()
Dlp_bld_gather.c62 ptr = LLVMBuildGEP(gallivm->builder, base_ptr, &offset, 1, ""); in lp_build_gather_elem_ptr()
Dlp_bld_tgsi_soa.c395 return LLVMBuildGEP(builder, bld->temps_array, &lindex, 1, ""); in lp_get_temp_ptr_soa()
418 return LLVMBuildGEP(builder, bld->outputs_array, &lindex, 1, ""); in lp_get_output_ptr()
446 LLVMValueRef scalar_ptr = LLVMBuildGEP(builder, base_ptr, in build_gather()
488 LLVMValueRef scalar_ptr = LLVMBuildGEP(builder, base_ptr, &index, 1, "scatter_ptr"); in emit_mask_scatter()
620 scalar_ptr = LLVMBuildGEP(builder, bld->consts_ptr, in emit_fetch_constant()
700 LLVMValueRef input_ptr = LLVMBuildGEP(builder, in emit_fetch_input()
2018 LLVMBuildGEP(gallivm->builder, bld->inputs_array, in emit_prologue()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_interp.c196 ptr = LLVMBuildGEP(builder, dadx_ptr, &index, 1, ""); in coeffs_init_simple()
201 ptr = LLVMBuildGEP(builder, dady_ptr, &index, 1, ""); in coeffs_init_simple()
212 ptr = LLVMBuildGEP(builder, a0_ptr, &index, 1, ""); in coeffs_init_simple()
258 ptr = LLVMBuildGEP(builder, bld->xoffset_store, &loop_iter, 1, ""); in attribs_update_simple()
260 ptr = LLVMBuildGEP(builder, bld->yoffset_store, &loop_iter, 1, ""); in attribs_update_simple()
402 ptr = LLVMBuildGEP(builder, dadx_ptr, &index, 1, ""); in coeffs_init()
407 ptr = LLVMBuildGEP(builder, dady_ptr, &index, 1, ""); in coeffs_init()
418 ptr = LLVMBuildGEP(builder, a0_ptr, &index, 1, ""); in coeffs_init()
598 ptr = LLVMBuildGEP(builder, a, &loop_iter, 1, ""); in attribs_update()
772 ptr = LLVMBuildGEP(builder, bld->xoffset_store, &index, 1, ""); in lp_build_interp_soa_init()
[all …]
Dlp_state_setup.c145 LLVMBuildGEP(builder, args->a0, &idx, 1, "")); in store_coef()
149 LLVMBuildGEP(builder, args->dadx, &idx, 1, "")); in store_coef()
153 LLVMBuildGEP(builder, args->dady, &idx, 1, "")); in store_coef()
203 return LLVMBuildLoad(b, LLVMBuildGEP(b, vert, idx, 2, ""), name); in vert_attrib()
221 a0_back = LLVMBuildLoad(b, LLVMBuildGEP(b, args->v0, &idx2, 1, ""), "v0a_back"); in lp_twoside()
222 a1_back = LLVMBuildLoad(b, LLVMBuildGEP(b, args->v1, &idx2, 1, ""), "v1a_back"); in lp_twoside()
223 a2_back = LLVMBuildLoad(b, LLVMBuildGEP(b, args->v2, &idx2, 1, ""), "v2a_back"); in lp_twoside()
336 attribv[0] = LLVMBuildLoad(b, LLVMBuildGEP(b, args->v0, &idx, 1, ""), "v0a"); in load_attribute()
337 attribv[1] = LLVMBuildLoad(b, LLVMBuildGEP(b, args->v1, &idx, 1, ""), "v1a"); in load_attribute()
338 attribv[2] = LLVMBuildLoad(b, LLVMBuildGEP(b, args->v2, &idx, 1, ""), "v2a"); in load_attribute()
Dlp_state_fs.c527 mask_ptr = LLVMBuildGEP(builder, mask_store, in generate_fs_loop()
535 depth_ptr_i = LLVMBuildGEP(builder, depth_ptr, &depth_offset, 1, ""); in generate_fs_loop()
663 color_ptr = LLVMBuildGEP(builder, out_color[cbuf][chan], in generate_fs_loop()
729 con[chan] = LLVMBuildLoad(builder, LLVMBuildGEP(builder, const_ptr, &index, 1, ""), ""); in generate_blend()
731 dst[chan] = LLVMBuildLoad(builder, LLVMBuildGEP(builder, dst_ptr, &index, 1, ""), ""); in generate_blend()
746 LLVMBuildStore(builder, res[chan], LLVMBuildGEP(builder, dst_ptr, &index, 1, "")); in generate_blend()
949 depth_ptr_i = LLVMBuildGEP(builder, depth_ptr, &depth_offset, 1, ""); in generate_fragment()
998 LLVMValueRef mask_ptr = LLVMBuildGEP(builder, mask_store, in generate_fragment()
1028 LLVMValueRef ptr = LLVMBuildGEP(builder, mask_store, in generate_fragment()
1034 ptr = LLVMBuildGEP(builder, in generate_fragment()
[all …]
Dlp_test_blend.c214 src[i] = LLVMBuildLoad(builder, LLVMBuildGEP(builder, src_ptr, &index, 1, ""), ""); in add_blend_test()
215 dst[i] = LLVMBuildLoad(builder, LLVMBuildGEP(builder, dst_ptr, &index, 1, ""), ""); in add_blend_test()
216 con[i] = LLVMBuildLoad(builder, LLVMBuildGEP(builder, const_ptr, &index, 1, ""), ""); in add_blend_test()
227 LLVMBuildStore(builder, res[i], LLVMBuildGEP(builder, res_ptr, &index, 1, "")); in add_blend_test()
Dlp_test_conv.c131 LLVMValueRef ptr = LLVMBuildGEP(builder, src_ptr, &index, 1, ""); in add_conv_test()
139 LLVMValueRef ptr = LLVMBuildGEP(builder, dst_ptr, &index, 1, ""); in add_conv_test()
Dlp_tex_sample.c117 ptr = LLVMBuildGEP(builder, state->context_ptr, indices, Elements(indices), ""); in lp_llvm_texture_member()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
Dlp_bld_interp.c196 ptr = LLVMBuildGEP(builder, dadx_ptr, &index, 1, ""); in coeffs_init_simple()
201 ptr = LLVMBuildGEP(builder, dady_ptr, &index, 1, ""); in coeffs_init_simple()
212 ptr = LLVMBuildGEP(builder, a0_ptr, &index, 1, ""); in coeffs_init_simple()
258 ptr = LLVMBuildGEP(builder, bld->xoffset_store, &loop_iter, 1, ""); in attribs_update_simple()
260 ptr = LLVMBuildGEP(builder, bld->yoffset_store, &loop_iter, 1, ""); in attribs_update_simple()
402 ptr = LLVMBuildGEP(builder, dadx_ptr, &index, 1, ""); in coeffs_init()
407 ptr = LLVMBuildGEP(builder, dady_ptr, &index, 1, ""); in coeffs_init()
418 ptr = LLVMBuildGEP(builder, a0_ptr, &index, 1, ""); in coeffs_init()
598 ptr = LLVMBuildGEP(builder, a, &loop_iter, 1, ""); in attribs_update()
772 ptr = LLVMBuildGEP(builder, bld->xoffset_store, &index, 1, ""); in lp_build_interp_soa_init()
[all …]
Dlp_state_setup.c145 LLVMBuildGEP(builder, args->a0, &idx, 1, "")); in store_coef()
149 LLVMBuildGEP(builder, args->dadx, &idx, 1, "")); in store_coef()
153 LLVMBuildGEP(builder, args->dady, &idx, 1, "")); in store_coef()
203 return LLVMBuildLoad(b, LLVMBuildGEP(b, vert, idx, 2, ""), name); in vert_attrib()
221 a0_back = LLVMBuildLoad(b, LLVMBuildGEP(b, args->v0, &idx2, 1, ""), "v0a_back"); in lp_twoside()
222 a1_back = LLVMBuildLoad(b, LLVMBuildGEP(b, args->v1, &idx2, 1, ""), "v1a_back"); in lp_twoside()
223 a2_back = LLVMBuildLoad(b, LLVMBuildGEP(b, args->v2, &idx2, 1, ""), "v2a_back"); in lp_twoside()
336 attribv[0] = LLVMBuildLoad(b, LLVMBuildGEP(b, args->v0, &idx, 1, ""), "v0a"); in load_attribute()
337 attribv[1] = LLVMBuildLoad(b, LLVMBuildGEP(b, args->v1, &idx, 1, ""), "v1a"); in load_attribute()
338 attribv[2] = LLVMBuildLoad(b, LLVMBuildGEP(b, args->v2, &idx, 1, ""), "v2a"); in load_attribute()
Dlp_state_fs.c527 mask_ptr = LLVMBuildGEP(builder, mask_store, in generate_fs_loop()
535 depth_ptr_i = LLVMBuildGEP(builder, depth_ptr, &depth_offset, 1, ""); in generate_fs_loop()
663 color_ptr = LLVMBuildGEP(builder, out_color[cbuf][chan], in generate_fs_loop()
729 con[chan] = LLVMBuildLoad(builder, LLVMBuildGEP(builder, const_ptr, &index, 1, ""), ""); in generate_blend()
731 dst[chan] = LLVMBuildLoad(builder, LLVMBuildGEP(builder, dst_ptr, &index, 1, ""), ""); in generate_blend()
746 LLVMBuildStore(builder, res[chan], LLVMBuildGEP(builder, dst_ptr, &index, 1, "")); in generate_blend()
949 depth_ptr_i = LLVMBuildGEP(builder, depth_ptr, &depth_offset, 1, ""); in generate_fragment()
998 LLVMValueRef mask_ptr = LLVMBuildGEP(builder, mask_store, in generate_fragment()
1028 LLVMValueRef ptr = LLVMBuildGEP(builder, mask_store, in generate_fragment()
1034 ptr = LLVMBuildGEP(builder, in generate_fragment()
[all …]
Dlp_test_blend.c214 src[i] = LLVMBuildLoad(builder, LLVMBuildGEP(builder, src_ptr, &index, 1, ""), ""); in add_blend_test()
215 dst[i] = LLVMBuildLoad(builder, LLVMBuildGEP(builder, dst_ptr, &index, 1, ""), ""); in add_blend_test()
216 con[i] = LLVMBuildLoad(builder, LLVMBuildGEP(builder, const_ptr, &index, 1, ""), ""); in add_blend_test()
227 LLVMBuildStore(builder, res[i], LLVMBuildGEP(builder, res_ptr, &index, 1, "")); in add_blend_test()
Dlp_test_conv.c131 LLVMValueRef ptr = LLVMBuildGEP(builder, src_ptr, &index, 1, ""); in add_conv_test()
139 LLVMValueRef ptr = LLVMBuildGEP(builder, dst_ptr, &index, 1, ""); in add_conv_test()
Dlp_tex_sample.c117 ptr = LLVMBuildGEP(builder, state->context_ptr, indices, Elements(indices), ""); in lp_llvm_texture_member()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c509 LLVMValueRef vbuffer_ptr = LLVMBuildGEP(builder, vbuffers_ptr, in generate_fetch()
534 vbuffer_ptr = LLVMBuildGEP(builder, vbuffer_ptr, &stride, 1, ""); in generate_fetch()
597 data_ptr = LLVMBuildGEP(builder, data_ptr, indices, 3, ""); in store_aos()
626 io_ptrs[i] = LLVMBuildGEP(builder, io_ptr, &inds[i], 1, ""); in store_aos_array()
752 io_ptrs[i] = LLVMBuildGEP(builder, io_ptr, &inds[i], 1, ""); in store_clip()
782 clip_ptr = LLVMBuildGEP(builder, clip_ptrs[j], indices, 2, "clipo"); in store_clip()
823 scale_i = LLVMBuildGEP(builder, vp_ptr, &index, 1, ""); in generate_viewport()
826 trans_i = LLVMBuildGEP(builder, vp_ptr, &index, 1, ""); in generate_viewport()
992 plane_ptr = LLVMBuildGEP(builder, planes_ptr, indices, 3, ""); in generate_clipmask()
998 plane_ptr = LLVMBuildGEP(builder, planes_ptr, indices, 3, ""); in generate_clipmask()
[all …]
Ddraw_llvm_sample.c112 ptr = LLVMBuildGEP(builder, state->context_ptr, indices, Elements(indices), ""); in draw_llvm_texture_member()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
Ddraw_llvm.c509 LLVMValueRef vbuffer_ptr = LLVMBuildGEP(builder, vbuffers_ptr, in generate_fetch()
534 vbuffer_ptr = LLVMBuildGEP(builder, vbuffer_ptr, &stride, 1, ""); in generate_fetch()
597 data_ptr = LLVMBuildGEP(builder, data_ptr, indices, 3, ""); in store_aos()
626 io_ptrs[i] = LLVMBuildGEP(builder, io_ptr, &inds[i], 1, ""); in store_aos_array()
752 io_ptrs[i] = LLVMBuildGEP(builder, io_ptr, &inds[i], 1, ""); in store_clip()
782 clip_ptr = LLVMBuildGEP(builder, clip_ptrs[j], indices, 2, "clipo"); in store_clip()
823 scale_i = LLVMBuildGEP(builder, vp_ptr, &index, 1, ""); in generate_viewport()
826 trans_i = LLVMBuildGEP(builder, vp_ptr, &index, 1, ""); in generate_viewport()
992 plane_ptr = LLVMBuildGEP(builder, planes_ptr, indices, 3, ""); in generate_clipmask()
998 plane_ptr = LLVMBuildGEP(builder, planes_ptr, indices, 3, ""); in generate_clipmask()
[all …]
Ddraw_llvm_sample.c112 ptr = LLVMBuildGEP(builder, state->context_ptr, indices, Elements(indices), ""); in draw_llvm_texture_member()
/external/llvm/tools/llvm-c-test/
Dcalc.c78 off = LLVMBuildGEP(builder, param, &stack[depth - 1], 1, ""); in build_from_tokens()

12