Lines Matching refs:HBS

196   typedef HexagonBitSimplify HBS;  typedef
1171 if (!HBS::getSubregMask(UR, B, W, MRI)) in computeUsedBits()
1208 bool GotBits = HBS::getUsedBits(Opc, OpN, T, Begin, HII); in computeUsedBits()
1216 const TargetRegisterClass *RC = HBS::getFinalVRegClass(RR, MRI); in computeUsedBits()
1239 if (!HBS::getSubregMask(RD, DB, DW, MRI)) in usedBitsEqual()
1242 if (!HBS::getSubregMask(RS, SB, SW, MRI)) in usedBitsEqual()
1286 if (!HBS::isTransparentCopy(RD, RS, MRI)) in processBlock()
1290 if (!HBS::getSubregMask(RS, BN, BW, MRI)) in processBlock()
1294 if (!usedBitsEqual(RD, RS) && !HBS::isEqual(DC, 0, SC, BN, BW)) in processBlock()
1299 const TargetRegisterClass *FRC = HBS::getFinalVRegClass(RD, MRI); in processBlock()
1303 HBS::replaceSubWithSub(RD.Reg, RD.Sub, NewR, 0, MRI); in processBlock()
1430 HBS::getInstrDefs(*I, Defs); in processBlock()
1442 HBS::replaceReg(DR, ImmReg, MRI); in processBlock()
1502 if (!HBS::getSubregMask(Inp, B, W, MRI)) in findMatch()
1506 if (!BT.has(R) || !HBS::isTransparentCopy(R, Inp, MRI)) in findMatch()
1513 if (!HBS::isEqual(InpRC, B, RC, 0, W)) in findMatch()
1527 if (HBS::isEqual(InpRC, B, RC, 0, W)) in findMatch()
1529 else if (HBS::isEqual(InpRC, B, RC, W, W)) in findMatch()
1550 HBS::getInstrDefs(*I, Defs); in processBlock()
1561 auto *FRC = HBS::getFinalVRegClass(MR, MRI); in processBlock()
1602 if (!HBS::isTransparentCopy(RD, RS, MRI)) in propagateRegCopy()
1605 Changed = HBS::replaceRegWithSub(RD.Reg, RS.Reg, RS.Sub, MRI); in propagateRegCopy()
1607 Changed = HBS::replaceReg(RD.Reg, RS.Reg, MRI); in propagateRegCopy()
1612 if (HBS::parseRegSequence(MI, SL, SH)) { in propagateRegCopy()
1613 Changed = HBS::replaceSubWithSub(RD.Reg, Hexagon::subreg_loreg, in propagateRegCopy()
1615 Changed |= HBS::replaceSubWithSub(RD.Reg, Hexagon::subreg_hireg, in propagateRegCopy()
1622 Changed = HBS::replaceSubWithSub(RD.Reg, Hexagon::subreg_loreg, in propagateRegCopy()
1624 Changed |= HBS::replaceSubWithSub(RD.Reg, Hexagon::subreg_hireg, in propagateRegCopy()
1634 Changed = HBS::replaceSubWithSub(RD.Reg, Sub, RS.Reg, RS.Sub, MRI); in propagateRegCopy()
1779 if (!HBS::getFinalVRegClass(RH, MRI)) in matchHalf()
1876 if (!HBS::getConst(RC, 0, RC.width(), U)) in genStoreImmediate()
1931 HBS::replaceSubWithSub(RD.Reg, RD.Sub, NewR, 0, MRI); in genPackhl()
1943 if (!matchHalf(RD.Reg, RC, 0, L) || !HBS::isZero(RC, 16, 16)) in genExtractHalf()
1966 HBS::replaceSubWithSub(RD.Reg, RD.Sub, NewR, 0, MRI); in genExtractHalf()
1995 HBS::replaceSubWithSub(RD.Reg, RD.Sub, NewR, 0, MRI); in genCombineHalf()
2040 if (!HBS::getSubregMask(RS, BN, BW, MRI)) in genExtractLow()
2042 if (BW < W || !HBS::isEqual(RC, 0, SC, BN, W)) in genExtractLow()
2052 HBS::replaceSubWithSub(RD.Reg, RD.Sub, NewR, 0, MRI); in genExtractLow()
2076 if (!BT.has(RS.Reg) || !HBS::getSubregMask(RS, F, W, MRI)) in simplifyTstbit()
2104 HBS::replaceReg(RD.Reg, NewR, MRI); in simplifyTstbit()
2112 HBS::replaceReg(RD.Reg, NewR, MRI); in simplifyTstbit()
2129 HBS::getInstrDefs(*MI, Defs); in processBlock()
2150 const TargetRegisterClass *FRC = HBS::getFinalVRegClass(RD, MRI); in processBlock()
2369 HBS::getInstrDefs(*MI, Defs); in getDefReg()
2516 HBS::replaceReg(OldPhiR, RegMap[G.Out.Reg], *MRI); in moveGroup()
2573 HBS::getInstrDefs(*I, Defs); in processLoop()
2633 HBS::getInstrUses(*SI, Inputs); in processLoop()
2640 HBS::getInstrDefs(*MI, Defs); in processLoop()
2649 HBS::getInstrUses(*MI, Inputs); in processLoop()