Lines Matching defs:weight
5830 // weight: -1 = invalid match, and 0 = so-so match to 5 = good match.
5831 int weight = -1;
5834 // of the best (highest weight) one so far.
5859 weight = getMultipleConstraintMatchWeight(OpInfo, maIndex);
5860 if (weight == -1) {
5864 weightSum += weight;
5941 /// Examine constraint type and operand type and determine a weight value.
5956 ConstraintWeight weight =
5958 if (weight > BestWeight)
5959 BestWeight = weight;
5965 /// Examine constraint type and operand type and determine a weight value.
5971 ConstraintWeight weight = CW_Invalid;
5974 // but allow it at the lowest weight.
5982 weight = CW_Constant;
5986 weight = CW_Constant;
5991 weight = CW_Constant;
5998 weight = CW_Memory;
6004 weight = CW_Register;
6008 weight = CW_Default;
6011 return weight;