Lines Matching refs:HRI
114 static bool isDblRegForSubInst(unsigned Reg, const HexagonRegisterInfo &HRI) {
115 return isIntRegForSubInst(HRI.getSubReg(Reg, Hexagon::subreg_loreg)) &&
116 isIntRegForSubInst(HRI.getSubReg(Reg, Hexagon::subreg_hireg));
764 auto &HRI = getRegisterInfo();
826 .addReg(HRI.getSubReg(SrcReg, Hexagon::subreg_hireg), KillFlag)
827 .addReg(HRI.getSubReg(SrcReg, Hexagon::subreg_loreg), KillFlag);
847 unsigned DstHi = HRI.getSubReg(DestReg, Hexagon::subreg_hireg);
849 .addReg(HRI.getSubReg(SrcReg, Hexagon::subreg_hireg), KillFlag);
850 unsigned DstLo = HRI.getSubReg(DestReg, Hexagon::subreg_loreg);
852 .addReg(HRI.getSubReg(SrcReg, Hexagon::subreg_loreg), KillFlag);
859 << ": " << PrintReg(DestReg, &HRI)
860 << " = " << PrintReg(SrcReg, &HRI) << '\n';
988 const HexagonRegisterInfo &HRI = getRegisterInfo();
1010 .addReg(HRI.getFrameRegister())
1027 unsigned SrcSubLo = HRI.getSubReg(SrcReg, Hexagon::subreg_loreg);
1037 unsigned SrcSubHi = HRI.getSubReg(SrcReg, Hexagon::subreg_hireg);
1047 unsigned SrcSubHi = HRI.getSubReg(SrcReg, Hexagon::subreg_hireg);
1048 unsigned SrcSubLo = HRI.getSubReg(SrcReg, Hexagon::subreg_loreg);
1079 HRI.getSubReg(DstReg, Hexagon::subreg_loreg))
1084 HRI.getSubReg(DstReg, Hexagon::subreg_hireg))
1141 unsigned Src1SubHi = HRI.getSubReg(Src1Reg, Hexagon::subreg_hireg);
1142 unsigned Src1SubLo = HRI.getSubReg(Src1Reg, Hexagon::subreg_loreg);
1143 unsigned Src2SubHi = HRI.getSubReg(Src2Reg, Hexagon::subreg_hireg);
1144 unsigned Src2SubLo = HRI.getSubReg(Src2Reg, Hexagon::subreg_loreg);
1146 HRI.getSubReg(DstReg, Hexagon::subreg_hireg))
1150 HRI.getSubReg(DstReg, Hexagon::subreg_loreg))
1166 unsigned Src1SubHi = HRI.getSubReg(Src1Reg, Hexagon::subreg_hireg);
1167 unsigned Src1SubLo = HRI.getSubReg(Src1Reg, Hexagon::subreg_loreg);
1168 unsigned Src2SubHi = HRI.getSubReg(Src2Reg, Hexagon::subreg_hireg);
1169 unsigned Src2SubLo = HRI.getSubReg(Src2Reg, Hexagon::subreg_loreg);
1170 unsigned Src3SubHi = HRI.getSubReg(Src3Reg, Hexagon::subreg_hireg);
1171 unsigned Src3SubLo = HRI.getSubReg(Src3Reg, Hexagon::subreg_loreg);
1173 HRI.getSubReg(DstReg, Hexagon::subreg_hireg))
1178 HRI.getSubReg(DstReg, Hexagon::subreg_loreg))
1201 unsigned DstSubHi = HRI.getSubReg(DstReg, Hexagon::subreg_hireg);
1202 unsigned DstSubLo = HRI.getSubReg(DstReg, Hexagon::subreg_loreg);
1204 HRI.getSubReg(DstReg, Hexagon::subreg_loreg))
1210 HRI.getSubReg(DstReg, Hexagon::subreg_loreg))
1216 HRI.getSubReg(DstReg, Hexagon::subreg_hireg))
1222 HRI.getSubReg(DstReg, Hexagon::subreg_hireg))
1278 unsigned SrcLo = HRI.getSubReg(Op2.getReg(), Hexagon::subreg_loreg);
1279 unsigned SrcHi = HRI.getSubReg(Op2.getReg(), Hexagon::subreg_hireg);
1285 SrcLo = HRI.getSubReg(Op3.getReg(), Hexagon::subreg_loreg);
1286 SrcHi = HRI.getSubReg(Op3.getReg(), Hexagon::subreg_hireg);
1421 auto &HRI = getRegisterInfo();
1425 const TargetRegisterClass* RC = HRI.getMinimalPhysRegClass(MO.getReg());
1970 auto &HRI = getRegisterInfo();
1987 for (MCSubRegIterator SubRegs(RegA, &HRI); SubRegs.isValid(); ++SubRegs)
1992 for (MCSubRegIterator SubRegs(RegB, &HRI); SubRegs.isValid(); ++SubRegs)
3639 auto &HRI = getRegisterInfo();
3656 HRI.getStackRegister() == SrcReg &&
3708 if (isDblRegForSubInst(DstReg, HRI) &&
3710 HRI.getStackRegister() == SrcReg &&
3766 HRI.getStackRegister() == Src1Reg && MI->getOperand(1).isImm() &&
3805 if (isDblRegForSubInst(Src2Reg, HRI) &&
3807 HRI.getStackRegister() == Src1Reg && MI->getOperand(1).isImm() &&
3856 HRI.getStackRegister() == SrcReg && MI->getOperand(2).isImm() &&
3935 if (isDblRegForSubInst(DstReg, HRI) &&
3948 if (isDblRegForSubInst(DstReg, HRI) && isIntRegForSubInst(SrcReg) &&
3957 if (isDblRegForSubInst(DstReg, HRI) && isIntRegForSubInst(SrcReg) &&