Lines Matching defs:alg2
2886 struct algorithm alg2;
2922 synth_mult (&alg2, -val, &limit, mode);
2923 alg2.cost.cost += op_cost;
2924 alg2.cost.latency += op_cost;
2925 if (CHEAPER_MULT_COST (&alg2.cost, &alg->cost))
2926 *alg = alg2, *variant = negate_variant;
2942 synth_mult (&alg2, val - 1, &limit, mode);
2943 alg2.cost.cost += op_cost;
2944 alg2.cost.latency += op_cost;
2945 if (CHEAPER_MULT_COST (&alg2.cost, &alg->cost))
2946 *alg = alg2, *variant = add_variant;