Lines Matching full:regc
106 bool isProfitableToCommute(unsigned regA, unsigned regB, unsigned regC,
110 unsigned RegB, unsigned RegC, unsigned Dist);
507 isProfitableToCommute(unsigned regA, unsigned regB, unsigned regC,
530 if (!isPlainlyKilled(MI, regC, LIS))
546 unsigned FromRegC = getMappedReg(regC, SrcRegMap);
553 // If there is a use of regC between its last def (could be livein) and this
556 if (!noUseAfterLastDef(regC, Dist, LastDefC))
566 // if the def of regC is closer. Its live interval is shorter.
575 unsigned RegB, unsigned RegC, unsigned Dist) {
591 unsigned FromRegC = getMappedReg(RegC, SrcRegMap);
1111 unsigned regC = 0;
1123 regC = MI.getOperand(regCIdx).getReg();
1124 if (!regBKilled && isKilled(MI, regC, MRI, TII, LIS, false))
1128 else if (isProfitableToCommute(regA, regB, regC, &MI, Dist)) {
1136 if (TryCommute && commuteInstruction(mi, regB, regC, Dist)) {