Home
last modified time | relevance | path

Searched refs:LLVMBuildGEP (Results 1 – 25 of 39) 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_aos_array.c81 ptr = LLVMBuildGEP(builder, base_ptr, &offset, 1, ""); in lp_build_fetch_rgba_aos_array()
Dlp_bld_gather.c68 ptr = LLVMBuildGEP(gallivm->builder, base_ptr, &offset, 1, ""); in lp_build_gather_elem_ptr()
327 src_ptr = LLVMBuildGEP(builder, base_ptr, &offsets, 1, "vector-gep"); in lp_build_gather_avx2()
Dlp_bld_sample.c1076 mip_offset = LLVMBuildGEP(builder, bld->mip_offsets, indexes, 2, ""); in lp_build_get_mipmap_level()
1078 data_ptr = LLVMBuildGEP(builder, bld->base_ptr, &mip_offset, 1, ""); in lp_build_get_mipmap_level()
1096 offset1 = LLVMBuildGEP(builder, bld->mip_offsets, indexes, 2, ""); in lp_build_get_mip_offsets()
1108 offset1 = LLVMBuildGEP(builder, bld->mip_offsets, indexes, 2, ""); in lp_build_get_mip_offsets()
1123 offset1 = LLVMBuildGEP(builder, bld->mip_offsets, indexes, 2, ""); in lp_build_get_mip_offsets()
1213 stride1 = LLVMBuildGEP(builder, stride_array, indexes, 2, ""); in lp_build_get_level_stride_vec()
1226 stride1 = LLVMBuildGEP(builder, stride_array, indexes, 2, ""); in lp_build_get_level_stride_vec()
1242 stride1 = LLVMBuildGEP(builder, stride_array, indexes, 2, ""); in lp_build_get_level_stride_vec()
Dlp_bld_tgsi_soa.c472 return LLVMBuildGEP(builder, var_of_array, gep, 2, ""); in get_file_ptr()
474 return LLVMBuildGEP(builder, var_of_array, &lindex, 1, ""); in get_file_ptr()
600 scalar_ptr = LLVMBuildGEP(builder, base_ptr, in build_gather()
643 LLVMValueRef scalar_ptr = LLVMBuildGEP(builder, base_ptr, &index, 1, "scatter_ptr"); in emit_mask_scatter()
872 scalar_ptr = LLVMBuildGEP(builder, consts_ptr, in emit_fetch_constant()
881 scalar2_ptr = LLVMBuildGEP(builder, consts_ptr, in emit_fetch_constant()
1004 LLVMValueRef imms_ptr = LLVMBuildGEP(builder, in emit_fetch_immediate()
1013 imms_ptr2 = LLVMBuildGEP(builder, in emit_fetch_immediate()
1079 LLVMValueRef input_ptr = LLVMBuildGEP(builder, in emit_fetch_input()
1090 input_ptr2 = LLVMBuildGEP(builder, in emit_fetch_input()
[all …]
Dlp_bld_nir_soa.c249 scalar_ptr = LLVMBuildGEP(builder, base_ptr, in build_gather()
291 LLVMValueRef scalar_ptr = LLVMBuildGEP(builder, base_ptr, &index, 1, "scatter_ptr"); in emit_mask_scatter()
1193 LLVMValueRef scalar_ptr = LLVMBuildGEP(builder, ssbo_ptr, in emit_atomic_mem()
1762 LLVMBuildGEP(gallivm->builder, bld->inputs_array, in emit_prologue()
Dlp_bld_format_s3tc.c1138 ptr = LLVMBuildGEP(builder, cache, indices, ARRAY_SIZE(indices), ""); in s3tc_store_cached_block()
1146 ptr = LLVMBuildGEP(builder, cache, indices, ARRAY_SIZE(indices), ""); in s3tc_store_cached_block()
1165 member_ptr = LLVMBuildGEP(builder, ptr, indices, ARRAY_SIZE(indices), ""); in s3tc_lookup_cached_pixel()
1180 member_ptr = LLVMBuildGEP(builder, ptr, indices, ARRAY_SIZE(indices), ""); in s3tc_lookup_tag_data()
Dlp_bld_tgsi_aos.c130 scalar_ptr = LLVMBuildGEP(builder, bld->consts_ptr, &index, 1, ""); in emit_fetch_constant()
Dlp_bld_format_soa.c1088 store_offset = LLVMBuildGEP(gallivm->builder, base_ptr, &store_offset, 1, ""); in lp_build_store_rgba_soa()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_interp.c236 ptr = LLVMBuildGEP(builder, dadx_ptr, &index, 1, ""); in coeffs_init_simple()
241 ptr = LLVMBuildGEP(builder, dady_ptr, &index, 1, ""); in coeffs_init_simple()
252 ptr = LLVMBuildGEP(builder, a0_ptr, &index, 1, ""); in coeffs_init_simple()
299 ptr = LLVMBuildGEP(builder, bld->xoffset_store, &loop_iter, 1, ""); in attribs_update_simple()
301 ptr = LLVMBuildGEP(builder, bld->yoffset_store, &loop_iter, 1, ""); in attribs_update_simple()
527 ptr = LLVMBuildGEP(builder, bld->xoffset_store, &loop_iter, 1, ""); in lp_build_interp_soa()
529 ptr = LLVMBuildGEP(builder, bld->yoffset_store, &loop_iter, 1, ""); in lp_build_interp_soa()
778 ptr = LLVMBuildGEP(builder, bld->xoffset_store, &index, 1, ""); in lp_build_interp_soa_init()
780 ptr = LLVMBuildGEP(builder, bld->yoffset_store, &index, 1, ""); in lp_build_interp_soa_init()
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_state_fs.c414 LLVMValueRef s_mask_ptr = LLVMBuildGEP(builder, coverage_mask_store, &s_mask_idx, 1, ""); in lp_build_sample_alpha_to_coverage()
463 …LLVMValueRef color_ptr = LLVMBuildLoad(builder, LLVMBuildGEP(builder, fs_iface->color_ptr_ptr, &in… in fs_fb_fetch()
464 …LLVMValueRef stride = LLVMBuildLoad(builder, LLVMBuildGEP(builder, fs_iface->color_stride_ptr, &in… in fs_fb_fetch()
511LLVMBuildGEP(builder, fs_iface->color_sample_stride_ptr, in fs_fb_fetch()
514 color_ptr = LLVMBuildGEP(builder, color_ptr, &sample_offset, 1, ""); in fs_fb_fetch()
727 mask_ptr = LLVMBuildGEP(builder, mask_store, in generate_fs_loop()
788 s_mask_ptr = LLVMBuildGEP(builder, mask_store, &s_mask_idx, 1, ""); in generate_fs_loop()
802 depth_ptr = LLVMBuildGEP(builder, depth_ptr, &sample_offset, 1, ""); in generate_fs_loop()
915 s_mask_ptr = LLVMBuildGEP(builder, mask_store, &s_mask_idx, 1, ""); in generate_fs_loop()
1068 color_ptr = LLVMBuildGEP(builder, out_color[cbuf][chan], in generate_fs_loop()
[all …]
Dlp_tex_sample.c140 ptr = LLVMBuildGEP(builder, context_ptr, indices, ARRAY_SIZE(indices), ""); in lp_llvm_texture_member()
222 ptr = LLVMBuildGEP(builder, context_ptr, indices, ARRAY_SIZE(indices), ""); in LP_LLVM_TEXTURE_MEMBER()
292 ptr = LLVMBuildGEP(builder, context_ptr, indices, ARRAY_SIZE(indices), ""); in LP_LLVM_SAMPLER_MEMBER()
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_bld_depth.c590 zs_dst_ptr = LLVMBuildGEP(builder, depth_ptr, &depth_offset1, 1, ""); in lp_build_depth_stencil_load_swizzled()
597 zs_dst_ptr = LLVMBuildGEP(builder, depth_ptr, &depth_offset2, 1, ""); in lp_build_depth_stencil_load_swizzled()
735 zs_dst_ptr1 = LLVMBuildGEP(builder, depth_ptr, &depth_offset1, 1, ""); in lp_build_depth_stencil_write_swizzled()
737 zs_dst_ptr2 = LLVMBuildGEP(builder, depth_ptr, &depth_offset2, 1, ""); in lp_build_depth_stencil_write_swizzled()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c1155 data_ptr = LLVMBuildGEP(builder, data_ptr, indices, 3, ""); in store_aos()
1246 io_ptrs[i] = LLVMBuildGEP(builder, io_ptr, &inds[i], 1, ""); in store_aos_array()
1388 io_ptrs[i] = LLVMBuildGEP(builder, io_ptr, &inds[i], 1, ""); in store_clip()
1411 clip_ptr = LLVMBuildGEP(builder, clip_ptrs[j], indices, 2, "clipo"); in store_clip()
1457 scale_i = LLVMBuildGEP(builder, vp_ptr, &index, 1, ""); in generate_viewport()
1460 trans_i = LLVMBuildGEP(builder, vp_ptr, &index, 1, ""); in generate_viewport()
1638 plane_ptr = LLVMBuildGEP(builder, planes_ptr, indices, 3, ""); in generate_clipmask()
1644 plane_ptr = LLVMBuildGEP(builder, planes_ptr, indices, 3, ""); in generate_clipmask()
1650 plane_ptr = LLVMBuildGEP(builder, planes_ptr, indices, 3, ""); in generate_clipmask()
1656 plane_ptr = LLVMBuildGEP(builder, planes_ptr, indices, 3, ""); in generate_clipmask()
[all …]
Ddraw_llvm_sample.c132 ptr = LLVMBuildGEP(builder, context_ptr, indices, ARRAY_SIZE(indices), ""); in draw_llvm_texture_member()
178 ptr = LLVMBuildGEP(builder, context_ptr, indices, ARRAY_SIZE(indices), ""); in draw_llvm_sampler_member()
229 ptr = LLVMBuildGEP(builder, context_ptr, indices, ARRAY_SIZE(indices), ""); in draw_llvm_image_member()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_tex_sample.cpp145 ptr = LLVMBuildGEP(builder, context_ptr, indices, ARRAY_SIZE(indices), ""); in swr_texture_member()
251 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/llvm-project/llvm/tools/llvm-c-test/
Dcalc.c77 off = LLVMBuildGEP(builder, param, &stack[depth - 1], 1, ""); in build_from_tokens()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_shader_ngg.c440 tmp2 = LLVMBuildGEP(builder, gdsbase, &tid, 1, ""); in build_streamout()
582 return LLVMBuildGEP(ctx->ac.builder, LLVMBuildPointerCast(ctx->ac.builder, ptr, pi8, ""), &index, in si_build_gep_i8()
636 return LLVMBuildGEP(ctx->ac.builder, tmp, &vtxid, 1, ""); in ngg_nogs_vertex_ptr()
1520 return LLVMBuildGEP(ctx->ac.builder, vertexptr, gep_idx, 3, ""); in ngg_gs_get_emit_output_ptr()
1531 return LLVMBuildGEP(ctx->ac.builder, vertexptr, gep_idx, 3, ""); in ngg_gs_get_emit_primflag_ptr()
/external/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c376 desc_ptr = LLVMBuildGEP(ctx->ac.builder, desc_ptr, &offset, 1, ""); in radv_load_resource()
718 LLVMValueRef ptr = LLVMBuildGEP(ctx->ac.builder, ctx->ring_offsets, &index, 1, ""); in load_sample_position()
1010 list = LLVMBuildGEP(builder, list, &val_offset, 1, ""); in radv_get_sampler_desc()
2184 return LLVMBuildGEP(ctx->ac.builder, vertexptr, gep_idx, 3, ""); in ngg_gs_get_emit_output_ptr()
2196 return LLVMBuildGEP(ctx->ac.builder, vertexptr, gep_idx, 3, ""); in ngg_gs_get_emit_primflag_ptr()
2531 tmp2 = LLVMBuildGEP(builder, gdsbase, &tid, 1, ""); in build_streamout()
2660 return LLVMBuildGEP(ctx->ac.builder, tmp, &vtxid, 1, ""); in ngg_nogs_vertex_ptr()
/external/mesa3d/src/amd/llvm/
Dac_llvm_build.c965 return LLVMBuildGEP(ctx->builder, base_ptr, &index, 1, ""); in ac_build_gep_ptr()
974 return LLVMBuildGEP(ctx->builder, base_ptr, indices, 2, ""); in ac_build_gep0()
979 return LLVMBuildPointerCast(ctx->builder, LLVMBuildGEP(ctx->builder, ptr, &index, 1, ""), in ac_build_pointer_add()
1027 pointer = LLVMBuildGEP(ctx->builder, base_ptr, &index, 1, ""); in ac_build_load_custom()
4118 LLVMBuildStore(builder, ws->src, LLVMBuildGEP(builder, ws->scratch, &ws->waveidx, 1, "")); in ac_build_wg_wavescan_top()
4158 tmp = LLVMBuildLoad(builder, LLVMBuildGEP(builder, ws->scratch, &tid, 1, ""), ""); in ac_build_wg_wavescan_bottom()
Dac_nir_to_llvm.c86 ptr = LLVMBuildGEP(ctx->ac.builder, ctx->ac.lds, &ptr, 1, ""); in get_memory_ptr()
1498 LLVMValueRef result = LLVMBuildGEP(ctx->ac.builder, ptr, &index, 1, ""); in visit_vulkan_resource_reindex()
1534 LLVMBuildGEP(ctx->ac.builder, ac_get_arg(&ctx->ac, ctx->args->push_constants), &addr, 1, ""); in visit_load_push_constant()
2881 derived_ptr = LLVMBuildGEP(ctx->ac.builder, ptr, &index, 1, ""); in visit_load_shared()
2904 derived_ptr = LLVMBuildGEP(builder, ptr, &index, 1, ""); in visit_store_shared()
3776 LLVMValueRef offset_ptr = LLVMBuildGEP(ctx->ac.builder, ptr, &offset, 1, ""); in visit_intrinsic()

12