Lines Matching refs:ShiftAmt
2064 int64_t ShiftAmt = MaybeShiftAmtVal->getSExtValue(); in matchCombineShlOfExtend() local
2066 MatchData.Imm = ShiftAmt; in matchCombineShlOfExtend()
2070 return MinLeadingZeros >= ShiftAmt && ShiftAmt < SrcTySize; in matchCombineShlOfExtend()
2079 auto ShiftAmt = Builder.buildConstant(ExtSrcTy, ShiftAmtVal); in applyCombineShlOfExtend() local
2081 Builder.buildShl(ExtSrcTy, ExtSrcReg, ShiftAmt, MI.getFlags()); in applyCombineShlOfExtend()
2183 unsigned ShiftAmt = Dst0Ty.getSizeInBits(); in matchCombineUnmergeConstant() local
2186 Csts.emplace_back(Val.trunc(ShiftAmt)); in matchCombineUnmergeConstant()
2187 Val = Val.lshr(ShiftAmt); in matchCombineUnmergeConstant()
2400 unsigned ShiftAmt; in tryCombineShiftToUnmerge() local
2401 if (matchCombineShiftToUnmerge(MI, TargetShiftAmount, ShiftAmt)) { in tryCombineShiftToUnmerge()
2402 applyCombineShiftToUnmerge(MI, ShiftAmt); in tryCombineShiftToUnmerge()
2705 Register ShiftAmt = ShiftMI->getOperand(2).getReg(); in applyCombineTruncOfShift() local
2711 .buildInstr(ShiftMI->getOpcode(), {NewShiftTy}, {ShiftSrc, ShiftAmt}) in applyCombineTruncOfShift()
3248 int64_t ShiftAmt; in applyAshShlToSextInreg() local
3249 std::tie(Src, ShiftAmt) = MatchInfo; in applyAshShlToSextInreg()
3251 Builder.buildSExtInReg(MI.getOperand(0).getReg(), Src, Size - ShiftAmt); in applyAshShlToSextInreg()
5591 auto ShiftAmt = in applyUMulHToLShr() local
5593 auto Trunc = Builder.buildZExtOrTrunc(ShiftAmtTy, ShiftAmt); in applyUMulHToLShr()
6336 std::optional<ValueAndVReg> ShiftAmt; in matchTruncLshrBuildVectorFold() local
6339 m_GCst(ShiftAmt)))) in matchTruncLshrBuildVectorFold()
6343 return ShiftAmt->Value.getZExtValue() == MatchTy.getSizeInBits() && in matchTruncLshrBuildVectorFold()