Searched refs:ShVal0 (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() 73 m_Shl(m_Value(ShVal0), m_Value(ShAmt)), in foldGuardedFunnelShift() 83 m_OneUse(m_c_Or(m_Shl(m_Value(ShVal0), m_Sub(m_SpecificInt(Width), in foldGuardedFunnelShift() 101 Value *ShVal0, *ShVal1, *ShAmt; in foldGuardedFunnelShift() local 102 Intrinsic::ID IID = matchFunnelShift(P0, ShVal0, ShVal1, ShAmt); in foldGuardedFunnelShift() 104 (IID == Intrinsic::fshl && ShVal0 != P1) || in foldGuardedFunnelShift() 106 IID = matchFunnelShift(P1, ShVal0, ShVal1, ShAmt); in foldGuardedFunnelShift() 108 (IID == Intrinsic::fshl && ShVal0 != 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 589 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal0), m_Value(ShAmt0)))) || in narrowFunnelShift() 597 std::swap(ShVal0, ShVal1); in narrowFunnelShift() 613 if (ShVal0 == ShVal1 || MaskedValueIsZero(L, HiBitMask)) in narrowFunnelShift() 619 if (ShVal0 != ShVal1) in narrowFunnelShift() 660 X = Y = Builder.CreateTrunc(ShVal0, DestTy); in narrowFunnelShift() 661 if (ShVal0 != ShVal1) in narrowFunnelShift()
|
| H A 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() 2450 std::swap(ShVal0, ShVal1); in matchFunnelShift() 2486 if (ShVal0 != ShVal1) in matchFunnelShift() 2527 return CallInst::Create(F, {ShVal0, ShVal1, ShAmt}); in matchFunnelShift()
|