Lines Matching defs:ExtR
406 bool replaceInstrExact(const ExtDesc &ED, Register ExtR);
408 Register ExtR, int32_t &Diff);
409 bool replaceInstr(unsigned Idx, Register ExtR, const ExtenderInit &ExtI);
1605 // Replace the extender at index Idx with the register ExtR.
1606 bool HCE::replaceInstrExact(const ExtDesc &ED, Register ExtR) {
1624 .add(MachineOperand(ExtR))
1629 .add(MachineOperand(ExtR))
1643 .add(MachineOperand(ExtR))
1657 MIB.add(MachineOperand(ExtR));
1704 MIB.add(MachineOperand(ExtR)); // RegOff
1724 Register ExtR, int32_t &Diff) {
1756 .add(MachineOperand(ExtR))
1789 .add(MachineOperand(ExtR));
1814 .add(MachineOperand(ExtR));
1831 MIB.add(MachineOperand(ExtR));
1848 bool HCE::replaceInstr(unsigned Idx, Register ExtR, const ExtenderInit &ExtI) {
1863 LLVM_DEBUG(dbgs() << __func__ << " Idx:" << Idx << " ExtR:"
1864 << PrintRegister(ExtR, *HRI) << " Diff:" << Diff << '\n');
1890 Replaced = replaceInstrExact(ED, ExtR);
1892 Replaced = replaceInstrExpr(ED, ExtI, ExtR, Diff);
1904 // ExtR will now be the register with the extended value, and since all
1906 // Rd with ExtR.
1908 assert(ED.Rd.Sub == 0 && ExtR.Sub == 0);
1909 MRI->replaceRegWith(ED.Rd.Reg, ExtR.Reg);