Home
last modified time | relevance | path

Searched refs:LLVMGetParam (Results 1 – 22 of 22) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_cs.c151 context_ptr = LLVMGetParam(function, 0); in generate_compute()
152 block_x_size_arg = LLVMGetParam(function, 1); in generate_compute()
153 block_y_size_arg = LLVMGetParam(function, 2); in generate_compute()
154 block_z_size_arg = LLVMGetParam(function, 3); in generate_compute()
155 grid_x_arg = LLVMGetParam(function, 4); in generate_compute()
156 grid_y_arg = LLVMGetParam(function, 5); in generate_compute()
157 grid_z_arg = LLVMGetParam(function, 6); in generate_compute()
158 grid_size_x_arg = LLVMGetParam(function, 7); in generate_compute()
159 grid_size_y_arg = LLVMGetParam(function, 8); in generate_compute()
160 grid_size_z_arg = LLVMGetParam(function, 9); in generate_compute()
[all …]
Dlp_test_format.c111 rgba_ptr = LLVMGetParam(func, 0); in add_fetch_rgba_test()
112 packed_ptr = LLVMGetParam(func, 1); in add_fetch_rgba_test()
113 i = LLVMGetParam(func, 2); in add_fetch_rgba_test()
114 j = LLVMGetParam(func, 3); in add_fetch_rgba_test()
117 cache = LLVMGetParam(func, 4); in add_fetch_rgba_test()
Dlp_state_setup.c689 args.v0 = LLVMGetParam(variant->function, 0); in generate_setup_variant()
690 args.v1 = LLVMGetParam(variant->function, 1); in generate_setup_variant()
691 args.v2 = LLVMGetParam(variant->function, 2); in generate_setup_variant()
692 args.facing = LLVMGetParam(variant->function, 3); in generate_setup_variant()
693 args.a0 = LLVMGetParam(variant->function, 4); in generate_setup_variant()
694 args.dadx = LLVMGetParam(variant->function, 5); in generate_setup_variant()
695 args.dady = LLVMGetParam(variant->function, 6); in generate_setup_variant()
696 args.key = LLVMGetParam(variant->function, 7); in generate_setup_variant()
Dlp_state_fs_linear_llvm.c312 LLVMValueRef context_ptr = LLVMGetParam(function, 0); in llvmpipe_fs_variant_linear_llvm()
313 LLVMValueRef x = LLVMGetParam(function, 1); in llvmpipe_fs_variant_linear_llvm()
314 LLVMValueRef y = LLVMGetParam(function, 2); in llvmpipe_fs_variant_linear_llvm()
315 LLVMValueRef width = LLVMGetParam(function, 3); in llvmpipe_fs_variant_linear_llvm()
Dlp_test_blend.c165 src_ptr = LLVMGetParam(func, 0); in add_blend_test()
166 src1_ptr = LLVMGetParam(func, 1); in add_blend_test()
167 dst_ptr = LLVMGetParam(func, 2); in add_blend_test()
168 const_ptr = LLVMGetParam(func, 3); in add_blend_test()
169 res_ptr = LLVMGetParam(func, 4); in add_blend_test()
Dlp_test_arit.c352 LLVMValueRef arg0 = LLVMGetParam(func, 0); in build_unary_test_func()
353 LLVMValueRef arg1 = LLVMGetParam(func, 1); in build_unary_test_func()
Dlp_test_conv.c123 src_ptr = LLVMGetParam(func, 0); in add_conv_test()
124 dst_ptr = LLVMGetParam(func, 1); in add_conv_test()
Dlp_state_fs.c3174 context_ptr = LLVMGetParam(function, 0); in generate_fragment()
3175 x = LLVMGetParam(function, 1); in generate_fragment()
3176 y = LLVMGetParam(function, 2); in generate_fragment()
3177 facing = LLVMGetParam(function, 3); in generate_fragment()
3178 a0_ptr = LLVMGetParam(function, 4); in generate_fragment()
3179 dadx_ptr = LLVMGetParam(function, 5); in generate_fragment()
3180 dady_ptr = LLVMGetParam(function, 6); in generate_fragment()
3181 color_ptr_ptr = LLVMGetParam(function, 7); in generate_fragment()
3182 depth_ptr = LLVMGetParam(function, 8); in generate_fragment()
3183 mask_input = LLVMGetParam(function, 9); in generate_fragment()
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_ps.c209 LLVMValueRef alpha_ref = LLVMGetParam(ctx->main_fn, SI_PARAM_ALPHA_REF); in si_alpha_test()
503 builder, ret, ac_to_integer(&ctx->ac, LLVMGetParam(ctx->main_fn, SI_PARAM_ALPHA_REF)), in si_llvm_ps_build_end()
619 LLVMValueRef p = LLVMGetParam(func, i); in si_llvm_build_ps_prolog()
641 bc_optimize = LLVMGetParam(func, SI_PS_NUM_USER_SGPR); in si_llvm_build_ps_prolog()
649 center[i] = LLVMGetParam(func, base + 2 + i); in si_llvm_build_ps_prolog()
652 centroid[i] = LLVMGetParam(func, base + 4 + i); in si_llvm_build_ps_prolog()
662 center[i] = LLVMGetParam(func, base + 8 + i); in si_llvm_build_ps_prolog()
665 centroid[i] = LLVMGetParam(func, base + 10 + i); in si_llvm_build_ps_prolog()
681 persp_sample[i] = LLVMGetParam(func, base + i); in si_llvm_build_ps_prolog()
695 linear_sample[i] = LLVMGetParam(func, base + 6 + i); in si_llvm_build_ps_prolog()
[all …]
Dsi_shader_llvm_vs.c59 LLVMValueRef x1y1 = LLVMGetParam(ctx->main_fn, param_vs_blit_inputs); in load_input_vs()
60 LLVMValueRef x2y2 = LLVMGetParam(ctx->main_fn, param_vs_blit_inputs + 1); in load_input_vs()
72 out[2] = LLVMGetParam(ctx->main_fn, param_vs_blit_inputs + 2); in load_input_vs()
82 out[i] = LLVMGetParam(ctx->main_fn, param_vs_blit_inputs + 3 + i); in load_input_vs()
86 LLVMValueRef x1 = LLVMGetParam(ctx->main_fn, param_vs_blit_inputs + 3); in load_input_vs()
87 LLVMValueRef y1 = LLVMGetParam(ctx->main_fn, param_vs_blit_inputs + 4); in load_input_vs()
88 LLVMValueRef x2 = LLVMGetParam(ctx->main_fn, param_vs_blit_inputs + 5); in load_input_vs()
89 LLVMValueRef y2 = LLVMGetParam(ctx->main_fn, param_vs_blit_inputs + 6); in load_input_vs()
93 out[2] = LLVMGetParam(ctx->main_fn, param_vs_blit_inputs + 7); in load_input_vs()
94 out[3] = LLVMGetParam(ctx->main_fn, param_vs_blit_inputs + 8); in load_input_vs()
[all …]
Dsi_shader_llvm.c320 ptr[0] = LLVMGetParam(ctx->main_fn, (merged_shader ? 8 : 0) + SI_SGPR_INTERNAL_BINDINGS); in si_prolog_get_internal_bindings()
460 LLVMValueRef param = LLVMGetParam(parts[0], i); in si_build_wrapper_function()
472 LLVMValueRef param = LLVMGetParam(parts[main_part], ctx->args.arg_count); in si_build_wrapper_function()
539 LLVMValueRef param = LLVMGetParam(ctx->main_fn, i); in si_build_wrapper_function()
613 param = LLVMGetParam(parts[part], param_idx); in si_build_wrapper_function()
886 values[0] = mask & 0x1 ? LLVMGetParam(main_fn, offset++) : undef; in si_llvm_translate_nir()
887 values[1] = mask & 0x2 ? LLVMGetParam(main_fn, offset++) : undef; in si_llvm_translate_nir()
888 values[2] = mask & 0x4 ? LLVMGetParam(main_fn, offset++) : undef; in si_llvm_translate_nir()
889 values[3] = mask & 0x8 ? LLVMGetParam(main_fn, offset++) : undef; in si_llvm_translate_nir()
895 values[0] = mask & 0x1 ? LLVMGetParam(main_fn, offset++) : undef; in si_llvm_translate_nir()
[all …]
Dsi_shader_llvm_tess.c276 value[i] = LLVMGetParam(ctx->main_fn, func_param + i); in si_nir_load_tcs_varyings()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c1984 context_ptr = LLVMGetParam(variant_func, 0); in draw_llvm_generate()
1985 io_ptr = LLVMGetParam(variant_func, 1); in draw_llvm_generate()
1986 vbuffers_ptr = LLVMGetParam(variant_func, 2); in draw_llvm_generate()
1987 count = LLVMGetParam(variant_func, 3); in draw_llvm_generate()
1993 start_or_maxelt = LLVMGetParam(variant_func, 4); in draw_llvm_generate()
2000 stride = LLVMGetParam(variant_func, 5); in draw_llvm_generate()
2001 vb_ptr = LLVMGetParam(variant_func, 6); in draw_llvm_generate()
2002 system_values.instance_id = LLVMGetParam(variant_func, 7); in draw_llvm_generate()
2003 vertex_id_offset = LLVMGetParam(variant_func, 8); in draw_llvm_generate()
2004 system_values.base_instance = LLVMGetParam(variant_func, 9); in draw_llvm_generate()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_soa.c4007 context_ptr = LLVMGetParam(function, num_param++); in lp_build_sample_gen_func()
4009 aniso_filter_table = LLVMGetParam(function, num_param++); in lp_build_sample_gen_func()
4011 thread_data_ptr = LLVMGetParam(function, num_param++); in lp_build_sample_gen_func()
4014 coords[i] = LLVMGetParam(function, num_param++); in lp_build_sample_gen_func()
4021 coords[layer] = LLVMGetParam(function, num_param++); in lp_build_sample_gen_func()
4024 coords[4] = LLVMGetParam(function, num_param++); in lp_build_sample_gen_func()
4027 ms_index = LLVMGetParam(function, num_param++); in lp_build_sample_gen_func()
4031 offsets[i] = LLVMGetParam(function, num_param++); in lp_build_sample_gen_func()
4036 lod = LLVMGetParam(function, num_param++); in lp_build_sample_gen_func()
4040 derivs.ddx[i] = LLVMGetParam(function, num_param++); in lp_build_sample_gen_func()
[all …]
Dlp_bld_intr.c185 LLVMAddAttribute(LLVMGetParam(function_or_call, attr_idx - 1), llvm_attr); in lp_add_function_attr()
Dlp_bld_format_s3tc.c1928 ptr_addr = LLVMGetParam(function, 0); in generate_update_cache_one_block()
1929 hash_index = LLVMGetParam(function, 1); in generate_update_cache_one_block()
1930 cache = LLVMGetParam(function, 2); in generate_update_cache_one_block()
/third_party/ltp/tools/sparse/sparse-src/
Dsparse-llvm.c384 result = LLVMGetParam(fn->fn, pseudo->nr - 1); in pseudo_to_value()
1139 arg = LLVMGetParam(function.fn, i); in output_fn()
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_build.h581 return LLVMGetParam(ctx->main_function, arg.arg_index); in ac_get_arg()
Dac_llvm_build.c4549 LLVMValueRef P = LLVMGetParam(main_function, i); in ac_build_main()
Dac_nir_to_llvm.c4333 result = ac_to_integer(&ctx->ac, LLVMGetParam(ctx->main_function, nir_intrinsic_base(instr))); in visit_intrinsic()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h2578 LLVMValueRef LLVMGetParam(LLVMValueRef Fn, unsigned Index);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DCore.cpp2450 LLVMValueRef LLVMGetParam(LLVMValueRef FnRef, unsigned index) { in LLVMGetParam() function