Lines Matching refs:CPEs
687 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findConstPoolEntry() local
690 for (unsigned i = 0, e = CPEs.size(); i != e; ++i) { in findConstPoolEntry()
691 if (CPEs[i].CPEMI == CPEMI) in findConstPoolEntry()
692 return &CPEs[i]; in findConstPoolEntry()
1246 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findInRangeCPEntry() local
1247 for (unsigned i = 0, e = CPEs.size(); i != e; ++i) { in findInRangeCPEntry()
1249 if (CPEs[i].CPEMI == CPEMI) in findInRangeCPEntry()
1252 if (CPEs[i].CPEMI == nullptr) in findInRangeCPEntry()
1254 if (isCPEntryInRange(UserMI, UserOffset, CPEs[i].CPEMI, U.getMaxDisp(), in findInRangeCPEntry()
1257 << CPEs[i].CPI << "\n"); in findInRangeCPEntry()
1259 U.CPEMI = CPEs[i].CPEMI; in findInRangeCPEntry()
1263 UserMI->getOperand(j).setIndex(CPEs[i].CPI); in findInRangeCPEntry()
1267 CPEs[i].RefCount++; in findInRangeCPEntry()
1636 std::vector<CPEntry> &CPEs = CPEntries[i]; in removeUnusedCPEntries() local
1637 for (unsigned j = 0, ee = CPEs.size(); j != ee; ++j) { in removeUnusedCPEntries()
1638 if (CPEs[j].RefCount == 0 && CPEs[j].CPEMI) { in removeUnusedCPEntries()
1639 removeDeadCPEMI(CPEs[j].CPEMI); in removeUnusedCPEntries()
1640 CPEs[j].CPEMI = nullptr; in removeUnusedCPEntries()
2196 auto &CPEs = CPEntries[CPEntryIdx]; in optimizeThumb2JumpTables() local
2197 auto Entry = std::find_if(CPEs.begin(), CPEs.end(), [&](CPEntry &E) { in optimizeThumb2JumpTables()