Lines Matching defs:ExtR
405 bool replaceInstrExact(const ExtDesc &ED, Register ExtR);
407 Register ExtR, int32_t &Diff);
408 bool replaceInstr(unsigned Idx, Register ExtR, const ExtenderInit &ExtI);
1583 // Replace the extender at index Idx with the register ExtR.
1584 bool HCE::replaceInstrExact(const ExtDesc &ED, Register ExtR) {
1602 .add(MachineOperand(ExtR))
1607 .add(MachineOperand(ExtR))
1621 .add(MachineOperand(ExtR))
1635 MIB.add(MachineOperand(ExtR));
1682 MIB.add(MachineOperand(ExtR)); // RegOff
1702 Register ExtR, int32_t &Diff) {
1734 .add(MachineOperand(ExtR))
1767 .add(MachineOperand(ExtR));
1792 .add(MachineOperand(ExtR));
1809 MIB.add(MachineOperand(ExtR));
1826 bool HCE::replaceInstr(unsigned Idx, Register ExtR, const ExtenderInit &ExtI) {
1841 LLVM_DEBUG(dbgs() << __func__ << " Idx:" << Idx << " ExtR:"
1842 << PrintRegister(ExtR, *HRI) << " Diff:" << Diff << '\n');
1868 Replaced = replaceInstrExact(ED, ExtR);
1870 Replaced = replaceInstrExpr(ED, ExtI, ExtR, Diff);
1882 // ExtR will now be the register with the extended value, and since all
1884 // Rd with ExtR.
1886 assert(ED.Rd.Sub == 0 && ExtR.Sub == 0);
1887 MRI->replaceRegWith(ED.Rd.Reg, ExtR.Reg);