Lines Matching refs:CPE
64 /// CPE - A constant pool entry that has been placed somewhere, which
374 const CPEntry & CPE = CPEntries[i][j];
375 AFI->recordCPEClone(i, CPE.CPI);
397 // Create the basic block to hold the CPE's.
402 // identity mapping of CPI's to CPE's.
641 CPEntry *CPE = findConstPoolEntry(CPI, CPEMI);
642 assert(CPE && "Cannot find a corresponding CPEntry!");
643 CPE->RefCount++;
861 // user's effective address to be subtracted by 2 and the CPE's address to
879 /// WaterIsInRange - Returns true if a CPE placed after the specified
888 // If the CPE is to be inserted before the instruction, that will raise
902 assert((CPEOffset%4 == 0 || HasInlineAsm) && "Misaligned CPE");
905 DEBUG(errs() << "User of CPE#" << CPEMI->getOperand(0).getImm()
908 << " CPE address=" << CPEOffset
991 CPEntry *CPE = findConstPoolEntry(CPI, CPEMI);
992 assert(CPE && "Unexpected!");
993 if (--CPE->RefCount == 0) {
995 CPE->CPEMI = NULL;
1002 /// LookForCPEntryInRange - see if the currently referenced CPE is in range;
1003 /// if not, see if an in-range clone of the CPE is in range, and if so,
1013 // Check to see if the CPE is already in-range.
1019 // No. Look for previously created clones of the CPE that are in range.
1030 DEBUG(errs() << "Replacing CPE#" << CPI << " with CPE#"
1066 /// we can place the CPE referenced from U so it's within range of U's MI.
1070 /// terminates, the CPE location for a particular CPUser is only allowed to
1119 /// CPUsers[CPUserIndex], so create a place to put the CPE. The end of the
1165 // island CPE, and instruction I+1 references CPE', it will
1166 // not work well to put CPE as far forward as possible, since then
1167 // CPE' cannot immediately follow it (that location is 2 bytes
1168 // farther away from I+1 than CPE was from I) and we'd need to create
1250 // No existing clone of this CPE is within range.
1254 // Look for water where we can place this CPE.
1269 // The new CPE goes before the following block (NewMBB).
1293 // considerably reduces the number of times we have to move the same CPE
1307 // Now that we have an island to add the CPE to, clone the original CPE and
1330 DEBUG(errs() << " Moved CPE to #" << ID << " CPI=" << CPI