Lines Matching refs:ShiftAmt
1911 int64_t ShiftAmt = MaybeShiftAmtVal->getSExtValue(); in matchCombineShlOfExtend() local
1913 MatchData.Imm = ShiftAmt; in matchCombineShlOfExtend()
1917 return MinLeadingZeros >= ShiftAmt && ShiftAmt < SrcTySize; in matchCombineShlOfExtend()
1927 auto ShiftAmt = Builder.buildConstant(ExtSrcTy, ShiftAmtVal); in applyCombineShlOfExtend() local
1929 Builder.buildShl(ExtSrcTy, ExtSrcReg, ShiftAmt, MI.getFlags()); in applyCombineShlOfExtend()
2032 unsigned ShiftAmt = Dst0Ty.getSizeInBits(); in matchCombineUnmergeConstant() local
2035 Csts.emplace_back(Val.trunc(ShiftAmt)); in matchCombineUnmergeConstant()
2036 Val = Val.lshr(ShiftAmt); in matchCombineUnmergeConstant()
2264 unsigned ShiftAmt; in tryCombineShiftToUnmerge() local
2265 if (matchCombineShiftToUnmerge(MI, TargetShiftAmount, ShiftAmt)) { in tryCombineShiftToUnmerge()
2266 applyCombineShiftToUnmerge(MI, ShiftAmt); in tryCombineShiftToUnmerge()
2577 Register ShiftAmt = ShiftMI->getOperand(2).getReg(); in applyCombineTruncOfShift() local
2583 .buildInstr(ShiftMI->getOpcode(), {NewShiftTy}, {ShiftSrc, ShiftAmt}) in applyCombineTruncOfShift()
3110 int64_t ShiftAmt; in applyAshShlToSextInreg() local
3111 std::tie(Src, ShiftAmt) = MatchInfo; in applyAshShlToSextInreg()
3114 Builder.buildSExtInReg(MI.getOperand(0).getReg(), Src, Size - ShiftAmt); in applyAshShlToSextInreg()
5307 auto ShiftAmt = in applyUMulHToLShr() local
5309 auto Trunc = Builder.buildZExtOrTrunc(ShiftAmtTy, ShiftAmt); in applyUMulHToLShr()
6053 std::optional<ValueAndVReg> ShiftAmt; in matchTruncLshrBuildVectorFold() local
6056 m_GCst(ShiftAmt)))) in matchTruncLshrBuildVectorFold()
6060 return ShiftAmt->Value.getZExtValue() == MatchTy.getSizeInBits() && in matchTruncLshrBuildVectorFold()