| /freebsd-14.2/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 | 129 auto &BVF = C.getSValBuilder().getBasicValueFactory(); in checkPreCall() local 132 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1)))); in checkPreCall() 204 auto &BVF = C.getSValBuilder().getBasicValueFactory(); in verifyIncrement() local 206 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1)))); in verifyIncrement() 210 auto &BVF = C.getSValBuilder().getBasicValueFactory(); in verifyDecrement() local 212 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1)))); in verifyDecrement() 293 auto &BVF = State->getBasicVals(); in isZero() local 295 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(0))), in isZero()
|
| H A D | BoolAssignmentChecker.cpp | 84 BasicValueFactory &BVF = svalBuilder.getBasicValueFactory(); in checkBind() local 87 llvm::APSInt Zero = BVF.getValue(0, valTy); in checkBind() 88 llvm::APSInt One = BVF.getValue(1, valTy); in checkBind()
|
| H A D | StdLibraryFunctionsChecker.cpp | 344 applyOnOutOfRange(BVF, ArgT, F); in applyOnRange() 347 applyOnWithinRange(BVF, ArgT, F); in applyOnRange() 941 else if (RMin == BVF.getMinValue(ArgT)) { in appendInsideRangeDesc() 1063 BasicValueFactory &BVF = getBVF(State); in describe() local 1074 BVF.getValue(R.second, T), T, BVF, Out); in describe() 1081 BVF.getValue(R.second, T), T, BVF, Out); in describe() 1121 applyOnRange(Kind, BVF, T, ApplyF); in describeArgumentValue() 1565 const ASTContext &ACtx = BVF.getContext(); in initFunctionSummaries() 1638 BasicValueFactory &BVF; in initFunctionSummaries() member in StdLibraryFunctionsChecker::initFunctionSummaries::GetMaxValue 1641 GetMaxValue(BasicValueFactory &BVF) : BVF(BVF) {} in initFunctionSummaries() argument [all …]
|
| 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 | 112 BasicValueFactory &BVF = SVB.getBasicValueFactory(); in evalCall() local 113 BVF.getAPSIntType(CE->getType()).apply(Result); in evalCall()
|
| H A D | ContainerModeling.cpp | 434 auto &BVF = SymMgr.getBasicVals(); in handlePushBack() local 439 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1))), in handlePushBack() 463 auto &BVF = SymMgr.getBasicVals(); in handlePopBack() local 468 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1))), in handlePopBack() 508 auto &BVF = SymMgr.getBasicVals(); in handlePushFront() local 513 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1))), in handlePushFront() 545 auto &BVF = SymMgr.getBasicVals(); in handlePopFront() local 550 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1))), in handlePopFront() 670 auto &BVF = SymMgr.getBasicVals(); in handleEraseAfter() local 675 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1))), in handleEraseAfter()
|
| H A D | Iterator.cpp | 231 auto &BVF = State->getStateManager().getBasicVals(); in advancePosition() local 245 IntDist = nonloc::ConcreteInt(BVF.getValue(-IntDist.getValue())); in advancePosition()
|
| H A D | IteratorModeling.cpp | 538 auto &BVF = C.getSymbolManager().getBasicVals(); in handleIncrement() local 546 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1)))); in handleIncrement() 564 auto &BVF = C.getSymbolManager().getBasicVals(); in handleDecrement() local 572 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1)))); in handleDecrement()
|
| H A D | CStringChecker.cpp | 769 BasicValueFactory &BVF = svalBuilder.getBasicValueFactory(); in checkAdditionOverflow() local 772 const llvm::APSInt &maxValInt = BVF.getMaxValue(sizeTy); in checkAdditionOverflow() 875 BasicValueFactory &BVF = svalBuilder.getBasicValueFactory(); in getCStringLengthForRegion() local 876 const llvm::APSInt &maxValInt = BVF.getMaxValue(sizeTy); in getCStringLengthForRegion() 878 const llvm::APSInt *maxLengthInt = BVF.evalAPSInt(BO_Div, maxValInt, in getCStringLengthForRegion()
|
| /freebsd-14.2/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 | SValBuilder.cpp | 964 BasicValueFactory &BVF = VB.getBasicValueFactory(); in VisitSymbolVal() local 965 return VB.makeNonLoc(SE, BO_NE, BVF.getValue(0, SE->getType()), CastTy); in VisitSymbolVal() 1066 BasicValueFactory &BVF = VB.getBasicValueFactory(); in simplifySymbolCast() local 1067 APSIntType CTy = BVF.getAPSIntType(CastTy); in simplifySymbolCast() 1068 APSIntType TTy = BVF.getAPSIntType(T); in simplifySymbolCast() 1080 APSIntType RTy = BVF.getAPSIntType(RT); in simplifySymbolCast()
|
| H A D | ProgramState.cpp | 330 BasicValueFactory &BVF = svalBuilder.getBasicValueFactory(); in assumeInBoundDual() local 333 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-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SMTConstraintManager.h | 113 BasicValueFactory &BVF = getBasicVals(); in REGISTER_TRAIT_WITH_PROGRAMSTATE() local 114 ASTContext &Ctx = BVF.getContext(); in REGISTER_TRAIT_WITH_PROGRAMSTATE() 154 return &BVF.getValue(Value); in REGISTER_TRAIT_WITH_PROGRAMSTATE() 167 return &BVF.Convert(SC->getType(), *Value); in REGISTER_TRAIT_WITH_PROGRAMSTATE() 195 return BVF.evalAPSInt(BSE->getOpcode(), ConvertedLHS, ConvertedRHS); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
|