Lines Matching refs:cost
122 static int expand_expect(struct expression *expr, int cost)
135 static int expand_warning(struct expression *expr, int cost)
176 /* The arguments are constant if the cost of all of them is zero */
177 static int expand_constant_p(struct expression *expr, int cost)
180 expr->value = !cost;
185 /* The arguments are safe, if their cost is less than SIDE_EFFECTS */
186 static int expand_safe_p(struct expression *expr, int cost)
189 expr->value = (cost < SIDE_EFFECTS);
218 /* The argument is constant and valid if the cost is zero */
219 static int expand_bswap(struct expression *expr, int cost)
224 if (cost)
225 return cost;
250 static int expand_##name(struct expression *expr, int cost) \
255 if (cost) \
256 return cost; \
308 static int expand_isdigit(struct expression *expr, int cost)
313 if (cost)
314 return cost;
525 static int expand_object_size(struct expression *expr, int cost)