Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DDebugIteratorModeling.cpp103 auto &BVF = C.getSValBuilder().getBasicValueFactory(); in analyzerIteratorPosition() local
106 }, nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(0)))); in analyzerIteratorPosition()
111 auto &BVF = C.getSValBuilder().getBasicValueFactory(); in analyzerIteratorContainer() local
114 }, loc::ConcreteInt(BVF.getValue(llvm::APSInt::get(0)))); in analyzerIteratorContainer()
119 auto &BVF = C.getSValBuilder().getBasicValueFactory(); in analyzerIteratorValidity() local
120 analyzerIteratorDataField(CE, C, [&BVF](const IteratorPosition *P) { in analyzerIteratorValidity()
122 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get((P->isValid())))); in analyzerIteratorValidity()
123 }, nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(0)))); in analyzerIteratorValidity()
H A DIteratorRangeChecker.cpp135 auto &BVF = C.getSValBuilder().getBasicValueFactory(); in checkPreCall() local
138 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1)))); in checkPreCall()
210 auto &BVF = C.getSValBuilder().getBasicValueFactory(); in verifyIncrement() local
212 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1)))); in verifyIncrement()
216 auto &BVF = C.getSValBuilder().getBasicValueFactory(); in verifyDecrement() local
218 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1)))); in verifyDecrement()
299 auto &BVF = State->getBasicVals(); in isZero() local
301 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(0))), in isZero()
H A DBoolAssignmentChecker.cpp82 BasicValueFactory &BVF = svalBuilder.getBasicValueFactory(); in checkBind() local
85 llvm::APSInt Zero = BVF.getValue(0, valTy); in checkBind()
86 llvm::APSInt One = BVF.getValue(1, valTy); in checkBind()
H A DStdLibraryFunctionsChecker.cpp632 BasicValueFactory &BVF = getBVF(State); in describe() local
650 const llvm::APSInt &Min = BVF.getValue(R.first, T); in describe()
651 const llvm::APSInt &Max = BVF.getValue(R.second, T); in describe()
701 BasicValueFactory &BVF = SVB.getBasicValueFactory(); in applyAsOutOfRange() local
710 const llvm::APSInt &Min = BVF.getValue(R[I].first, T); in applyAsOutOfRange()
711 const llvm::APSInt &Max = BVF.getValue(R[I].second, T); in applyAsOutOfRange()
730 BasicValueFactory &BVF = SVB.getBasicValueFactory(); in applyAsWithinRange() local
748 const llvm::APSInt &MinusInf = BVF.getMinValue(T); in applyAsWithinRange()
749 const llvm::APSInt &PlusInf = BVF.getMaxValue(T); in applyAsWithinRange()
751 const llvm::APSInt &Left = BVF.getValue(R[0].first - 1ULL, T); in applyAsWithinRange()
[all …]
H A DContainerModeling.cpp448 auto &BVF = SymMgr.getBasicVals(); in handlePushBack() local
453 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1))), in handlePushBack()
477 auto &BVF = SymMgr.getBasicVals(); in handlePopBack() local
482 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1))), in handlePopBack()
522 auto &BVF = SymMgr.getBasicVals(); in handlePushFront() local
527 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1))), in handlePushFront()
559 auto &BVF = SymMgr.getBasicVals(); in handlePopFront() local
564 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1))), in handlePopFront()
684 auto &BVF = SymMgr.getBasicVals(); in handleEraseAfter() local
689 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1))), in handleEraseAfter()
H A DBuiltinFunctionChecker.cpp113 BasicValueFactory &BVF = SVB.getBasicValueFactory(); in evalCall() local
114 BVF.getAPSIntType(CE->getType()).apply(Result); in evalCall()
H A DDebugContainerModeling.cpp113 auto &BVF = C.getSValBuilder().getBasicValueFactory(); in analyzerContainerDataField() local
115 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(0)))); in analyzerContainerDataField()
H A DIterator.cpp233 auto &BVF = State->getStateManager().getBasicVals(); in advancePosition() local
247 IntDist = nonloc::ConcreteInt(BVF.getValue(-IntDist.getValue())); in advancePosition()
H A DIteratorModeling.cpp543 auto &BVF = C.getSymbolManager().getBasicVals(); in handleIncrement() local
551 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1)))); in handleIncrement()
569 auto &BVF = C.getSymbolManager().getBasicVals(); in handleDecrement() local
577 nonloc::ConcreteInt(BVF.getValue(llvm::APSInt::get(1)))); in handleDecrement()
H A DCStringChecker.cpp655 BasicValueFactory &BVF = svalBuilder.getBasicValueFactory(); in checkAdditionOverflow() local
658 const llvm::APSInt &maxValInt = BVF.getMaxValue(sizeTy); in checkAdditionOverflow()
761 BasicValueFactory &BVF = svalBuilder.getBasicValueFactory(); in getCStringLengthForRegion() local
762 const llvm::APSInt &maxValInt = BVF.getMaxValue(sizeTy); in getCStringLengthForRegion()
764 const llvm::APSInt *maxLengthInt = BVF.evalAPSInt(BO_Div, maxValInt, in getCStringLengthForRegion()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DRangedConstraintManager.cpp97 BasicValueFactory &BVF = getBasicVals(); in assumeSymInclusiveRange() local
98 APSIntType WraparoundType = BVF.getAPSIntType(Sym->getType()); in assumeSymInclusiveRange()
124 BasicValueFactory &BVF = getBasicVals(); in assumeSymUnsupported() local
132 const llvm::APSInt &Zero = BVF.getValue(0, T); in assumeSymUnsupported()
158 BasicValueFactory &BVF = getBasicVals(); in assumeSymRel() local
159 APSIntType WraparoundType = BVF.getAPSIntType(Sym->getType()); in assumeSymRel()
H A DProgramState.cpp336 BasicValueFactory &BVF = svalBuilder.getBasicValueFactory(); in assumeInBound() local
339 nonloc::ConcreteInt Min(BVF.getMinValue(indexTy)); in assumeInBound()
H A DSValBuilder.cpp936 BasicValueFactory &BVF = getBasicValueFactory(); in evalCastSubKind() local
937 return makeNonLoc(SE, BO_NE, BVF.getValue(0, SE->getType()), CastTy); in evalCastSubKind()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConstraintManager.h112 BasicValueFactory &BVF = getBasicVals(); in REGISTER_TRAIT_WITH_PROGRAMSTATE() local
113 ASTContext &Ctx = BVF.getContext(); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
153 return &BVF.getValue(Value); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
166 return &BVF.Convert(SC->getType(), *Value); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
194 return BVF.evalAPSInt(BSE->getOpcode(), ConvertedLHS, ConvertedRHS); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
/netbsd-src/share/misc/
H A Dairport1020 BVF:Bua, Fiji