Lines Matching refs:costs

803 /* The `costs' struct records the cost of using a hard register of each class
807 struct costs
832 static struct costs *costs;
836 static struct costs init_cost;
852 static void record_operand_costs (rtx, struct costs *, struct reg_pref *);
855 const char **, rtx, struct costs *,
930 /* Dump register costs. */
940 fprintf (dump, " Register %i costs:", i);
953 costs[i].cost[(enum reg_class) class]);
954 fprintf (dump, " MEM:%i\n", costs[i].mem_cost);
961 /* Calculate the costs of insn operands. */
964 record_operand_costs (rtx insn, struct costs *op_costs,
977 /* If we get here, we are set up to record the costs of all the
978 operands for this insn. Start by initializing the costs.
1042 struct costs op_costs[MAX_RECOG_OPERANDS];
1068 costs[REGNO (SET_DEST (set))].mem_cost
1141 /* Now add the cost for each operand to the total costs for
1149 struct costs *p = &costs[regno], *q = &op_costs[i];
1221 costs = XNEWVEC (struct costs, nregs);
1242 memset (costs, 0, nregs * sizeof (struct costs));
1293 struct costs *p = &costs[i];
1377 free (costs);
1408 rtx insn, struct costs *op_costs,
1420 struct costs this_op_costs[MAX_RECOG_OPERANDS];
1505 /* The costs of this operand are not the same as the other
1506 operand since move costs are not symmetric. Moreover,
1510 struct costs *pp = &this_op_costs[i];
1720 the costs of moving the pseudo into that class. */
1736 struct costs *pp = &this_op_costs[i];
1805 /* Finally, update the costs with the information we've calculated
1812 struct costs *pp = &op_costs[i], *qq = &this_op_costs[i];
2109 struct costs *pp = &costs[REGNO (x)];