Lines Matching refs:CPI
217 unsigned CPI; member
220 : CPEMI(cpemi), CPI(cpi), RefCount(rc) {} in CPEntry()
279 CPEntry *findConstPoolEntry(unsigned CPI, const MachineInstr *CPEMI);
286 bool decrementCPEReferenceCount(unsigned CPI, MachineInstr* CPEMI);
487 AFI->recordCPEClone(i, CPE.CPI); in runOnMachineFunction()
590 *ARMConstantIslands::findConstPoolEntry(unsigned CPI, in findConstPoolEntry() argument
592 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findConstPoolEntry()
611 unsigned CPI = CPEMI->getOperand(1).getIndex(); in getCPELogAlign() local
612 assert(CPI < MCP->getConstants().size() && "Invalid constant pool index."); in getCPELogAlign()
613 unsigned Align = MCP->getConstants()[CPI].getAlignment(); in getCPELogAlign()
781 unsigned CPI = I->getOperand(op).getIndex(); in initializeFunctionInfo() local
782 MachineInstr *CPEMI = CPEMIs[CPI]; in initializeFunctionInfo()
787 CPEntry *CPE = findConstPoolEntry(CPI, CPEMI); in initializeFunctionInfo()
1101 bool ARMConstantIslands::decrementCPEReferenceCount(unsigned CPI, in decrementCPEReferenceCount() argument
1104 CPEntry *CPE = findConstPoolEntry(CPI, CPEMI); in decrementCPEReferenceCount()
1134 unsigned CPI = CPEMI->getOperand(1).getIndex(); in findInRangeCPEntry() local
1135 std::vector<CPEntry> &CPEs = CPEntries[CPI]; in findInRangeCPEntry()
1145 DEBUG(dbgs() << "Replacing CPE#" << CPI << " with CPE#" in findInRangeCPEntry()
1146 << CPEs[i].CPI << "\n"); in findInRangeCPEntry()
1152 UserMI->getOperand(j).setIndex(CPEs[i].CPI); in findInRangeCPEntry()
1159 return decrementCPEReferenceCount(CPI, CPEMI) ? 2 : 1; in findInRangeCPEntry()
1379 unsigned CPI = CPEMI->getOperand(1).getIndex(); in handleConstantPoolUser() local
1444 decrementCPEReferenceCount(CPI, CPEMI); in handleConstantPoolUser()
1450 .addImm(ID).addConstantPoolIndex(CPI).addImm(Size); in handleConstantPoolUser()
1451 CPEntries[CPI].push_back(CPEntry(U.CPEMI, ID, 1)); in handleConstantPoolUser()
1468 DEBUG(dbgs() << " Moved CPE to #" << ID << " CPI=" << CPI in handleConstantPoolUser()