/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | DebugIteratorModeling.cpp | 97 auto &BVF = C.getSValBuilder().getBasicValueFactory(); in analyzerIteratorPosition() local 100 }, nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(0)))); in analyzerIteratorPosition() 105 auto &BVF = C.getSValBuilder().getBasicValueFactory(); in analyzerIteratorContainer() local 108 }, loc::ConcreteInt(BVF.getValue(llvm::APSInt::get(0)))); in analyzerIteratorContainer() 113 auto &BVF = C.getSValBuilder().getBasicValueFactory(); in analyzerIteratorValidity() local 114 analyzerIteratorDataField(CE, C, [&BVF](const IteratorPosition *P) { in analyzerIteratorValidity() 116 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get((P->isValid())))); in analyzerIteratorValidity() 117 }, nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(0)))); in analyzerIteratorValidity()
|
H A D | IteratorRangeChecker.cpp | 134 auto &BVF = C.getSValBuilder().getBasicValueFactory(); in checkPreCall() local 137 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1)))); in checkPreCall() 209 auto &BVF = C.getSValBuilder().getBasicValueFactory(); in verifyIncrement() local 211 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1)))); in verifyIncrement() 215 auto &BVF = C.getSValBuilder().getBasicValueFactory(); in verifyDecrement() local 217 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1)))); in verifyDecrement() 298 auto &BVF = State->getBasicVals(); in isZero() local 300 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(0))), in isZero()
|
H A D | BoolAssignmentChecker.cpp | 83 BasicValueFactory &BVF = C.getSValBuilder().getBasicValueFactory(); in checkBind() local 86 llvm::APSInt Zero = BVF.getValue(0, RegTy); in checkBind() 87 llvm::APSInt One = BVF.getValue(1, RegTy); in checkBind()
|
H A D | StdLibraryFunctionsChecker.cpp | 118 QualType ArgT, BasicValueFactory &BVF, 123 QualType ArgT, BasicValueFactory &BVF, 324 void applyOnWithinRange(BasicValueFactory &BVF, QualType ArgT, 336 void applyOnOutOfRange(BasicValueFactory &BVF, QualType ArgT, 340 void applyOnRange(RangeKind Kind, BasicValueFactory &BVF, QualType ArgT, in applyOnRange() argument 344 applyOnOutOfRange(BVF, ArgT, F); in applyOnRange() 347 applyOnWithinRange(BVF, ArgT, F); in applyOnRange() 935 BasicValueFactory &BVF, in appendInsideRangeDesc() argument 941 else if (RMin == BVF.getMinValue(ArgT)) { in appendInsideRangeDesc() 946 } else if (RMax == BVF.getMaxValue(ArgT)) { in appendInsideRangeDesc() [all …]
|
H A D | ContainerModeling.cpp | 439 auto &BVF = SymMgr.getBasicVals(); in handlePushBack() local 444 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1))), in handlePushBack() 468 auto &BVF = SymMgr.getBasicVals(); in handlePopBack() local 473 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1))), in handlePopBack() 513 auto &BVF = SymMgr.getBasicVals(); in handlePushFront() local 518 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1))), in handlePushFront() 550 auto &BVF = SymMgr.getBasicVals(); in handlePopFront() local 555 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1))), in handlePopFront() 675 auto &BVF = SymMgr.getBasicVals(); in handleEraseAfter() local 680 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1))), in handleEraseAfter()
|
H A D | DebugContainerModeling.cpp | 107 auto &BVF = C.getSValBuilder().getBasicValueFactory(); in analyzerContainerDataField() local 109 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(0)))); in analyzerContainerDataField()
|
H A D | BuiltinFunctionChecker.cpp | 136 BasicValueFactory &BVF = SVB.getBasicValueFactory(); in evalCall() local 137 BVF.getAPSIntType(CE->getType()).apply(Result); in evalCall()
|
H A D | IteratorModeling.cpp | 539 auto &BVF = C.getSymbolManager().getBasicVals(); in handleIncrement() local 547 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1)))); in handleIncrement() 565 auto &BVF = C.getSymbolManager().getBasicVals(); in handleDecrement() local 573 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1)))); in handleDecrement()
|
H A D | CStringChecker.cpp | 914 BasicValueFactory &BVF = svalBuilder.getBasicValueFactory(); in checkAdditionOverflow() local 917 const llvm::APSInt &maxValInt = BVF.getMaxValue(sizeTy); in checkAdditionOverflow() 1020 BasicValueFactory &BVF = svalBuilder.getBasicValueFactory(); in getCStringLengthForRegion() local 1021 const llvm::APSInt &maxValInt = BVF.getMaxValue(sizeTy); in getCStringLengthForRegion() 1023 const llvm::APSInt *maxLengthInt = BVF.evalAPSInt(BO_Div, maxValInt, in getCStringLengthForRegion()
|
H A D | StreamChecker.cpp | 1055 BasicValueFactory &BVF = SVB.getBasicValueFactory(); in getStartIndex() local 1056 return nonloc::ConcreteInt(BVF.getIntValue(0, /*isUnsigned=*/false)); in getStartIndex()
|
H A D | MallocChecker.cpp | 1728 BasicValueFactory &BVF = SVB.getBasicValueFactory(); in checkTaintedness() local 1729 const llvm::APSInt MaxValInt = BVF.getMaxValue(SizeTy); in checkTaintedness()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | RangedConstraintManager.cpp | 108 BasicValueFactory &BVF = getBasicVals(); in assumeSymInclusiveRange() local 109 APSIntType WraparoundType = BVF.getAPSIntType(Sym->getType()); in assumeSymInclusiveRange() 137 BasicValueFactory &BVF = getBasicVals(); in assumeSymUnsupported() local 145 const llvm::APSInt &Zero = BVF.getValue(0, T); in assumeSymUnsupported() 171 BasicValueFactory &BVF = getBasicVals(); in assumeSymRel() local 172 APSIntType WraparoundType = BVF.getAPSIntType(Sym->getType()); in assumeSymRel()
|
H A D | ProgramState.cpp | 344 BasicValueFactory &BVF = svalBuilder.getBasicValueFactory(); in assumeInBoundDual() local 347 nonloc::ConcreteInt Min(BVF.getMinValue(indexTy)); in assumeInBoundDual()
|
H A D | CallEvent.cpp | 417 BasicValueFactory &BVF = SVB.getBasicValueFactory(); in processArgument() local 419 llvm::ImmutableList<SVal> CompoundSVals = BVF.getEmptySValList(); in processArgument() 420 CompoundSVals = BVF.prependSVal(Value, CompoundSVals); in processArgument()
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SMTConstraintManager.h | 116 BasicValueFactory &BVF = getBasicVals(); in REGISTER_TRAIT_WITH_PROGRAMSTATE() local 117 ASTContext &Ctx = BVF.getContext(); in REGISTER_TRAIT_WITH_PROGRAMSTATE() 157 return &BVF.getValue(Value); in REGISTER_TRAIT_WITH_PROGRAMSTATE() 170 return &BVF.Convert(SC->getType(), *Value); in REGISTER_TRAIT_WITH_PROGRAMSTATE() 198 return BVF.evalAPSInt(BSE->getOpcode(), ConvertedLHS, ConvertedRHS); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
|