Searched refs:RegsWeights (Results 1 – 1 of 1) sorted by relevance
1158 std::vector<std::pair<unsigned,float> > RegsWeights; in assignRegOrStackSlotAtInterval() local1167 RegsWeights.push_back(std::make_pair(reg, regWeight)); in assignRegOrStackSlotAtInterval()1177 RegsWeights.push_back(std::make_pair(*as, SpillWeights[*as])); in assignRegOrStackSlotAtInterval()1182 std::sort(RegsWeights.begin(), RegsWeights.end(), WeightCompare(*this)); in assignRegOrStackSlotAtInterval()1183 minReg = RegsWeights[0].first; in assignRegOrStackSlotAtInterval()1184 minWeight = RegsWeights[0].second; in assignRegOrStackSlotAtInterval()1212 unsigned LastCandidate = RegsWeights.size() >= 3 ? 3 : 1; in assignRegOrStackSlotAtInterval()1214 if (weightsAreClose(RegsWeights[LastCandidate-1].second, minWeight)) in assignRegOrStackSlotAtInterval()1223 dbgs() << tri_->getName(RegsWeights[i].first) in assignRegOrStackSlotAtInterval()1224 << " (" << RegsWeights[i].second << ")\n"; in assignRegOrStackSlotAtInterval()[all …]