Home
last modified time | relevance | path

Searched refs:ac_build_gep0 (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_shader_ngg.c242 tmp = ac_build_gep0(&ctx->ac, vertexptr, LLVMConstInt(ctx->ac.i32, 4 * reg + comp, false)); in build_streamout_vertex()
335 tmp = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, tid); in build_streamout()
381 tmp2 = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, tmp2); in build_streamout()
456 tmp = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, tmp); in build_streamout()
475 primemit_scan[stream].scratch = ac_build_gep0( in build_streamout()
498 tmp = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, ac_get_thread_id(&ctx->ac)); in build_streamout()
683 …LLVMBuildStore(builder, LLVMBuildLoad(builder, ac_build_gep0(&ctx->ac, lds, tid), ""), i8vec4_lane… in load_vertex_counts()
858 ac_build_gep0(&ctx->ac, es_vtxptr, LLVMConstInt(ctx->ac.i32, lds_pos_cull_w, 0))); in gfx10_emit_ngg_culling_epilogue()
865ac_build_gep0(&ctx->ac, es_vtxptr, LLVMConstInt(ctx->ac.i32, lds_pos_cull_x_div_w + chan, 0))); in gfx10_emit_ngg_culling_epilogue()
874 ac_build_gep0(&ctx->ac, es_vtxptr, LLVMConstInt(ctx->ac.i32, lds_packed_data, 0))); in gfx10_emit_ngg_culling_epilogue()
[all …]
Dsi_shader_llvm_gs.c67 LLVMValueRef ptr = ac_build_gep0(&ctx->ac, ctx->esgs_ring, vtx_offset); in si_llvm_load_input_gs()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c1523 return ac_build_gep0(&ctx->ac, storage, vertexidx); in ngg_gs_vertex_ptr()
1621 ac_build_gep0(&ctx->ac, ctx->esgs_ring, provoking_vtx_index)); in handle_ngg_outputs_post_2()
1675 tmp = ac_build_gep0(&ctx->ac, ctx->esgs_ring, get_thread_id_in_tg(ctx)); in handle_ngg_outputs_post_2()
1713 LLVMValueRef ptr = ac_build_gep0(&ctx->ac, scratchptr, tid); in gfx10_ngg_gs_emit_prologue()
1779 ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, LLVMConstInt(ctx->ac.i32, stream, false)), in gfx10_ngg_gs_emit_epilogue_1()
1806 tmp = LLVMBuildLoad(builder, ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, tid), ""); in gfx10_ngg_gs_emit_epilogue_2()
1861 vertlive_scan.scratch = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, ctx->ac.i32_0); in gfx10_ngg_gs_emit_epilogue_2()
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_build.h241 LLVMValueRef ac_build_gep0(struct ac_llvm_context *ctx, LLVMValueRef base_ptr, LLVMValueRef index);
Dac_nir_to_llvm.c4103 LLVMValueRef ptr = ac_build_gep0(&ctx->ac, ctx->scratch, offset); in visit_intrinsic()
4115 LLVMValueRef ptr = ac_build_gep0(&ctx->ac, ctx->scratch, offset); in visit_intrinsic()
4149 LLVMValueRef ptr = ac_build_gep0(&ctx->ac, ctx->constant_data, offset); in visit_intrinsic()
5063 result = ac_build_gep0(&ctx->ac, get_src(ctx, instr->parent), in visit_deref()
5087 ac_build_gep0(&ctx->ac, get_src(ctx, instr->parent), get_src(ctx, instr->arr.index)); in visit_deref()
Dac_llvm_build.c1017 LLVMValueRef ac_build_gep0(struct ac_llvm_context *ctx, LLVMValueRef base_ptr, LLVMValueRef index) in ac_build_gep0() function
1035 LLVMBuildStore(ctx->builder, value, ac_build_gep0(ctx, base_ptr, index)); in ac_build_indexed_store()
2998 return LLVMBuildLoad(ctx->builder, ac_build_gep0(ctx, ctx->lds, dw_addr), ""); in ac_lds_load()