Lines Matching refs:LLVMGetParam
268 LLVMValueRef value = LLVMGetParam(ctx->main_fn, param); in unpack_param()
280 return LLVMGetParam(ctx->main_fn, in get_rel_patch_id()
450 LLVMGetParam(ctx->main_fn, param_start_instance), ""); in get_instance_index_for_fetch()
505 LLVMValueRef x1y1 = LLVMGetParam(ctx->main_fn, in si_llvm_load_input_vs()
507 LLVMValueRef x2y2 = LLVMGetParam(ctx->main_fn, in si_llvm_load_input_vs()
522 out[2] = LLVMGetParam(ctx->main_fn, in si_llvm_load_input_vs()
533 out[i] = LLVMGetParam(ctx->main_fn, in si_llvm_load_input_vs()
538 LLVMValueRef x1 = LLVMGetParam(ctx->main_fn, in si_llvm_load_input_vs()
540 LLVMValueRef y1 = LLVMGetParam(ctx->main_fn, in si_llvm_load_input_vs()
542 LLVMValueRef x2 = LLVMGetParam(ctx->main_fn, in si_llvm_load_input_vs()
544 LLVMValueRef y2 = LLVMGetParam(ctx->main_fn, in si_llvm_load_input_vs()
551 out[2] = LLVMGetParam(ctx->main_fn, in si_llvm_load_input_vs()
553 out[3] = LLVMGetParam(ctx->main_fn, in si_llvm_load_input_vs()
571 t_list_ptr = LLVMGetParam(ctx->main_fn, ctx->param_vertex_buffers); in si_llvm_load_input_vs()
577 vertex_index = LLVMGetParam(ctx->main_fn, in si_llvm_load_input_vs()
769 return LLVMGetParam(ctx->main_fn, in get_primitive_id()
1181 LLVMValueRef addr = LLVMGetParam(ctx->main_fn, param); in desc_from_addr_base64k()
1300 base = LLVMGetParam(ctx->main_fn, ctx->param_tcs_offchip_offset); in fetch_input_tes()
1327 base = LLVMGetParam(ctx->main_fn, ctx->param_tcs_offchip_offset); in si_nir_load_input_tes()
1408 base = LLVMGetParam(ctx->main_fn, ctx->param_tcs_offchip_offset); in store_output_tcs()
1522 base = LLVMGetParam(ctx->main_fn, ctx->param_tcs_offchip_offset); in si_nir_store_output_tcs()
1838 out[0] = mask & 0x1 ? LLVMGetParam(main_fn, offset++) : base->undef; in si_llvm_load_input_fs()
1839 out[1] = mask & 0x2 ? LLVMGetParam(main_fn, offset++) : base->undef; in si_llvm_load_input_fs()
1840 out[2] = mask & 0x4 ? LLVMGetParam(main_fn, offset++) : base->undef; in si_llvm_load_input_fs()
1841 out[3] = mask & 0x8 ? LLVMGetParam(main_fn, offset++) : base->undef; in si_llvm_load_input_fs()
1849 interp_param = LLVMGetParam(ctx->main_fn, interp_param_idx); in si_llvm_load_input_fs()
1855 LLVMGetParam(main_fn, SI_PARAM_PRIM_MASK), in si_llvm_load_input_fs()
1856 LLVMGetParam(main_fn, SI_PARAM_FRONT_FACE), in si_llvm_load_input_fs()
1889 LLVMValueRef desc = LLVMGetParam(ctx->main_fn, ctx->param_rw_buffers); in load_sample_position()
1915 LLVMGetParam(ctx->main_fn, ctx->param_tes_u), in si_load_tess_coord()
1916 LLVMGetParam(ctx->main_fn, ctx->param_tes_v), in si_load_tess_coord()
1939 base = LLVMGetParam(ctx->main_fn, ctx->param_tcs_offchip_offset); in load_tess_level()
2011 LLVMValueRef vs_state = LLVMGetParam(ctx->main_fn, ctx->param_vs_state_bits); in si_load_system_value()
2042 LLVMGetParam(ctx->main_fn, SI_PARAM_POS_X_FLOAT), in si_load_system_value()
2043 LLVMGetParam(ctx->main_fn, SI_PARAM_POS_Y_FLOAT), in si_load_system_value()
2044 LLVMGetParam(ctx->main_fn, SI_PARAM_POS_Z_FLOAT), in si_load_system_value()
2046 LLVMGetParam(ctx->main_fn, in si_load_system_value()
2063 LLVMGetParam(ctx->main_fn, SI_PARAM_POS_X_FLOAT), in si_load_system_value()
2064 LLVMGetParam(ctx->main_fn, SI_PARAM_POS_Y_FLOAT), in si_load_system_value()
2080 value = LLVMGetParam(ctx->main_fn, SI_PARAM_SAMPLE_COVERAGE); in si_load_system_value()
2103 buf = LLVMGetParam(ctx->main_fn, ctx->param_rw_buffers); in si_load_system_value()
2119 value = LLVMGetParam(ctx->main_fn, ctx->param_grid_size); in si_load_system_value()
2140 value = LLVMGetParam(ctx->main_fn, ctx->param_block_size); in si_load_system_value()
2152 values[i] = LLVMGetParam(ctx->main_fn, in si_load_system_value()
2161 value = LLVMGetParam(ctx->main_fn, ctx->param_thread_id); in si_load_system_value()
2244 LLVMValueRef list_ptr = LLVMGetParam(ctx->main_fn, in load_const_buffer_desc()
2254 LLVMValueRef ptr = LLVMGetParam(ctx->main_fn, ctx->param_const_and_shader_buffers); in load_ubo()
2267 LLVMValueRef rsrc_ptr = LLVMGetParam(ctx->main_fn, in load_ssbo()
2321 LLVMGetParam(ctx->main_fn, ctx->param_const_and_shader_buffers); in fetch_constant()
2373 LLVMValueRef ptr = LLVMGetParam(ctx->main_fn, ctx->param_const_and_shader_buffers); in fetch_constant()
2602 LLVMValueRef alpha_ref = LLVMGetParam(ctx->main_fn, in si_alpha_test()
2620 coverage = LLVMGetParam(ctx->main_fn, in si_scale_alpha_by_sample_mask()
2645 LLVMValueRef ptr = LLVMGetParam(ctx->main_fn, ctx->param_rw_buffers); in si_llvm_emit_clipvertex()
2785 LLVMGetParam(ctx->main_fn, in si_llvm_emit_streamout()
2795 LLVMValueRef buf_ptr = LLVMGetParam(ctx->main_fn, in si_llvm_emit_streamout()
2807 LLVMValueRef so_offset = LLVMGetParam(ctx->main_fn, in si_llvm_emit_streamout()
3050 buffer_offset = LLVMGetParam(ctx->main_fn, ctx->param_tcs_offchip_offset); in si_copy_tcs_inputs()
3186 tf_base = LLVMGetParam(ctx->main_fn, in si_write_tess_factors()
3224 base = LLVMGetParam(ctx->main_fn, ctx->param_tcs_offchip_offset); in si_write_tess_factors()
3259 LLVMGetParam(ctx->main_fn, param), in si_insert_input_ret()
3268 LLVMValueRef p = LLVMGetParam(ctx->main_fn, param); in si_insert_input_ret_float()
3282 ptr = LLVMGetParam(ctx->main_fn, param); in si_insert_input_ptr_as_2xi32()
3469 LLVMValueRef vertex_id = LLVMGetParam(ctx->main_fn, in si_llvm_emit_ls_epilogue()
3524 LLVMValueRef soffset = LLVMGetParam(ctx->main_fn, in si_llvm_emit_es_epilogue()
3578 return LLVMGetParam(ctx->main_fn, ctx->param_gs_wave_id); in si_get_gs_wave_id()
3641 cond = LLVMGetParam(ctx->main_fn, in si_llvm_emit_vs_epilogue()
3879 LLVMGetParam(ctx->main_fn, in si_llvm_return_fs_outputs()
3903 LLVMGetParam(ctx->main_fn, in si_llvm_return_fs_outputs()
4088 LLVMValueRef prim_mask = LLVMGetParam(ctx->main_fn, SI_PARAM_PRIM_MASK); in build_interp_intrinsic()
4127 interp_param = LLVMGetParam(ctx->main_fn, interp_param_idx); in build_interp_intrinsic()
4309 LLVMValueRef soffset = LLVMGetParam(ctx->main_fn, in si_llvm_emit_vertex()
4451 LLVMValueRef P = LLVMGetParam(ctx->main_fn, i); in si_create_function()
4470 *fninfo->assign[i] = LLVMGetParam(ctx->main_fn, i); in si_create_function()
5019 LLVMValueRef buf_ptr = LLVMGetParam(ctx->main_fn, in preload_ring_buffers()
5971 LLVMGetParam(ctx->main_fn, param), in si_init_exec_from_input()
6375 LLVMValueRef p = LLVMGetParam(func, i); in si_build_gs_prolog_function()
6379 LLVMValueRef p = LLVMGetParam(func, num_sgprs + i); in si_build_gs_prolog_function()
6409 vtx_in[i] = LLVMGetParam(func, gfx6_vtx_params[i]); in si_build_gs_prolog_function()
6412 prim_id = LLVMGetParam(func, num_sgprs + 2); in si_build_gs_prolog_function()
6491 LLVMValueRef param = LLVMGetParam(parts[0], i); in si_build_wrapper_function()
6503 LLVMValueRef param = LLVMGetParam(parts[main_part], fninfo.num_params); in si_build_wrapper_function()
6529 LLVMValueRef param = LLVMGetParam(ctx->main_fn, i); in si_build_wrapper_function()
6592 param = LLVMGetParam(parts[part], param_idx); in si_build_wrapper_function()
7092 ptr[0] = LLVMGetParam(ctx->main_fn, (is_merged_shader ? 8 : 0) + SI_SGPR_RW_BUFFERS); in si_prolog_get_rw_buffers()
7093 ptr[1] = LLVMGetParam(ctx->main_fn, (is_merged_shader ? 8 : 0) + SI_SGPR_RW_BUFFERS_HI); in si_prolog_get_rw_buffers()
7190 LLVMValueRef p = LLVMGetParam(func, i); in si_build_vs_prolog_function()
7236 LLVMGetParam(func, user_sgpr_base + in si_build_vs_prolog_function()
7353 invoc0_tess_factors[i] = LLVMGetParam(func, tess_factors_idx + 3 + i); in si_build_tcs_epilog_function()
7356 LLVMGetParam(func, tess_factors_idx), in si_build_tcs_epilog_function()
7357 LLVMGetParam(func, tess_factors_idx + 1), in si_build_tcs_epilog_function()
7358 LLVMGetParam(func, tess_factors_idx + 2), in si_build_tcs_epilog_function()
7475 LLVMValueRef p = LLVMGetParam(func, i); in si_build_ps_prolog_function()
7500 bc_optimize = LLVMGetParam(func, SI_PS_NUM_USER_SGPR); in si_build_ps_prolog_function()
7509 center[i] = LLVMGetParam(func, base + 2 + i); in si_build_ps_prolog_function()
7512 centroid[i] = LLVMGetParam(func, base + 4 + i); in si_build_ps_prolog_function()
7524 center[i] = LLVMGetParam(func, base + 8 + i); in si_build_ps_prolog_function()
7527 centroid[i] = LLVMGetParam(func, base + 10 + i); in si_build_ps_prolog_function()
7545 persp_sample[i] = LLVMGetParam(func, base + i); in si_build_ps_prolog_function()
7561 linear_sample[i] = LLVMGetParam(func, base + 6 + i); in si_build_ps_prolog_function()
7579 persp_center[i] = LLVMGetParam(func, base + 2 + i); in si_build_ps_prolog_function()
7595 linear_center[i] = LLVMGetParam(func, base + 8 + i); in si_build_ps_prolog_function()
7632 prim_mask = LLVMGetParam(func, SI_PS_NUM_USER_SGPR); in si_build_ps_prolog_function()
7635 face = LLVMGetParam(func, face_vgpr); in si_build_ps_prolog_function()
7685 LLVMValueRef samplemask = LLVMGetParam(func, ancillary_vgpr + 1); in si_build_ps_prolog_function()
7782 color[i] = LLVMGetParam(ctx->main_fn, vgpr++); in si_build_ps_epilog_function()
7791 depth = LLVMGetParam(ctx->main_fn, vgpr++); in si_build_ps_epilog_function()
7793 stencil = LLVMGetParam(ctx->main_fn, vgpr++); in si_build_ps_epilog_function()
7795 samplemask = LLVMGetParam(ctx->main_fn, vgpr++); in si_build_ps_epilog_function()