Lines Matching refs:CPEs
620 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findConstPoolEntry() local
623 for (unsigned i = 0, e = CPEs.size(); i != e; ++i) { in findConstPoolEntry()
624 if (CPEs[i].CPEMI == CPEMI) in findConstPoolEntry()
625 return &CPEs[i]; in findConstPoolEntry()
1091 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findInRangeCPEntry() local
1092 for (unsigned i = 0, e = CPEs.size(); i != e; ++i) { in findInRangeCPEntry()
1094 if (CPEs[i].CPEMI == CPEMI) in findInRangeCPEntry()
1097 if (CPEs[i].CPEMI == nullptr) in findInRangeCPEntry()
1099 if (isCPEntryInRange(UserMI, UserOffset, CPEs[i].CPEMI, U.getMaxDisp(), in findInRangeCPEntry()
1102 << CPEs[i].CPI << "\n"); in findInRangeCPEntry()
1104 U.CPEMI = CPEs[i].CPEMI; in findInRangeCPEntry()
1108 UserMI->getOperand(j).setIndex(CPEs[i].CPI); in findInRangeCPEntry()
1112 CPEs[i].RefCount++; in findInRangeCPEntry()
1147 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findLongFormInRangeCPEntry() local
1148 for (unsigned i = 0, e = CPEs.size(); i != e; ++i) { in findLongFormInRangeCPEntry()
1150 if (CPEs[i].CPEMI == CPEMI) in findLongFormInRangeCPEntry()
1153 if (CPEs[i].CPEMI == nullptr) in findLongFormInRangeCPEntry()
1155 if (isCPEntryInRange(UserMI, UserOffset, CPEs[i].CPEMI, in findLongFormInRangeCPEntry()
1158 << CPEs[i].CPI << "\n"); in findLongFormInRangeCPEntry()
1160 U.CPEMI = CPEs[i].CPEMI; in findLongFormInRangeCPEntry()
1164 UserMI->getOperand(j).setIndex(CPEs[i].CPI); in findLongFormInRangeCPEntry()
1168 CPEs[i].RefCount++; in findLongFormInRangeCPEntry()
1478 std::vector<CPEntry> &CPEs = CPEntries[i]; in removeUnusedCPEntries() local
1479 for (unsigned j = 0, ee = CPEs.size(); j != ee; ++j) { in removeUnusedCPEntries()
1480 if (CPEs[j].RefCount == 0 && CPEs[j].CPEMI) { in removeUnusedCPEntries()
1481 removeDeadCPEMI(CPEs[j].CPEMI); in removeUnusedCPEntries()
1482 CPEs[j].CPEMI = nullptr; in removeUnusedCPEntries()