Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:regC

98   bool isProfitableToCommute(unsigned regA, unsigned regB, unsigned regC,
102 unsigned RegB, unsigned RegC, unsigned Dist);
504 isProfitableToCommute(unsigned regA, unsigned regB, unsigned regC,
527 if (!isPlainlyKilled(MI, regC, LIS))
543 unsigned FromRegC = getMappedReg(regC, SrcRegMap);
550 // If there is a use of regC between its last def (could be livein) and this
553 if (!noUseAfterLastDef(regC, Dist, LastDefC))
563 // if the def of regC is closer. Its live interval is shorter.
572 unsigned RegB, unsigned RegC, unsigned Dist) {
588 unsigned FromRegC = getMappedReg(RegC, SrcRegMap);
1110 unsigned regC = 0;
1122 regC = MI.getOperand(regCIdx).getReg();
1123 if (!regBKilled && isKilled(MI, regC, MRI, TII, LIS, false))
1127 else if (isProfitableToCommute(regA, regB, regC, &MI, Dist)) {
1135 if (TryCommute && commuteInstruction(mi, regB, regC, Dist)) {