Searched refs:ShVal1 (Results 1 – 3 of 3) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 65 auto matchFunnelShift = [](Value *V, Value *&ShVal0, Value *&ShVal1, in foldGuardedFunnelShift() 74 m_LShr(m_Value(ShVal1), in foldGuardedFunnelShift() 85 m_LShr(m_Value(ShVal1), m_Value(ShAmt)))))) { in foldGuardedFunnelShift() 101 Value *ShVal0, *ShVal1, *ShAmt; in foldGuardedFunnelShift() local 102 Intrinsic::ID IID = matchFunnelShift(P0, ShVal0, ShVal1, ShAmt); in foldGuardedFunnelShift() 105 (IID == Intrinsic::fshr && ShVal1 != P1)) { in foldGuardedFunnelShift() 106 IID = matchFunnelShift(P1, ShVal0, ShVal1, ShAmt); in foldGuardedFunnelShift() 109 (IID == Intrinsic::fshr && ShVal1 != P0)) in foldGuardedFunnelShift() 125 if (!DT.dominates(ShVal0, TermI) || !DT.dominates(ShVal1, TermI)) in foldGuardedFunnelShift() 139 if (ShVal0 == ShVal1) in foldGuardedFunnelShift() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 588 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in narrowFunnelShift() local 590 !match(Or1, m_OneUse(m_LogicalShift(m_Value(ShVal1), m_Value(ShAmt1)))) || in narrowFunnelShift() 597 std::swap(ShVal0, ShVal1); in narrowFunnelShift() 613 if (ShVal0 == ShVal1 || MaskedValueIsZero(L, HiBitMask)) in narrowFunnelShift() 619 if (ShVal0 != ShVal1) in narrowFunnelShift() 651 if (!MaskedValueIsZero(ShVal1, HiBitMask, 0, &Trunc)) in narrowFunnelShift() 661 if (ShVal0 != ShVal1) in narrowFunnelShift() 662 Y = Builder.CreateTrunc(ShVal1, DestTy); in narrowFunnelShift()
|
| H A D | InstCombineAndOrXor.cpp | 2441 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in matchFunnelShift() local 2443 !match(Or1, m_OneUse(m_LogicalShift(m_Value(ShVal1), m_Value(ShAmt1)))) || in matchFunnelShift() 2450 std::swap(ShVal0, ShVal1); in matchFunnelShift() 2486 if (ShVal0 != ShVal1) in matchFunnelShift() 2527 return CallInst::Create(F, {ShVal0, ShVal1, ShAmt}); in matchFunnelShift()
|