Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Core/
DSimpleConstraintManager.cpp255 APSIntType WraparoundType = BVF.getAPSIntType(LHS->getType()); in assumeSymRel() local
265 llvm::APSInt Adjustment = WraparoundType.getZeroValue(); in assumeSymRel()
269 APSIntType ComparisonType = std::max(WraparoundType, APSIntType(Int)); in assumeSymRel()
273 if (ComparisonType.getBitWidth() == WraparoundType.getBitWidth() && in assumeSymRel()
274 ComparisonType.isUnsigned() && !WraparoundType.isUnsigned()) in assumeSymRel()
309 APSIntType WraparoundType = BVF.getAPSIntType(Sym->getType()); in assumeSymWithinInclusiveRange() local
311 llvm::APSInt Adjustment = WraparoundType.getZeroValue(); in assumeSymWithinInclusiveRange()
316 APSIntType ComparisonType = std::max(WraparoundType, APSIntType(From)); in assumeSymWithinInclusiveRange()
321 if (ComparisonType.getBitWidth() == WraparoundType.getBitWidth() && in assumeSymWithinInclusiveRange()
322 ComparisonType.isUnsigned() && !WraparoundType.isUnsigned()) in assumeSymWithinInclusiveRange()