Lines Matching refs:m_APInt

625   if (!match(RHS, m_APInt(C)))  in cmpExcludesZero()
1303 if (match(I->getOperand(0), m_APInt(C))) in computeKnownBitsFromOperator()
1315 if (match(I->getOperand(0), m_APInt(C))) in computeKnownBitsFromOperator()
1658 if (!match(I->getOperand(2), m_APInt(SA))) in computeKnownBitsFromOperator()
1952 if (match(V, m_APInt(C))) { in computeKnownBits()
2405 !match(Start, m_APInt(StartC)) || StartC->isZero()) in isNonZeroRecurrence()
2413 (BO->hasNoSignedWrap() && match(Step, m_APInt(StepC)) && in isNonZeroRecurrence()
2417 match(Step, m_APInt(StepC)) && !StepC->isZero(); in isNonZeroRecurrence()
2852 return match(OBO, m_Mul(m_Specific(V1), m_APInt(C))) && in isNonEqualMul()
2865 return match(OBO, m_Shl(m_Specific(V1), m_APInt(C))) && in isNonEqualShl()
2886 if (match(IV1, m_APInt(C1)) && match(IV2, m_APInt(C2)) && *C1 != *C2) in isNonEqualPHIs()
2983 if (!match(RHS, m_APInt(CLow))) in isSignedMinMaxClamp()
2991 if (!match(RHS2, m_APInt(CHigh))) in isSignedMinMaxClamp()
3010 !match(II->getArgOperand(1), m_APInt(CLow)) || in isSignedMinMaxIntrinsicClamp()
3011 !match(InnerII->getArgOperand(1), m_APInt(CHigh))) in isSignedMinMaxIntrinsicClamp()
3115 if (match(U->getOperand(1), m_APInt(Denominator))) { in ComputeNumSignBitsImpl()
3137 if (match(U->getOperand(1), m_APInt(Denominator))) { in ComputeNumSignBitsImpl()
3165 if (match(U->getOperand(1), m_APInt(ShAmt))) { in ComputeNumSignBitsImpl()
3176 if (match(U->getOperand(1), m_APInt(ShAmt))) { in ComputeNumSignBitsImpl()
4730 if (match(Inst->getOperand(1), m_APInt(V))) in isSafeToSpeculativelyExecuteWithOpcode()
4738 if (!match(Inst->getOperand(1), m_APInt(Denominator))) in isSafeToSpeculativelyExecuteWithOpcode()
4748 if (match(Inst->getOperand(0), m_APInt(Numerator))) in isSafeToSpeculativelyExecuteWithOpcode()
5829 if (CmpRHS == TrueVal && match(CmpRHS, m_APInt(C1))) { in matchClamp()
5832 if (match(FalseVal, m_SMin(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
5837 if (match(FalseVal, m_SMax(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
5842 if (match(FalseVal, m_UMin(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
5847 if (match(FalseVal, m_UMax(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
5958 if (match(V, m_APInt(C))) in getNotValue()
6011 if (!match(CmpRHS, m_APInt(C1))) in matchMinMax()
6016 if ((CmpLHS == TrueVal && match(FalseVal, m_APInt(C2))) || in matchMinMax()
6017 (CmpLHS == FalseVal && match(TrueVal, m_APInt(C2)))) { in matchMinMax()
6567 if (match(RHS, m_NSWAdd(m_Specific(LHS), m_APInt(C)))) in isTruePredicate()
6576 if (match(RHS, m_NUWAdd(m_Specific(LHS), m_APInt(C)))) in isTruePredicate()
6583 if (match(A, m_NUWAdd(m_Value(X), m_APInt(CA))) && in isTruePredicate()
6584 match(B, m_NUWAdd(m_Specific(X), m_APInt(CB)))) in isTruePredicate()
6588 if (match(A, m_Or(m_Value(X), m_APInt(CA))) && in isTruePredicate()
6589 match(B, m_Or(m_Specific(X), m_APInt(CB)))) { in isTruePredicate()
6712 if (ALHS == BLHS && match(ARHS, m_APInt(AC)) && match(BRHS, m_APInt(BC))) in isImpliedCondICmps()
6889 if (match(BO.getOperand(1), m_APInt(C)) && !C->isZero()) { in setLimitsForBinOp()
6918 if (match(BO.getOperand(1), m_APInt(C))) in setLimitsForBinOp()
6924 if (match(BO.getOperand(1), m_APInt(C))) in setLimitsForBinOp()
6930 if (match(BO.getOperand(1), m_APInt(C)) && C->ult(Width)) { in setLimitsForBinOp()
6934 } else if (match(BO.getOperand(0), m_APInt(C))) { in setLimitsForBinOp()
6951 if (match(BO.getOperand(1), m_APInt(C)) && C->ult(Width)) { in setLimitsForBinOp()
6954 } else if (match(BO.getOperand(0), m_APInt(C))) { in setLimitsForBinOp()
6965 if (match(BO.getOperand(0), m_APInt(C))) { in setLimitsForBinOp()
6987 if (match(BO.getOperand(1), m_APInt(C))) { in setLimitsForBinOp()
7005 } else if (match(BO.getOperand(0), m_APInt(C))) { in setLimitsForBinOp()
7019 if (match(BO.getOperand(1), m_APInt(C)) && !C->isZero()) { in setLimitsForBinOp()
7022 } else if (match(BO.getOperand(0), m_APInt(C))) { in setLimitsForBinOp()
7029 if (match(BO.getOperand(1), m_APInt(C))) { in setLimitsForBinOp()
7037 if (match(BO.getOperand(1), m_APInt(C))) in setLimitsForBinOp()
7061 if (match(II.getOperand(0), m_APInt(C)) || in setLimitsForIntrinsic()
7062 match(II.getOperand(1), m_APInt(C))) in setLimitsForIntrinsic()
7066 if (match(II.getOperand(0), m_APInt(C)) || in setLimitsForIntrinsic()
7067 match(II.getOperand(1), m_APInt(C))) { in setLimitsForIntrinsic()
7081 if (match(II.getOperand(0), m_APInt(C))) in setLimitsForIntrinsic()
7084 else if (match(II.getOperand(1), m_APInt(C))) in setLimitsForIntrinsic()
7088 if (match(II.getOperand(0), m_APInt(C))) { in setLimitsForIntrinsic()
7098 } else if (match(II.getOperand(1), m_APInt(C))) { in setLimitsForIntrinsic()
7114 if (!match(II.getOperand(0), m_APInt(C)) && in setLimitsForIntrinsic()
7115 !match(II.getOperand(1), m_APInt(C))) in setLimitsForIntrinsic()
7180 if (!match(LHS, m_APInt(C)) && !match(RHS, m_APInt(C))) in setLimitsForSelectPattern()
7231 if (match(V, m_APInt(C))) in computeConstantRange()