Lines Matching defs:alg_in

2740   struct algorithm *alg_in, *best_alg;
2798 alg_in = XALLOCA (struct algorithm);
2884 synth_mult (alg_in, q, &new_limit, mode);
2886 alg_in->cost.cost += op_cost;
2887 alg_in->cost.latency += op_cost;
2888 if (CHEAPER_MULT_COST (&alg_in->cost, &best_cost))
2890 best_cost = alg_in->cost;
2891 std::swap (alg_in, best_alg);
2914 synth_mult (alg_in, q, &new_limit, mode);
2916 alg_in->cost.cost += op_cost;
2917 alg_in->cost.latency += op_cost;
2918 if (CHEAPER_MULT_COST (&alg_in->cost, &best_cost))
2920 best_cost = alg_in->cost;
2921 std::swap (alg_in, best_alg);
2955 synth_mult (alg_in, t + 1, &new_limit, mode);
2957 alg_in->cost.cost += op_cost;
2958 alg_in->cost.latency += op_cost;
2959 if (CHEAPER_MULT_COST (&alg_in->cost, &best_cost))
2961 best_cost = alg_in->cost;
2962 std::swap (alg_in, best_alg);
2974 synth_mult (alg_in, t - 1, &new_limit, mode);
2976 alg_in->cost.cost += op_cost;
2977 alg_in->cost.latency += op_cost;
2978 if (CHEAPER_MULT_COST (&alg_in->cost, &best_cost))
2980 best_cost = alg_in->cost;
2981 std::swap (alg_in, best_alg);
3009 synth_mult (alg_in, (unsigned HOST_WIDE_INT) (-orig_t + 1) >> m,
3012 alg_in->cost.cost += op_cost;
3013 alg_in->cost.latency += op_latency;
3014 if (CHEAPER_MULT_COST (&alg_in->cost, &best_cost))
3016 best_cost = alg_in->cost;
3017 std::swap (alg_in, best_alg);
3055 synth_mult (alg_in, t / d, &new_limit, mode);
3057 alg_in->cost.cost += op_cost;
3058 alg_in->cost.latency += op_latency;
3059 if (alg_in->cost.latency < op_cost)
3060 alg_in->cost.latency = op_cost;
3061 if (CHEAPER_MULT_COST (&alg_in->cost, &best_cost))
3063 best_cost = alg_in->cost;
3064 std::swap (alg_in, best_alg);
3084 synth_mult (alg_in, t / d, &new_limit, mode);
3086 alg_in->cost.cost += op_cost;
3087 alg_in->cost.latency += op_latency;
3088 if (alg_in->cost.latency < op_cost)
3089 alg_in->cost.latency = op_cost;
3090 if (CHEAPER_MULT_COST (&alg_in->cost, &best_cost))
3092 best_cost = alg_in->cost;
3093 std::swap (alg_in, best_alg);
3115 synth_mult (alg_in, (t - 1) >> m, &new_limit, mode);
3117 alg_in->cost.cost += op_cost;
3118 alg_in->cost.latency += op_cost;
3119 if (CHEAPER_MULT_COST (&alg_in->cost, &best_cost))
3121 best_cost = alg_in->cost;
3122 std::swap (alg_in, best_alg);
3138 synth_mult (alg_in, (t + 1) >> m, &new_limit, mode);
3140 alg_in->cost.cost += op_cost;
3141 alg_in->cost.latency += op_cost;
3142 if (CHEAPER_MULT_COST (&alg_in->cost, &best_cost))
3144 best_cost = alg_in->cost;
3145 std::swap (alg_in, best_alg);