Home
last modified time | relevance | path

Searched refs:APSIntPtr (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAPSIntPtr.h19 class APSIntPtr {
23 APSIntPtr() = delete;
24 APSIntPtr(const APSIntPtr &) = default;
25 APSIntPtr &operator=(const APSIntPtr &) & = default;
26 ~APSIntPtr() = default;
31 static APSIntPtr unsafeConstructor(const APSInt *Ptr) { in unsafeConstructor()
32 return APSIntPtr(Ptr); in unsafeConstructor()
43 bool operator OP(APSIntPtr Other) const { return (*Ptr)OP(*Other.Ptr); }
56 explicit APSIntPtr(const APSInt *Ptr) : Ptr(Ptr) {} in APSIntPtr() function
H A DBasicValueFactory.h133 APSIntPtr getValue(uint64_t X, unsigned BitWidth, bool isUnsigned);
144 APSIntPtr getValue(const llvm::APSInt &X);
145 APSIntPtr getValue(const llvm::APInt &X, bool isUnsigned);
146 APSIntPtr getValue(uint64_t X, QualType T);
169 APSIntPtr Convert(const llvm::APSInt &To, const llvm::APSInt &From) { in Convert()
177 APSIntPtr Convert(QualType T, const llvm::APSInt &From) { in Convert()
182 APSIntPtr Convert(APSIntType TargetType, const llvm::APSInt &From) { in Convert()
189 APSIntPtr getIntValue(uint64_t X, bool isUnsigned) { in getIntValue()
194 APSIntPtr getMaxValue(const llvm::APSInt &v) { in getMaxValue()
198 APSIntPtr getMinValue(const llvm::APSInt &v) { in getMinValue()
[all …]
H A DSVals.h302 explicit ConcreteInt(APSIntPtr V) : NonLoc(ConcreteIntKind, V.get()) {} in ConcreteInt()
304 APSIntPtr getValue() const { in getValue()
306 return APSIntPtr::unsafeConstructor(castDataAs<llvm::APSInt>()); in getValue()
517 explicit ConcreteInt(APSIntPtr V) : Loc(ConcreteIntKind, V.get()) {} in ConcreteInt()
519 APSIntPtr getValue() const { in getValue()
521 return APSIntPtr::unsafeConstructor(castDataAs<llvm::APSInt>()); in getValue()
H A DSValBuilder.h321 APSIntPtr rhs, QualType type);
323 nonloc::SymbolVal makeNonLoc(APSIntPtr rhs, BinaryOperator::Opcode op,
H A DSymbolManager.h424 static const llvm::APSInt *getPointer(APSIntPtr Value) { return Value.get(); } in getPointer()
483 using SymIntExpr = BinarySymExprImpl<const SymExpr *, APSIntPtr,
487 using IntSymExpr = BinarySymExprImpl<APSIntPtr, const SymExpr *,
H A DSMTConstraintManager.h199 std::optional<APSIntPtr> Res = in REGISTER_TRAIT_WITH_PROGRAMSTATE()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBasicValueFactory.cpp90 APSIntPtr BasicValueFactory::getValue(const llvm::APSInt &X) { in getValue()
105 return APSIntPtr::unsafeConstructor(&P->getValue()); in getValue()
108 APSIntPtr BasicValueFactory::getValue(const llvm::APInt &X, bool isUnsigned) { in getValue()
113 APSIntPtr BasicValueFactory::getValue(uint64_t X, unsigned BitWidth, in getValue()
120 APSIntPtr BasicValueFactory::getValue(uint64_t X, QualType T) { in getValue()
245 std::optional<APSIntPtr>
H A DSimpleSValBuilder.cpp196 std::optional<APSIntPtr> ConvertedRHS = BasicVals.getValue(RHS); in MakeSymIntVal()
277 static std::pair<SymbolRef, APSIntPtr> decomposeSymbol(SymbolRef Sym, in decomposeSymbol()
352 APSIntPtr PersistentResultInt = BV.getValue(ResultInt); in doRearrangeUnchecked()
546 std::optional<APSIntPtr> Result = in evalBinOpNN()
687 std::optional<APSIntPtr> newRHS; in evalBinOpNN()
879 if (std::optional<APSIntPtr> ResultInt = in evalBinOpLL()
H A DSVals.cpp316 APSIntPtr Value = castAs<nonloc::ConcreteInt>().getValue(); in dumpToStream()
H A DSValBuilder.cpp79 APSIntPtr rhs, QualType type) { in makeNonLoc()
85 nonloc::SymbolVal SValBuilder::makeNonLoc(APSIntPtr lhs, in makeNonLoc()
H A DProgramState.cpp290 APSIntPtr NewV = getBasicVals().Convert(T, *Int); in getSVal()
H A DBugReporterVisitors.cpp1352 APSIntPtr V = CV->getValue(); in showBRDefaultDiagnostics()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCStringChecker.cpp1029 std::optional<APSIntPtr> maxLengthInt = in getCStringLengthForRegion()