Lines Matching refs:Srl_imm
1380 uint64_t Srl_imm = 0; in isBitfieldExtractOpFromAnd() local
1383 isOpcWithIntImmediate(Op0->getOperand(0).getNode(), ISD::SRL, Srl_imm)) { in isBitfieldExtractOpFromAnd()
1391 Srl_imm)) { in isBitfieldExtractOpFromAnd()
1397 } else if (isOpcWithIntImmediate(Op0, ISD::SRL, Srl_imm)) { in isBitfieldExtractOpFromAnd()
1411 if (!BiggerPattern && (Srl_imm <= 0 || Srl_imm >= VT.getSizeInBits())) { in isBitfieldExtractOpFromAnd()
1417 LSB = Srl_imm; in isBitfieldExtractOpFromAnd()
1418 MSB = Srl_imm + (VT == MVT::i32 ? countTrailingOnes<uint32_t>(And_imm) in isBitfieldExtractOpFromAnd()
1458 uint64_t Srl_imm = 0; in isSeveralBitsExtractOpFromShr() local
1459 if (!isIntImmediate(N->getOperand(1), Srl_imm)) in isSeveralBitsExtractOpFromShr()
1463 unsigned BitWide = 64 - countLeadingOnes(~(And_mask >> Srl_imm)); in isSeveralBitsExtractOpFromShr()
1464 if (BitWide && isMask_64(And_mask >> Srl_imm)) { in isSeveralBitsExtractOpFromShr()
1470 LSB = Srl_imm; in isSeveralBitsExtractOpFromShr()
1471 MSB = BitWide + Srl_imm - 1; in isSeveralBitsExtractOpFromShr()
1527 uint64_t Srl_imm = 0; in isBitfieldExtractOpFromShr() local
1528 if (!isIntImmediate(N->getOperand(1), Srl_imm)) in isBitfieldExtractOpFromShr()
1531 assert(Srl_imm > 0 && Srl_imm < VT.getSizeInBits() && in isBitfieldExtractOpFromShr()
1534 unsigned Width = VT.getSizeInBits() - Trunc_bits - Srl_imm - 1; in isBitfieldExtractOpFromShr()
1535 int sLSB = Srl_imm - Shl_imm; in isBitfieldExtractOpFromShr()