| /freebsd-14.2/contrib/llvm-project/clang/lib/Lex/ |
| H A D | PPExpressions.cpp | 61 bool isUnsigned() const { return Val.isUnsigned(); } in isUnsigned() function in __anon7520db4b0111::PPValue 354 Result.Val.setIsUnsigned(Literal.isUnsigned); in EvaluateValue() 684 Res.setIsUnsigned(LHS.isUnsigned() || RHS.isUnsigned()); in EvaluateDirectiveSubExpr() 687 if (ValueLive && Res.isUnsigned()) { in EvaluateDirectiveSubExpr() 688 if (!LHS.isUnsigned() && LHS.Val.isNegative()) in EvaluateDirectiveSubExpr() 699 LHS.Val.setIsUnsigned(Res.isUnsigned()); in EvaluateDirectiveSubExpr() 700 RHS.Val.setIsUnsigned(Res.isUnsigned()); in EvaluateDirectiveSubExpr() 736 if (LHS.isUnsigned()) in EvaluateDirectiveSubExpr() 753 if (LHS.isUnsigned()) in EvaluateDirectiveSubExpr() 759 if (LHS.isUnsigned()) in EvaluateDirectiveSubExpr() [all …]
|
| H A D | LiteralSupport.cpp | 915 isUnsigned = false; in NumericLiteralParser() 1043 if (isUnsigned) break; // Cannot be repeated. in NumericLiteralParser() 1044 isUnsigned = true; in NumericLiteralParser() 1152 isUnsigned = false; in NumericLiteralParser()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | APSIntType.h | 28 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} in APSIntType() 31 bool isUnsigned() const { return IsUnsigned; } in isUnsigned() function 49 llvm::APSInt Result(Value, Value.isUnsigned()); in convert()
|
| H A D | BasicValueFactory.h | 132 const llvm::APSInt& getValue(uint64_t X, unsigned BitWidth, bool isUnsigned); 144 const llvm::APSInt& getValue(const llvm::APInt& X, bool isUnsigned); 189 const llvm::APSInt &getIntValue(uint64_t X, bool isUnsigned) { in getIntValue() argument 190 QualType T = isUnsigned ? Ctx.UnsignedIntTy : Ctx.IntTy; in getIntValue()
|
| H A D | SValBuilder.h | 306 NonLoc makeIntVal(const llvm::APInt& integer, bool isUnsigned) { in makeIntVal() argument 307 return nonloc::ConcreteInt(BasicVals.getValue(integer, isUnsigned)); in makeIntVal() 317 NonLoc makeIntVal(uint64_t integer, bool isUnsigned) { in makeIntVal() argument 318 return nonloc::ConcreteInt(BasicVals.getIntValue(integer, isUnsigned)); in makeIntVal()
|
| H A D | RangedConstraintManager.h | 345 bool isUnsigned() const;
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APSInt.h | 31 explicit APSInt(uint32_t BitWidth, bool isUnsigned = true) 32 : APInt(BitWidth, 0), IsUnsigned(isUnsigned) {} 34 explicit APSInt(APInt I, bool isUnsigned = true) 35 : APInt(std::move(I)), IsUnsigned(isUnsigned) {} in APInt() 78 bool isUnsigned() const { return IsUnsigned; } in isUnsigned() function 385 LHS.isUnsigned() == RHS.isUnsigned() && LHS == RHS;
|
| H A D | APFixedPoint.h | 214 return APSInt(APInt::getZero(getWidth()), Val.isUnsigned());
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | RangedConstraintManager.cpp | 122 ComparisonType.isUnsigned() && !WraparoundType.isUnsigned()) in assumeSymInclusiveRange() 190 ComparisonType.isUnsigned() && !WraparoundType.isUnsigned()) in assumeSymRel()
|
| H A D | BasicValueFactory.cpp | 108 bool isUnsigned) { in getValue() argument 109 llvm::APSInt V(X, isUnsigned); in getValue() 114 bool isUnsigned) { in getValue() argument 115 llvm::APSInt V(BitWidth, isUnsigned); in getValue()
|
| H A D | SimpleConstraintManager.cpp | 99 assert(From.isUnsigned() == To.isUnsigned() && in assumeInclusiveRangeInternal()
|
| H A D | RangeConstraintManager.cpp | 357 bool clang::ento::RangeSet::isUnsigned() const { in isUnsigned() function in clang::ento::RangeSet 359 return begin()->From().isUnsigned(); in isUnsigned() 681 const bool IsConversion = What.isUnsigned() != Ty.isUnsigned(); in castTo() 700 if (IsConversion && (!IsPromotion || !What.isUnsigned())) in castTo() 1406 if (RangeType.isUnsigned()) { in getSymmetricalRange() 1639 if (LHS.isUnsigned() != RHS.isUnsigned()) { in VisitBinaryOperator() 1640 if (LHS.isUnsigned() && (LHS.getBitWidth() >= RHS.getBitWidth())) { in VisitBinaryOperator() 1645 } else if (RHS.isUnsigned() && (LHS.getBitWidth() <= RHS.getBitWidth())) { in VisitBinaryOperator() 1654 LHS.isUnsigned() || RHS.isUnsigned()); in VisitBinaryOperator() 3273 Out << RS.getBitWidth() << (RS.isUnsigned() ? "u:" : "s:"); in printValue()
|
| H A D | SymbolManager.cpp | 54 if (Value.isUnsigned()) in dumpToStreamImpl() 58 if (Value.isUnsigned()) in dumpToStreamImpl()
|
| H A D | SimpleSValBuilder.cpp | 115 return ResultType.isUnsigned(); in isNegationValuePreserving() 269 assert(!AT.isUnsigned() && in isWithinConstantOverflowBounds() 1127 assert(leftI.isUnsigned()); in evalBinOpLN()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
| H A D | VariantValue.cpp | 365 bool VariantValue::isUnsigned() const { in isUnsigned() function in clang::ast_matchers::dynamic::VariantValue 370 assert(isUnsigned()); in getUnsigned() 438 if (!isUnsigned()) in isConvertibleTo()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | AbstractBasicReader.h | 166 bool isUnsigned = asImpl().readBool(); in readAPSInt() local 168 return llvm::APSInt(std::move(value), isUnsigned); in readAPSInt()
|
| H A D | TypeProperties.td | 934 def : Property<"isUnsigned", Bool> { 935 let Read = [{ node->isUnsigned() }]; 942 return ctx.getBitIntType(isUnsigned, numBits); 947 def : Property<"isUnsigned", Bool> { 948 let Read = [{ node->isUnsigned() }]; 954 return ctx.getDependentBitIntType(isUnsigned, numBitsExpr);
|
| H A D | AbstractBasicWriter.h | 154 asImpl().writeBool(value.isUnsigned()); in writeAPSInt()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | Z3Solver.cpp | 769 bool isUnsigned) override { in getBitvector() argument 774 isUnsigned); in getBitvector() 823 Int = getBitvector(AST, Int.getBitWidth(), Int.isUnsigned()); in toAPSInt() 838 Int.isUnsigned()); in toAPSInt()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/ |
| H A D | VariantValue.h | 288 bool isUnsigned() const;
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | LiteralSupport.h | 72 bool isUnsigned : 1; variable
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ExprInspectionChecker.cpp | 265 Out << I.getBitWidth() << (I.isUnsigned() ? "u:" : "s:"); in printHelper() 490 (S->getRHS().isUnsigned() ? "U" : "")) in VisitSymIntExpr()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Utility/ |
| H A D | Scalar.cpp | 36 return PromotionKey{e_int, m_integer.getBitWidth(), m_integer.isUnsigned()}; in GetPromoKey() 764 m_integer |= APSInt(std::move(mask), m_integer.isUnsigned()); in SignExtend()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | TargetBuiltins.h | 217 bool isUnsigned() const { return (Flags & UnsignedFlag) != 0; } in isUnsigned() function
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | SMTAPI.h | 400 bool isUnsigned) = 0;
|