Lines Matching refs:LL

586     const IFListType &LL = I->second;  in dump_map()  local
587 for (unsigned i = 0, n = LL.size(); i < n; ++i) in dump_map()
588 dbgs() << " " << PrintIFR(LL[i].first, HRI) << ", " in dump_map()
589 << PrintRegSet(LL[i].second, HRI) << '\n'; in dump_map()
866 const RSListType &LL = I->second; in findRecordInsertForms() local
867 for (unsigned i = 0, n = LL.size(); i < n; ++i) in findRecordInsertForms()
868 dbgs() << " (" << printReg(LL[i].first, HRI) << ",@" in findRecordInsertForms()
869 << LL[i].second << ')'; in findRecordInsertForms()
898 RSListType &LL = F->second; in findRecordInsertForms() local
899 for (unsigned i = 0, n = LL.size(); i < n; ++i) { in findRecordInsertForms()
900 uint16_t S = LL[i].second; in findRecordInsertForms()
911 unsigned InsR = LL[i].first; in findRecordInsertForms()
1042 IFListType &LL = I->second; in computeRemovableRegisters() local
1043 for (unsigned i = 0, n = LL.size(); i < n; ++i) in computeRemovableRegisters()
1044 findRemovableRegisters(I->first, LL[i].first, LL[i].second); in computeRemovableRegisters()
1064 IFListType &LL = F->second; in pruneCoveredSets() local
1076 for (unsigned i = 0, n = LL.size(); i < n; ++i) { in pruneCoveredSets()
1077 if (LL[i].second.empty()) in pruneCoveredSets()
1088 auto End = llvm::remove_if(LL, IsEmpty); in pruneCoveredSets()
1089 if (End != LL.end()) in pruneCoveredSets()
1090 LL.erase(End, LL.end()); in pruneCoveredSets()
1097 IFRecord MaxIF = LL[0].first; in pruneCoveredSets()
1098 for (unsigned i = 1, n = LL.size(); i < n; ++i) { in pruneCoveredSets()
1100 const IFRecord &IF = LL[i].first; in pruneCoveredSets()
1120 LL.clear(); in pruneCoveredSets()
1121 LL.push_back(std::make_pair(MaxIF, RegisterSet())); in pruneCoveredSets()
1131 for (unsigned i = 0, n = LL.size(); i < n; ) { in pruneCoveredSets()
1132 const RegisterSet &RMi = LL[i].second; in pruneCoveredSets()
1135 if (j != i && LL[j].second.includes(RMi)) in pruneCoveredSets()
1143 LL.erase(LL.begin()+i); in pruneCoveredSets()
1144 n = LL.size(); in pruneCoveredSets()
1152 IFListType &LL = F->second; in pruneUsesTooFar() local
1156 for (unsigned i = LL.size(); i > 0; --i) { in pruneUsesTooFar()
1157 unsigned SR = LL[i-1].first.SrcR, IR = LL[i-1].first.InsR; in pruneUsesTooFar()
1166 LL.erase(LL.begin()+(i-1)); in pruneUsesTooFar()
1173 IFListType &LL = F->second; in pruneRegCopies() local
1178 auto End = llvm::remove_if(LL, IsCopy); in pruneRegCopies()
1179 if (End != LL.end()) in pruneRegCopies()
1180 LL.erase(End, LL.end()); in pruneRegCopies()
1291 const IFListType &LL = I->second; in selectCandidates() local
1293 for (unsigned i = 0, n = LL.size(); i < n; ++i) in selectCandidates()
1294 TT.insert(LL[i].second); in selectCandidates()
1328 IFListType &LL = I->second; in selectCandidates() local
1329 if (LL.empty()) in selectCandidates()
1335 IFListType::iterator MinI = std::min_element(LL.begin(), LL.end(), IFO); in selectCandidates()
1336 assert(MinI != LL.end()); in selectCandidates()
1338 LL.clear(); in selectCandidates()
1371 LL.push_back(M); in selectCandidates()
1380 const IFListType &LL = I->second; in selectCandidates() local
1381 if (!LL.empty()) in selectCandidates()
1382 AllRMs.insert(LL[0].second); in selectCandidates()
1385 IFListType &LL = I->second; in selectCandidates() local
1386 if (LL.empty()) in selectCandidates()
1388 unsigned SR = LL[0].first.SrcR, IR = LL[0].first.InsR; in selectCandidates()
1390 LL.clear(); in selectCandidates()