Lines Matching defs:ShlConst
48189 // fold (SRA (SHL X, ShlConst), SraConst)
48190 // into (SHL (sext_in_reg X), ShlConst - SraConst)
48192 // or (SRA (sext_in_reg X), SraConst - ShlConst)
48193 // depending on relation between SraConst and ShlConst.
48194 // We only do this if (Size - ShlConst) is equal to 8, 16 or 32. That allows
48210 APInt ShlConst = N01->getAsAPIntVal();
48221 // Only deal with (Size - ShlConst) being equal to 8, 16 or 32.
48222 if (ShiftSize >= Size || ShlConst != Size - ShiftSize)
48226 if (SraConst.eq(ShlConst))
48228 if (SraConst.ult(ShlConst))
48230 DAG.getConstant(ShlConst - SraConst, DL, CVT));
48232 DAG.getConstant(SraConst - ShlConst, DL, CVT));