Lines Matching defs:CPI
161 unsigned CPI;
165 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {}
249 CPEntry *findConstPoolEntry(unsigned CPI, const MachineInstr *CPEMI);
255 bool decrementCPEReferenceCount(unsigned CPI, MachineInstr* CPEMI);
512 AFI->recordCPEClone(i, CPE.CPI);
563 // identity mapping of CPI's to CPE's.
591 LLVM_DEBUG(dbgs() << "Moved CPI#" << i << " to end of function, size = "
701 ARMConstantIslands::findConstPoolEntry(unsigned CPI,
703 std::vector<CPEntry> &CPEs = CPEntries[CPI];
730 unsigned CPI = getCombinedIndex(CPEMI);
731 assert(CPI < MCP->getConstants().size() && "Invalid constant pool index.");
732 return MCP->getConstants()[CPI].getAlign();
884 unsigned CPI = I.getOperand(op).getIndex();
885 assert(CPI < CPEMIs.size());
886 MachineInstr *CPEMI = CPEMIs[CPI];
939 unsigned CPI = I.getOperand(op).getIndex();
941 JumpTableUserIndices.insert(std::make_pair(CPI, CPUsers.size()));
942 CPI = JumpTableEntryIndices[CPI];
945 MachineInstr *CPEMI = CPEMIs[CPI];
950 CPEntry *CPE = findConstPoolEntry(CPI, CPEMI);
1204 /// decrementCPEReferenceCount - find the constant pool entry with index CPI
1208 bool ARMConstantIslands::decrementCPEReferenceCount(unsigned CPI,
1211 CPEntry *CPE = findConstPoolEntry(CPI, CPEMI);
1247 unsigned CPI = getCombinedIndex(CPEMI);
1248 std::vector<CPEntry> &CPEs = CPEntries[CPI];
1258 LLVM_DEBUG(dbgs() << "Replacing CPE#" << CPI << " with CPE#" << CPE.CPI
1262 // Change the CPI in the instruction operand to refer to the clone.
1265 MO.setIndex(CPE.CPI);
1272 return decrementCPEReferenceCount(CPI, CPEMI) ? 2 : 1;
1555 unsigned CPI = getCombinedIndex(CPEMI);
1631 CPEntries[CPI].push_back(CPEntry(U.CPEMI, ID, 1));
1635 decrementCPEReferenceCount(CPI, CPEMI);
1644 // Finally, change the CPI in the instruction operand to be ID.
1652 dbgs() << " Moved CPE to #" << ID << " CPI=" << CPI