Searched refs:ShVal1 (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 104 m_LShr(m_Value(ShVal1), in foldGuardedFunnelShift() 131 Value *ShVal0, *ShVal1, *ShAmt; in foldGuardedFunnelShift() local 132 Intrinsic::ID IID = matchFunnelShift(P0, ShVal0, ShVal1, ShAmt); in foldGuardedFunnelShift() 135 (IID == Intrinsic::fshr && ShVal1 != P1)) { in foldGuardedFunnelShift() 136 IID = matchFunnelShift(P1, ShVal0, ShVal1, ShAmt); in foldGuardedFunnelShift() 139 (IID == Intrinsic::fshr && ShVal1 != 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() 178 if (IsFshl && !llvm::isGuaranteedNotToBePoison(ShVal1)) 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 561 !match(Or1, m_OneUse(m_LogicalShift(m_Value(ShVal1), m_Value(ShAmt1)))) || in narrowFunnelShift() 568 std::swap(ShVal0, ShVal1); in narrowFunnelShift() 584 if (ShVal0 == ShVal1 || MaskedValueIsZero(L, HiBitMask)) in narrowFunnelShift() 590 if (ShVal0 != ShVal1) in narrowFunnelShift() 622 if (!MaskedValueIsZero(ShVal1, HiBitMask, 0, &Trunc)) in narrowFunnelShift() 632 if (ShVal0 != ShVal1) in narrowFunnelShift() 633 Y = Builder.CreateTrunc(ShVal1, DestTy); in narrowFunnelShift()
|
| H A D | InstCombineAndOrXor.cpp | 2216 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1; in matchFunnelShift() local 2218 !match(Or1, m_OneUse(m_LogicalShift(m_Value(ShVal1), m_Value(ShAmt1)))) || 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()
|