Lines Matching defs:CPI
160 unsigned CPI;
164 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {}
248 CPEntry *findConstPoolEntry(unsigned CPI, const MachineInstr *CPEMI);
254 bool decrementCPEReferenceCount(unsigned CPI, MachineInstr* CPEMI);
513 AFI->recordCPEClone(i, CPE.CPI);
564 // identity mapping of CPI's to CPE's.
592 LLVM_DEBUG(dbgs() << "Moved CPI#" << i << " to end of function, size = "
704 ARMConstantIslands::findConstPoolEntry(unsigned CPI,
706 std::vector<CPEntry> &CPEs = CPEntries[CPI];
733 unsigned CPI = getCombinedIndex(CPEMI);
734 assert(CPI < MCP->getConstants().size() && "Invalid constant pool index.");
735 return MCP->getConstants()[CPI].getAlign();
887 unsigned CPI = I.getOperand(op).getIndex();
888 assert(CPI < CPEMIs.size());
889 MachineInstr *CPEMI = CPEMIs[CPI];
942 unsigned CPI = I.getOperand(op).getIndex();
944 JumpTableUserIndices.insert(std::make_pair(CPI, CPUsers.size()));
945 CPI = JumpTableEntryIndices[CPI];
948 MachineInstr *CPEMI = CPEMIs[CPI];
953 CPEntry *CPE = findConstPoolEntry(CPI, CPEMI);
1209 /// decrementCPEReferenceCount - find the constant pool entry with index CPI
1213 bool ARMConstantIslands::decrementCPEReferenceCount(unsigned CPI,
1216 CPEntry *CPE = findConstPoolEntry(CPI, CPEMI);
1252 unsigned CPI = getCombinedIndex(CPEMI);
1253 std::vector<CPEntry> &CPEs = CPEntries[CPI];
1263 LLVM_DEBUG(dbgs() << "Replacing CPE#" << CPI << " with CPE#" << CPE.CPI
1267 // Change the CPI in the instruction operand to refer to the clone.
1270 MO.setIndex(CPE.CPI);
1277 return decrementCPEReferenceCount(CPI, CPEMI) ? 2 : 1;
1561 unsigned CPI = getCombinedIndex(CPEMI);
1637 CPEntries[CPI].push_back(CPEntry(U.CPEMI, ID, 1));
1641 decrementCPEReferenceCount(CPI, CPEMI);
1650 // Finally, change the CPI in the instruction operand to be ID.
1658 dbgs() << " Moved CPE to #" << ID << " CPI=" << CPI