• Home
  • Raw
  • Download

Lines Matching refs:m_Value

40   if (match(V, m_LShr(m_OneUse(m_Shl(m_Value(One), m_Value(A))), m_Value(B))) &&  in simplifyValueKnownNonZero()
201 if (match(&I, m_Mul(m_Shl(m_Value(NewOp), m_Constant(C2)), in visitMul()
216 if (match(&I, m_Mul(m_Value(NewOp), m_Constant(C1)))) { in visitMul()
255 if (match(Op0, m_Sub(m_Value(Y), m_Value(X)))) in visitMul()
257 else if (match(Op0, m_Add(m_Value(Y), m_ConstantInt(C1)))) in visitMul()
283 if (match(Op0, m_OneUse(m_Add(m_Value(X), m_Constant(C1))))) { in visitMul()
287 if (!match(Mul, m_Mul(m_Value(), m_Value()))) in visitMul()
297 match(Op0, m_NSWSub(m_Value(), m_Value())) && in visitMul()
298 match(Op1, m_NSWSub(m_Value(), m_Value()))) in visitMul()
353 if (match(Op0, m_Shl(m_One(), m_Value(Y)))) { in visitMul()
356 } else if (match(Op1, m_Shl(m_One(), m_Value(Y)))) { in visitMul()
701 match(Opnd0, m_FMul(m_Value(Opnd0_0), m_Value(Opnd0_1)))) { in visitFMul()
825 if ((IsSigned && match(LHS, m_SDiv(m_Value(X), m_APInt(C1)))) || in commonIDivTransforms()
826 (!IsSigned && match(LHS, m_UDiv(m_Value(X), m_APInt(C1))))) { in commonIDivTransforms()
833 if ((IsSigned && match(LHS, m_NSWMul(m_Value(X), m_APInt(C1)))) || in commonIDivTransforms()
834 (!IsSigned && match(LHS, m_NUWMul(m_Value(X), m_APInt(C1))))) { in commonIDivTransforms()
858 if ((IsSigned && match(LHS, m_NSWShl(m_Value(X), m_APInt(C1))) && in commonIDivTransforms()
860 (!IsSigned && match(LHS, m_NUWShl(m_Value(X), m_APInt(C1))))) { in commonIDivTransforms()
922 if (match(Op0, m_Sub(m_Value(X), m_Value(Z)))) { // (X - Z) / Y; Y = Op1 in commonIDivTransforms()
1035 if (match(Op1, m_Shl(m_Power2(), m_Value())) || in visitUDivOperand()
1036 match(Op1, m_ZExt(m_Shl(m_Power2(), m_Value())))) { in visitUDivOperand()
1073 if (match(Op0, m_LShr(m_Value(X), m_APInt(C1))) && in visitUDiv()
1078 bool IsExact = I.isExact() && match(Op0, m_Exact(m_Value())); in visitUDiv()
1158 if (match(Op0, m_OneUse(m_SExt(m_Value(Op0Src)))) && in visitSDiv()
1179 if (match(Op0, m_NSWSub(m_Zero(), m_Value(X)))) { in visitSDiv()
1272 if (match(Op0, m_FMul(m_Value(X), m_Constant(C1)))) { in visitFDiv()
1278 } else if (match(Op0, m_FDiv(m_Value(X), m_Constant(C1)))) { in visitFDiv()
1311 if (match(Op1, m_FMul(m_Value(X), m_Constant(C2)))) in visitFDiv()
1313 else if (match(Op1, m_FDiv(m_Value(X), m_Constant(C2)))) { in visitFDiv()
1316 } else if (match(Op1, m_FDiv(m_Constant(C2), m_Value(X)))) { in visitFDiv()
1336 if (Op0->hasOneUse() && match(Op0, m_FDiv(m_Value(X), m_Value(Y)))) { in visitFDiv()
1348 } else if (Op1->hasOneUse() && match(Op1, m_FDiv(m_Value(X), m_Value(Y)))) { in visitFDiv()