Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_shader_ngg.c238 tmp = ac_build_gep0(&ctx->ac, vertexptr, LLVMConstInt(ctx->ac.i32, 4 * reg + comp, false)); in build_streamout_vertex()
331 tmp = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, tid); in build_streamout()
377 tmp2 = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, tmp2); in build_streamout()
452 tmp = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, tmp); in build_streamout()
471 primemit_scan[stream].scratch = ac_build_gep0( in build_streamout()
488 tmp = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, ac_get_thread_id(&ctx->ac)); in build_streamout()
673 LLVMValueRef val = LLVMBuildLoad(builder, ac_build_gep0(&ctx->ac, ptr64, index), ""); in load_bitmasks_2x64()
774 ac_build_gep0(&ctx->ac, es_vtxptr, LLVMConstInt(ctx->ac.i32, lds_pos_cull_w, 0))); in gfx10_emit_ngg_culling_epilogue()
781ac_build_gep0(&ctx->ac, es_vtxptr, LLVMConstInt(ctx->ac.i32, lds_pos_cull_x_div_w + chan, 0))); in gfx10_emit_ngg_culling_epilogue()
790 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.c80 LLVMValueRef ptr = ac_build_gep0(&ctx->ac, ctx->esgs_ring, vtx_offset); in si_llvm_load_input_gs()
/external/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c2159 return ac_build_gep0(&ctx->ac, storage, vertexidx); in ngg_gs_vertex_ptr()
2254 tmp = ac_build_gep0(&ctx->ac, vertexptr, in build_streamout_vertex()
2295 tmp = ac_build_gep0(&ctx->ac, vertexptr, in build_streamout_vertex()
2398 tmp = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, tid); in build_streamout()
2448 tmp2 = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, tmp2); in build_streamout()
2545 tmp = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, tmp); in build_streamout()
2565 ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, in build_streamout()
2582 tmp = ac_build_gep0(&ctx->ac, ctx->gs_ngg_scratch, ac_get_thread_id(&ctx->ac)); in build_streamout()
2689 tmp = ac_build_gep0(&ctx->ac, vertex_ptr, in handle_ngg_outputs_post_1()
2778 ac_build_gep0(&ctx->ac, ctx->esgs_ring, provoking_vtx_index)); in handle_ngg_outputs_post_2()
[all …]
/external/mesa3d/src/amd/llvm/
Dac_llvm_build.h233 LLVMValueRef ac_build_gep0(struct ac_llvm_context *ctx, LLVMValueRef base_ptr, LLVMValueRef index);
Dac_nir_to_llvm.c3753 LLVMValueRef ptr = ac_build_gep0(&ctx->ac, ctx->scratch, offset); in visit_intrinsic()
3765 LLVMValueRef ptr = ac_build_gep0(&ctx->ac, ctx->scratch, offset); in visit_intrinsic()
3799 LLVMValueRef ptr = ac_build_gep0(&ctx->ac, ctx->constant_data, offset); in visit_intrinsic()
4550 result = ac_build_gep0(&ctx->ac, get_src(ctx, instr->parent), in visit_deref()
4574 ac_build_gep0(&ctx->ac, get_src(ctx, instr->parent), get_src(ctx, instr->arr.index)); in visit_deref()
Dac_llvm_build.c968 LLVMValueRef ac_build_gep0(struct ac_llvm_context *ctx, LLVMValueRef base_ptr, LLVMValueRef index) in ac_build_gep0() function
986 LLVMBuildStore(ctx->builder, value, ac_build_gep0(ctx, base_ptr, index)); in ac_build_indexed_store()
2956 return LLVMBuildLoad(ctx->builder, ac_build_gep0(ctx, ctx->lds, dw_addr), ""); in ac_lds_load()