Home
last modified time | relevance | path

Searched refs:getAPSIntType (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBasicValueFactory.h148 APSIntType getAPSIntType(QualType T) const { in getAPSIntType() function
172 APSIntType TargetType = getAPSIntType(T); in Convert()
197 return getMaxValue(getAPSIntType(T)); in getMaxValue()
201 return getMinValue(getAPSIntType(T)); in getMinValue()
H A DSMTConv.h569 static inline QualType getAPSIntType(ASTContext &Ctx, in getAPSIntType() function
582 if (Int.getBitWidth() == 1 && getAPSIntType(Ctx, Int).isNull()) { in fixAPSInt()
587 return std::make_pair(NewInt, getAPSIntType(Ctx, NewInt)); in fixAPSInt()
H A DRangedConstraintManager.h347 APSIntType getAPSIntType() const;
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp205 APSIntType resultIntTy = BasicVals.getAPSIntType(resultTy); in MakeSymIntVal()
244 APSIntType AT = BV.getAPSIntType(T); in isWithinConstantOverflowBounds()
288 assert(APSIntType(LInt) == BV.getAPSIntType(SymTy) && in doRearrangeUnchecked()
290 assert(APSIntType(RInt) == BV.getAPSIntType(SymTy) && in doRearrangeUnchecked()
492 BasicVals.getAPSIntType(lSym->getType()).apply(i); in evalBinOpNN()
494 BasicVals.getAPSIntType(Context.VoidPtrTy).apply(i); in evalBinOpNN()
524 APSIntType IntType = BasicVals.getAPSIntType(resultTy); in evalBinOpNN()
646 APSIntType IntType = BasicVals.getAPSIntType(resultTy); in evalBinOpNN()
H A DRangedConstraintManager.cpp109 APSIntType WraparoundType = BVF.getAPSIntType(Sym->getType()); in assumeSymInclusiveRange()
172 APSIntType WraparoundType = BVF.getAPSIntType(Sym->getType()); in assumeSymRel()
H A DSValBuilder.cpp670 VB.getBasicValueFactory().getAPSIntType(CastTy).apply(Value); in VisitLocConcreteInt()
677 VB.getBasicValueFactory().getAPSIntType(CastTy).apply(Value); in VisitLocConcreteInt()
863 VB.getBasicValueFactory().getAPSIntType(CastTy).apply(Value); in VisitNonLocConcreteInt()
1055 APSIntType CTy = BVF.getAPSIntType(CastTy); in simplifySymbolCast()
1056 APSIntType TTy = BVF.getAPSIntType(T); in simplifySymbolCast()
1068 APSIntType RTy = BVF.getAPSIntType(RT); in simplifySymbolCast()
H A DRangeConstraintManager.cpp366 APSIntType clang::ento::RangeSet::getAPSIntType() const { in getAPSIntType() function in clang::ento::RangeSet
677 if (What.isEmpty() || What.getAPSIntType() == Ty) in castTo()
708 return castTo(What, ValueFactory.getAPSIntType(T)); in castTo()
1386 APSIntType ResultType = ValueFactory.getAPSIntType(T); in VisitBinaryOperator()
1416 APSIntType RangeType = ValueFactory.getAPSIntType(T); in getSymmetricalRange()
1449 APSIntType IntType = ValueFactory.getAPSIntType(T); in assumeNonZero()
1631 APSIntType ResultType = ValueFactory.getAPSIntType(T); in VisitBinaryOperator()
1689 APSIntType ResultType = ValueFactory.getAPSIntType(T); in VisitBinaryOperator()
1735 llvm::APSInt Zero = ValueFactory.getAPSIntType(T).getZeroValue(); in VisitBinaryOperator()
2778 APSIntType IntType = BV.getAPSIntType(Sym->getType()); in checkNull()
H A DBasicValueFactory.cpp122 return getValue(getAPSIntType(T).getValue(X)); in getValue()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DBuiltinFunctionChecker.cpp115 BVF.getAPSIntType(CE->getType()).apply(Result); in evalCall()
H A DIterator.cpp272 APSIntType AT = BV.getAPSIntType(T); in assumeNoOverflow()