Lines Matching refs:regB
106 bool isProfitableToCommute(unsigned regA, unsigned regB, unsigned regC,
507 isProfitableToCommute(unsigned regA, unsigned regB, unsigned regC, in isProfitableToCommute() argument
545 unsigned FromRegB = getMappedReg(regB, SrcRegMap); in isProfitableToCommute()
562 if (!noUseAfterLastDef(regB, Dist, LastDefB)) in isProfitableToCommute()
1100 unsigned regB = MI.getOperand(SrcIdx).getReg(); in tryInstructionTransform() local
1102 assert(TargetRegisterInfo::isVirtualRegister(regB) && in tryInstructionTransform()
1104 bool regBKilled = isKilled(MI, regB, MRI, TII, LIS, true); in tryInstructionTransform()
1128 else if (isProfitableToCommute(regA, regB, regC, &MI, Dist)) { in tryInstructionTransform()
1136 if (TryCommute && commuteInstruction(mi, regB, regC, Dist)) { in tryInstructionTransform()
1148 if (EnableRescheduling && rescheduleMIBelowKill(mi, nmi, regB)) { in tryInstructionTransform()
1156 if (!regBKilled || isProfitableToConv3Addr(regA, regB)) { in tryInstructionTransform()
1158 if (convertInstTo3Addr(mi, nmi, regA, regB, Dist)) { in tryInstructionTransform()
1167 if (EnableRescheduling && rescheduleKillAboveMI(mi, nmi, regB)) { in tryInstructionTransform()
1219 unsigned NewSrcIdx = NewMIs[1]->findRegisterUseOperandIdx(regB); in tryInstructionTransform()