• Home
  • Raw
  • Download

Lines Matching refs:CPEs

611   std::vector<CPEntry> &CPEs = CPEntries[CPI];  in findConstPoolEntry()  local
614 for (unsigned i = 0, e = CPEs.size(); i != e; ++i) { in findConstPoolEntry()
615 if (CPEs[i].CPEMI == CPEMI) in findConstPoolEntry()
616 return &CPEs[i]; in findConstPoolEntry()
1076 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findInRangeCPEntry() local
1077 for (unsigned i = 0, e = CPEs.size(); i != e; ++i) { in findInRangeCPEntry()
1079 if (CPEs[i].CPEMI == CPEMI) in findInRangeCPEntry()
1082 if (CPEs[i].CPEMI == nullptr) in findInRangeCPEntry()
1084 if (isCPEntryInRange(UserMI, UserOffset, CPEs[i].CPEMI, U.getMaxDisp(), in findInRangeCPEntry()
1087 << CPEs[i].CPI << "\n"); in findInRangeCPEntry()
1089 U.CPEMI = CPEs[i].CPEMI; in findInRangeCPEntry()
1093 UserMI->getOperand(j).setIndex(CPEs[i].CPI); in findInRangeCPEntry()
1097 CPEs[i].RefCount++; in findInRangeCPEntry()
1132 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findLongFormInRangeCPEntry() local
1133 for (unsigned i = 0, e = CPEs.size(); i != e; ++i) { in findLongFormInRangeCPEntry()
1135 if (CPEs[i].CPEMI == CPEMI) in findLongFormInRangeCPEntry()
1138 if (CPEs[i].CPEMI == nullptr) in findLongFormInRangeCPEntry()
1140 if (isCPEntryInRange(UserMI, UserOffset, CPEs[i].CPEMI, in findLongFormInRangeCPEntry()
1143 << CPEs[i].CPI << "\n"); in findLongFormInRangeCPEntry()
1145 U.CPEMI = CPEs[i].CPEMI; in findLongFormInRangeCPEntry()
1149 UserMI->getOperand(j).setIndex(CPEs[i].CPI); in findLongFormInRangeCPEntry()
1153 CPEs[i].RefCount++; in findLongFormInRangeCPEntry()
1463 std::vector<CPEntry> &CPEs = CPEntries[i]; in removeUnusedCPEntries() local
1464 for (unsigned j = 0, ee = CPEs.size(); j != ee; ++j) { in removeUnusedCPEntries()
1465 if (CPEs[j].RefCount == 0 && CPEs[j].CPEMI) { in removeUnusedCPEntries()
1466 removeDeadCPEMI(CPEs[j].CPEMI); in removeUnusedCPEntries()
1467 CPEs[j].CPEMI = nullptr; in removeUnusedCPEntries()