|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
lib/Target/Hexagon/HexagonBitSimplify.cpp 1216 if (!HBS::getSubregMask(UR, B, W, MRI))
1252 bool GotBits = HBS::getUsedBits(Opc, OpN, T, Begin, HII);
1260 const TargetRegisterClass *RC = HBS::getFinalVRegClass(RR, MRI);
1282 if (!HBS::getSubregMask(RD, DB, DW, MRI))
1285 if (!HBS::getSubregMask(RS, SB, SW, MRI))
1331 if (!HBS::isTransparentCopy(RD, RS, MRI))
1335 if (!HBS::getSubregMask(RS, BN, BW, MRI))
1339 if (!usedBitsEqual(RD, RS) && !HBS::isEqual(DC, 0, SC, BN, BW))
1344 const TargetRegisterClass *FRC = HBS::getFinalVRegClass(RD, MRI);
1349 HBS::replaceSubWithSub(RD.Reg, RD.Sub, NewR, 0, MRI);
1466 HBS::getInstrDefs(*I, Defs);
1474 if (HBS::getConst(DRC, 0, DRC.width(), U)) {
1480 HBS::replaceReg(DR, ImmReg, MRI);
1540 auto *FRC = HBS::getFinalVRegClass(Inp, MRI);
1542 if (!HBS::getSubregMask(Inp, B, W, MRI))
1553 if (!HBS::isTransparentCopy(R, Inp, MRI))
1555 if (!HBS::isEqual(InpRC, B, RC, 0, W))
1569 if (HBS::isEqual(InpRC, B, RC, 0, W))
1571 else if (HBS::isEqual(InpRC, B, RC, W, W))
1576 if (HBS::isTransparentCopy(Out, Inp, MRI))
1594 HBS::getInstrDefs(*I, Defs);
1606 auto *FRC = HBS::getFinalVRegClass(R, MRI);
1613 HBS::replaceReg(R, NewR, MRI);
1627 auto *FRC = HBS::getFinalVRegClass(R, MRI);
1635 HBS::replaceReg(R, NewR, MRI);
1674 if (!HBS::isTransparentCopy(RD, RS, MRI))
1677 Changed = HBS::replaceRegWithSub(RD.Reg, RS.Reg, RS.Sub, MRI);
1679 Changed = HBS::replaceReg(RD.Reg, RS.Reg, MRI);
1684 if (HBS::parseRegSequence(MI, SL, SH, MRI)) {
1688 Changed = HBS::replaceSubWithSub(RD.Reg, SubLo, SL.Reg, SL.Sub, MRI);
1689 Changed |= HBS::replaceSubWithSub(RD.Reg, SubHi, SH.Reg, SH.Sub, MRI);
1699 Changed = HBS::replaceSubWithSub(RD.Reg, SubLo, RL.Reg, RL.Sub, MRI);
1700 Changed |= HBS::replaceSubWithSub(RD.Reg, SubHi, RH.Reg, RH.Sub, MRI);
1709 Changed = HBS::replaceSubWithSub(RD.Reg, Sub, RS.Reg, RS.Sub, MRI);
1867 if (!HBS::getFinalVRegClass(RH, MRI))
1876 auto *RRC = HBS::getFinalVRegClass(R, MRI);
1969 if (!HBS::getConst(RC, 0, RC.width(), U))
2032 HBS::replaceSubWithSub(RD.Reg, RD.Sub, NewR, 0, MRI);
2043 if (!matchHalf(RD.Reg, RC, 0, L) || !HBS::isZero(RC, 16, 16))
2071 HBS::replaceSubWithSub(RD.Reg, RD.Sub, NewR, 0, MRI);
2103 HBS::replaceSubWithSub(RD.Reg, RD.Sub, NewR, 0, MRI);
2147 if (!HBS::getSubregMask(RS, BN, BW, MRI))
2149 if (BW < W || !HBS::isEqual(RC, 0, SC, BN, W))
2163 HBS::replaceSubWithSub(RD.Reg, RD.Sub, NewR, 0, MRI);
2305 HBS::replaceRegWithSub(RD.Reg, NewR, Hexagon::isub_lo, MRI);
2306 HBS::replaceRegWithSub(S, NewR, Hexagon::isub_hi, MRI);
2308 HBS::replaceRegWithSub(S, NewR, Hexagon::isub_lo, MRI);
2309 HBS::replaceRegWithSub(RD.Reg, NewR, Hexagon::isub_hi, MRI);
2333 if (!BT.has(RS.Reg) || !HBS::getSubregMask(RS, F, W, MRI))
2363 HBS::replaceReg(RD.Reg, NewR, MRI);
2371 HBS::replaceReg(RD.Reg, NewR, MRI);
2402 const TargetRegisterClass *FRC = HBS::getFinalVRegClass(RD, MRI);
2497 if (HBS::isEqual(RC, 0, SC, Off, Len))
2566 HBS::replaceReg(RD.Reg, NewR, MRI);
2584 const TargetRegisterClass *FRC = HBS::getFinalVRegClass(RD, MRI);
2601 if (!HBS::getSubregMask(SR, F, W, MRI))
2616 HBS::replaceReg(RD.Reg, NewR, MRI);
2683 HBS::replaceReg(RD.Reg, NewR, MRI);
2707 HBS::getInstrDefs(*MI, Defs);
2728 const TargetRegisterClass *FRC = HBS::getFinalVRegClass(RD, MRI);
2960 HBS::getInstrDefs(*MI, Defs);
3101 HBS::replaceReg(OldPhiR, RegMap[G.Out.Reg], *MRI);
3158 HBS::getInstrDefs(*I, Defs);
3218 HBS::getInstrUses(*SI, Inputs);
3225 HBS::getInstrDefs(*MI, Defs);
3234 HBS::getInstrUses(*MI, Inputs);