Searched refs:APSIntType (Results 1 - 8 of 8) sorted by relevance

/external/clang/lib/StaticAnalyzer/Core/
H A DAPSIntType.cpp1 //===--- APSIntType.cpp - Simple record of the type of APSInts ------------===//
10 #include "clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h"
15 APSIntType::RangeTestResultKind
16 APSIntType::testInRange(const llvm::APSInt &Value,
H A DRangeConstraintManager.cpp16 #include "clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h"
155 APSIntType Type(getMinValue());
156 APSIntType::RangeTestResultKind LowerTest = Type.testInRange(Lower, true);
157 APSIntType::RangeTestResultKind UpperTest = Type.testInRange(Upper, true);
160 case APSIntType::RTR_Below:
162 case APSIntType::RTR_Below:
172 case APSIntType::RTR_Within:
177 case APSIntType::RTR_Above:
184 case APSIntType::RTR_Within:
186 case APSIntType
[all...]
H A DSimpleConstraintManager.cpp16 #include "clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h"
199 Adjustment = APSIntType(Adjustment).convert(SE->getRHS());
219 APSIntType WraparoundType = BVF.getAPSIntType(LHS->getType());
233 APSIntType ComparisonType = std::max(WraparoundType, APSIntType(Int));
H A DAndroid.mk15 APSIntType.cpp \
H A DSimpleSValBuilder.cpp15 #include "clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h"
373 APSIntType CompareType = std::max(APSIntType(LHSValue),
374 APSIntType(RHSValue));
378 APSIntType IntType = BasicVals.getAPSIntType(resultTy);
493 APSIntType IntType = BasicVals.getAPSIntType(resultTy);
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAPSIntType.h1 //== APSIntType.h - Simple record of the type of APSInts --------*- C++ -*--==//
20 class APSIntType { class in namespace:clang::ento
25 APSIntType(uint32_t Width, bool Unsigned) function in class:clang::ento::APSIntType
28 /* implicit */ APSIntType(const llvm::APSInt &Value) function in class:clang::ento::APSIntType
92 bool operator==(const APSIntType &Other) const {
100 bool operator<(const APSIntType &Other) const {
H A DBasicValueFactory.h20 #include "clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h"
95 APSIntType getAPSIntType(QualType T) const {
97 return APSIntType(Ctx.getTypeSize(T),
105 APSIntType TargetType(To);
106 if (TargetType == APSIntType(From))
113 APSIntType TargetType = getAPSIntType(T);
114 if (TargetType == APSIntType(From))
126 return getValue(APSIntType(v).getMaxValue());
130 return getValue(APSIntType(v).getMinValue());
/external/clang/lib/StaticAnalyzer/Checkers/
H A DCStringChecker.cpp684 llvm::APSInt fourInt = APSIntType(maxValInt).getValue(4);

Completed in 1826 milliseconds