Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_struct.c57 member_ptr = LLVMBuildGEP(gallivm->builder, ptr, indices, ARRAY_SIZE(indices), ""); in lp_build_struct_get_ptr()
91 element_ptr = LLVMBuildGEP(gallivm->builder, ptr, indices, ARRAY_SIZE(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_cached.c93 ptr = LLVMBuildGEP(builder, cache, indices, ARRAY_SIZE(indices), ""); in store_cached_block()
101 ptr = LLVMBuildGEP(builder, cache, indices, ARRAY_SIZE(indices), ""); in store_cached_block()
121 member_ptr = LLVMBuildGEP(builder, ptr, indices, ARRAY_SIZE(indices), ""); in lookup_cached_pixel()
137 member_ptr = LLVMBuildGEP(builder, ptr, indices, ARRAY_SIZE(indices), ""); in lookup_tag_data()
216 args[0] = LLVMBuildGEP(gallivm->builder, tmp_ptr, &dst_offset, 1, ""); in update_cached_block()
228 LLVMValueRef ptr = LLVMBuildGEP(gallivm->builder, tmp_ptr, &tmp_offset, 1, ""); in update_cached_block()
Dlp_bld_format_aos_array.c81 ptr = LLVMBuildGEP(builder, base_ptr, &offset, 1, ""); in lp_build_fetch_rgba_aos_array()
Dlp_bld_sample.c1029 mip_offset = LLVMBuildGEP(builder, bld->mip_offsets, indexes, 2, ""); in lp_build_get_mipmap_level()
1031 data_ptr = LLVMBuildGEP(builder, bld->base_ptr, &mip_offset, 1, ""); in lp_build_get_mipmap_level()
1049 offset1 = LLVMBuildGEP(builder, bld->mip_offsets, indexes, 2, ""); in lp_build_get_mip_offsets()
1061 offset1 = LLVMBuildGEP(builder, bld->mip_offsets, indexes, 2, ""); in lp_build_get_mip_offsets()
1076 offset1 = LLVMBuildGEP(builder, bld->mip_offsets, indexes, 2, ""); in lp_build_get_mip_offsets()
1166 stride1 = LLVMBuildGEP(builder, stride_array, indexes, 2, ""); in lp_build_get_level_stride_vec()
1179 stride1 = LLVMBuildGEP(builder, stride_array, indexes, 2, ""); in lp_build_get_level_stride_vec()
1195 stride1 = LLVMBuildGEP(builder, stride_array, indexes, 2, ""); in lp_build_get_level_stride_vec()
Dlp_bld_gather.c68 ptr = LLVMBuildGEP(gallivm->builder, base_ptr, &offset, 1, ""); in lp_build_gather_elem_ptr()
301 src_ptr = LLVMBuildGEP(builder, base_ptr, &offsets, 1, "vector-gep"); in lp_build_gather_avx2()
Dlp_bld_tgsi_soa.c884 return LLVMBuildGEP(builder, var_of_array, &lindex, 1, ""); in get_file_ptr()
1009 scalar_ptr = LLVMBuildGEP(builder, base_ptr, in build_gather()
1062 LLVMValueRef scalar_ptr = LLVMBuildGEP(builder, base_ptr, &index, 1, "scatter_ptr"); in emit_mask_scatter()
1288 scalar_ptr = LLVMBuildGEP(builder, consts_ptr, in emit_fetch_constant()
1396 LLVMValueRef imms_ptr = LLVMBuildGEP(builder, in emit_fetch_immediate()
1407 imms_ptr2 = LLVMBuildGEP(builder, in emit_fetch_immediate()
1471 LLVMValueRef input_ptr = LLVMBuildGEP(builder, in emit_fetch_input()
1482 input_ptr2 = LLVMBuildGEP(builder, in emit_fetch_input()
3095 LLVMValueRef imm_ptr = LLVMBuildGEP(builder, in lp_emit_immediate_soa()
3115 LLVMValueRef imm_ptr = LLVMBuildGEP(builder, in lp_emit_immediate_soa()
[all …]
Dlp_bld_tgsi_aos.c130 scalar_ptr = LLVMBuildGEP(builder, bld->consts_ptr, &index, 1, ""); in emit_fetch_constant()
/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()
256 ptr = LLVMBuildGEP(builder, bld->xoffset_store, &loop_iter, 1, ""); in attribs_update_simple()
258 ptr = LLVMBuildGEP(builder, bld->yoffset_store, &loop_iter, 1, ""); in attribs_update_simple()
408 ptr = LLVMBuildGEP(builder, dadx_ptr, &index, 1, ""); in coeffs_init()
413 ptr = LLVMBuildGEP(builder, dady_ptr, &index, 1, ""); in coeffs_init()
424 ptr = LLVMBuildGEP(builder, a0_ptr, &index, 1, ""); in coeffs_init()
597 ptr = LLVMBuildGEP(builder, a, &loop_iter, 1, ""); in attribs_update()
787 ptr = LLVMBuildGEP(builder, bld->xoffset_store, &index, 1, ""); in lp_build_interp_soa_init()
[all …]
Dlp_state_setup.c100 LLVMBuildGEP(builder, args->a0, &idx, 1, "")); in store_coef()
104 LLVMBuildGEP(builder, args->dadx, &idx, 1, "")); in store_coef()
108 LLVMBuildGEP(builder, args->dady, &idx, 1, "")); in store_coef()
169 return LLVMBuildLoad(b, LLVMBuildGEP(b, vert, idx, 2, ""), name); in vert_attrib()
188 a0_back = LLVMBuildLoad(b, LLVMBuildGEP(b, args->v0, &idx2, 1, ""), "v0a_back"); in lp_twoside()
189 a1_back = LLVMBuildLoad(b, LLVMBuildGEP(b, args->v1, &idx2, 1, ""), "v1a_back"); in lp_twoside()
190 a2_back = LLVMBuildLoad(b, LLVMBuildGEP(b, args->v2, &idx2, 1, ""), "v2a_back"); in lp_twoside()
367 attribv[0] = LLVMBuildLoad(b, LLVMBuildGEP(b, args->v0, &idx, 1, ""), "v0a"); in load_attribute()
368 attribv[1] = LLVMBuildLoad(b, LLVMBuildGEP(b, args->v1, &idx, 1, ""), "v1a"); in load_attribute()
369 attribv[2] = LLVMBuildLoad(b, LLVMBuildGEP(b, args->v2, &idx, 1, ""), "v2a"); in load_attribute()
Dlp_tex_sample.c115 ptr = LLVMBuildGEP(builder, context_ptr, indices, ARRAY_SIZE(indices), ""); in lp_llvm_texture_member()
193 ptr = LLVMBuildGEP(builder, context_ptr, indices, ARRAY_SIZE(indices), ""); in LP_LLVM_TEXTURE_MEMBER()
Dlp_bld_depth.c586 zs_dst_ptr = LLVMBuildGEP(builder, depth_ptr, &depth_offset1, 1, ""); in lp_build_depth_stencil_load_swizzled()
593 zs_dst_ptr = LLVMBuildGEP(builder, depth_ptr, &depth_offset2, 1, ""); in lp_build_depth_stencil_load_swizzled()
726 zs_dst_ptr1 = LLVMBuildGEP(builder, depth_ptr, &depth_offset1, 1, ""); in lp_build_depth_stencil_write_swizzled()
728 zs_dst_ptr2 = LLVMBuildGEP(builder, depth_ptr, &depth_offset2, 1, ""); in lp_build_depth_stencil_write_swizzled()
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_state_fs.c399 mask_ptr = LLVMBuildGEP(builder, mask_store, in generate_fs_loop()
601 color_ptr = LLVMBuildGEP(builder, out_color[cbuf][chan], in generate_fs_loop()
893 dst_ptr = LLVMBuildGEP(builder, base_ptr, gep, 2, ""); in load_unswizzled_block()
938 src_ptr = LLVMBuildGEP(builder, base_ptr, gep, 2, ""); in store_unswizzled_block()
2063 blend_color = LLVMBuildLoad(builder, LLVMBuildGEP(builder, blend_color, in generate_unswizzled_blend()
2571 LLVMValueRef mask_ptr = LLVMBuildGEP(builder, mask_store, in generate_fragment()
2601 LLVMValueRef ptr = LLVMBuildGEP(builder, mask_store, in generate_fragment()
2607 ptr = LLVMBuildGEP(builder, in generate_fragment()
2616 ptr = LLVMBuildGEP(builder, in generate_fragment()
2641 LLVMBuildGEP(builder, color_ptr_ptr, in generate_fragment()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c802 data_ptr = LLVMBuildGEP(builder, data_ptr, indices, 3, ""); in store_aos()
893 io_ptrs[i] = LLVMBuildGEP(builder, io_ptr, &inds[i], 1, ""); in store_aos_array()
1035 io_ptrs[i] = LLVMBuildGEP(builder, io_ptr, &inds[i], 1, ""); in store_clip()
1058 clip_ptr = LLVMBuildGEP(builder, clip_ptrs[j], indices, 2, "clipo"); in store_clip()
1104 scale_i = LLVMBuildGEP(builder, vp_ptr, &index, 1, ""); in generate_viewport()
1107 trans_i = LLVMBuildGEP(builder, vp_ptr, &index, 1, ""); in generate_viewport()
1285 plane_ptr = LLVMBuildGEP(builder, planes_ptr, indices, 3, ""); in generate_clipmask()
1291 plane_ptr = LLVMBuildGEP(builder, planes_ptr, indices, 3, ""); in generate_clipmask()
1297 plane_ptr = LLVMBuildGEP(builder, planes_ptr, indices, 3, ""); in generate_clipmask()
1303 plane_ptr = LLVMBuildGEP(builder, planes_ptr, indices, 3, ""); in generate_clipmask()
[all …]
Ddraw_llvm_sample.c109 ptr = LLVMBuildGEP(builder, context_ptr, indices, ARRAY_SIZE(indices), ""); in draw_llvm_texture_member()
155 ptr = LLVMBuildGEP(builder, context_ptr, indices, ARRAY_SIZE(indices), ""); in draw_llvm_sampler_member()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_tex_sample.cpp135 ptr = LLVMBuildGEP(builder, context_ptr, indices, ARRAY_SIZE(indices), ""); in swr_texture_member()
229 ptr = LLVMBuildGEP(builder, context_ptr, indices, ARRAY_SIZE(indices), ""); in SWR_TEXTURE_MEMBER()
/external/llvm/tools/llvm-c-test/
Dcalc.c77 off = LLVMBuildGEP(builder, param, &stack[depth - 1], 1, ""); in build_from_tokens()
Decho.cpp567 Dst = LLVMBuildGEP(Builder, Ptr, Idx.data(), NumIdx, Name); in CloneInstruction()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_tgsi_setup.c512 return LLVMBuildGEP(builder, alloca, idxs, 2, ""); in get_pointer_into_array()
582 ptr_hi = LLVMBuildGEP(builder, ptr, &bld_base->uint_bld.one, 1, ""); in load_value_from_array()
891 ptr = LLVMBuildGEP(builder, array_alloca, idxs, 2, name); in emit_declaration()
Dsi_shader.c317 return LLVMBuildGEP(ctx->gallivm.builder, base_ptr, in build_gep0()
3736 ptr = LLVMBuildGEP(builder, ptr, &offset, 1, ""); in get_memory_ptr()
3764 derived_ptr = LLVMBuildGEP(builder, ptr, &index, 1, ""); in load_emit_memory()
3999 derived_ptr = LLVMBuildGEP(builder, ptr, &index, 1, ""); in store_emit_memory()
/external/mesa3d/src/amd/common/
Dac_nir_to_llvm.c270 ptr = LLVMBuildGEP(ctx->builder, ptr, &offset, 1, ""); in get_shared_memory_ptr()
330 return LLVMBuildGEP(ctx->builder, base_ptr, in build_gep0()
2098 derived_ptr = LLVMBuildGEP(ctx->builder, ptr, &index, 1, ""); in visit_load_var()
2218 derived_ptr = LLVMBuildGEP(ctx->builder, ptr, &index, 1, ""); in visit_store_var()
/external/swiftshader/third_party/LLVM/include/llvm-c/
DCore.h955 LLVMValueRef LLVMBuildGEP(LLVMBuilderRef B, LLVMValueRef Pointer,
/external/llvm/include/llvm-c/
DCore.h3005 LLVMValueRef LLVMBuildGEP(LLVMBuilderRef B, LLVMValueRef Pointer,
/external/swiftshader/third_party/LLVM/bindings/ocaml/llvm/
Dllvm_ocaml.c1698 return LLVMBuildGEP(Builder_val(B), Pointer, in llvm_build_gep()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c2074 return LLVMBuildGEP(Builder_val(B), Pointer, in llvm_build_gep()

12