Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_cs.c148 context_ptr = LLVMGetParam(function, 0); in generate_compute()
149 x_size_arg = LLVMGetParam(function, 1); in generate_compute()
150 y_size_arg = LLVMGetParam(function, 2); in generate_compute()
151 z_size_arg = LLVMGetParam(function, 3); in generate_compute()
152 grid_x_arg = LLVMGetParam(function, 4); in generate_compute()
153 grid_y_arg = LLVMGetParam(function, 5); in generate_compute()
154 grid_z_arg = LLVMGetParam(function, 6); in generate_compute()
155 grid_size_x_arg = LLVMGetParam(function, 7); in generate_compute()
156 grid_size_y_arg = LLVMGetParam(function, 8); in generate_compute()
157 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_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_state_setup.c770 args.v0 = LLVMGetParam(variant->function, 0); in generate_setup_variant()
771 args.v1 = LLVMGetParam(variant->function, 1); in generate_setup_variant()
772 args.v2 = LLVMGetParam(variant->function, 2); in generate_setup_variant()
773 args.facing = LLVMGetParam(variant->function, 3); in generate_setup_variant()
774 args.a0 = LLVMGetParam(variant->function, 4); in generate_setup_variant()
775 args.dadx = LLVMGetParam(variant->function, 5); in generate_setup_variant()
776 args.dady = LLVMGetParam(variant->function, 6); in generate_setup_variant()
Dlp_test_arit.c335 LLVMValueRef arg0 = LLVMGetParam(func, 0); in build_unary_test_func()
336 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.c3048 context_ptr = LLVMGetParam(function, 0); in generate_fragment()
3049 x = LLVMGetParam(function, 1); in generate_fragment()
3050 y = LLVMGetParam(function, 2); in generate_fragment()
3051 facing = LLVMGetParam(function, 3); in generate_fragment()
3052 a0_ptr = LLVMGetParam(function, 4); in generate_fragment()
3053 dadx_ptr = LLVMGetParam(function, 5); in generate_fragment()
3054 dady_ptr = LLVMGetParam(function, 6); in generate_fragment()
3055 color_ptr_ptr = LLVMGetParam(function, 7); in generate_fragment()
3056 depth_ptr = LLVMGetParam(function, 8); in generate_fragment()
3057 mask_input = LLVMGetParam(function, 9); in generate_fragment()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_ps.c211 LLVMValueRef alpha_ref = LLVMGetParam(ctx->main_fn, SI_PARAM_ALPHA_REF); in si_alpha_test()
228 coverage = LLVMGetParam(ctx->main_fn, samplemask_param); in si_scale_alpha_by_sample_mask()
541 builder, ret, ac_to_integer(&ctx->ac, LLVMGetParam(ctx->main_fn, SI_PARAM_ALPHA_REF)), in si_llvm_return_fs_outputs()
572 ret = LLVMBuildInsertValue(builder, ret, LLVMGetParam(ctx->main_fn, SI_PARAM_SAMPLE_COVERAGE), in si_llvm_return_fs_outputs()
663 LLVMValueRef p = LLVMGetParam(func, i); in si_llvm_build_ps_prolog()
685 bc_optimize = LLVMGetParam(func, SI_PS_NUM_USER_SGPR); in si_llvm_build_ps_prolog()
693 center[i] = LLVMGetParam(func, base + 2 + i); in si_llvm_build_ps_prolog()
696 centroid[i] = LLVMGetParam(func, base + 4 + i); in si_llvm_build_ps_prolog()
706 center[i] = LLVMGetParam(func, base + 8 + i); in si_llvm_build_ps_prolog()
709 centroid[i] = LLVMGetParam(func, base + 10 + i); in si_llvm_build_ps_prolog()
[all …]
Dsi_shader_llvm.c259 ptr[0] = LLVMGetParam(ctx->main_fn, (merged_shader ? 8 : 0) + SI_SGPR_RW_BUFFERS); in si_prolog_get_rw_buffers()
395 values[0] = mask & 0x1 ? LLVMGetParam(main_fn, offset++) : undef; in si_nir_build_llvm()
396 values[1] = mask & 0x2 ? LLVMGetParam(main_fn, offset++) : undef; in si_nir_build_llvm()
397 values[2] = mask & 0x4 ? LLVMGetParam(main_fn, offset++) : undef; in si_nir_build_llvm()
398 values[3] = mask & 0x8 ? LLVMGetParam(main_fn, offset++) : undef; in si_nir_build_llvm()
404 values[0] = mask & 0x1 ? LLVMGetParam(main_fn, offset++) : undef; in si_nir_build_llvm()
405 values[1] = mask & 0x2 ? LLVMGetParam(main_fn, offset++) : undef; in si_nir_build_llvm()
406 values[2] = mask & 0x4 ? LLVMGetParam(main_fn, offset++) : undef; in si_nir_build_llvm()
407 values[3] = mask & 0x8 ? LLVMGetParam(main_fn, offset++) : undef; in si_nir_build_llvm()
493 LLVMValueRef param = LLVMGetParam(parts[0], i); in si_build_wrapper_function()
[all …]
Dsi_shader_llvm_vs.c58 LLVMValueRef x1y1 = LLVMGetParam(ctx->main_fn, param_vs_blit_inputs); in load_input_vs()
59 LLVMValueRef x2y2 = LLVMGetParam(ctx->main_fn, param_vs_blit_inputs + 1); in load_input_vs()
71 out[2] = LLVMGetParam(ctx->main_fn, param_vs_blit_inputs + 2); in load_input_vs()
81 out[i] = LLVMGetParam(ctx->main_fn, param_vs_blit_inputs + 3 + i); in load_input_vs()
85 LLVMValueRef x1 = LLVMGetParam(ctx->main_fn, param_vs_blit_inputs + 3); in load_input_vs()
86 LLVMValueRef y1 = LLVMGetParam(ctx->main_fn, param_vs_blit_inputs + 4); in load_input_vs()
87 LLVMValueRef x2 = LLVMGetParam(ctx->main_fn, param_vs_blit_inputs + 5); in load_input_vs()
88 LLVMValueRef y2 = LLVMGetParam(ctx->main_fn, param_vs_blit_inputs + 6); in load_input_vs()
92 out[2] = LLVMGetParam(ctx->main_fn, param_vs_blit_inputs + 7); in load_input_vs()
93 out[3] = LLVMGetParam(ctx->main_fn, param_vs_blit_inputs + 8); in load_input_vs()
[all …]
Dsi_shader_llvm_gs.c612 LLVMValueRef p = LLVMGetParam(func, i); in si_llvm_build_gs_prolog()
616 LLVMValueRef p = LLVMGetParam(func, num_sgprs + i); in si_llvm_build_gs_prolog()
646 prim_id = LLVMGetParam(func, num_sgprs + 2); in si_llvm_build_gs_prolog()
Dsi_compute_prim_discard.c365 vs_params[num_vs_params++] = LLVMGetUndef(LLVMTypeOf(LLVMGetParam(vs, 0))); /* RW_BUFFERS */ in si_build_prim_discard_compute_shader()
366 vs_params[num_vs_params++] = LLVMGetUndef(LLVMTypeOf(LLVMGetParam(vs, 1))); /* BINDLESS */ in si_build_prim_discard_compute_shader()
/external/llvm-project/llvm/examples/OrcV2Examples/OrcV2CBindingsReflectProcessSymbols/
DOrcV2CBindingsReflectProcessSymbols.c88 LLVMValueRef SumArg0 = LLVMGetParam(MulAddFunction, 0); in createDemoModule()
89 LLVMValueRef SumArg1 = LLVMGetParam(MulAddFunction, 1); in createDemoModule()
90 LLVMValueRef SumArg2 = LLVMGetParam(MulAddFunction, 2); in createDemoModule()
/external/llvm-project/llvm/examples/OrcV2Examples/OrcV2CBindingsBasicUsage/
DOrcV2CBindingsBasicUsage.c51 LLVMValueRef SumArg0 = LLVMGetParam(SumFunction, 0); in createDemoModule()
52 LLVMValueRef SumArg1 = LLVMGetParam(SumFunction, 1); in createDemoModule()
/external/llvm-project/llvm/examples/OrcV2Examples/OrcV2CBindingsRemovableCode/
DOrcV2CBindingsRemovableCode.c51 LLVMValueRef SumArg0 = LLVMGetParam(SumFunction, 0); in createDemoModule()
52 LLVMValueRef SumArg1 = LLVMGetParam(SumFunction, 1); in createDemoModule()
/external/llvm-project/llvm/examples/OrcV2Examples/OrcV2CBindingsAddObjectFile/
DOrcV2CBindingsAddObjectFile.c46 LLVMValueRef SumArg0 = LLVMGetParam(SumFunction, 0); in createDemoModule()
47 LLVMValueRef SumArg1 = LLVMGetParam(SumFunction, 1); in createDemoModule()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c1975 context_ptr = LLVMGetParam(variant_func, 0); in draw_llvm_generate()
1976 io_ptr = LLVMGetParam(variant_func, 1); in draw_llvm_generate()
1977 vbuffers_ptr = LLVMGetParam(variant_func, 2); in draw_llvm_generate()
1978 count = LLVMGetParam(variant_func, 3); in draw_llvm_generate()
1984 start_or_maxelt = LLVMGetParam(variant_func, 4); in draw_llvm_generate()
1991 stride = LLVMGetParam(variant_func, 5); in draw_llvm_generate()
1992 vb_ptr = LLVMGetParam(variant_func, 6); in draw_llvm_generate()
1993 system_values.instance_id = LLVMGetParam(variant_func, 7); in draw_llvm_generate()
1994 vertex_id_offset = LLVMGetParam(variant_func, 8); in draw_llvm_generate()
1995 system_values.base_instance = LLVMGetParam(variant_func, 9); in draw_llvm_generate()
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_intr.c174 LLVMAddAttribute(LLVMGetParam(function_or_call, attr_idx - 1), llvm_attr); in lp_add_function_attr()
Dlp_bld_sample_soa.c3517 context_ptr = LLVMGetParam(function, num_param++); in lp_build_sample_gen_func()
3519 thread_data_ptr = LLVMGetParam(function, num_param++); in lp_build_sample_gen_func()
3522 coords[i] = LLVMGetParam(function, num_param++); in lp_build_sample_gen_func()
3529 coords[layer] = LLVMGetParam(function, num_param++); in lp_build_sample_gen_func()
3532 coords[4] = LLVMGetParam(function, num_param++); in lp_build_sample_gen_func()
3535 ms_index = LLVMGetParam(function, num_param++); in lp_build_sample_gen_func()
3539 offsets[i] = LLVMGetParam(function, num_param++); in lp_build_sample_gen_func()
3544 lod = LLVMGetParam(function, num_param++); in lp_build_sample_gen_func()
3548 derivs.ddx[i] = LLVMGetParam(function, num_param++); in lp_build_sample_gen_func()
3549 derivs.ddy[i] = LLVMGetParam(function, num_param++); in lp_build_sample_gen_func()
Dlp_bld_format_s3tc.c1924 ptr_addr = LLVMGetParam(function, 0); in generate_update_cache_one_block()
1925 hash_index = LLVMGetParam(function, 1); in generate_update_cache_one_block()
1926 cache = LLVMGetParam(function, 2); in generate_update_cache_one_block()
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITCAPITest.cpp252 LLVMValueRef Arg = LLVMGetParam(Function2, 0); in buildModuleWithCodeAndData()
/external/llvm-project/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITCAPITest.cpp252 LLVMValueRef Arg = LLVMGetParam(Function2, 0); in buildModuleWithCodeAndData()
/external/mesa3d/src/amd/llvm/
Dac_llvm_build.h579 return LLVMGetParam(ctx->main_function, arg.arg_index); in ac_get_arg()
/external/llvm/include/llvm-c/
DCore.h2085 LLVMValueRef LLVMGetParam(LLVMValueRef Fn, unsigned Index);
/external/llvm-project/llvm/include/llvm-c/
DCore.h2615 LLVMValueRef LLVMGetParam(LLVMValueRef Fn, unsigned Index);

12