Searched refs:ShVal0 (Results 1 – 3 of 3) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 78 auto matchFunnelShift = [](Value *V, Value *&ShVal0, Value *&ShVal1, in foldGuardedFunnelShift() 85 m_Shl(m_Value(ShVal0), m_Value(ShAmt)), in foldGuardedFunnelShift() 94 m_OneUse(m_c_Or(m_Shl(m_Value(ShVal0), m_Sub(m_SpecificInt(Width), in foldGuardedFunnelShift() 111 Value *ShVal0, *ShVal1, *ShAmt; in foldGuardedFunnelShift() local 112 Intrinsic::ID IID = matchFunnelShift(P0, ShVal0, ShVal1, ShAmt); in foldGuardedFunnelShift() 114 (IID == Intrinsic::fshl && ShVal0 != P1) || in foldGuardedFunnelShift() 116 IID = matchFunnelShift(P1, ShVal0, ShVal1, ShAmt); in foldGuardedFunnelShift() 118 (IID == Intrinsic::fshl && ShVal0 != P0) || in foldGuardedFunnelShift() 135 if (!DT.dominates(ShVal0, TermI) || !DT.dominates(ShVal1, TermI)) in foldGuardedFunnelShift() 146 if (ShVal0 == ShVal1) in foldGuardedFunnelShift() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 535 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in narrowFunnelShift() local 536 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal0), m_Value(ShAmt0)))) || in narrowFunnelShift() 544 std::swap(ShVal0, ShVal1); in narrowFunnelShift() 560 if (ShVal0 == ShVal1 || MaskedValueIsZero(L, HiBitMask)) in narrowFunnelShift() 566 if (ShVal0 != ShVal1) in narrowFunnelShift() 609 X = Y = Builder.CreateTrunc(ShVal0, DestTy); in narrowFunnelShift() 610 if (ShVal0 != ShVal1) in narrowFunnelShift()
|
| H A D | InstCombineAndOrXor.cpp | 2914 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in convertOrOfShiftsToFunnelShift() local 2916 m_OneUse(m_LogicalShift(m_Value(ShVal0), m_Value(ShAmt0)))) || in convertOrOfShiftsToFunnelShift() 2925 std::swap(ShVal0, ShVal1); in convertOrOfShiftsToFunnelShift() 2963 if (ShVal0 != ShVal1) in convertOrOfShiftsToFunnelShift() 3006 FShiftArgs = {ShVal0, ShVal1, ShAmt}; in convertOrOfShiftsToFunnelShift()
|