Lines Matching refs:GapWeight
2131 /// GapWeight[i] represents the gap between UseSlots[i] and UseSlots[i+1].
2134 SmallVectorImpl<float> &GapWeight) {
2146 GapWeight.assign(NumGaps, 0.0f);
2174 GapWeight[Gap] = std::max(GapWeight[Gap], weight);
2198 GapWeight[Gap] = huge_valf;
2298 SmallVector<float, 8> GapWeight;
2304 calcGapWeights(PhysReg, GapWeight);
2309 GapWeight[RegMaskGaps[i]] = huge_valf;
2317 // MaxGap should always be max(GapWeight[SplitBefore..SplitAfter-1]).
2319 float MaxGap = GapWeight[0];
2374 if (GapWeight[SplitBefore - 1] >= MaxGap) {
2375 MaxGap = GapWeight[SplitBefore];
2377 MaxGap = std::max(MaxGap, GapWeight[i]);
2391 MaxGap = std::max(MaxGap, GapWeight[SplitAfter++]);