Searched refs:ShVal0 (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 103 m_Shl(m_Value(ShVal0), m_Value(ShAmt)), in foldGuardedFunnelShift() 131 Value *ShVal0, *ShVal1, *ShAmt; in foldGuardedFunnelShift() local 132 Intrinsic::ID IID = matchFunnelShift(P0, ShVal0, ShVal1, ShAmt); in foldGuardedFunnelShift() 134 (IID == Intrinsic::fshl && ShVal0 != P1) || in foldGuardedFunnelShift() 136 IID = matchFunnelShift(P1, ShVal0, ShVal1, ShAmt); in foldGuardedFunnelShift() 138 (IID == Intrinsic::fshl && ShVal0 != P0) || in foldGuardedFunnelShift() 155 if (!DT.dominates(ShVal0, TermI) || !DT.dominates(ShVal1, TermI)) in foldGuardedFunnelShift() 169 if (ShVal0 == ShVal1) in foldGuardedFunnelShift() 177 if (ShVal0 != ShVal1) { in foldGuardedFunnelShift() 180 else if (!IsFshl && !llvm::isGuaranteedNotToBePoison(ShVal0)) in foldGuardedFunnelShift() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 559 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in narrowFunnelShift() local 560 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal0), m_Value(ShAmt0)))) || in narrowFunnelShift() 568 std::swap(ShVal0, ShVal1); in narrowFunnelShift() 584 if (ShVal0 == ShVal1 || MaskedValueIsZero(L, HiBitMask)) in narrowFunnelShift() 590 if (ShVal0 != ShVal1) in narrowFunnelShift() 631 X = Y = Builder.CreateTrunc(ShVal0, DestTy); in narrowFunnelShift() 632 if (ShVal0 != ShVal1) in narrowFunnelShift()
|
| H A D | InstCombineAndOrXor.cpp | 2216 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in matchFunnelShift() local 2217 if (!match(Or0, m_OneUse(m_LogicalShift(m_Value(ShVal0), m_Value(ShAmt0)))) || in matchFunnelShift() 2225 std::swap(ShVal0, ShVal1); in matchFunnelShift() 2261 if (ShVal0 != ShVal1) in matchFunnelShift() 2302 return CallInst::Create(F, {ShVal0, ShVal1, ShAmt}); in matchFunnelShift()
|