Searched refs:ShVal0 (Results 1 – 3 of 3) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 73 m_Shl(m_Value(ShVal0), m_Value(ShAmt)), in foldGuardedFunnelShift() 99 Value *ShVal0, *ShVal1, *ShAmt; in foldGuardedFunnelShift() local 100 Intrinsic::ID IID = matchFunnelShift(P0, ShVal0, ShVal1, ShAmt); in foldGuardedFunnelShift() 102 (IID == Intrinsic::fshl && ShVal0 != P1) || in foldGuardedFunnelShift() 104 IID = matchFunnelShift(P1, ShVal0, ShVal1, ShAmt); in foldGuardedFunnelShift() 106 (IID == Intrinsic::fshl && ShVal0 != P0) || in foldGuardedFunnelShift() 123 if (!DT.dominates(ShVal0, TermI) || !DT.dominates(ShVal1, TermI)) in foldGuardedFunnelShift() 137 if (ShVal0 == ShVal1) in foldGuardedFunnelShift() 145 if (ShVal0 != ShVal1) { in foldGuardedFunnelShift() 148 else if (!IsFshl && !llvm::isGuaranteedNotToBePoison(ShVal0)) in foldGuardedFunnelShift() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 452 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in narrowFunnelShift() local 453 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal0), m_Value(ShAmt0)))) || in narrowFunnelShift() 461 std::swap(ShVal0, ShVal1); in narrowFunnelShift() 477 if (ShVal0 == ShVal1 || MaskedValueIsZero(L, HiBitMask)) in narrowFunnelShift() 483 if (ShVal0 != ShVal1) in narrowFunnelShift() 526 X = Y = Builder.CreateTrunc(ShVal0, DestTy); in narrowFunnelShift() 527 if (ShVal0 != ShVal1) in narrowFunnelShift()
|
| H A D | InstCombineAndOrXor.cpp | 2747 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in matchFunnelShift() local 2749 m_OneUse(m_LogicalShift(m_Value(ShVal0), m_Value(ShAmt0)))) || in matchFunnelShift() 2758 std::swap(ShVal0, ShVal1); in matchFunnelShift() 2796 if (ShVal0 != ShVal1) in matchFunnelShift() 2839 FShiftArgs = {ShVal0, ShVal1, ShAmt}; in matchFunnelShift()
|