Home | History | Annotate | Download | only in ARM

Lines Matching refs:CPI

227       unsigned CPI;
229 CPEntry(MachineInstr *cpemi, unsigned cpi, unsigned rc = 0)
230 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {}
288 CPEntry *findConstPoolEntry(unsigned CPI, const MachineInstr *CPEMI);
295 bool decrementCPEReferenceCount(unsigned CPI, MachineInstr* CPEMI);
498 AFI->recordCPEClone(i, CPE.CPI);
541 // identity mapping of CPI's to CPE's.
573 DEBUG(dbgs() << "Moved CPI#" << i << " to end of function, size = "
600 *ARMConstantIslands::findConstPoolEntry(unsigned CPI,
602 std::vector<CPEntry> &CPEs = CPEntries[CPI];
621 unsigned CPI = CPEMI->getOperand(1).getIndex();
622 assert(CPI < MCP->getConstants().size() && "Invalid constant pool index.");
623 unsigned Align = MCP->getConstants()[CPI].getAlignment();
790 unsigned CPI = I->getOperand(op).getIndex();
791 MachineInstr *CPEMI = CPEMIs[CPI];
796 CPEntry *CPE = findConstPoolEntry(CPI, CPEMI);
1106 /// decrementCPEReferenceCount - find the constant pool entry with index CPI
1111 bool ARMConstantIslands::decrementCPEReferenceCount(unsigned CPI,
1114 CPEntry *CPE = findConstPoolEntry(CPI, CPEMI);
1144 unsigned CPI = CPEMI->getOperand(1).getIndex();
1145 std::vector<CPEntry> &CPEs = CPEntries[CPI];
1155 DEBUG(dbgs() << "Replacing CPE#" << CPI << " with CPE#"
1156 << CPEs[i].CPI << "\n");
1159 // Change the CPI in the instruction operand to refer to the clone.
1162 UserMI->getOperand(j).setIndex(CPEs[i].CPI);
1169 return decrementCPEReferenceCount(CPI, CPEMI) ? 2 : 1;
1387 unsigned CPI = CPEMI->getOperand(1).getIndex();
1453 decrementCPEReferenceCount(CPI, CPEMI);
1459 .addImm(ID).addConstantPoolIndex(CPI).addImm(Size);
1460 CPEntries[CPI].push_back(CPEntry(U.CPEMI, ID, 1));
1470 // Finally, change the CPI in the instruction operand to be ID.
1477 DEBUG(dbgs() << " Moved CPE to #" << ID << " CPI=" << CPI