Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConstraintManager.h86 ConditionTruthVal checkNull(ProgramStateRef State, SymbolRef Sym) override { in REGISTER_TRAIT_WITH_PROGRAMSTATE()
99 ConditionTruthVal isSat = checkModel(State, Sym, Exp); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
100 ConditionTruthVal isNotSat = checkModel(State, Sym, NotExp); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
111 return ConditionTruthVal(); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
331 ConditionTruthVal checkModel(ProgramStateRef State, SymbolRef Sym, in REGISTER_TRAIT_WITH_PROGRAMSTATE()
349 Cached[hash] = ConditionTruthVal(); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
351 Cached[hash] = ConditionTruthVal(*res); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
358 mutable llvm::DenseMap<unsigned, ConditionTruthVal> Cached; in REGISTER_TRAIT_WITH_PROGRAMSTATE()
H A DSValBuilder.h49 class ConditionTruthVal; variable
141 ConditionTruthVal areEqual(ProgramStateRef state, SVal lhs, SVal rhs);
H A DProgramState.h261 ConditionTruthVal isNonNull(SVal V) const;
265 ConditionTruthVal isNull(SVal V) const;
268 ConditionTruthVal areEqual(SVal Lhs, SVal Rhs) const;
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp383 ConditionTruthVal ProgramState::isNonNull(SVal V) const { in isNonNull()
384 ConditionTruthVal IsNull = isNull(V); in isNonNull()
387 return ConditionTruthVal(!IsNull.getValue()); in isNonNull()
390 ConditionTruthVal ProgramState::areEqual(SVal Lhs, SVal Rhs) const { in areEqual()
394 ConditionTruthVal ProgramState::isNull(SVal V) const { in isNull()
403 return ConditionTruthVal(); in isNull()
H A DRangeConstraintManager.cpp1874 ConditionTruthVal checkNull(ProgramStateRef State, SymbolRef Sym) override;
2843 ConditionTruthVal RangeConstraintManager::checkNull(ProgramStateRef State, in checkNull()
2849 return ConditionTruthVal(); in checkNull()
2864 return ConditionTruthVal(); in checkNull()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DSimpleStreamChecker.cpp138 ConditionTruthVal OpenFailed = CMgr.isNull(State, Sym); in isLeaked()
H A DTrustNonnullChecker.cpp187 ConditionTruthVal TV = C.getState()->isNonNull(Receiver); in isNonNullPtr()
H A DNullabilityChecker.cpp305 ConditionTruthVal Nullness = State->isNull(Val); in getNullConstraint()
955 ConditionTruthVal IsNonNull = State->isNonNull(PropVal.Value); in evalAssume()
H A DPthreadLockChecker.cpp328 ConditionTruthVal retZero = CMgr.isNull(state, *sym); in resolvePossiblyDestroyedMutex()
H A DMallocChecker.cpp1873 ConditionTruthVal FreeFailed = CMgr.isNull(State, *Ret); in didPreviousFreeFail()
3133 ConditionTruthVal AllocFailed = CMgr.isNull(state, Sym); in evalAssume()
3144 ConditionTruthVal AllocFailed = CMgr.isNull(state, Sym); in evalAssume()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp1170 ConditionTruthVal AllocFailed = CMgr.isNull(state, I.first); in evalAssume()