Lines Matching defs:GapWeight
1490 /// GapWeight[I] represents the gap between UseSlots[I] and UseSlots[I + 1].
1493 SmallVectorImpl<float> &GapWeight) {
1505 GapWeight.assign(NumGaps, 0.0f);
1533 GapWeight[Gap] = std::max(GapWeight[Gap], weight);
1557 GapWeight[Gap] = huge_valf;
1658 SmallVector<float, 8> GapWeight;
1664 calcGapWeights(PhysReg, GapWeight);
1669 GapWeight[Gap] = huge_valf;
1677 // MaxGap should always be max(GapWeight[SplitBefore..SplitAfter-1]).
1679 float MaxGap = GapWeight[0];
1734 if (GapWeight[SplitBefore - 1] >= MaxGap) {
1735 MaxGap = GapWeight[SplitBefore];
1737 MaxGap = std::max(MaxGap, GapWeight[I]);
1751 MaxGap = std::max(MaxGap, GapWeight[SplitAfter++]);