Searched refs:ShVal1 (Results 1 – 3 of 3) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 74 m_LShr(m_Value(ShVal1), in foldGuardedFunnelShift() 99 Value *ShVal0, *ShVal1, *ShAmt; in foldGuardedFunnelShift() local 100 Intrinsic::ID IID = matchFunnelShift(P0, ShVal0, ShVal1, ShAmt); in foldGuardedFunnelShift() 103 (IID == Intrinsic::fshr && ShVal1 != P1)) { in foldGuardedFunnelShift() 104 IID = matchFunnelShift(P1, ShVal0, ShVal1, ShAmt); in foldGuardedFunnelShift() 107 (IID == Intrinsic::fshr && ShVal1 != 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() 146 if (IsFshl && !llvm::isGuaranteedNotToBePoison(ShVal1)) 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 454 !match(Or1, m_OneUse(m_LogicalShift(m_Value(ShVal1), m_Value(ShAmt1)))) || in narrowFunnelShift() 461 std::swap(ShVal0, ShVal1); in narrowFunnelShift() 477 if (ShVal0 == ShVal1 || MaskedValueIsZero(L, HiBitMask)) in narrowFunnelShift() 483 if (ShVal0 != ShVal1) in narrowFunnelShift() 515 if (!MaskedValueIsZero(ShVal1, HiBitMask, 0, &Trunc)) in narrowFunnelShift() 527 if (ShVal0 != ShVal1) in narrowFunnelShift() 528 Y = Builder.CreateTrunc(ShVal1, DestTy); in narrowFunnelShift()
|
| H A D | InstCombineAndOrXor.cpp | 2747 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in matchFunnelShift() local 2751 m_OneUse(m_LogicalShift(m_Value(ShVal1), m_Value(ShAmt1)))) || in matchFunnelShift() 2758 std::swap(ShVal0, ShVal1); in matchFunnelShift() 2796 if (ShVal0 != ShVal1) in matchFunnelShift() 2839 FShiftArgs = {ShVal0, ShVal1, ShAmt}; in matchFunnelShift()
|