Searched refs:ShAmt0 (Results 1 – 3 of 3) sorted by relevance
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| 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()
|
| D | InstCombineCasts.cpp | 588 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in narrowFunnelShift() local 589 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal0), m_Value(ShAmt0)))) || in narrowFunnelShift() 598 std::swap(ShAmt0, ShAmt1); in narrowFunnelShift() 638 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, NarrowWidth); in narrowFunnelShift() 641 ShAmt = matchShiftAmount(ShAmt1, ShAmt0, NarrowWidth); in narrowFunnelShift()
|
| D | InstCombineAndOrXor.cpp | 2441 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in matchFunnelShift() local 2442 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal0), m_Value(ShAmt0)))) || in matchFunnelShift() 2451 std::swap(ShAmt0, ShAmt1); in matchFunnelShift() 2516 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, Width); in matchFunnelShift() 2519 ShAmt = matchShiftAmount(ShAmt1, ShAmt0, Width); in matchFunnelShift()
|