Lines Matching refs:Mask
121 Mask(allOnes(BitSize)), Input(N), Start(64 - BitSize), End(63), in RxSBGOperands()
126 uint64_t Mask; member
276 bool refineRxSBGMask(RxSBGOperands &RxSBG, uint64_t Mask) const;
725 uint64_t Mask) const { in refineRxSBGMask()
728 Mask = (Mask << RxSBG.Rotate) | (Mask >> (64 - RxSBG.Rotate)); in refineRxSBGMask()
729 Mask &= RxSBG.Mask; in refineRxSBGMask()
730 if (TII->isRxSBGMask(Mask, RxSBG.BitSize, RxSBG.Start, RxSBG.End)) { in refineRxSBGMask()
731 RxSBG.Mask = Mask; in refineRxSBGMask()
738 static bool maskMatters(RxSBGOperands &RxSBG, uint64_t Mask) { in maskMatters() argument
741 Mask = ((Mask << RxSBG.Rotate) | (Mask >> (64 - RxSBG.Rotate))); in maskMatters()
742 return (Mask & RxSBG.Mask) != 0; in maskMatters()
753 uint64_t Mask = allOnes(BitSize); in expandRxSBG() local
754 if (!refineRxSBGMask(RxSBG, Mask)) in expandRxSBG()
768 uint64_t Mask = MaskNode->getZExtValue(); in expandRxSBG() local
769 if (!refineRxSBGMask(RxSBG, Mask)) { in expandRxSBG()
775 Mask |= KnownZero.getZExtValue(); in expandRxSBG()
776 if (!refineRxSBGMask(RxSBG, Mask)) in expandRxSBG()
792 uint64_t Mask = ~MaskNode->getZExtValue(); in expandRxSBG() local
793 if (!refineRxSBGMask(RxSBG, Mask)) { in expandRxSBG()
799 Mask &= ~KnownOne.getZExtValue(); in expandRxSBG()
800 if (!refineRxSBGMask(RxSBG, Mask)) in expandRxSBG()
948 RISBG.Mask == 0xff || in tryRISBGZero()
949 RISBG.Mask == 0xffff || in tryRISBGZero()
950 SystemZ::isImmLF(~RISBG.Mask) || in tryRISBGZero()
951 SystemZ::isImmHF(~RISBG.Mask)) { in tryRISBGZero()
954 if (MaskN->getZExtValue() != RISBG.Mask) { in tryRISBGZero()
955 SDValue NewMask = CurDAG->getConstant(RISBG.Mask, DL, VT); in tryRISBGZero()
966 if (RISBG.Rotate == 0 && (RISBG.Mask == 0xff || RISBG.Mask == 0xffff)) { in tryRISBGZero()
967 unsigned OpCode = (RISBG.Mask == 0xff ? SystemZ::LLGCR : SystemZ::LLGHR); in tryRISBGZero()
970 OpCode = (RISBG.Mask == 0xff ? SystemZ::LLCRMux : SystemZ::LLHRMux); in tryRISBGZero()
972 OpCode = (RISBG.Mask == 0xff ? SystemZ::LLCR : SystemZ::LLHR); in tryRISBGZero()
1038 if (Opcode == SystemZ::ROSBG && (RxSBG[I].Mask & 0xff) == 0) in tryRxSBG()
1045 if (Opcode == SystemZ::ROSBG && detectOrAndInsertion(Op0, RxSBG[I].Mask)) { in tryRxSBG()