Lines Matching defs:ShiftAmt
288 auto ShiftByConst = [&](const KnownBits &LHS, unsigned ShiftAmt) {
291 Known.Zero = LHS.Zero.ushl_ov(ShiftAmt, ShiftedOutZero);
292 Known.Zero.setLowBits(ShiftAmt);
293 Known.One = LHS.One.ushl_ov(ShiftAmt, ShiftedOutOne);
297 if (NUW && ShiftAmt != 0)
353 for (unsigned ShiftAmt = MinShiftAmount; ShiftAmt <= MaxShiftAmount;
354 ++ShiftAmt) {
356 if ((ShiftAmtZeroMask & ShiftAmt) != 0 ||
357 (ShiftAmtOneMask | ShiftAmt) != ShiftAmt)
359 Known = Known.intersectWith(ShiftByConst(LHS, ShiftAmt));
373 auto ShiftByConst = [&](const KnownBits &LHS, unsigned ShiftAmt) {
375 Known.Zero.lshrInPlace(ShiftAmt);
376 Known.One.lshrInPlace(ShiftAmt);
378 Known.Zero.setHighBits(ShiftAmt);
411 for (unsigned ShiftAmt = MinShiftAmount; ShiftAmt <= MaxShiftAmount;
412 ++ShiftAmt) {
414 if ((ShiftAmtZeroMask & ShiftAmt) != 0 ||
415 (ShiftAmtOneMask | ShiftAmt) != ShiftAmt)
417 Known = Known.intersectWith(ShiftByConst(LHS, ShiftAmt));
431 auto ShiftByConst = [&](const KnownBits &LHS, unsigned ShiftAmt) {
433 Known.Zero.ashrInPlace(ShiftAmt);
434 Known.One.ashrInPlace(ShiftAmt);
471 for (unsigned ShiftAmt = MinShiftAmount; ShiftAmt <= MaxShiftAmount;
472 ++ShiftAmt) {
474 if ((ShiftAmtZeroMask & ShiftAmt) != 0 ||
475 (ShiftAmtOneMask | ShiftAmt) != ShiftAmt)
477 Known = Known.intersectWith(ShiftByConst(LHS, ShiftAmt));