Lines Matching refs:CPEs
414 // If it doesn't end in 10, the input may have huge BB or many CPEs.
629 std::vector<CPEntry> &CPEs = CPEntries[CPI];
632 for (unsigned i = 0, e = CPEs.size(); i != e; ++i) {
633 if (CPEs[i].CPEMI == CPEMI)
634 return &CPEs[i];
1133 std::vector<CPEntry> &CPEs = CPEntries[CPI];
1134 for (unsigned i = 0, e = CPEs.size(); i != e; ++i) {
1136 if (CPEs[i].CPEMI == CPEMI)
1138 // Removing CPEs can leave empty entries, skip
1139 if (CPEs[i].CPEMI == nullptr)
1141 if (isCPEntryInRange(UserMI, UserOffset, CPEs[i].CPEMI, U.getMaxDisp(),
1144 << CPEs[i].CPI << "\n");
1146 U.CPEMI = CPEs[i].CPEMI;
1150 UserMI->getOperand(j).setIndex(CPEs[i].CPI);
1154 CPEs[i].RefCount++;
1218 // sure to take advantage of it for all the CPEs near that block, so that
1308 // reference CPEs will be able to use the same island area; if not, we back
1385 // reused within the block, but it doesn't matter much. Also assume CPEs
1387 // to pack the aligned CPEs better.
1576 std::vector<CPEntry> &CPEs = CPEntries[i];
1577 for (unsigned j = 0, ee = CPEs.size(); j != ee; ++j) {
1578 if (CPEs[j].RefCount == 0 && CPEs[j].CPEMI) {
1579 removeDeadCPEMI(CPEs[j].CPEMI);
1580 CPEs[j].CPEMI = nullptr;
2288 auto &CPEs = CPEntries[CPEntryIdx];
2290 find_if(CPEs, [&](CPEntry &E) { return E.CPEMI == User.CPEMI; });