Home
last modified time | relevance | path

Searched refs:ac_build_imad (Results 1 – 25 of 67) sorted by relevance

123

/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_resources.c161 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 2, 0), ctx->ac.i32_1); in si_load_image_desc()
192 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 4, 0), ctx->ac.i32_1); in si_load_sampler_desc()
197 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 2, 0), ctx->ac.i32_1); in si_load_sampler_desc()
201 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 4, 0), in si_load_sampler_desc()
H A Dsi_shader_llvm_tess.c126 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, patch0_offset); in get_tcs_out_current_patch_offset()
135 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, patch0_patch_data_offset); in get_tcs_out_current_patch_data_offset()
179 base_addr = ac_build_imad(&ctx->ac, vertex_index, vertex_dw_stride, base_addr); in get_dw_address_from_generic_indices()
183 base_addr = ac_build_imad(&ctx->ac, param_index, LLVMConstInt(ctx->ac.i32, 4, 0), base_addr); in get_dw_address_from_generic_indices()
226 base_addr = ac_build_imad(&ctx->ac, rel_patch_id, vertices_per_patch, vertex_index); in get_tcs_tes_buffer_address()
233 base_addr = ac_build_imad(&ctx->ac, param_index, param_stride, base_addr); in get_tcs_tes_buffer_address()
727 lds_base = ac_build_imad(&ctx->ac, invocation_id, lds_vertex_stride, lds_base); in si_copy_tcs_inputs()
H A Dsi_shader_llvm_vs.c364 so_write_offset[i] = ac_build_imad( in si_llvm_emit_streamout()
846 ac_build_imad(&ctx->ac, wave_id, LLVMConstInt(ctx->ac.i32, ctx->ac.wave_size, false), in si_llvm_build_vs_prolog()
862 input_vgprs[0] = ac_build_imad(&ctx->ac, thread_id_in_tg, /* gs_vtx01_offset */ in si_llvm_build_vs_prolog()
865 input_vgprs[1] = ac_build_imad(&ctx->ac, thread_id_in_tg, /* gs_vtx23_offset */ in si_llvm_build_vs_prolog()
868 input_vgprs[4] = ac_build_imad(&ctx->ac, thread_id_in_tg, /* gs_vtx45_offset */ in si_llvm_build_vs_prolog()
H A Dsi_compute_prim_discard.c400 LLVMValueRef global_thread_id = ac_build_imad(&ctx->ac, ac_get_arg(&ctx->ac, param_block_id), in si_build_prim_discard_compute_shader()
430 index[i] = ac_build_imad(&ctx->ac, prim_id, LLVMConstInt(ctx->ac.i32, 3, 0), in si_build_prim_discard_compute_shader()
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_resources.c185 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 2, 0), ctx->ac.i32_1); in si_load_image_desc()
217 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 4, 0), ctx->ac.i32_1); in si_load_sampler_desc()
222 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 2, 0), ctx->ac.i32_1); in si_load_sampler_desc()
226 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 4, 0), in si_load_sampler_desc()
H A Dsi_shader_llvm_tess.c126 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, patch0_offset); in get_tcs_out_current_patch_offset()
135 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, patch0_patch_data_offset); in get_tcs_out_current_patch_data_offset()
180 base_addr = ac_build_imad(&ctx->ac, vertex_index, vertex_dw_stride, base_addr); in get_dw_address_from_generic_indices()
184 base_addr = ac_build_imad(&ctx->ac, param_index, LLVMConstInt(ctx->ac.i32, 4, 0), base_addr); in get_dw_address_from_generic_indices()
229 base_addr = ac_build_imad(&ctx->ac, rel_patch_id, vertices_per_patch, vertex_index); in get_tcs_tes_buffer_address()
236 base_addr = ac_build_imad(&ctx->ac, param_index, param_stride, base_addr); in get_tcs_tes_buffer_address()
651 lds_base = ac_build_imad(&ctx->ac, invocation_id, lds_vertex_stride, lds_base); in si_copy_tcs_inputs()
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_resources.c187 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 2, 0), ctx->ac.i32_1); in si_load_image_desc()
219 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 4, 0), ctx->ac.i32_1); in si_load_sampler_desc()
224 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 2, 0), ctx->ac.i32_1); in si_load_sampler_desc()
228 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 4, 0), in si_load_sampler_desc()
H A Dsi_shader_llvm_tess.c126 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, patch0_offset); in get_tcs_out_current_patch_offset()
135 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, patch0_patch_data_offset); in get_tcs_out_current_patch_data_offset()
180 base_addr = ac_build_imad(&ctx->ac, vertex_index, vertex_dw_stride, base_addr); in get_dw_address_from_generic_indices()
184 base_addr = ac_build_imad(&ctx->ac, param_index, LLVMConstInt(ctx->ac.i32, 4, 0), base_addr); in get_dw_address_from_generic_indices()
229 base_addr = ac_build_imad(&ctx->ac, rel_patch_id, vertices_per_patch, vertex_index); in get_tcs_tes_buffer_address()
236 base_addr = ac_build_imad(&ctx->ac, param_index, param_stride, base_addr); in get_tcs_tes_buffer_address()
651 lds_base = ac_build_imad(&ctx->ac, invocation_id, lds_vertex_stride, lds_base); in si_copy_tcs_inputs()
/dports/lang/clover/mesa-21.3.6/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_resources.c187 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 2, 0), ctx->ac.i32_1); in si_load_image_desc()
219 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 4, 0), ctx->ac.i32_1); in si_load_sampler_desc()
224 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 2, 0), ctx->ac.i32_1); in si_load_sampler_desc()
228 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 4, 0), in si_load_sampler_desc()
H A Dsi_shader_llvm_tess.c126 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, patch0_offset); in get_tcs_out_current_patch_offset()
135 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, patch0_patch_data_offset); in get_tcs_out_current_patch_data_offset()
180 base_addr = ac_build_imad(&ctx->ac, vertex_index, vertex_dw_stride, base_addr); in get_dw_address_from_generic_indices()
184 base_addr = ac_build_imad(&ctx->ac, param_index, LLVMConstInt(ctx->ac.i32, 4, 0), base_addr); in get_dw_address_from_generic_indices()
229 base_addr = ac_build_imad(&ctx->ac, rel_patch_id, vertices_per_patch, vertex_index); in get_tcs_tes_buffer_address()
236 base_addr = ac_build_imad(&ctx->ac, param_index, param_stride, base_addr); in get_tcs_tes_buffer_address()
651 lds_base = ac_build_imad(&ctx->ac, invocation_id, lds_vertex_stride, lds_base); in si_copy_tcs_inputs()
/dports/graphics/libosmesa/mesa-21.3.6/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_resources.c187 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 2, 0), ctx->ac.i32_1); in si_load_image_desc()
219 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 4, 0), ctx->ac.i32_1); in si_load_sampler_desc()
224 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 2, 0), ctx->ac.i32_1); in si_load_sampler_desc()
228 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 4, 0), in si_load_sampler_desc()
H A Dsi_shader_llvm_tess.c126 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, patch0_offset); in get_tcs_out_current_patch_offset()
135 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, patch0_patch_data_offset); in get_tcs_out_current_patch_data_offset()
180 base_addr = ac_build_imad(&ctx->ac, vertex_index, vertex_dw_stride, base_addr); in get_dw_address_from_generic_indices()
184 base_addr = ac_build_imad(&ctx->ac, param_index, LLVMConstInt(ctx->ac.i32, 4, 0), base_addr); in get_dw_address_from_generic_indices()
229 base_addr = ac_build_imad(&ctx->ac, rel_patch_id, vertices_per_patch, vertex_index); in get_tcs_tes_buffer_address()
236 base_addr = ac_build_imad(&ctx->ac, param_index, param_stride, base_addr); in get_tcs_tes_buffer_address()
651 lds_base = ac_build_imad(&ctx->ac, invocation_id, lds_vertex_stride, lds_base); in si_copy_tcs_inputs()
/dports/graphics/mesa-libs/mesa-21.3.6/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_resources.c187 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 2, 0), ctx->ac.i32_1); in si_load_image_desc()
219 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 4, 0), ctx->ac.i32_1); in si_load_sampler_desc()
224 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 2, 0), ctx->ac.i32_1); in si_load_sampler_desc()
228 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 4, 0), in si_load_sampler_desc()
H A Dsi_shader_llvm_tess.c126 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, patch0_offset); in get_tcs_out_current_patch_offset()
135 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, patch0_patch_data_offset); in get_tcs_out_current_patch_data_offset()
180 base_addr = ac_build_imad(&ctx->ac, vertex_index, vertex_dw_stride, base_addr); in get_dw_address_from_generic_indices()
184 base_addr = ac_build_imad(&ctx->ac, param_index, LLVMConstInt(ctx->ac.i32, 4, 0), base_addr); in get_dw_address_from_generic_indices()
229 base_addr = ac_build_imad(&ctx->ac, rel_patch_id, vertices_per_patch, vertex_index); in get_tcs_tes_buffer_address()
236 base_addr = ac_build_imad(&ctx->ac, param_index, param_stride, base_addr); in get_tcs_tes_buffer_address()
651 lds_base = ac_build_imad(&ctx->ac, invocation_id, lds_vertex_stride, lds_base); in si_copy_tcs_inputs()
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_resources.c187 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 2, 0), ctx->ac.i32_1); in si_load_image_desc()
219 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 4, 0), ctx->ac.i32_1); in si_load_sampler_desc()
224 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 2, 0), ctx->ac.i32_1); in si_load_sampler_desc()
228 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 4, 0), in si_load_sampler_desc()
H A Dsi_shader_llvm_tess.c126 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, patch0_offset); in get_tcs_out_current_patch_offset()
135 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, patch0_patch_data_offset); in get_tcs_out_current_patch_data_offset()
180 base_addr = ac_build_imad(&ctx->ac, vertex_index, vertex_dw_stride, base_addr); in get_dw_address_from_generic_indices()
184 base_addr = ac_build_imad(&ctx->ac, param_index, LLVMConstInt(ctx->ac.i32, 4, 0), base_addr); in get_dw_address_from_generic_indices()
229 base_addr = ac_build_imad(&ctx->ac, rel_patch_id, vertices_per_patch, vertex_index); in get_tcs_tes_buffer_address()
236 base_addr = ac_build_imad(&ctx->ac, param_index, param_stride, base_addr); in get_tcs_tes_buffer_address()
651 lds_base = ac_build_imad(&ctx->ac, invocation_id, lds_vertex_stride, lds_base); in si_copy_tcs_inputs()
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_resources.c187 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 2, 0), ctx->ac.i32_1); in si_load_image_desc()
219 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 4, 0), ctx->ac.i32_1); in si_load_sampler_desc()
224 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 2, 0), ctx->ac.i32_1); in si_load_sampler_desc()
228 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 4, 0), in si_load_sampler_desc()
H A Dsi_shader_llvm_tess.c126 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, patch0_offset); in get_tcs_out_current_patch_offset()
135 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, patch0_patch_data_offset); in get_tcs_out_current_patch_data_offset()
180 base_addr = ac_build_imad(&ctx->ac, vertex_index, vertex_dw_stride, base_addr); in get_dw_address_from_generic_indices()
184 base_addr = ac_build_imad(&ctx->ac, param_index, LLVMConstInt(ctx->ac.i32, 4, 0), base_addr); in get_dw_address_from_generic_indices()
229 base_addr = ac_build_imad(&ctx->ac, rel_patch_id, vertices_per_patch, vertex_index); in get_tcs_tes_buffer_address()
236 base_addr = ac_build_imad(&ctx->ac, param_index, param_stride, base_addr); in get_tcs_tes_buffer_address()
651 lds_base = ac_build_imad(&ctx->ac, invocation_id, lds_vertex_stride, lds_base); in si_copy_tcs_inputs()
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_resources.c187 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 2, 0), ctx->ac.i32_1); in si_load_image_desc()
219 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 4, 0), ctx->ac.i32_1); in si_load_sampler_desc()
224 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 2, 0), ctx->ac.i32_1); in si_load_sampler_desc()
228 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 4, 0), in si_load_sampler_desc()
H A Dsi_shader_llvm_tess.c126 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, patch0_offset); in get_tcs_out_current_patch_offset()
135 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, patch0_patch_data_offset); in get_tcs_out_current_patch_data_offset()
180 base_addr = ac_build_imad(&ctx->ac, vertex_index, vertex_dw_stride, base_addr); in get_dw_address_from_generic_indices()
184 base_addr = ac_build_imad(&ctx->ac, param_index, LLVMConstInt(ctx->ac.i32, 4, 0), base_addr); in get_dw_address_from_generic_indices()
229 base_addr = ac_build_imad(&ctx->ac, rel_patch_id, vertices_per_patch, vertex_index); in get_tcs_tes_buffer_address()
236 base_addr = ac_build_imad(&ctx->ac, param_index, param_stride, base_addr); in get_tcs_tes_buffer_address()
651 lds_base = ac_build_imad(&ctx->ac, invocation_id, lds_vertex_stride, lds_base); in si_copy_tcs_inputs()
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_resources.c187 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 2, 0), ctx->ac.i32_1); in si_load_image_desc()
219 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 4, 0), ctx->ac.i32_1); in si_load_sampler_desc()
224 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 2, 0), ctx->ac.i32_1); in si_load_sampler_desc()
228 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 4, 0), in si_load_sampler_desc()
H A Dsi_shader_llvm_tess.c126 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, patch0_offset); in get_tcs_out_current_patch_offset()
135 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, patch0_patch_data_offset); in get_tcs_out_current_patch_data_offset()
180 base_addr = ac_build_imad(&ctx->ac, vertex_index, vertex_dw_stride, base_addr); in get_dw_address_from_generic_indices()
184 base_addr = ac_build_imad(&ctx->ac, param_index, LLVMConstInt(ctx->ac.i32, 4, 0), base_addr); in get_dw_address_from_generic_indices()
229 base_addr = ac_build_imad(&ctx->ac, rel_patch_id, vertices_per_patch, vertex_index); in get_tcs_tes_buffer_address()
236 base_addr = ac_build_imad(&ctx->ac, param_index, param_stride, base_addr); in get_tcs_tes_buffer_address()
651 lds_base = ac_build_imad(&ctx->ac, invocation_id, lds_vertex_stride, lds_base); in si_copy_tcs_inputs()
/dports/graphics/mesa-dri/mesa-21.3.6/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_resources.c187 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 2, 0), ctx->ac.i32_1); in si_load_image_desc()
219 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 4, 0), ctx->ac.i32_1); in si_load_sampler_desc()
224 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 2, 0), ctx->ac.i32_1); in si_load_sampler_desc()
228 index = ac_build_imad(&ctx->ac, index, LLVMConstInt(ctx->ac.i32, 4, 0), in si_load_sampler_desc()
H A Dsi_shader_llvm_tess.c126 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, patch0_offset); in get_tcs_out_current_patch_offset()
135 return ac_build_imad(&ctx->ac, patch_stride, rel_patch_id, patch0_patch_data_offset); in get_tcs_out_current_patch_data_offset()
180 base_addr = ac_build_imad(&ctx->ac, vertex_index, vertex_dw_stride, base_addr); in get_dw_address_from_generic_indices()
184 base_addr = ac_build_imad(&ctx->ac, param_index, LLVMConstInt(ctx->ac.i32, 4, 0), base_addr); in get_dw_address_from_generic_indices()
229 base_addr = ac_build_imad(&ctx->ac, rel_patch_id, vertices_per_patch, vertex_index); in get_tcs_tes_buffer_address()
236 base_addr = ac_build_imad(&ctx->ac, param_index, param_stride, base_addr); in get_tcs_tes_buffer_address()
651 lds_base = ac_build_imad(&ctx->ac, invocation_id, lds_vertex_stride, lds_base); in si_copy_tcs_inputs()
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/amd/llvm/
H A Dac_llvm_build.h591 LLVMValueRef ac_build_imad(struct ac_llvm_context *ctx, LLVMValueRef s0,

123