Home
last modified time | relevance | path

Searched refs:ShAmt1 (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp653 const APInt *ShAmt1 = LOps.Shift; in foldLoadsRecursive() local
657 m_APInt(ShAmt1)))))) { in foldLoadsRecursive()
723 std::swap(ShAmt1, ShAmt2); in foldLoadsRecursive()
732 std::swap(ShAmt1, ShAmt2); in foldLoadsRecursive()
736 if (ShAmt1) in foldLoadsRecursive()
737 Shift1 = ShAmt1->getZExtValue(); in foldLoadsRecursive()
772 LOps.Shift = ShAmt1; in foldLoadsRecursive()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp24 Value *ShAmt1) { in canTryToConstantAddTwoShiftAmounts() argument
27 if (ShAmt0->getType() != ShAmt1->getType()) in canTryToConstantAddTwoShiftAmounts()
79 Value *X, *ShAmt1; in reassociateShiftAmtsOfTwoSameDirectionShifts() local
80 if (!match(Sh1, m_Shift(m_Value(X), m_ZExtOrSelf(m_Value(ShAmt1))))) in reassociateShiftAmtsOfTwoSameDirectionShifts()
84 if (!canTryToConstantAddTwoShiftAmounts(Sh0, ShAmt0, Sh1, ShAmt1)) in reassociateShiftAmtsOfTwoSameDirectionShifts()
110 simplifyAddInst(ShAmt0, ShAmt1, /*isNSW=*/false, /*isNUW=*/false, in reassociateShiftAmtsOfTwoSameDirectionShifts()
H A DInstCombineCasts.cpp460 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in narrowFunnelShift() local
462 !match(Or1, m_OneUse(m_LogicalShift(m_Value(ShVal1), m_Value(ShAmt1)))) || in narrowFunnelShift()
470 std::swap(ShAmt0, ShAmt1); in narrowFunnelShift()
510 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, NarrowWidth); in narrowFunnelShift()
513 ShAmt = matchShiftAmount(ShAmt1, ShAmt0, NarrowWidth); in narrowFunnelShift()
H A DInstCombineAndOrXor.cpp2867 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in convertOrOfShiftsToFunnelShift() local
2871 m_OneUse(m_LogicalShift(m_Value(ShVal1), m_Value(ShAmt1)))) || in convertOrOfShiftsToFunnelShift()
2879 std::swap(ShAmt0, ShAmt1); in convertOrOfShiftsToFunnelShift()
2951 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, Width); in convertOrOfShiftsToFunnelShift()
2953 ShAmt = matchShiftAmount(ShAmt1, ShAmt0, Width); in convertOrOfShiftsToFunnelShift()