| /freebsd-12.1/contrib/llvm/include/llvm/ADT/ |
| H A D | APFloat.h | 319 bool isNegative() const { return sign; } in isNegative() function 358 bool isPosZero() const { return isZero() && !isNegative(); } in isPosZero() 359 bool isNegZero() const { return isZero() && isNegative(); } in isNegZero() 624 bool isNegative() const; 1052 if (isNegative()) in clearSign() 1056 if (isNegative() != RHS.isNegative()) in copySign() 1147 bool isNegative() const { return getIEEE().isNegative(); } in isNegative() function 1254 if (A.isZero() && B.isZero() && (A.isNegative() != B.isNegative())) in minimum() 1255 return A.isNegative() ? A : B; in minimum() 1267 if (A.isZero() && B.isZero() && (A.isNegative() != B.isNegative())) in maximum() [all …]
|
| H A D | APInt.h | 364 bool isNegative() const { return (*this)[BitWidth - 1]; } in isNegative() function 369 bool isNonNegative() const { return !isNegative(); } in isNonNegative() 430 return !isNegative() && countTrailingOnesSlowCase() == BitWidth - 1; in isMaxSignedValue() 446 return isNegative() && countTrailingZerosSlowCase() == BitWidth - 1; in isMinSignedValue() 1213 return (!isSingleWord() && getMinSignedBits() > 64) ? isNegative() in slt() 1283 return (!isSingleWord() && getMinSignedBits() > 64) ? !isNegative() in sgt() 1553 if (isNegative()) in getMinSignedBits() 1621 return isNegative() ? countLeadingOnes() : countLeadingZeros(); in getNumSignBits() 1801 if (isNegative()) in abs()
|
| H A D | APSInt.h | 303 if (I1.isNegative()) in compareValues() 307 if (I2.isNegative()) in compareValues()
|
| /freebsd-12.1/contrib/llvm/lib/Support/ |
| H A D | APInt.cpp | 1135 if (t[i].isNegative()) in multiplicativeInverse() 1592 if (isNegative()) { in sdiv() 1597 if (RHS.isNegative()) in sdiv() 1603 if (isNegative()) { in sdiv() 1684 if (isNegative()) { in srem() 1689 if (RHS.isNegative()) in srem() 1695 if (isNegative()) { in srem() 2722 if (Rem.isNegative() != B.isNegative()) in RoundingSDiv() 2726 if (Rem.isNegative() != B.isNegative()) in RoundingSDiv() 2776 if (A.isNegative()) { in SolveQuadraticEquationWrap() [all …]
|
| H A D | KnownBits.cpp | 59 else if (LHS.isNegative() && RHS.isNegative()) in computeForAddSub()
|
| H A D | APFloat.cpp | 197 bool isNegative; in readExponent() local 204 isNegative = (*p == '-'); in readExponent() 230 if (isNegative) in readExponent() 3400 if (isNegative()) in toString() 3408 if (isNegative()) in toString() 3428 if (isNegative()) in toString() 3666 if (!isNegative()) in next() 3703 if (isNegative()) { in next() 4011 LHS.isNegative() != RHS.isNegative()) { in addWithSpecial() 4195 auto Against = Floats[0].isNegative() ^ Floats[1].isNegative(); in compareAbsoluteValue() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | APSIntType.cpp | 21 Value.isSigned() && Value.isNegative()) in testInRange() 45 if (Value.isSigned() && Value.isNegative()) in testInRange()
|
| H A D | BasicValueFactory.cpp | 235 if (V1.isSigned() && V1.isNegative()) in evalAPSInt() 238 if (V2.isSigned() && V2.isNegative()) in evalAPSInt() 256 if (V2.isSigned() && V2.isNegative()) in evalAPSInt()
|
| H A D | CheckerContext.cpp | 129 bool CheckerContext::isNegative(const Expr *E) { in isNegative() function in CheckerContext
|
| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | KnownBits.h | 96 bool isNegative() const { return One.isSignBitSet(); } in isNegative() function 160 if (isNegative()) in countMinSignBits()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/ |
| H A D | FixedPoint.cpp | 40 NewVal = NewVal.isNegative() ? Mask : ~Mask; in convert() 42 if (!DstSema.isSigned() && NewVal.isNegative()) in convert()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 273 return Known.isNegative(); in isKnownNegative() 1063 if (Known.isNegative() && Known2.isNegative()) in computeKnownBitsFromOperator() 1079 else if (Known.isNegative() || Known2.isNegative()) in computeKnownBitsFromOperator() 1395 else if (Known2.isNegative() && Known3.isNegative()) in computeKnownBitsFromOperator() 2078 if (Known.isNegative()) in isKnownNonZero() 2111 if (XKnown.isNegative() && YKnown.isNegative()) { in isKnownNonZero() 4029 if (LHSKnown.isNegative() && RHSKnown.isNegative()) { in computeOverflowForUnsignedAdd() 4073 if (LHSKnown.isNegative() || RHSKnown.isNegative()) { in checkRippleForSignedAdd() 4134 (LHSKnown.isNegative() || RHSKnown.isNegative()); in computeOverflowForSignedAdd() 4186 if ((LHSKnown.isNegative() && RHSKnown.isNegative()) || in computeOverflowForSignedSub() [all …]
|
| H A D | InstructionSimplify.cpp | 2438 if (LHSKnown.isNegative()) in simplifyICmpWithZero() 2446 if (LHSKnown.isNegative()) in simplifyICmpWithZero() 2455 if (LHSKnown.isNegative()) in simplifyICmpWithZero() 2463 if (LHSKnown.isNegative()) in simplifyICmpWithZero() 2490 if (C->isNegative()) { in setLimitsForBinOp() 2524 if (C->isNegative()) { in setLimitsForBinOp() 2557 if (C->isNegative()) { in setLimitsForBinOp() 2650 if (C->isNegative()) { in setLimitsForIntrinsic() 2671 if (C->isNegative()) { in setLimitsForIntrinsic() 2681 if (C->isNegative()) { in setLimitsForIntrinsic() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | UndefResultChecker.cpp | 121 C.isNegative(B->getRHS())) { in checkPostStmt() 150 C.isNegative(B->getLHS())) { in checkPostStmt()
|
| H A D | CastSizeChecker.cpp | 82 if (Left.isNegative()) in evenFlexibleArraySize()
|
| H A D | ConversionChecker.cpp | 193 return C.isNegative(Cast->getSubExpr()); in isLossOfSign()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 1151 if (AP2.isNegative() != AP1.isNegative()) in foldICmpShrConstConst() 1486 if (!XorC->isNegative()) { in foldICmpXorConstant() 1562 if (!Cmp.isSigned() || (!C2.isNegative() && !C1.isNegative())) in foldICmpAndShift() 1576 (!C2.shl(*C3).isNegative() && !C1.shl(*C3).isNegative())) in foldICmpAndShift() 1651 (Cmp.isEquality() || (!C1.isNegative() && !C2->isNegative()))) { in foldICmpAndConstConst() 1827 if (MulC->isNegative()) in foldICmpMulConstant() 3258 if (AP1.isNegative() == AP2.isNegative()) { in foldICmpBinOp() 4547 ((Op0Known.Zero.isNegative() && Op1Known.Zero.isNegative()) || in foldICmpUsingKnownBits() 4548 (Op0Known.One.isNegative() && Op1Known.One.isNegative()))) in foldICmpUsingKnownBits() 5229 if (RHS.isNegative()) in foldFCmpIntToFPConst() [all …]
|
| /freebsd-12.1/contrib/compiler-rt/lib/ubsan/ |
| H A D | ubsan_value.h | 187 bool isNegative() const { in isNegative() function
|
| H A D | ubsan_handlers.cc | 296 if (RHSVal.isNegative() || in handleShiftOutOfBoundsImpl() 308 if (RHSVal.isNegative()) in handleShiftOutOfBoundsImpl() 315 if (LHSVal.isNegative()) in handleShiftOutOfBoundsImpl()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | Constants.h | 188 bool isNegative() const { return Val.isNegative(); } in isNegative() function 309 bool isNegative() const { return Val.isNegative(); } in isNegative() function
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | RecordLayout.h | 288 return !CXXInfo->VBPtrOffset.isNegative(); in hasVBPtr()
|
| H A D | CharUnits.h | 125 bool isNegative() const { return Quantity < 0; } in isNegative() function
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/ |
| H A D | PPExpressions.cpp | 321 if (!Literal.isUnsigned && Result.Val.isNegative()) { in EvaluateValue() 640 if (!LHS.isUnsigned() && LHS.Val.isNegative()) in EvaluateDirectiveSubExpr() 645 if (!RHS.isUnsigned() && RHS.Val.isNegative()) in EvaluateDirectiveSubExpr()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 226 if (SignedMin.isNegative()) in makeGuaranteedNoWrapRegion() 251 if (SignedMin.isNegative()) in makeGuaranteedNoWrapRegion() 287 if (!Unsigned && V.isNegative()) { in makeGuaranteedNoWrapRegion() 1047 } else if (getSignedMax().isNegative()) { in ashr()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CheckerContext.h | 154 bool isNegative(const Expr *E);
|