Lines Matching refs:m_APInt

552   if (match(RHS, m_APInt(C))) {  in cmpExcludesZero()
652 if (match(LHS, m_V) && match(RHS, m_APInt(C))) { in computeKnownBitsFromCmp()
655 } else if (match(LHS, m_And(m_V, m_APInt(Mask))) && in computeKnownBitsFromCmp()
656 match(RHS, m_APInt(C))) { in computeKnownBitsFromCmp()
661 } else if (match(LHS, m_Or(m_V, m_APInt(Mask))) && match(RHS, m_APInt(C))) { in computeKnownBitsFromCmp()
666 } else if (match(LHS, m_Xor(m_V, m_APInt(Mask))) && in computeKnownBitsFromCmp()
667 match(RHS, m_APInt(C))) { in computeKnownBitsFromCmp()
672 match(RHS, m_APInt(C)) && ShAmt < BitWidth) { in computeKnownBitsFromCmp()
681 match(RHS, m_APInt(C)) && ShAmt < BitWidth) { in computeKnownBitsFromCmp()
698 if (match(LHS, m_CombineOr(m_V, m_Add(m_V, m_APInt(Offset)))) && in computeKnownBitsFromCmp()
699 match(RHS, m_APInt(C))) { in computeKnownBitsFromCmp()
1101 if (match(I->getOperand(0), m_APInt(C))) in computeKnownBitsFromOperator()
1114 if (match(I->getOperand(0), m_APInt(C))) in computeKnownBitsFromOperator()
1393 m_Br(m_c_ICmp(Pred, m_Specific(IncValue), m_APInt(RHSC)), in computeKnownBitsFromOperator()
1495 if (!match(I->getOperand(2), m_APInt(SA))) in computeKnownBitsFromOperator()
1772 if (match(V, m_APInt(C))) { in computeKnownBits()
2277 !match(Start, m_APInt(StartC)) || StartC->isZero()) in isNonZeroRecurrence()
2285 (BO->hasNoSignedWrap() && match(Step, m_APInt(StepC)) && in isNonZeroRecurrence()
2289 match(Step, m_APInt(StepC)) && !StepC->isZero(); in isNonZeroRecurrence()
2994 return match(OBO, m_Mul(m_Specific(V1), m_APInt(C))) && in isNonEqualMul()
3007 return match(OBO, m_Shl(m_Specific(V1), m_APInt(C))) && in isNonEqualShl()
3028 if (match(IV1, m_APInt(C1)) && match(IV2, m_APInt(C2)) && *C1 != *C2) in isNonEqualPHIs()
3196 if (!match(RHS, m_APInt(CLow))) in isSignedMinMaxClamp()
3204 if (!match(RHS2, m_APInt(CHigh))) in isSignedMinMaxClamp()
3223 !match(II->getArgOperand(1), m_APInt(CLow)) || in isSignedMinMaxIntrinsicClamp()
3224 !match(InnerII->getArgOperand(1), m_APInt(CHigh))) in isSignedMinMaxIntrinsicClamp()
3322 if (match(U->getOperand(1), m_APInt(Denominator))) { in ComputeNumSignBitsImpl()
3344 if (match(U->getOperand(1), m_APInt(Denominator))) { in ComputeNumSignBitsImpl()
3372 if (match(U->getOperand(1), m_APInt(ShAmt))) { in ComputeNumSignBitsImpl()
3383 if (match(U->getOperand(1), m_APInt(ShAmt))) { in ComputeNumSignBitsImpl()
6185 if (match(Inst->getOperand(1), m_APInt(V))) in isSafeToSpeculativelyExecuteWithOpcode()
6193 if (!match(Inst->getOperand(1), m_APInt(Denominator))) in isSafeToSpeculativelyExecuteWithOpcode()
6203 if (match(Inst->getOperand(0), m_APInt(Numerator))) in isSafeToSpeculativelyExecuteWithOpcode()
7419 if (CmpRHS == TrueVal && match(CmpRHS, m_APInt(C1))) { in matchClamp()
7422 if (match(FalseVal, m_SMin(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
7427 if (match(FalseVal, m_SMax(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
7432 if (match(FalseVal, m_UMin(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
7437 if (match(FalseVal, m_UMax(m_Specific(CmpLHS), m_APInt(C2))) && in matchClamp()
7548 if (match(V, m_APInt(C))) in getNotValue()
7601 if (!match(CmpRHS, m_APInt(C1))) in matchMinMax()
7606 if ((CmpLHS == TrueVal && match(FalseVal, m_APInt(C2))) || in matchMinMax()
7607 (CmpLHS == FalseVal && match(TrueVal, m_APInt(C2)))) { in matchMinMax()
8171 if (match(RHS, m_NSWAdd(m_Specific(LHS), m_APInt(C)))) in isTruePredicate()
8190 if (match(A, m_NUWAdd(m_Value(X), m_APInt(CA))) && in isTruePredicate()
8191 match(B, m_NUWAdd(m_Specific(X), m_APInt(CB)))) in isTruePredicate()
8195 if (match(A, m_Or(m_Value(X), m_APInt(CA))) && in isTruePredicate()
8196 match(B, m_Or(m_Specific(X), m_APInt(CB)))) { in isTruePredicate()
8321 if (L0 == R0 && match(L1, m_APInt(LC)) && match(R1, m_APInt(RC))) in isImpliedCondICmps()
8529 if (match(BO.getOperand(1), m_APInt(C)) && !C->isZero()) { in setLimitsForBinOp()
8558 if (match(BO.getOperand(1), m_APInt(C))) in setLimitsForBinOp()
8569 if (match(BO.getOperand(1), m_APInt(C))) in setLimitsForBinOp()
8575 if (match(BO.getOperand(1), m_APInt(C)) && C->ult(Width)) { in setLimitsForBinOp()
8579 } else if (match(BO.getOperand(0), m_APInt(C))) { in setLimitsForBinOp()
8596 if (match(BO.getOperand(1), m_APInt(C)) && C->ult(Width)) { in setLimitsForBinOp()
8599 } else if (match(BO.getOperand(0), m_APInt(C))) { in setLimitsForBinOp()
8610 if (match(BO.getOperand(0), m_APInt(C))) { in setLimitsForBinOp()
8639 } else if (match(BO.getOperand(1), m_APInt(C)) && C->ult(Width)) { in setLimitsForBinOp()
8645 if (match(BO.getOperand(1), m_APInt(C))) { in setLimitsForBinOp()
8663 } else if (match(BO.getOperand(0), m_APInt(C))) { in setLimitsForBinOp()
8677 if (match(BO.getOperand(1), m_APInt(C)) && !C->isZero()) { in setLimitsForBinOp()
8680 } else if (match(BO.getOperand(0), m_APInt(C))) { in setLimitsForBinOp()
8687 if (match(BO.getOperand(1), m_APInt(C))) { in setLimitsForBinOp()
8695 if (match(BO.getOperand(1), m_APInt(C))) in setLimitsForBinOp()
8717 if (match(II.getOperand(0), m_APInt(C)) || in getRangeForIntrinsic()
8718 match(II.getOperand(1), m_APInt(C))) in getRangeForIntrinsic()
8722 if (match(II.getOperand(0), m_APInt(C)) || in getRangeForIntrinsic()
8723 match(II.getOperand(1), m_APInt(C))) { in getRangeForIntrinsic()
8737 if (match(II.getOperand(0), m_APInt(C))) in getRangeForIntrinsic()
8741 if (match(II.getOperand(1), m_APInt(C))) in getRangeForIntrinsic()
8746 if (match(II.getOperand(0), m_APInt(C))) { in getRangeForIntrinsic()
8756 } else if (match(II.getOperand(1), m_APInt(C))) { in getRangeForIntrinsic()
8772 if (!match(II.getOperand(0), m_APInt(C)) && in getRangeForIntrinsic()
8773 !match(II.getOperand(1), m_APInt(C))) in getRangeForIntrinsic()
8839 if (!match(LHS, m_APInt(C)) && !match(RHS, m_APInt(C))) in getRangeForSelectPattern()
8886 if (match(V, m_APInt(C))) in computeConstantRange()