Searched refs:ShAmt0 (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 23 bool canTryToConstantAddTwoShiftAmounts(Value *Sh0, Value *ShAmt0, Value *Sh1, in canTryToConstantAddTwoShiftAmounts() argument 27 if (ShAmt0->getType() != ShAmt1->getType()) in canTryToConstantAddTwoShiftAmounts() 43 APInt::getAllOnes(ShAmt0->getType()->getScalarSizeInBits()); in canTryToConstantAddTwoShiftAmounts() 63 Value *ShAmt0; in reassociateShiftAmtsOfTwoSameDirectionShifts() local 65 m_Shift(m_Instruction(Sh0Op0), m_ZExtOrSelf(m_Value(ShAmt0))))) 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 | 460 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in narrowFunnelShift() local 461 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal0), m_Value(ShAmt0)))) || 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 D | InstCombineAndOrXor.cpp | 2867 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in convertOrOfShiftsToFunnelShift() local 2869 m_OneUse(m_LogicalShift(m_Value(ShVal0), m_Value(ShAmt0)))) || 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()
|