Searched refs:ShAmt1 (Results 1 – 4 of 4) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 661 const APInt *ShAmt1 = LOps.Shift; in foldLoadsRecursive() local 665 m_APInt(ShAmt1)))))) { in foldLoadsRecursive() 730 std::swap(ShAmt1, ShAmt2); in foldLoadsRecursive() 739 std::swap(ShAmt1, ShAmt2); in foldLoadsRecursive() 743 if (ShAmt1) in foldLoadsRecursive() 744 Shift1 = ShAmt1->getZExtValue(); in foldLoadsRecursive() 779 LOps.Shift = ShAmt1; in foldLoadsRecursive()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 24 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 D | InstCombineCasts.cpp | 535 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in narrowFunnelShift() local 537 !match(Or1, m_OneUse(m_LogicalShift(m_Value(ShVal1), m_Value(ShAmt1)))) || in narrowFunnelShift() 545 std::swap(ShAmt0, ShAmt1); in narrowFunnelShift() 585 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, NarrowWidth); in narrowFunnelShift() 588 ShAmt = matchShiftAmount(ShAmt1, ShAmt0, NarrowWidth); in narrowFunnelShift()
|
| H A D | InstCombineAndOrXor.cpp | 2914 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in convertOrOfShiftsToFunnelShift() local 2918 m_OneUse(m_LogicalShift(m_Value(ShVal1), m_Value(ShAmt1)))) || in convertOrOfShiftsToFunnelShift() 2926 std::swap(ShAmt0, ShAmt1); in convertOrOfShiftsToFunnelShift() 2998 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, Width); in convertOrOfShiftsToFunnelShift() 3000 ShAmt = matchShiftAmount(ShAmt1, ShAmt0, Width); in convertOrOfShiftsToFunnelShift()
|