Home
last modified time | relevance | path

Searched refs:coef (Results 1 – 18 of 18) sorted by relevance

/dragonfly/contrib/gcc-4.7/gcc/
H A Domega.c832 pb->geqs[e].coef[i] = pb->geqs[e].coef[j]; in omega_delete_variable()
838 pb->eqs[e].coef[i] = pb->eqs[e].coef[j]; in omega_delete_variable()
1097 eqn->coef[j0] -= sub->coef[j0] * k; in omega_substitute()
1122 eqn->coef[j0] -= sub->coef[j0] * k; in omega_substitute()
1146 eqn->coef[j0] -= sub->coef[j0] * k; in omega_substitute()
1172 eqn->coef[k] = c * (sub->coef[k]); in omega_substitute()
1205 eq->coef[pb->num_vars] = eq->coef[i]; in omega_do_mod()
1533 proto->coef[i] = pb->geqs[e].coef[i]; in normalize_omega_problem()
1539 proto->coef[i] = -pb->geqs[e].coef[i]; in normalize_omega_problem()
1739 eqn->coef[var] = eqn->coef[var] / g; in divide_eqn_by_gcd()
[all …]
H A Dtree-affine.c69 comb->elts[0].coef = double_int_one; in aff_combination_elt()
102 comb->elts[j].coef = new_coef; in aff_combination_scale()
115 comb->elts[comb->n].coef = scale; in aff_combination_scale()
147 comb->elts[i].coef = new_coef; in aff_combination_add_elt()
157 comb->elts[comb->n].coef = double_int_one; in aff_combination_add_elt()
166 comb->elts[comb->n].coef = scale; in aff_combination_add_elt()
240 comb->elts[j].coef = new_coef; in aff_combination_convert()
521 double_int_mul (coef, c->elts[i].coef)); in aff_combination_add_product()
539 double_int_mul (coef, c->offset)); in aff_combination_add_product()
687 scale = comb->elts[i].coef; in aff_combination_expand()
[all …]
H A Dgraphite-cloog-util.c174 ppl_Coefficient_t coef; in cloog_matrix_to_ppl_constraint() local
178 ppl_new_Coefficient (&coef); in cloog_matrix_to_ppl_constraint()
186 ppl_assign_Coefficient_from_mpz_t (coef, matrix->p[row][j]); in cloog_matrix_to_ppl_constraint()
187 ppl_Linear_Expression_add_to_coefficient (expr, j - 1, coef); in cloog_matrix_to_ppl_constraint()
190 ppl_assign_Coefficient_from_mpz_t (coef, in cloog_matrix_to_ppl_constraint()
192 ppl_Linear_Expression_add_to_inhomogeneous (expr, coef); in cloog_matrix_to_ppl_constraint()
193 ppl_delete_Coefficient (coef); in cloog_matrix_to_ppl_constraint()
H A Dgraphite-ppl.c473 ppl_Coefficient_t coef; in ppl_build_relation() local
484 ppl_new_Coefficient (&coef); in ppl_build_relation()
487 ppl_assign_Coefficient_from_mpz_t (coef, v); in ppl_build_relation()
488 ppl_Linear_Expression_add_to_coefficient (expr, pos1, coef); in ppl_build_relation()
489 ppl_assign_Coefficient_from_mpz_t (coef, v_op); in ppl_build_relation()
490 ppl_Linear_Expression_add_to_coefficient (expr, pos2, coef); in ppl_build_relation()
491 ppl_assign_Coefficient_from_mpz_t (coef, v_c); in ppl_build_relation()
492 ppl_Linear_Expression_add_to_inhomogeneous (expr, coef); in ppl_build_relation()
497 ppl_delete_Coefficient (coef); in ppl_build_relation()
H A Domega.h72 int *coef; member
197 memcpy (e1->coef, e2->coef, (s + 1) * sizeof (int)); in omega_copy_eqn()
209 memset (e->coef, 0, (s + 1) * sizeof (int)); in omega_init_eqn_zero()
222 res[i].coef = (int *) (xcalloc (OMEGA_MAX_VARS + 1, sizeof (int))); in omega_alloc_eqns()
237 free (eq[i].coef); in omega_free_eqns()
H A Dtree-ssa-address.c404 if (!double_int_one_p (addr->elts[i].coef)) in move_fixed_address_to_symbol()
432 if (!double_int_one_p (addr->elts[i].coef)) in move_hint_to_base()
464 if (!double_int_one_p (addr->elts[i].coef)) in move_pointer_to_base()
542 HOST_WIDE_INT coef; in most_expensive_mult_to_index() local
552 if (!double_int_fits_in_shwi_p (addr->elts[i].coef)) in most_expensive_mult_to_index()
555 coef = double_int_to_shwi (addr->elts[i].coef); in most_expensive_mult_to_index()
556 if (coef == 1 in most_expensive_mult_to_index()
565 best_mult = addr->elts[i].coef; in most_expensive_mult_to_index()
575 amult = addr->elts[i].coef; in most_expensive_mult_to_index()
660 if (!double_int_one_p (addr->elts[i].coef)) in addr_to_parts()
[all …]
H A Dtree-data-ref.c221 tree coef; in dump_affine_function() local
1148 tree coef; in affine_function_constant_p() local
1151 if (!integer_zerop (coef)) in affine_function_constant_p()
1186 tree coef; in affine_fn_op() local
1214 coef, integer_zero_node)); in affine_fn_op()
1218 integer_zero_node, coef)); in affine_fn_op()
3762 copy->eqs[eq].coef[0] = -1; in omega_extract_distance_vectors()
3773 dist = copy->subs[eq].coef[0]; in omega_extract_distance_vectors()
3790 dist = copy->subs[eq].coef[0]; in omega_extract_distance_vectors()
3850 pb->eqs[eq].coef[0])) in omega_setup_subscript()
[all …]
H A Dgraphite-poly.c70 ppl_Coefficient_t coef; in extend_scattering() local
76 ppl_new_Coefficient (&coef); in extend_scattering()
77 ppl_assign_Coefficient_from_mpz_t (coef, one); in extend_scattering()
96 ppl_Linear_Expression_add_to_coefficient (expr, i, coef); in extend_scattering()
103 ppl_delete_Coefficient (coef); in extend_scattering()
1573 ppl_Coefficient_t coef; in psct_scattering_dim_for_loop_depth() local
1578 ppl_new_Coefficient (&coef); in psct_scattering_dim_for_loop_depth()
1590 ppl_Linear_Expression_coefficient (expr, iter, coef); in psct_scattering_dim_for_loop_depth()
1591 ppl_Coefficient_to_mpz_t (coef, val); in psct_scattering_dim_for_loop_depth()
1604 ppl_Coefficient_to_mpz_t (coef, val); in psct_scattering_dim_for_loop_depth()
[all …]
H A Dgraphite-sese-to-poly.c595 ppl_Coefficient_t coef; in add_value_to_dim() local
597 ppl_new_Coefficient (&coef); in add_value_to_dim()
600 ppl_Coefficient_to_mpz_t (coef, val); in add_value_to_dim()
607 ppl_delete_Coefficient (coef); in add_value_to_dim()
649 ppl_Coefficient_t coef; in scan_tree_for_params_int() local
659 ppl_new_Coefficient (&coef); in scan_tree_for_params_int()
663 ppl_delete_Coefficient (coef); in scan_tree_for_params_int()
827 ppl_Coefficient_t coef; in scan_tree_for_params() local
838 ppl_delete_Coefficient (coef); in scan_tree_for_params()
966 ppl_Coefficient_t coef; in add_upper_bounds_from_estimated_nit() local
[all …]
H A Dtree-affine.h33 double_int coef; member
H A Dtree-ssa-loop-ivopts.c3875 if (double_int_cmp (aff1->elts[i].coef, aff2->elts[i].coef, 0) != 0) in compare_aff_trees()
/dragonfly/contrib/gcc-8.0/gcc/
H A Dtree-affine.c61 comb->elts[i].coef = 0; in aff_combination_zero()
83 comb->elts[0].coef = 1; in aff_combination_elt()
112 comb->elts[j].coef = new_coef; in aff_combination_scale()
125 comb->elts[comb->n].coef = scale; in aff_combination_scale()
155 comb->elts[i].coef = new_coef; in aff_combination_add_elt()
165 comb->elts[comb->n].coef = 1; in aff_combination_add_elt()
245 if (comb->elts[i].coef == 0) in aff_combination_convert()
247 comb->elts[j].coef = comb->elts[i].coef; in aff_combination_convert()
587 aff_combination_add_elt (r, aval, coef * c->elts[i].coef); in aff_combination_add_product()
753 scale = comb->elts[i].coef; in aff_combination_expand()
[all …]
H A Dtree-affine.h37 widest_int coef; member
125 && (aff->elts[0].coef == 1 || aff->elts[0].coef == -1)); in aff_combination_singleton_var_p()
H A Dtree-ssa-address.c416 if (addr->elts[i].coef != 1) in move_fixed_address_to_symbol()
445 if (addr->elts[i].coef != 1) in move_hint_to_base()
478 if (addr->elts[i].coef != 1) in move_pointer_to_base()
611 HOST_WIDE_INT coef; in most_expensive_mult_to_index() local
620 if (!wi::fits_shwi_p (addr->elts[i].coef)) in most_expensive_mult_to_index()
623 coef = addr->elts[i].coef.to_shwi (); in most_expensive_mult_to_index()
624 if (coef == 1 in most_expensive_mult_to_index()
628 acost = mult_by_coeff_cost (coef, address_mode, speed); in most_expensive_mult_to_index()
633 best_mult = offset_int::from (addr->elts[i].coef, SIGNED); in most_expensive_mult_to_index()
725 if (addr->elts[i].coef != 1) in addr_to_parts()
[all …]
H A Dtree-data-ref.c263 tree coef; in dump_affine_function() local
266 for (i = 1; fn.iterate (i, &coef); i++) in dump_affine_function()
2041 tree coef; in affine_function_constant_p() local
2043 for (i = 1; fn.iterate (i, &coef); i++) in affine_function_constant_p()
2044 if (!integer_zerop (coef)) in affine_function_constant_p()
2079 tree coef; in affine_fn_op() local
2100 for (; fna.iterate (i, &coef); i++) in affine_fn_op()
2102 coef, integer_zero_node)); in affine_fn_op()
2103 for (; fnb.iterate (i, &coef); i++) in affine_fn_op()
2105 integer_zero_node, coef)); in affine_fn_op()
[all …]
/dragonfly/usr.bin/calendar/
H A Dmoon.c188 double coef[] = { 218.3164477, 481267.88123421, -0.0015786, in lunar_longitude_mean() local
190 return mod_f(poly(c, coef, nitems(coef)), 360); in lunar_longitude_mean()
201 double coef[] = { 297.8501921, 445267.1114034, -0.0018819, in lunar_elongation() local
203 return mod_f(poly(c, coef, nitems(coef)), 360); in lunar_elongation()
214 double coef[] = { 357.5291092, 35999.0502909, -0.0001536, in solar_anomaly() local
216 return mod_f(poly(c, coef, nitems(coef)), 360); in solar_anomaly()
227 double coef[] = { 134.9633964, 477198.8675055, 0.0087414, in lunar_anomaly() local
229 return mod_f(poly(c, coef, nitems(coef)), 360); in lunar_anomaly()
240 double coef[] = { 93.2720950, 483202.0175233, -0.0036539, in moon_node() local
242 return mod_f(poly(c, coef, nitems(coef)), 360); in moon_node()
H A Dbasics.c221 double coef[] = { 280.46061837, 360.98564736629 * century_days, in sidereal_from_moment() local
223 return mod_f(poly(c, coef, nitems(coef)), 360); in sidereal_from_moment()
287 double coef[] = { in obliquity() local
293 double correction = poly(c, coef, nitems(coef)); in obliquity()
/dragonfly/sys/dev/netif/wpi/
H A Dif_wpireg.h875 int32_t coef[5]; member