Home | History | Annotate | Download | only in Mips

Lines Matching refs:CPI

301     unsigned CPI;
303 CPEntry(MachineInstr *cpemi, unsigned cpi, unsigned rc = 0)
304 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {}
371 CPEntry *findConstPoolEntry(unsigned CPI, const MachineInstr *CPEMI);
387 bool decrementCPEReferenceCount(unsigned CPI, MachineInstr* CPEMI);
551 // identity mapping of CPI's to CPE's.
582 DEBUG(dbgs() << "Moved CPI#" << i << " to end of function, size = "
609 *MipsConstantIslands::findConstPoolEntry(unsigned CPI,
611 std::vector<CPEntry> &CPEs = CPEntries[CPI];
630 unsigned CPI = CPEMI.getOperand(1).getIndex();
631 assert(CPI < MCP->getConstants().size() && "Invalid constant pool index.");
632 unsigned Align = MCP->getConstants()[CPI].getAlignment();
774 unsigned CPI = MI.getOperand(op).getIndex();
775 MachineInstr *CPEMI = CPEMIs[CPI];
782 CPEntry *CPE = findConstPoolEntry(CPI, CPEMI);
1037 /// decrementCPEReferenceCount - find the constant pool entry with index CPI
1042 bool MipsConstantIslands::decrementCPEReferenceCount(unsigned CPI,
1045 CPEntry *CPE = findConstPoolEntry(CPI, CPEMI);
1075 unsigned CPI = CPEMI->getOperand(1).getIndex();
1076 std::vector<CPEntry> &CPEs = CPEntries[CPI];
1086 DEBUG(dbgs() << "Replacing CPE#" << CPI << " with CPE#"
1087 << CPEs[i].CPI << "\n");
1090 // Change the CPI in the instruction operand to refer to the clone.
1093 UserMI->getOperand(j).setIndex(CPEs[i].CPI);
1100 return decrementCPEReferenceCount(CPI, CPEMI) ? 2 : 1;
1131 unsigned CPI = CPEMI->getOperand(1).getIndex();
1132 std::vector<CPEntry> &CPEs = CPEntries[CPI];
1142 DEBUG(dbgs() << "Replacing CPE#" << CPI << " with CPE#"
1143 << CPEs[i].CPI << "\n");
1146 // Change the CPI in the instruction operand to refer to the clone.
1149 UserMI->getOperand(j).setIndex(CPEs[i].CPI);
1156 return decrementCPEReferenceCount(CPI, CPEMI) ? 2 : 1;
1332 unsigned CPI = CPEMI->getOperand(1).getIndex();
1399 decrementCPEReferenceCount(CPI, CPEMI);
1409 .addImm(ID).addConstantPoolIndex(CPI).addImm(Size);
1410 CPEntries[CPI].push_back(CPEntry(U.CPEMI, ID, 1));
1420 // Finally, change the CPI in the instruction operand to be ID.
1427 DEBUG(dbgs() << " Moved CPE to #" << ID << " CPI=" << CPI