Lines Matching refs:CPI

311     unsigned CPI;  member
314 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {} in CPEntry()
379 CPEntry *findConstPoolEntry(unsigned CPI, const MachineInstr *CPEMI);
395 bool decrementCPEReferenceCount(unsigned CPI, MachineInstr* CPEMI);
618 *MipsConstantIslands::findConstPoolEntry(unsigned CPI, in findConstPoolEntry() argument
620 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findConstPoolEntry()
639 unsigned CPI = CPEMI->getOperand(1).getIndex(); in getCPELogAlign() local
640 assert(CPI < MCP->getConstants().size() && "Invalid constant pool index."); in getCPELogAlign()
641 unsigned Align = MCP->getConstants()[CPI].getAlignment(); in getCPELogAlign()
787 unsigned CPI = I->getOperand(op).getIndex(); in initializeFunctionInfo() local
788 MachineInstr *CPEMI = CPEMIs[CPI]; in initializeFunctionInfo()
795 CPEntry *CPE = findConstPoolEntry(CPI, CPEMI); in initializeFunctionInfo()
1057 bool MipsConstantIslands::decrementCPEReferenceCount(unsigned CPI, in decrementCPEReferenceCount() argument
1060 CPEntry *CPE = findConstPoolEntry(CPI, CPEMI); in decrementCPEReferenceCount()
1090 unsigned CPI = CPEMI->getOperand(1).getIndex(); in findInRangeCPEntry() local
1091 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findInRangeCPEntry()
1101 DEBUG(dbgs() << "Replacing CPE#" << CPI << " with CPE#" in findInRangeCPEntry()
1102 << CPEs[i].CPI << "\n"); in findInRangeCPEntry()
1108 UserMI->getOperand(j).setIndex(CPEs[i].CPI); in findInRangeCPEntry()
1115 return decrementCPEReferenceCount(CPI, CPEMI) ? 2 : 1; in findInRangeCPEntry()
1146 unsigned CPI = CPEMI->getOperand(1).getIndex(); in findLongFormInRangeCPEntry() local
1147 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findLongFormInRangeCPEntry()
1157 DEBUG(dbgs() << "Replacing CPE#" << CPI << " with CPE#" in findLongFormInRangeCPEntry()
1158 << CPEs[i].CPI << "\n"); in findLongFormInRangeCPEntry()
1164 UserMI->getOperand(j).setIndex(CPEs[i].CPI); in findLongFormInRangeCPEntry()
1171 return decrementCPEReferenceCount(CPI, CPEMI) ? 2 : 1; in findLongFormInRangeCPEntry()
1347 unsigned CPI = CPEMI->getOperand(1).getIndex(); in handleConstantPoolUser() local
1414 decrementCPEReferenceCount(CPI, CPEMI); in handleConstantPoolUser()
1424 .addImm(ID).addConstantPoolIndex(CPI).addImm(Size); in handleConstantPoolUser()
1425 CPEntries[CPI].push_back(CPEntry(U.CPEMI, ID, 1)); in handleConstantPoolUser()
1442 DEBUG(dbgs() << " Moved CPE to #" << ID << " CPI=" << CPI in handleConstantPoolUser()