Lines Matching refs:SrlImm
1457 uint64_t SrlImm = 0; in isBitfieldExtractOpFromAnd() local
1460 isOpcWithIntImmediate(Op0->getOperand(0).getNode(), ISD::SRL, SrlImm)) { in isBitfieldExtractOpFromAnd()
1468 SrlImm)) { in isBitfieldExtractOpFromAnd()
1474 } else if (isOpcWithIntImmediate(Op0, ISD::SRL, SrlImm)) { in isBitfieldExtractOpFromAnd()
1488 if (!BiggerPattern && (SrlImm <= 0 || SrlImm >= VT.getSizeInBits())) { in isBitfieldExtractOpFromAnd()
1494 LSB = SrlImm; in isBitfieldExtractOpFromAnd()
1495 MSB = SrlImm + (VT == MVT::i32 ? countTrailingOnes<uint32_t>(AndImm) in isBitfieldExtractOpFromAnd()
1568 uint64_t SrlImm = 0; in isSeveralBitsExtractOpFromShr() local
1569 if (!isIntImmediate(N->getOperand(1), SrlImm)) in isSeveralBitsExtractOpFromShr()
1573 unsigned BitWide = 64 - countLeadingOnes(~(AndMask >> SrlImm)); in isSeveralBitsExtractOpFromShr()
1574 if (BitWide && isMask_64(AndMask >> SrlImm)) { in isSeveralBitsExtractOpFromShr()
1580 LSB = SrlImm; in isSeveralBitsExtractOpFromShr()
1581 MSB = BitWide + SrlImm - 1; in isSeveralBitsExtractOpFromShr()
1637 uint64_t SrlImm = 0; in isBitfieldExtractOpFromShr() local
1638 if (!isIntImmediate(N->getOperand(1), SrlImm)) in isBitfieldExtractOpFromShr()
1641 assert(SrlImm > 0 && SrlImm < VT.getSizeInBits() && in isBitfieldExtractOpFromShr()
1643 int immr = SrlImm - ShlImm; in isBitfieldExtractOpFromShr()