Lines Matching refs:ShVal1
95 auto matchFunnelShift = [](Value *V, Value *&ShVal0, Value *&ShVal1, in foldGuardedFunnelShift()
104 m_LShr(m_Value(ShVal1), in foldGuardedFunnelShift()
115 m_LShr(m_Value(ShVal1), m_Value(ShAmt)))))) { 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()
179 ShVal1 = Builder.CreateFreeze(ShVal1); in foldGuardedFunnelShift()
199 Phi.replaceAllUsesWith(Builder.CreateCall(F, {ShVal0, ShVal1, ShAmt})); in foldGuardedFunnelShift()