Lines Matching refs:CPEs
604 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findConstPoolEntry() local
607 for (unsigned i = 0, e = CPEs.size(); i != e; ++i) { in findConstPoolEntry()
608 if (CPEs[i].CPEMI == CPEMI) in findConstPoolEntry()
609 return &CPEs[i]; in findConstPoolEntry()
1054 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findInRangeCPEntry() local
1055 for (unsigned i = 0, e = CPEs.size(); i != e; ++i) { in findInRangeCPEntry()
1057 if (CPEs[i].CPEMI == CPEMI) in findInRangeCPEntry()
1060 if (CPEs[i].CPEMI == nullptr) in findInRangeCPEntry()
1062 if (isCPEntryInRange(UserMI, UserOffset, CPEs[i].CPEMI, U.getMaxDisp(), in findInRangeCPEntry()
1065 << CPEs[i].CPI << "\n"); in findInRangeCPEntry()
1067 U.CPEMI = CPEs[i].CPEMI; in findInRangeCPEntry()
1071 UserMI->getOperand(j).setIndex(CPEs[i].CPI); in findInRangeCPEntry()
1075 CPEs[i].RefCount++; in findInRangeCPEntry()
1110 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findLongFormInRangeCPEntry() local
1111 for (unsigned i = 0, e = CPEs.size(); i != e; ++i) { in findLongFormInRangeCPEntry()
1113 if (CPEs[i].CPEMI == CPEMI) in findLongFormInRangeCPEntry()
1116 if (CPEs[i].CPEMI == nullptr) in findLongFormInRangeCPEntry()
1118 if (isCPEntryInRange(UserMI, UserOffset, CPEs[i].CPEMI, in findLongFormInRangeCPEntry()
1121 << CPEs[i].CPI << "\n"); in findLongFormInRangeCPEntry()
1123 U.CPEMI = CPEs[i].CPEMI; in findLongFormInRangeCPEntry()
1127 UserMI->getOperand(j).setIndex(CPEs[i].CPI); in findLongFormInRangeCPEntry()
1131 CPEs[i].RefCount++; in findLongFormInRangeCPEntry()
1439 std::vector<CPEntry> &CPEs = CPEntries[i]; in removeUnusedCPEntries() local
1440 for (unsigned j = 0, ee = CPEs.size(); j != ee; ++j) { in removeUnusedCPEntries()
1441 if (CPEs[j].RefCount == 0 && CPEs[j].CPEMI) { in removeUnusedCPEntries()
1442 removeDeadCPEMI(CPEs[j].CPEMI); in removeUnusedCPEntries()
1443 CPEs[j].CPEMI = nullptr; in removeUnusedCPEntries()