Home | History | Annotate | Download | only in SelectionDAG

Lines Matching defs:Shift

1441       // If the shift count is an invalid immediate, don't do anything.
1446 // single shift. We can do this if the bottom bits (which are shifted
1506 // If the shift count is an invalid immediate, don't do anything.
1511 // single shift. We can do this if the top bits (which are shifted out)
1544 // If this is an arithmetic shift right and only the low-bit is set, we can
1545 // always convert this into a logical shr, even if the shift amount is
1546 // variable. The low bit of the shift cannot be an input sign bit unless
1547 // the shift amount is >= the size of the datatype, which is undefined.
1557 // If the shift count is an invalid immediate, don't do anything.
1580 // are demanded, turn this into an unsigned shift right.
1740 SDValue Shift = In.getOperand(1);
1743 Shift =
1753 // shift input, then shift it.
1760 Shift));
1876 // A left-shift of a constant one will have exactly one bit set, because
1884 // Similarly, a right-shift of a constant sign-bit will have exactly
3223 // Shift the value upfront if it is even, so the LSB is one.
3282 // Shift right algebraic if shift value is nonzero
3322 unsigned Shift = N1C.countTrailingZeros();
3324 DAG.getConstant(Shift, getShiftAmountTy(Q.getValueType())));
3329 magics = N1C.lshr(Shift).magicu(Shift);
3347 "We shouldn't generate an undefined shift!");