Searched refs:ShVal0 (Results 1 – 3 of 3) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 97 m_Shl(m_Value(ShVal0), m_Value(ShAmt)), in foldGuardedFunnelShift() 125 Value *ShVal0, *ShVal1, *ShAmt; in foldGuardedFunnelShift() local 126 Intrinsic::ID IID = matchFunnelShift(P0, ShVal0, ShVal1, ShAmt); in foldGuardedFunnelShift() 128 (IID == Intrinsic::fshl && ShVal0 != P1) || in foldGuardedFunnelShift() 130 IID = matchFunnelShift(P1, ShVal0, ShVal1, ShAmt); in foldGuardedFunnelShift() 132 (IID == Intrinsic::fshl && ShVal0 != P0) || in foldGuardedFunnelShift() 149 if (!DT.dominates(ShVal0, TermI) || !DT.dominates(ShVal1, TermI)) in foldGuardedFunnelShift() 163 if (ShVal0 == ShVal1) in foldGuardedFunnelShift() 171 if (ShVal0 != ShVal1) { in foldGuardedFunnelShift() 174 else if (!IsFshl && !llvm::isGuaranteedNotToBePoison(ShVal0)) in foldGuardedFunnelShift() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 557 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in narrowFunnelShift() local 558 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal0), m_Value(ShAmt0)))) || in narrowFunnelShift() 566 std::swap(ShVal0, ShVal1); in narrowFunnelShift() 582 if (ShVal0 == ShVal1 || MaskedValueIsZero(L, HiBitMask)) in narrowFunnelShift() 588 if (ShVal0 != ShVal1) in narrowFunnelShift() 629 X = Y = Builder.CreateTrunc(ShVal0, DestTy); in narrowFunnelShift() 630 if (ShVal0 != ShVal1) in narrowFunnelShift()
|
| H A D | InstCombineAndOrXor.cpp | 2124 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in matchFunnelShift() local 2125 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal0), m_Value(ShAmt0)))) || in matchFunnelShift() 2133 std::swap(ShVal0, ShVal1); in matchFunnelShift() 2169 if (ShVal0 != ShVal1) in matchFunnelShift() 2210 return CallInst::Create(F, {ShVal0, ShVal1, ShAmt}); in matchFunnelShift()
|