Lines Matching defs:GapWeight
1487 /// GapWeight[I] represents the gap between UseSlots[I] and UseSlots[I + 1].
1490 SmallVectorImpl<float> &GapWeight) {
1502 GapWeight.assign(NumGaps, 0.0f);
1530 GapWeight[Gap] = std::max(GapWeight[Gap], weight);
1554 GapWeight[Gap] = huge_valf;
1655 SmallVector<float, 8> GapWeight;
1661 calcGapWeights(PhysReg, GapWeight);
1666 GapWeight[Gap] = huge_valf;
1674 // MaxGap should always be max(GapWeight[SplitBefore..SplitAfter-1]).
1676 float MaxGap = GapWeight[0];
1731 if (GapWeight[SplitBefore - 1] >= MaxGap) {
1732 MaxGap = GapWeight[SplitBefore];
1734 MaxGap = std::max(MaxGap, GapWeight[I]);
1748 MaxGap = std::max(MaxGap, GapWeight[SplitAfter++]);