Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:regC

100     bool isProfitableToCommute(unsigned regB, unsigned regC,
106 unsigned RegB, unsigned RegC, unsigned Dist);
520 TwoAddressInstructionPass::isProfitableToCommute(unsigned regB, unsigned regC,
541 if (!MI->killsRegister(regC))
555 unsigned FromRegC = getMappedReg(regC, SrcRegMap);
557 unsigned ToRegC = getMappedReg(regC, DstRegMap);
564 // If there is a use of regC between its last def (could be livein) and this
567 if (!NoUseAfterLastDef(regC, MBB, Dist, LastDefC))
577 // if the def of regC is closer. Its live interval is shorter.
587 unsigned RegB, unsigned RegC, unsigned Dist) {
602 LV->replaceKillInstruction(RegC, MI, NewMI);
611 unsigned FromRegC = getMappedReg(RegC, SrcRegMap);
876 unsigned regC = 0;
888 regC = mi->getOperand(regCIdx).getReg();
889 if (!regBKilled && isKilled(*mi, regC, MRI, TII))
893 else if (isProfitableToCommute(regB, regC, mi, mbbi, Dist)) {
901 if (TryCommute && CommuteInstruction(mi, mbbi, regB, regC, Dist)) {