/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_struct.c | 57 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()
|
D | lp_bld_format_aos_array.c | 81 ptr = LLVMBuildGEP(builder, base_ptr, &offset, 1, ""); in lp_build_fetch_rgba_aos_array()
|
D | lp_bld_gather.c | 68 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()
|
D | lp_bld_sample.c | 1076 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()
|
D | lp_bld_tgsi_soa.c | 472 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 …]
|
D | lp_bld_nir_soa.c | 249 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()
|
D | lp_bld_format_s3tc.c | 1138 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()
|
D | lp_bld_tgsi_aos.c | 130 scalar_ptr = LLVMBuildGEP(builder, bld->consts_ptr, &index, 1, ""); in emit_fetch_constant()
|
D | lp_bld_format_soa.c | 1088 store_offset = LLVMBuildGEP(gallivm->builder, base_ptr, &store_offset, 1, ""); in lp_build_store_rgba_soa()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_bld_interp.c | 236 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()
|
D | lp_state_setup.c | 100 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()
|
D | lp_state_fs.c | 414 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() 511 … LLVMBuildGEP(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 …]
|
D | lp_tex_sample.c | 140 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()
|
D | lp_test_conv.c | 131 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()
|
D | lp_bld_depth.c | 590 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/ |
D | draw_llvm.c | 1155 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 …]
|
D | draw_llvm_sample.c | 132 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/ |
D | swr_tex_sample.cpp | 145 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/ |
D | calc.c | 77 off = LLVMBuildGEP(builder, param, &stack[depth - 1], 1, ""); in build_from_tokens()
|
D | echo.cpp | 567 Dst = LLVMBuildGEP(Builder, Ptr, Idx.data(), NumIdx, Name); in CloneInstruction()
|
/external/llvm-project/llvm/tools/llvm-c-test/ |
D | calc.c | 77 off = LLVMBuildGEP(builder, param, &stack[depth - 1], 1, ""); in build_from_tokens()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | gfx10_shader_ngg.c | 440 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/ |
D | radv_nir_to_llvm.c | 376 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/ |
D | ac_llvm_build.c | 965 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()
|
D | ac_nir_to_llvm.c | 86 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()
|