Lines Matching defs:Weight
142 float Weight = weightCalcHelper(LI);
144 if (Weight < 0)
146 LI.setWeight(Weight);
212 float Weight;
213 CopyHint(Register R, float W) : Reg(R), Weight(W) {}
218 if (Weight != Rhs.Weight)
219 return (Weight > Rhs.Weight);
261 // Force Weight onto the stack so that x86 doesn't add hidden precision.
262 stack_float_t Weight = 1.0f;
274 Weight = LiveIntervals::getSpillWeight(Writes, Reads, &MBFI, *MI, PSI);
278 Weight *= 3;
280 TotalWeight += Weight;
288 Hint[HintReg] += Weight;
300 for (const auto &[Reg, Weight] : Hint) {
302 RegHints.emplace_back(Reg, Weight);
305 for (const auto &[Reg, Weight] : RegHints)