Lines Matching refs:ShVal1
66 auto matchFunnelShift = [](Value *V, Value *&ShVal0, Value *&ShVal1, in foldGuardedFunnelShift()
74 m_LShr(m_Value(ShVal1), in foldGuardedFunnelShift()
84 m_LShr(m_Value(ShVal1), m_Deferred(ShAmt)))))) { in foldGuardedFunnelShift()
99 Value *ShVal0, *ShVal1, *ShAmt; in foldGuardedFunnelShift() local
100 Intrinsic::ID IID = matchFunnelShift(P0, ShVal0, ShVal1, ShAmt); in foldGuardedFunnelShift()
103 (IID == Intrinsic::fshr && ShVal1 != P1)) { in foldGuardedFunnelShift()
104 IID = matchFunnelShift(P1, ShVal0, ShVal1, ShAmt); in foldGuardedFunnelShift()
107 (IID == Intrinsic::fshr && ShVal1 != P0)) in foldGuardedFunnelShift()
123 if (!DT.dominates(ShVal0, TermI) || !DT.dominates(ShVal1, TermI)) in foldGuardedFunnelShift()
137 if (ShVal0 == ShVal1) in foldGuardedFunnelShift()
145 if (ShVal0 != ShVal1) { in foldGuardedFunnelShift()
146 if (IsFshl && !llvm::isGuaranteedNotToBePoison(ShVal1)) in foldGuardedFunnelShift()
147 ShVal1 = Builder.CreateFreeze(ShVal1); in foldGuardedFunnelShift()
167 Phi.replaceAllUsesWith(Builder.CreateCall(F, {ShVal0, ShVal1, ShAmt})); in foldGuardedFunnelShift()