Lines Matching defs:alg2
2890 struct algorithm alg2;
2926 synth_mult (&alg2, -val, &limit, mode);
2927 alg2.cost.cost += op_cost;
2928 alg2.cost.latency += op_cost;
2929 if (CHEAPER_MULT_COST (&alg2.cost, &alg->cost))
2930 *alg = alg2, *variant = negate_variant;
2946 synth_mult (&alg2, val - 1, &limit, mode);
2947 alg2.cost.cost += op_cost;
2948 alg2.cost.latency += op_cost;
2949 if (CHEAPER_MULT_COST (&alg2.cost, &alg->cost))
2950 *alg = alg2, *variant = add_variant;