Home | History | Annotate | Download | only in ARM

Lines Matching refs:CPI

216       unsigned CPI;
218 CPEntry(MachineInstr *cpemi, unsigned cpi, unsigned rc = 0)
219 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {}
277 CPEntry *findConstPoolEntry(unsigned CPI, const MachineInstr *CPEMI);
284 bool decrementCPEReferenceCount(unsigned CPI, MachineInstr* CPEMI);
485 AFI->recordCPEClone(i, CPE.CPI);
528 // identity mapping of CPI's to CPE's.
560 DEBUG(dbgs() << "Moved CPI#" << i << " to end of function, size = "
587 *ARMConstantIslands::findConstPoolEntry(unsigned CPI,
589 std::vector<CPEntry> &CPEs = CPEntries[CPI];
608 unsigned CPI = CPEMI->getOperand(1).getIndex();
609 assert(CPI < MCP->getConstants().size() && "Invalid constant pool index.");
610 unsigned Align = MCP->getConstants()[CPI].getAlignment();
778 unsigned CPI = I->getOperand(op).getIndex();
779 MachineInstr *CPEMI = CPEMIs[CPI];
784 CPEntry *CPE = findConstPoolEntry(CPI, CPEMI);
1093 /// decrementCPEReferenceCount - find the constant pool entry with index CPI
1098 bool ARMConstantIslands::decrementCPEReferenceCount(unsigned CPI,
1101 CPEntry *CPE = findConstPoolEntry(CPI, CPEMI);
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;
1366 unsigned CPI = CPEMI->getOperand(1).getIndex();
1431 decrementCPEReferenceCount(CPI, CPEMI);
1437 .addImm(ID).addConstantPoolIndex(CPI).addImm(Size);
1438 CPEntries[CPI].push_back(CPEntry(U.CPEMI, ID, 1));
1448 // Finally, change the CPI in the instruction operand to be ID.
1455 DEBUG(dbgs() << " Moved CPE to #" << ID << " CPI=" << CPI