Searched refs:isNonNegative (Results 1 – 17 of 17) sorted by relevance
2007 Overflow = isNonNegative() == RHS.isNonNegative() && in sadd_ov()2008 Res.isNonNegative() != isNonNegative(); in sadd_ov()2020 Overflow = isNonNegative() != RHS.isNonNegative() && in ssub_ov()2021 Res.isNonNegative() != isNonNegative(); in ssub_ov()2062 if (isNonNegative()) // Don't allow sign change. in sshl_ov()
325 bool isNonNegative() const { return !isNegative(); } in isNonNegative() function333 bool isStrictlyPositive() const { return isNonNegative() && !!*this; } in isStrictlyPositive()
711 if (DemandedMask.isNegative() && KnownZero.isNonNegative()) { in SimplifyDemandedUseBits()
1134 if (I.isExact() && RHS->getValue().isNonNegative() && in visitSDiv()
1327 (!AndCst->isNegative() && RHSV.isNonNegative())) { in visitICmpInstWithInstAndIntCst()
1302 if (KnownZero.isNonNegative()) { in computeKnownBitsFromOperator()3123 assert(Offset.isNonNegative() && "offset can't be negative"); in isDereferenceableFromAttribute()3306 if (Offset.isNonNegative()) in isDereferenceableAndAlignedPointer()
2700 if (RHSC->getValue().isNonNegative()) { in SimplifyICmpInst()
7363 if (MatchBinaryAddToConst(RHS, LHS, C, SCEV::FlagNSW) && C.isNonNegative()) in isKnownPredicateViaNoOverflow()
6339 shift.isNonNegative()) { in GetExprRange()6597 if (Value.isNonNegative() && OtherWidth >= Value.getActiveBits()) in DiagnoseOutOfRangeComparison()6627 bool PositiveConstant = !ConstantSigned || Value.isNonNegative(); in DiagnoseOutOfRangeComparison()6672 if (Value.isUnsigned() || Value.isNonNegative()) { in DiagnoseOutOfRangeComparison()
13818 if (Value.isUnsigned() || Value.isNonNegative()) { in isRepresentableIntegerValue()13921 << (EnumVal.isUnsigned() || EnumVal.isNonNegative()); in CheckEnumConstant()14364 if (InitVal.isUnsigned() || InitVal.isNonNegative()) in ActOnEnumBody()
5728 !((!StrictlyPositive && Result.isNonNegative()) || in IsNonNegativeIntegerValue()
7831 if (index.isNonNegative() && in diagnoseStringPlusInt()
815 assert(ExtentInt.isNonNegative() || ExtentInt.isUnsigned()); in collectSubRegionBindings()
1473 return DAG.getConstant(C1.isNonNegative(), dl, VT); in SimplifySetCC()
2365 if (CLHS->getAPIntValue().isNonNegative()) { in computeKnownBits()
2294 if (N1C->getAPIntValue().isNonNegative()) in visitSDIV()
7409 if (Divisor.isNonNegative()) in BuildSDIVPow2()7432 if (Value.isNonNegative()) { in performMulCombine()