Lines Matching refs:CPI

310     unsigned CPI;
313 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {}
381 CPEntry *findConstPoolEntry(unsigned CPI, const MachineInstr *CPEMI);
397 bool decrementCPEReferenceCount(unsigned CPI, MachineInstr* CPEMI);
562 // identity mapping of CPI's to CPE's.
595 DEBUG(dbgs() << "Moved CPI#" << i << " to end of function, size = "
622 *MipsConstantIslands::findConstPoolEntry(unsigned CPI,
624 std::vector<CPEntry> &CPEs = CPEntries[CPI];
643 unsigned CPI = CPEMI->getOperand(1).getIndex();
644 assert(CPI < MCP->getConstants().size() && "Invalid constant pool index.");
645 unsigned Align = MCP->getConstants()[CPI].getAlignment();
791 unsigned CPI = I->getOperand(op).getIndex();
792 MachineInstr *CPEMI = CPEMIs[CPI];
799 CPEntry *CPE = findConstPoolEntry(CPI, CPEMI);
1056 /// decrementCPEReferenceCount - find the constant pool entry with index CPI
1061 bool MipsConstantIslands::decrementCPEReferenceCount(unsigned CPI,
1064 CPEntry *CPE = findConstPoolEntry(CPI, CPEMI);
1094 unsigned CPI = CPEMI->getOperand(1).getIndex();
1095 std::vector<CPEntry> &CPEs = CPEntries[CPI];
1105 DEBUG(dbgs() << "Replacing CPE#" << CPI << " with CPE#"
1106 << CPEs[i].CPI << "\n");
1109 // Change the CPI in the instruction operand to refer to the clone.
1112 UserMI->getOperand(j).setIndex(CPEs[i].CPI);
1119 return decrementCPEReferenceCount(CPI, CPEMI) ? 2 : 1;
1150 unsigned CPI = CPEMI->getOperand(1).getIndex();
1151 std::vector<CPEntry> &CPEs = CPEntries[CPI];
1161 DEBUG(dbgs() << "Replacing CPE#" << CPI << " with CPE#"
1162 << CPEs[i].CPI << "\n");
1165 // Change the CPI in the instruction operand to refer to the clone.
1168 UserMI->getOperand(j).setIndex(CPEs[i].CPI);
1175 return decrementCPEReferenceCount(CPI, CPEMI) ? 2 : 1;
1351 unsigned CPI = CPEMI->getOperand(1).getIndex();
1419 decrementCPEReferenceCount(CPI, CPEMI);
1429 .addImm(ID).addConstantPoolIndex(CPI).addImm(Size);
1430 CPEntries[CPI].push_back(CPEntry(U.CPEMI, ID, 1));
1442 // Finally, change the CPI in the instruction operand to be ID.
1449 DEBUG(dbgs() << " Moved CPE to #" << ID << " CPI=" << CPI