Lines Matching refs:CPEs
674 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findConstPoolEntry() local
677 for (unsigned i = 0, e = CPEs.size(); i != e; ++i) { in findConstPoolEntry()
678 if (CPEs[i].CPEMI == CPEMI) in findConstPoolEntry()
679 return &CPEs[i]; in findConstPoolEntry()
1242 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findInRangeCPEntry() local
1243 for (unsigned i = 0, e = CPEs.size(); i != e; ++i) { in findInRangeCPEntry()
1245 if (CPEs[i].CPEMI == CPEMI) in findInRangeCPEntry()
1248 if (CPEs[i].CPEMI == nullptr) in findInRangeCPEntry()
1250 if (isCPEntryInRange(UserMI, UserOffset, CPEs[i].CPEMI, U.getMaxDisp(), in findInRangeCPEntry()
1253 << CPEs[i].CPI << "\n"); in findInRangeCPEntry()
1255 U.CPEMI = CPEs[i].CPEMI; in findInRangeCPEntry()
1259 UserMI->getOperand(j).setIndex(CPEs[i].CPI); in findInRangeCPEntry()
1263 CPEs[i].RefCount++; in findInRangeCPEntry()
1632 std::vector<CPEntry> &CPEs = CPEntries[i]; in removeUnusedCPEntries() local
1633 for (unsigned j = 0, ee = CPEs.size(); j != ee; ++j) { in removeUnusedCPEntries()
1634 if (CPEs[j].RefCount == 0 && CPEs[j].CPEMI) { in removeUnusedCPEntries()
1635 removeDeadCPEMI(CPEs[j].CPEMI); in removeUnusedCPEntries()
1636 CPEs[j].CPEMI = nullptr; in removeUnusedCPEntries()
2194 auto &CPEs = CPEntries[CPEntryIdx]; in optimizeThumb2JumpTables() local
2195 auto Entry = std::find_if(CPEs.begin(), CPEs.end(), [&](CPEntry &E) { in optimizeThumb2JumpTables()