Lines Matching refs:HBS
193 typedef HexagonBitSimplify HBS;
1163 if (!HBS::getSubregMask(UR, B, W, MRI))
1200 bool GotBits = HBS::getUsedBits(Opc, OpN, T, Begin, HII);
1208 const TargetRegisterClass *RC = HBS::getFinalVRegClass(RR, MRI);
1231 if (!HBS::getSubregMask(RD, DB, DW, MRI))
1234 if (!HBS::getSubregMask(RS, SB, SW, MRI))
1280 if (!HBS::isTransparentCopy(RD, RS, MRI))
1284 if (!HBS::getSubregMask(RS, BN, BW, MRI))
1288 if (!usedBitsEqual(RD, RS) && !HBS::isEqual(DC, 0, SC, BN, BW))
1293 const TargetRegisterClass *FRC = HBS::getFinalVRegClass(RD, MRI);
1297 HBS::replaceSubWithSub(RD.Reg, RD.Sub, NewR, 0, MRI);
1423 HBS::getInstrDefs(*I, Defs);
1435 HBS::replaceReg(DR, ImmReg, MRI);
1495 if (!HBS::getSubregMask(Inp, B, W, MRI))
1499 if (!BT.has(R) || !HBS::isTransparentCopy(R, Inp, MRI))
1506 if (!HBS::isEqual(InpRC, B, RC, 0, W))
1520 if (HBS::isEqual(InpRC, B, RC, 0, W))
1522 else if (HBS::isEqual(InpRC, B, RC, W, W))
1543 HBS::getInstrDefs(*I, Defs);
1554 auto *FRC = HBS::getFinalVRegClass(MR, MRI);
1595 if (!HBS::isTransparentCopy(RD, RS, MRI))
1598 Changed = HBS::replaceRegWithSub(RD.Reg, RS.Reg, RS.Sub, MRI);
1600 Changed = HBS::replaceReg(RD.Reg, RS.Reg, MRI);
1605 if (HBS::parseRegSequence(MI, SL, SH)) {
1606 Changed = HBS::replaceSubWithSub(RD.Reg, Hexagon::subreg_loreg,
1608 Changed |= HBS::replaceSubWithSub(RD.Reg, Hexagon::subreg_hireg,
1615 Changed = HBS::replaceSubWithSub(RD.Reg, Hexagon::subreg_loreg,
1617 Changed |= HBS::replaceSubWithSub(RD.Reg, Hexagon::subreg_hireg,
1627 Changed = HBS::replaceSubWithSub(RD.Reg, Sub, RS.Reg, RS.Sub, MRI);
1772 if (!HBS::getFinalVRegClass(RH, MRI))
1869 if (!HBS::getConst(RC, 0, RC.width(), U))
1926 HBS::replaceSubWithSub(RD.Reg, RD.Sub, NewR, 0, MRI);
1938 if (!matchHalf(RD.Reg, RC, 0, L) || !HBS::isZero(RC, 16, 16))
1962 HBS::replaceSubWithSub(RD.Reg, RD.Sub, NewR, 0, MRI);
1993 HBS::replaceSubWithSub(RD.Reg, RD.Sub, NewR, 0, MRI);
2038 if (!HBS::getSubregMask(RS, BN, BW, MRI))
2040 if (BW < W || !HBS::isEqual(RC, 0, SC, BN, W))
2052 HBS::replaceSubWithSub(RD.Reg, RD.Sub, NewR, 0, MRI);
2076 if (!BT.has(RS.Reg) || !HBS::getSubregMask(RS, F, W, MRI))
2106 HBS::replaceReg(RD.Reg, NewR, MRI);
2114 HBS::replaceReg(RD.Reg, NewR, MRI);
2131 HBS::getInstrDefs(*MI, Defs);
2152 const TargetRegisterClass *FRC = HBS::getFinalVRegClass(RD, MRI);
2374 HBS::getInstrDefs(*MI, Defs);
2521 HBS::replaceReg(OldPhiR, RegMap[G.Out.Reg], *MRI);
2578 HBS::getInstrDefs(*I, Defs);
2638 HBS::getInstrUses(*SI, Inputs);
2645 HBS::getInstrDefs(*MI, Defs);
2654 HBS::getInstrUses(*MI, Inputs);