• Home
  • Raw
  • Download

Lines Matching refs:regB

109   bool isProfitableToCommute(unsigned regA, unsigned regB, unsigned regC,
546 isProfitableToCommute(unsigned regA, unsigned regB, unsigned regC,
584 unsigned FromRegB = getMappedReg(regB, SrcRegMap);
609 // If there is a use of regB between its last def (could be livein) and this
612 if (!noUseAfterLastDef(regB, Dist, LastDefB))
633 if (isRevCopyChain(regB, regA, 3))
1218 unsigned regB = MI.getOperand(SrcIdx).getReg();
1220 assert(TargetRegisterInfo::isVirtualRegister(regB) &&
1222 bool regBKilled = isKilled(MI, regB, MRI, TII, LIS, true);
1243 // If there is one more use of regB later in the same MBB, consider
1245 if (!Commuted && EnableRescheduling && rescheduleMIBelowKill(mi, nmi, regB)) {
1250 // If we commuted, regB may have changed so we should re-sample it to avoid
1253 regB = MI.getOperand(SrcIdx).getReg();
1254 regBKilled = isKilled(MI, regB, MRI, TII, LIS, true);
1260 if (!regBKilled || isProfitableToConv3Addr(regA, regB)) {
1262 if (convertInstTo3Addr(mi, nmi, regA, regB, Dist)) {
1273 // If there is one more use of regB later in the same MBB, consider
1275 if (EnableRescheduling && rescheduleKillAboveMI(mi, nmi, regB)) {
1327 unsigned NewSrcIdx = NewMIs[1]->findRegisterUseOperandIdx(regB);
1557 // Replace other (un-tied) uses of regB with LastCopiedReg.
1571 // Update live variables for regB.
1591 // Some tied uses of regB matched their destination registers, so
1592 // regB is still used in this instruction, but a kill flag was
1593 // removed from a different tied use of regB, so now we need to add
1594 // a kill flag to one of the remaining uses of regB.